NPTL: Fix pthread_create regression from default-sched.h refactoring.
[glibc.git] / ChangeLog
blobc75dab7ba4c48128e76f90d1ba32000fb69be42c
1 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3         * nptl/pthread_create.c (__pthread_create_2_1): Set
4         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5         when copying values from IATTR into PD.
7 2014-11-21  Will Newton  <will.newton@linaro.org>
8             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11         Refactor inline-asm.  Also add comment.
13         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
14         ElfW macro instead of hardcoded Elf64 types.
15         (la_aarch64_gnu_pltenter): Likewise.
16         * sysdeps/aarch64/dl-machine.h
17         (elf_machine_runtime_setup): Use ElfW(Addr).
19         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
21         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25         (R_AARCH64_TLS_DTPMOD): This.
26         (R_AARCH64_TLS_DTPREL64): Rename to ...
27         (R_AARCH64_TLS_DTPREL): This.
28         (R_AARCH64_TLS_TPREL64): Rename to ...
29         (R_AARCH64_TLS_TPREL): This.
30         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
31         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32         R_AARCH64_TLS_TPREL64.
33         (elf_machine_rela): Likewise.
35 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
38         by setting it to 0.  64b atomics are not supported currently.
40 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42         [BZ #16469]
43         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
44         search domain names.
46 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
48         [BZ #16469]
49         * NEWS: Update.
50         * resolv/res_query.c (__libc_res_nquerydomain): Retain
51         trailing dot.
52         * posix/tst-getaddrinfo5.c: New.
53         * posix/Makefile (tests): Add it.
55 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
57         [BZ #14498]
58         * NEWS: Fixed.
59         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
60         after parsing line but before break_if_match.
61         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
62         if there is a protocol mismatch.
64 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
66         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
67         because the potential race is on the user-supplied stream.
69 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
71         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
72         string literal if not passed a buffer.
73         * manual/job.texi (ctermid): Update reasoning, note deviation
74         from posix, suggest mtasurace when not passed a buffer, for
75         future non-preliminary safety notes.
77 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
79         * manual/users.texi (cuserid): Fix MT-Safety note for the case
80         of not passing it a buffer.
81         Reported by Peng Haitao.
83 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
85         * manual/Makefile ($(objpfx)stamp-summary): Require
86         check-safety.sh to pass.
87         * manual/check-safety.sh: Wish for verification that every
88         @deftypefn and @deftypefun is followed by a @safety remark.
90 2014-11-20  Roland McGrath  <roland@hack.frob.com>
92         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
94         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
95         PTHREAD_CANCEL_ASYNCHRONOUS.
96         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
97         send SIGCANCEL.
99         * nptl/default-sched.h: New file.
100         * sysdeps/unix/sysv/linux/default-sched.h: New file.
101         * nptl/pthread_create.c: Include it.
102         (__pthread_create_2_1): Use collect_default_sched instead of making
103         Linux syscalls here directly.
105 2014-11-20  Torvald Riegel  <triegel@redhat.com>
107         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
108         __pthread_once): Use C11 atomics.
110 2014-11-20  Torvald Riegel  <triegel@redhat.com>
112         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
114 2014-11-20  Torvald Riegel  <triegel@redhat.com>
116         * include/atomic.h (__atomic_link_error, __atomic_check_size,
117         atomic_thread_fence_acquire, atomic_thread_fence_release,
118         atomic_thread_fence_seq_cst, atomic_load_relaxed,
119         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
120         atomic_compare_exchange_weak_relaxed,
121         atomic_compare_exchange_weak_acquire,
122         atomic_compare_exchange_weak_release,
123         atomic_exchange_acquire, atomic_exchange_release,
124         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
125         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
126         atomic_fetch_and_acquire,
127         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
129 2014-11-20  Torvald Riegel  <triegel@redhat.com>
131         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
132         USE_ATOMIC_COMPILER_BUILTINS): Define.
133         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
134         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
135         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
137         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
139         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
141         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
143         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
145         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
147         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
149         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
151         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
153         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
155         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
157         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
159         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
161         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
163         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
165         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
167         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
168         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
169         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
171         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
174 2014-11-19  Roland McGrath  <roland@hack.frob.com>
176         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
177         the sched_priority value here.  It was already checked when the user
178         called pthread_attr_setschedparam.
180         * nptl/tst-bad-schedattr.c: New file.
181         * nptl/Makefile (tests): Add it.
183 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
184             Florian Weimer  <fweimer@redhat.com>
185             Joseph Myers  <joseph@codesourcery.com>
186             Adam Conrad  <adconrad@0c3.net>
187             Andreas Schwab  <schwab@suse.de>
188             Brooks  <bmoses@google.com>
190         [BZ #17625]
191         * wordexp-test.c (__dso_handle): Add prototype.
192         (__register_atfork): Likewise.
193         (__app_register_atfork): New function.
194         (registered_forks): New global.
195         (register_fork): New function.
196         (test_case): Add 3 new tests for WRDE_CMDSUB.
197         (main): Call __app_register_atfork.
198         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
199         fork count is non-zero fail the test.
200         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
201         is set.
202         (parse_dollars): Remove check for WRDE_NOCMD.
203         (parse_dquote): Likewise.
205 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
207         * Makeconfig (built-modules): List non-library modules to be
208         built.
209         (module-cppflags): Include libc-modules.h for
210         everything except shlib-versions.v.i.
211         (CPPFLAGS): Use it.
212         (before-compile): Add libc-modules.h.
213         ($(common-objpfx)libc-modules.h,
214         $(common-objpfx)libc-modules.stmp): New targets.
215         (common-generated): Add libc-modules.h and libc-modules.stmp.
216         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
217         * include/libc-symbols.h: Don't include libc-modules.h.
218         * include/libc-modules.h: Remove file.
219         * scripts/gen-libc-modules.awk: New script to generate
220         libc-modules.h.
221         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
222         Depend on libc-modules.stmp.
224         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
226         * Makeconfig (in-module): Get value of libof set for the
227         translation unit.
228         (CPPFLAGS): Use $(in-module).
229         * Makerules: Don't suffix routine names for nonlib.
230         * include/libc-modules.h: New file.
231         * include/libc-symbols.h: Include libc-modules.h
232         (IS_IN): New macro to replace IS_IN_* macros.
233         * elf/Makefile: Set libof-* for each routine.
234         * elf/rtld-Rules: Likewise.
235         * extra-modules.mk: Likewise.
236         * iconv/Makefile: Likewise.
237         * iconvdata/Makefile: Likewise.
238         * locale/Makefile: Likewise.
239         * malloc/Makefile: Likewise.
240         * nss/Makefile: Likewise.
241         * sysdeps/gnu/Makefile: Likewise.
242         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
243         * sysdeps/unix/sysv/linux/Makefile: Likewise.
244         * sysdeps/s390/s390-64/Makefile: Likewise.
245         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
246         CPPFLAGS for nscd instead of nonlib.
248 2014-11-18  Roland McGrath  <roland@hack.frob.com>
250         * nptl/createthread.c: New file.
252         * nptl/createthread.c: Moved ...
253         * sysdeps/unix/sysv/linux/createthread.c: ... here.
255         * nptl/createthread.c: Add proper top-line comment.
256         (do_clone): Folded into ...
257         (create_thread): ... here.  Take new arguments STOPPED_START and
258         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
259         increment __nptl_threads, do event-reporting logic, do
260         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
261         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
262         resource cleanup if sched_setaffinity or sched_setscheduler fails,
263         just send SIGCANCEL.
264         * nptl/pthread_create.c: Forward-declare create_thread before
265         including createthread.c.
266         (start_thread): Use new macro START_THREAD_DEFN to replace defining
267         declaration, and new macro START_THREAD_SELF to replace argument.
268         Remove return statement.
269         (report_thread_creation): New function.
270         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
271         synchronization logic, and __nptl_nthreads increment here, around
272         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
273         PD->parent_cancelhandling here, before create_thread.  When
274         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
275         __deallocate_stack, and ENOMEM translation here.
277 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
279         [BZ #17616]
280         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
281         (mptwo): Rename to __mptwo.
282         (__inv): Use __mptwo instead of mptwo.
283         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
284         (mptwo): Rename to __mptwo.
285         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
286         of mpone and __mptwo instead of mptwo.
287         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
288         instead of mpone.
289         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
290         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
291         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
292         of mpone and __mptwo instead of mptwo.
293         (__mpranred): Use __mpone instead of mpone.
294         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
295         variable.
296         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
297         (test-xfail-ISO99/math.h/linknamespace): Likewise.
298         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
299         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
300         (test-xfail-ISO11/math.h/linknamespace): Likewise.
301         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
302         (test-xfail-XPG3/math.h/linknamespace): Likewise.
303         (test-xfail-XPG4/math.h/linknamespace): Likewise.
304         (test-xfail-POSIX/math.h/linknamespace): Likewise.
305         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
306         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
307         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
308         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
309         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
310         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
311         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
312         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
313         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
314         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
316 2014-11-18  Tom de Vries  <tom@codesoucery.com>
318         * manual/signal.texi (Primitives Interrupted by Signals): In section,
319         replace BSD Handler xref with BSD Signal Handling.
321 2014-11-17  Richard Henderson  <rth@redhat.com>
323         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
324         (_FP_PACK_RAW_2): Remove.
325         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
326         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
327         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
328         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
329         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
330         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
331         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
332         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
333         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
334         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
335         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
336         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
337         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
338         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
339         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
340         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
342 2014-11-14  Roland McGrath  <roland@hack.frob.com>
344         * signal/signal.h [__USE_MISC]
345         (struct sigvec): Remove type.
346         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
347         (sigvec): Remove declaration.
348         * sysdeps/posix/sigvec.c: Moved ...
349         * signal/sigvec.c: ... here, replacing old file.
350         (struct sigvec): New type, copied from old signal.h definition.
351         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
352         (__sigvec): Convert definition to prototype.
353         (sigvec): Replace weak_alias with compat_symbol.
354         * signal/Versions (libc: GLIBC_2.21): New version set.
355         * include/signal.h: Remove __sigvec declaration.
356         * sysdeps/unix/bsd/sigvec.c: Remove file.
357         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
358         * manual/signal.texi (BSD Handler): Remove subsection.
359         Move siginterrupt up to ...
360         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
361         (Blocking in BSD): Fold subsection into its parent.
362         * NEWS: Mention sigvec removal.
364 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
366         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
367         (DLA_FMS): Make definition conditional only on [__FMA4__].
368         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
369         definition.
371         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
372         Make definition conditional only on [PROF].
373         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
374         definition.
375         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
376         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
378         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
379         !__GNUC__].
380         * include/signal.h (__sigpause): Move declaration above call to
381         libc_hidden_proto.
382         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
383         variable.
384         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
385         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
387 2014-11-14  David S. Miller  <davem@davemloft.net>
389         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
390         Define before including <string/memcpy.c> and <string/mempcpy.c>.
392 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
394         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
395         * configure: Regenerated.
396         * manual/install.texi (Tools for Compilation): Document a
397         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
398         compiler verified to work.
399         * INSTALL: Regenerated.
401         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
402         redeclare with asm name.
403         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
404         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
405         including <string.h>.
406         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
407         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
408         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
409         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
410         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
411         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
412         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
414 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
416         * stdlib/strtol.c (__strtol): Use prototype definition.
418         [BZ #17594]
419         * stdlib/strtol.c (SYM__): New macro.
420         (SYM__1): Likewise.
421         (__strtol): Likewise.
422         (strtol): Rename to __strtol and define as weak alias of
423         __strtol.  Use libc_hidden_weak.
425 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
427         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
428         Use numbered labels in inline assembly.
430 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
432         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
433         Add setjmp LIBC_PROBE.
434         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
435         Likewise.
436         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
437         Add longjmp, longjmp_target LIBC_PROBE.
438         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
439         Likewise.
441 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
443         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
444         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
445         to get rid of unused variable warning.
447 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
449         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
450         Check for unwind_backtrace ==  NULL only in SHARED case.
451         (__backchain_backtrace): Compile only in SHARED case.
452         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
453         Likewise.
454         (__backchain_backtrace): Declare as static.
456 2014-11-12  Roland McGrath  <roland@hack.frob.com>
458         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
459         (__libc_multiple_threads_ptr): Variable moved ...
460         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
462 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
464         * conform/GlibcConform.pm: New file.
465         * conform/conformtest.pl: Use GlibcConform module.
466         * conform/linknamespace.pl: New file.
467         * conform/list-header-symbols.pl: Likewise.
468         * conform/Makefile (linknamespace-symlists-base): New variable.
469         (linknamespace-symlists-tests): Likewise.
470         (linknamespace-header-base): Likewise.
471         (linknamespace-header-tests): Likewise.
472         (tests-special): Add new tests.
473         ($(linknamespace-symlists-tests)): New rule.
474         (linknamespace-libs): New variable.
475         ($(objpfx)symlist-stdlibs): New rule.
476         ($(linknamespace-header-tests)): Likewise.
477         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
478         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
479         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
480         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
481         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
482         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
483         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
484         (test-xfail-ISO/math.h/linknamespace): Likewise.
485         (test-xfail-ISO/signal.h/linknamespace): Likewise.
486         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
487         (test-xfail-ISO/time.h/linknamespace): Likewise.
488         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
489         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
490         (test-xfail-ISO99/math.h/linknamespace): Likewise.
491         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
492         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
493         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
494         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
495         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
496         (test-xfail-ISO11/math.h/linknamespace): Likewise.
497         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
498         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
499         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
500         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
501         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
502         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
503         (test-xfail-XPG3/math.h/linknamespace): Likewise.
504         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
505         (test-xfail-XPG3/search.h/linknamespace): Likewise.
506         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
507         (test-xfail-XPG3/time.h/linknamespace): Likewise.
508         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
509         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
510         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
511         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
512         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
513         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
514         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
515         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
516         (test-xfail-XPG4/math.h/linknamespace): Likewise.
517         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
518         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
519         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
520         (test-xfail-XPG4/search.h/linknamespace): Likewise.
521         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
522         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
523         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
524         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
525         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
526         (test-xfail-XPG4/time.h/linknamespace): Likewise.
527         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
528         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
529         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
530         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
531         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
532         (test-xfail-POSIX/math.h/linknamespace): Likewise.
533         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
534         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
535         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
536         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
537         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
538         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
539         (test-xfail-POSIX/time.h/linknamespace): Likewise.
540         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
541         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
542         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
543         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
544         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
545         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
546         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
547         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
548         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
549         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
550         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
551         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
552         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
553         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
554         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
555         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
556         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
557         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
558         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
559         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
560         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
561         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
562         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
563         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
564         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
565         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
566         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
567         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
568         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
569         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
570         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
571         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
572         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
573         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
574         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
575         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
576         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
577         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
578         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
579         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
580         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
581         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
582         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
583         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
584         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
585         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
586         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
587         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
588         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
589         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
590         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
591         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
592         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
593         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
594         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
595         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
596         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
597         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
598         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
599         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
600         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
601         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
602         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
603         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
604         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
605         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
606         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
607         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
608         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
609         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
610         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
611         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
612         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
613         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
614         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
615         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
616         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
617         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
618         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
619         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
620         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
621         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
622         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
623         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
624         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
625         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
626         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
627         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
628         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
629         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
630         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
631         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
632         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
633         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
634         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
635         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
636         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
637         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
639         [BZ #17589]
640         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
641         of fgets_unlocked.
643         [BZ #17585]
644         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
645         (memmem): Rename to __memmem and define as weak alias of
646         __memmem.  Use libc_hidden_weak.
647         (__memmem): Use libc_hidden_def.
648         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
649         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
650         memmem.
652         [BZ #17582]
653         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
654         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
655         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
656         and define as weak alias of __fgets_unlocked.  Use
657         libc_hidden_weak.
658         (__fgets_unlocked): Use libc_hidden_def.
659         * include/stdio.h (__fgets_unlocked): Declare.  Use
660         libc_hidden_proto.
661         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
662         __fgets_unlocked instead of fgets_unlocked.
663         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
664         (GET_NPROCS_CONF_PARSER): Likewise.
665         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
666         (GET_NPROCS_CONF_PARSER): Likewise.
668         [BZ #17574]
669         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
670         weak alias of __wmemset.  Use libc_hidden_weak.
671         (__wmemset): Use libc_hidden_def.
672         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
673         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
674         of wmemset.
676         [BZ #17573]
677         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
678         with asm name __mempcpy.
679         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
681         [BZ #17572]
682         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
683         and define as weak alias of __rawmemchr.
684         (__rawmemchr): Do not define as strong alias of rawmemchr.
686         [BZ #17571]
687         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
688         alias of __qsort_r.
689         (qsort): Call __qsort_r instead of qsort_r.
690         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
691         (__qsort_r): Declare.  Call libc_hidden_proto.
692         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
693         instead of qsort_r.
694         * nscd/gai.c (__qsort_r): Define to qsort_r.
695         * posix/tst-rfc3484.c (__qsort_r): Likewise.
696         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
697         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
699         [BZ #17570]
700         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
701         define as weak alias of __malloc_info.
703         [BZ #17584]
704         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
705         as weak alias of __rewinddir.  Don't use libc_hidden_def.
706         (__rewinddir): Use libc_hidden_def.
707         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
708         as weak alias of __rewinddir.  Don't use libc_hidden_def.
709         (__rewinddir): Use libc_hidden_def.
710         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
711         weak alias of __rewinddir.  Don't use libc_hidden_def.
712         (__rewinddir): Use libc_hidden_def.
713         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
714         (__rewinddir): Use libc_hidden_proto.
715         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
716         rewinddir.
717         (__getcwd): Use __rewinddir instead of rewinddir.
719         [BZ #17583]
720         * libio/fileno.c (fileno): Rename to __fileno and define as weak
721         alias of __fileno.  Use libc_hidden_weak.
722         (__fileno): Use libc_hidden_def.
723         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
724         * libio/ftello.c (ftello): Rename to __ftello and define as weak
725         alias of __ftello.
726         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
727         __ftello.
728         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
729         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
730         libc_hidden_def.
731         (fread_unlocked): Don't use libc_hidden_ver.
732         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
733         and define as weak alias of __fread_unlocked.  Don't use
734         libc_hidden_def.
735         (__fread_unlocked): Use libc_hidden_def.
736         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
737         (ftello): Don't use libc_hidden_proto.
738         (__ftello): Declare.  Use libc_hidden_proto.
739         (fread_unlocked): Don't use libc_hidden_proto.
740         (__fread_unlocked): Declare.  Use libc_hidden_proto.
741         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
742         and __ftello instead of fileno, fread_unlocked and ftello.
744 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
746         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
747         GOT12.
748         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
749         Likewise.
750         (_dl_start_user): Likewise.
751         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
753 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
754             Siddhesh Poyarekar  <siddhesh@redhat.com>
756         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
757         Move argv and envp down instead of moving argc up.
758         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
760 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
762         [BZ #17506]
763         * test-skeleton.c (main): Return successful if one of
764         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
765         * string/tst-strcoll-overflow.c: Define expected status.
767 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
769         [BZ #17475]
770         * locale/iso-639.def: Define Bhili and Tulu language codes.
772 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
774         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
776 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
778         [BZ #17555]
779         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
781 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
783         * configure.ac: Updated check of minimal required version to
784         2.22.
785         * manual/install.texi (Tools for Compilation): Updated version
786         number.
787         * configure: Regenerated.
788         * INSTALL: Likewise.
790 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
792         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
793         __tls_get_addr.
795 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
797         * include/sys/wait.h (__libc_waitpid): Remove declaration.
798         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
799         (__waitpid): Don't define as alias.  Use libc_hidden_def not
800         libc_hidden_weak.
801         (waitpid): Define as alias of __waitpid.
802         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
803         __waitpid.
804         (__waitpid): Don't define as alias.  Use libc_hidden_def not
805         libc_hidden_weak.
806         (waitpid): Define as alias of __waitpid.
807         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
808         __libc_waitpid alias.
809         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
810         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
811         Likewise.
812         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
813         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
814         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
815         alias.
816         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
817         __waitpid.
818         (__waitpid): Don't define as alias.  Use libc_hidden_def not
819         libc_hidden_weak.
820         (waitpid): Define as alias of __waitpid.
822 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
824         * manual/llio.texi: Add comment that write safety has been
825         fixed in Linux.
827         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
828         (localplt-build-dso): Add elf/ld.so.
829         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
830         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
831         and free for ld.so.
832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
833         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
835         Likewise.
836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
837         Likewise.
838         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
839         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
840         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
841         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
842         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
843         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
844         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
845         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
846         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
847         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
848         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
850 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
852         [BZ #14132]
853         * include/libc-symbols.h (INTUSE): Remove macro.
854         (INTDEF): Likewise.
855         (INTVARDEF): Likewise.
856         (_INTVARDEF): Likewise.
857         (INTDEF2): Likewise.
858         (INTVARDEF2): Likewise.
859         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
860         rtld_hidden_def instead of INTVARDEF.
861         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
862         (_dl_starting_up_internal): Remove declaration.
863         (_dl_starting_up): Use rtld_hidden_proto.
864         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
865         declaration.
866         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
867         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
868         _dl_starting_up.
869         * elf/dl-writev.h (_dl_writev): Likewise.
870         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
871         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
872         _dl_starting_up_internal.
874 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
876         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
877         test-skeleton.c.
879 2014-11-05  Will Newton  <will.newton@linaro.org>
881         * benchtests/Makefile: (bench-malloc): Add malloc thread
882         scalability benchmark.
883         * benchtests/bench-malloc-threads.c: New file.
885 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
887         * sysdeps/aarch64/strchrnul.S: New file.
889 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
891         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
892         definition.
893         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
894         Likwise.
895         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
896         Likewise.
897         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
898         Likewise.
899         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
900         Likewise.
901         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
902         Likewise.
904 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
906         * catgets/test-gencat.c: Use test-skeleton.c.
907         * catgets/tst-catgets.c: Likewise.
908         * csu/tst-empty.c: Likewise.
909         * elf/tst-audit2.c: Likewise.
910         * elf/tst-global1.c: Likewise.
911         * elf/tst-pathopt.c: Likewise.
912         * elf/tst-piemod1.c: Likewise.
913         * elf/tst-tls10.c: Likewise.
914         * elf/tst-tls11.c: Likewise.
915         * elf/tst-tls12.c: Likewise.
916         * gnulib/tst-gcc.c: Likewise.
917         * iconvdata/tst-e2big.c: Likewise.
918         * iconvdata/tst-loading.c: Likewise.
919         * iconv/tst-iconv1.c: Likewise.
920         * iconv/tst-iconv2.c: Likewise.
921         * inet/test-inet6_opt.c: Likewise.
922         * inet/tst-gethnm.c: Likewise.
923         * inet/tst-network.c: Likewise.
924         * inet/tst-ntoa.c: Likewise.
925         * intl/tst-codeset.c: Likewise.
926         * intl/tst-gettext2.c: Likewise.
927         * intl/tst-gettext3.c: Likewise.
928         * intl/tst-ngettext.c: Likewise.
929         * intl/tst-translit.c: Likewise.
930         * io/test-stat.c: Likewise.
931         * libio/test-fmemopen.c: Likewise.
932         * libio/tst-freopen.c: Likewise.
933         * libio/tst-sscanf.c: Likewise.
934         * libio/tst-ungetwc1.c: Likewise.
935         * libio/tst-ungetwc2.c: Likewise.
936         * libio/tst-widetext.c: Likewise.
937         * localedata/tst-ctype.c: Likewise.
938         * localedata/tst-digits.c: Likewise.
939         * localedata/tst-leaks.c: Likewise.
940         * localedata/tst-mbswcs1.c: Likewise.
941         * localedata/tst-mbswcs2.c: Likewise.
942         * localedata/tst-mbswcs3.c: Likewise.
943         * localedata/tst-mbswcs4.c: Likewise.
944         * localedata/tst-mbswcs5.c: Likewise.
945         * localedata/tst-setlocale.c: Likewise.
946         * localedata/tst-trans.c: Likewise.
947         * localedata/tst-wctype.c: Likewise.
948         * localedata/tst-xlocale1.c: Likewise.
949         * login/tst-grantpt.c: Likewise.
950         * malloc/tst-calloc.c: Likewise.
951         * malloc/tst-malloc.c: Likewise.
952         * malloc/tst-mallocstate.c: Likewise.
953         * malloc/tst-mcheck.c: Likewise.
954         * malloc/tst-mtrace.c: Likewise.
955         * malloc/tst-obstack.c: Likewise.
956         * math/atest-exp2.c: Likewise.
957         * math/atest-exp.c: Likewise.
958         * math/atest-sincos.c: Likewise.
959         * math/test-matherr.c: Likewise.
960         * math/test-misc.c: Likewise.
961         * math/test-powl.c: Likewise.
962         * math/tst-definitions.c: Likewise.
963         * misc/tst-dirname.c: Likewise.
964         * misc/tst-efgcvt.c: Likewise.
965         * misc/tst-fdset.c: Likewise.
966         * misc/tst-hsearch.c: Likewise.
967         * misc/tst-mntent2.c: Likewise.
968         * nptl/tst-sem7.c: Likewise.
969         * nptl/tst-sem8.c: Likewise.
970         * nptl/tst-sem9.c: Likewise.
971         * nss/test-netdb.c: Likewise.
972         * posix/tst-fnmatch.c: Likewise.
973         * posix/tst-getlogin.c: Likewise.
974         * posix/tst-gnuglob.c: Likewise.
975         * posix/tst-mmap.c: Likewise.
976         * pwd/tst-getpw.c: Likewise.
977         * resolv/tst-inet_ntop.c: Likewise.
978         * rt/tst-timer.c: Likewise.
979         * stdio-common/test-fseek.c: Likewise.
980         * stdio-common/test-popen.c: Likewise.
981         * stdio-common/test-vfprintf.c: Likewise.
982         * stdio-common/tst-cookie.c: Likewise.
983         * stdio-common/tst-fileno.c: Likewise.
984         * stdio-common/tst-gets.c: Likewise.
985         * stdio-common/tst-obprintf.c: Likewise.
986         * stdio-common/tst-perror.c: Likewise.
987         * stdio-common/tst-sprintf2.c: Likewise.
988         * stdio-common/tst-sprintf3.c: Likewise.
989         * stdio-common/tst-sprintf.c: Likewise.
990         * stdio-common/tst-swprintf.c: Likewise.
991         * stdio-common/tst-tmpnam.c: Likewise.
992         * stdio-common/tst-unbputc.c: Likewise.
993         * stdio-common/tst-wc-printf.c: Likewise.
994         * stdlib/tst-environ.c: Likewise.
995         * stdlib/tst-fmtmsg.c: Likewise.
996         * stdlib/tst-limits.c: Likewise.
997         * stdlib/tst-rand48-2.c: Likewise.
998         * stdlib/tst-rand48.c: Likewise.
999         * stdlib/tst-random2.c: Likewise.
1000         * stdlib/tst-random.c: Likewise.
1001         * stdlib/tst-strtol.c: Likewise.
1002         * stdlib/tst-strtoll.c: Likewise.
1003         * stdlib/tst-tls-atexit.c: Likewise.
1004         * stdlib/tst-xpg-basename.c: Likewise.
1005         * string/test-ffs.c: Likewise.
1006         * string/tst-bswap.c: Likewise.
1007         * string/tst-inlcall.c: Likewise.
1008         * string/tst-strtok.c: Likewise.
1009         * string/tst-strxfrm.c: Likewise.
1010         * sysdeps/x86_64/tst-audit10.c: Likewise.
1011         * sysdeps/x86_64/tst-audit3.c: Likewise.
1012         * sysdeps/x86_64/tst-audit4.c: Likewise.
1013         * sysdeps/x86_64/tst-audit5.c: Likewise.
1014         * time/tst-ftime_l.c: Likewise.
1015         * time/tst-getdate.c: Likewise.
1016         * time/tst-mktime3.c: Likewise.
1017         * time/tst-mktime.c: Likewise.
1018         * time/tst-posixtz.c: Likewise.
1019         * time/tst-strptime2.c: Likewise.
1020         * time/tst-strptime3.c: Likewise.
1021         * wcsmbs/tst-btowc.c: Likewise.
1022         * wcsmbs/tst-mbrtowc.c: Likewise.
1023         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1024         * wcsmbs/tst-wchar-h.c: Likewise.
1025         * wcsmbs/tst-wcpncpy.c: Likewise.
1026         * wcsmbs/tst-wcrtomb.c: Likewise.
1027         * wcsmbs/tst-wcsnlen.c: Likewise.
1028         * wcsmbs/tst-wcstof.c: Likewise.
1030 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
1032         [BZ #14132]
1033         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1034         INTDEF.
1035         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1036         declaration.
1037         (_dl_mcount): Use rtld_hidden_proto.
1038         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1039         _dl_mcount.
1040         * elf/rtld.c (_rtld_global_ro): Likewise.
1042         [BZ #14132]
1043         * elf/dl-init.c (_dl_init): Don't use INTDEF.
1044         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1045         of _dl_init_internal.
1046         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1047         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1048         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1049         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1050         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1051         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1052         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1053         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1054         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1055         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1056         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1057         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1058         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1059         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1060         * sysdeps/tile/dl-start.S (_start): Likewise.
1061         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1062         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1064         [BZ #14132]
1065         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1066         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1067         (rtld_progname): Make macro definition unconditional.
1068         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1069         INTDEF.
1070         (dlmopen_doit): Do not use INTUSE with _dl_argv.
1071         (dl_main): Likewise.
1072         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1073         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1074         instead of _dl_argv_internal.
1075         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1076         __GI__dl_argv instead of INTUSE(_dl_argv).
1077         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1078         __GI__dl_argv instead of _dl_argv_internal.
1080         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1081         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1082         macro.
1083         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1084         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1085         New macro.
1086         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1087         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1088         macro.
1089         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1090         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1092 2014-11-04  Andreas Schwab  <schwab@suse.de>
1094         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1096 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1098         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1099         mtvsrd instruction in binary form.
1101 2014-11-03  Andreas Schwab  <schwab@suse.de>
1103         [BZ #17522]
1104         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1105         for less than MB_LEN_MAX use a local buffer of that size.
1106         * libio/tst-fputws.c: New file.
1107         * libio/Makefile (tests): Add tst-fputws.
1109 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
1111         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1112         the size of the fpu_fr.fpu_dregs[] array.
1114 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
1116         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1117         (__nanosleep): Do not define as alias.
1118         (nanosleep): Define as alias of __nanosleep.
1119         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1120         __libc_nanosleep name.
1122 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1124         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1125         install.texi in comment.
1127 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1129         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1130         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1131         ... add here and use lwsync or sync ...
1132         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1133         ... and add here using lwsync.
1135 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1137         * elf/dl-machine-reject-phdr.h: New file.
1138         * elf/dl-load.c: #include that.
1139         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1140         if that returned true.
1142 2014-10-31  Roland McGrath  <roland@hack.frob.com>
1144         [BZ #17496]
1145         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1146         gen-as-const-headers chunk.  Add a big scare comment after the last
1147         safe place to touch before-compile.
1149 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1151         * manual/install.texi (Tools for Compilation): Update autoconf
1152         version requirements.
1153         * INSTALL: Regenerated.
1155         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1156         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1157         (__libc_pselect): Likewise.
1159         [BZ #14138]
1160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1165 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1167         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1168         correct barrier instruction.
1169         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1170         Likewise.
1171         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1172         Likewise.
1174 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1176         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1177         after defining inlines.  Instead, just use parens to defeat macro
1178         expansion of __isctype in its declaration.
1180 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1182         * include/sys/uio.h (__libc_readv): Remove declaration.
1183         (__libc_writev): Likewise.
1184         * misc/readv.c (__libc_readv): Rename to __readv.
1185         (__readv): Do not define as alias.
1186         (readv): Define as alias of __readv.
1187         * misc/writev.c (__libc_writev): Rename to __writev.
1188         (__writev): Do not define as alias.
1189         (writev): Define as alias of __writev.
1190         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1191         (__readv): Do not define as alias.
1192         (readv): Define unconditionally as alias of __readv.
1193         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1194         (__writev): Do not define as alias.
1195         (writev): Define unconditionally as alias of __writev.
1196         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1197         name.
1198         (writev): Do not define __libc_writev name.
1200 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1202         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1203         (convert_charseq): New function, broken out of ...
1204         (use_from_charmap): ... here.  Call it.
1205         (use_to_charmap): Use convert_charseq and free instead of duplicating
1206         its code with a variable-length stack struct.
1208 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1210         * include/fcntl.h (__libc_creat): Remove declaration.
1211         * io/creat.c (__libc_creat): Rename to creat.
1212         (creat): Do not define as alias.
1213         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1214         of creat instead of __libc_creat.
1215         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1216         to creat.
1217         (creat): Do not define as alias.
1218         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1219         __libc_creat.
1220         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1221         __libc_creat name.
1222         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1223         Likewise.
1225 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1227         * manual/llio.texi: Add comments discussing why write() may be
1228         considered MT-unsafe on Linux.
1230 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1232         * dl-load.c (local_strdup): Remove.
1233         (expand_dynamic_string_token): Use __strdup.
1234         (decompose_rpath): Likewise.
1235         (_dl_map_object): Likewise.
1237 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1239         [BZ #14132]
1240         * sysdeps/generic/unwind-dw2-fde.c
1241         (__register_frame_info_bases_internal): Do not declare.
1242         (__register_frame_info_table_bases_internal): Likewise.
1243         (__deregister_frame_info_bases_internal): Likewise.
1244         (__register_frame_info_bases): Declare and use hidden_proto before
1245         definition.  Use hidden_def instead of INTDEF.
1246         (__register_frame_info_table_bases): Likewise.
1247         (__deregister_frame_info_bases): Likewise.
1248         (__register_frame_info): Do not use INTUSE.
1249         (__register_frame): Likewise.
1250         (__register_frame_info_table): Likewise.
1251         (__register_frame_table): Likewise.
1252         (__deregister_frame_info): Likewise.
1253         (__deregister_frame): Likewise.
1255 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1257         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1258         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1259         not undefine.
1260         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1261         Likewise.
1262         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1263         Likewise.
1265 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1267         [BZ #14138]
1268         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1269         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1270         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1271         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1272         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1273         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1274         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1275         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1276         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1277         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1278         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1279         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1280         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1281         syscall.
1282         (setfsuid): Likewise.
1283         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1284         (setfsuid): Likewise.
1285         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1286         (setfsuid): Likewise.
1287         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1288         Likewise.
1289         (setfsuid): Likewise.
1290         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1291         (setfsuid): Likewise.
1292         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1293         Likewise.
1294         (setfsuid): Likewise.
1296 2014-10-27  Andreas Schwab  <schwab@suse.de>
1298         [BZ #17501]
1299         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1300         check for Slow_SSE4_2 feature bit.
1301         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1302         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1303         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1304         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
1306 2014-10-24  Roland McGrath  <roland@hack.frob.com>
1308         * configure.ac: Validate compiler version with a empirical test of
1309         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1310         $CC -v output.
1311         * configure: Regenerated.
1313         * inet/htons.c (htons): Prototypify.
1314         * inet/htonl.c (htonl): Likewise.
1316 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1318         * string/strncat.c (strncat): Improve performance by using strlen.
1320 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1322         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1324 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1326         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1327         Call libc_fetestexcept_aarch64.
1329 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1331         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1332         Call libc_feholdexcept_aarch64.
1334 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1336         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1337         Call get_rounding_mode.
1339 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1341         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1342         Simplify logic.
1344 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1346         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1347         Simplify logic.
1349 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
1351         [BZ #14138]
1352         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1353         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1354         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1355         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1356         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1357         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1358         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1359         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1360         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1361         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1362         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1363         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1364         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1365         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1366         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1367         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1368         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1369         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1370         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1371         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1372         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1373         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1374         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1375         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1376         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1377         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1378         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1379         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1380         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1381         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1382         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1383         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1384         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1385         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1386         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1387         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1388         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1389         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1390         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1391         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1392         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1393         syscall.
1394         (geteuid): Likewise.
1395         (getgid): Likewise.
1396         (getuid): Likewise.
1397         (getresgid): Likewise.
1398         (getresuid): Likewise.
1399         (getgroups): Likewise.
1400         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1401         (geteuid): Likewise.
1402         (getgid): Likewise.
1403         (getuid): Likewise.
1404         (getresgid): Likewise.
1405         (getresuid): Likewise.
1406         (getgroups): Likewise.
1407         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1408         (geteuid): Likewise.
1409         (getgid): Likewise.
1410         (getuid): Likewise.
1411         (getresgid): Likewise.
1412         (getresuid): Likewise.
1413         (getgroups): Likewise.
1414         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1415         Likewise.
1416         (geteuid): Likewise.
1417         (getgid): Likewise.
1418         (getuid): Likewise.
1419         (getresgid): Likewise.
1420         (getresuid): Likewise.
1421         (getgroups): Likewise.
1422         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1423         (geteuid): Likewise.
1424         (getgid): Likewise.
1425         (getuid): Likewise.
1426         (getresgid): Likewise.
1427         (getresuid): Likewise.
1428         (getgroups): Likewise.
1429         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1430         Likewise.
1431         (geteuid): Likewise.
1432         (getgid): Likewise.
1433         (getuid): Likewise.
1434         (getgroups): Likewise.
1436         [BZ #14138]
1437         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1438         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1439         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1440         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1441         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1442         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1443         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1444         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1445         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1446         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1447         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1448         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1449         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1450         __chown.
1451         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1452         (lchown): Likewise.
1453         (fchown): Likewise.
1454         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1455         Likewise.
1456         (lchown): Likewise.
1457         (fchown): Likewise.
1458         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1459         (lchown): Likewise.
1460         (fchown): Likewise.
1461         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1462         Likewise.
1463         (lchown): Likewise.
1464         (fchown): Likewise.
1466 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1468         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1469         Simplify logic.
1471 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1473         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1474         Cleanup logic.
1476 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1478         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1479         Remove unused include.
1481 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1483         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1484         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1485         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1486         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1488 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
1489             Helge Deller <deller@gmx.de>
1491         [BZ #17508]
1492         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1493         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1494         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1496 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
1498         [BZ #14132]
1499         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1500         Remove macro definition.
1501         (__ashrdi3_v_glibc20): Likewise.
1502         (__lshrdi3_v_glibc20): Likewise.
1503         (__cmpdi2_v_glibc20): Likewise.
1504         (__ucmpdi2_v_glibc20): Likewise.
1505         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1506         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1507         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1508         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1509         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1510         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1512 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1514         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1515         old GNU extension [0] syntax.
1516         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1517         alloca rather than an array member with variable length.
1518         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1519         * nscd/nscd.c (invalidate_db): New function, broken out of ...
1520         (parse_opt): ... here.  Likewise use alloca there.
1521         Validate the -i argument before checking for rootness.
1522         (send_shutdown): New function, broken out of ...
1523         (parse_opt): ... here.
1525 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1527         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1528         macro to get at the _rt_local_ro field.
1529         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1530         ([PIC] case) or _dl_hwcap ([!PIC] case).
1531         * sysdeps/arm/setjmp.S: Likewise.
1533         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1534         * sysdeps/arm/configure.ac: New check to define it.
1535         * sysdeps/arm/configure: Regenerated.
1536         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1537         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1538         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1539         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1540         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1541         Use move/movt pair instead of a load.
1542         (LDST_GLOBAL): Macro removed.
1543         (LDR_GLOBAL): New macro replaces it.
1544         (LDR_HIDDEN): New macro.
1545         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1546         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1548         * setjmp/tst-setjmp-static.c: New file.
1549         * setjmp/Makefile (tests): Add it.
1550         (tests-static): New variable.
1552 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
1554         [BZ #17485]
1555         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1557 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
1559         [BZ #14132]
1560         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1562 2014-10-21  Roland McGrath  <roland@hack.frob.com>
1564         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1566 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1568         * io/fts.c (dirent_not_directory): New function.
1569         (fts_build): Call it.
1571 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1573         * nptl/version.c (__nptl_main): Use normal __write rather than
1574         INTERNAL_SYSCALL.
1575         (banner): Update copyright years.
1577         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1578         gettimeofday.
1579         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1580         * nptl/pthread_cond_timedwait.c: Likewise.
1581         * nptl/pthread_mutex_timedlock.c: Likewise.
1582         * nptl/sem_timedwait.c: Likewise.
1584         * sysdeps/nptl/bits/libc-lock.h
1585         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1586         (__libc_lock_init_recursive): Return void, not 0.
1587         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1588         (__libc_rwlock_init): Likewise.
1589         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1591 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1593         [BZ #15215]
1594         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1595         (__pthread_once_slow): ... here.
1596         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1597         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1599 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1601         [BZ #15215]
1602         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1603         __PTHREAD_ONCE_FORK_GEN_INCR): New.
1604         * sysdeps/nptl/fork.c (__libc_fork): Use them.
1605         * nptl/pthread_once.c (__pthread_once): Likewise.
1606         Update comments.
1608 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
1610         [BZ #14138]
1611         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1612         name.
1613         (writev): Use __libc_writev as strong name.
1614         * sysdeps/unix/sysv/linux/readv.c: Remove file.
1615         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1617 2014-10-17  Roland McGrath  <roland@hack.frob.com>
1619         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1621         * sysdeps/i386/nptl/tls.h
1622         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1623         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1624         New macros.
1625         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1626         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1627         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1628         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1629         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1630         Call CHECK_THREAD_SYSINFO instead of doing an assert.
1632         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1633         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1634         on [__NR_futex].
1635         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1636         broken out of ...
1637         (__pthread_mutex_init): ... here.  Call it.
1638         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1639         Conditionalize PI cases on [__NR_futex].
1640         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1641         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1642         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1644         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1645         conditional on [SIGSETXID].
1646         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1647         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1648         is defined.  Likewise for SIGSETXID.
1649         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1650         Conditionalize definitions on [SIGSETXID].
1651         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1652         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1653         unblocking on [SIGCANCEL].
1655         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1656         [__NR_set_robust_list].
1658 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1660         * string/strcoll_l.c (get_next_seq): Fix up formatting.
1661         (do_compare): Likewise.
1663 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
1665         [BZ #15884]
1666         * string/strcoll_l.c: Don't include stdio.h.
1667         (coll_seq): Remove members idxarr and rulearr.
1668         (get_next_seq_cached): Remove function.
1669         (get_next_seq): Likewise.
1670         (get_next_seq_nocache): Rename to get_next_seq.
1671         (do_compare): Remove function.
1672         (do_compare_nocache): Rename to do_compare.
1673         (STRCOLL): Remove weight and rules cache.
1675 2014-10-16  Roland McGrath  <roland@hack.frob.com>
1677         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1678         * sysdeps/arm/sfp-machine.h: ... to here.
1679         * sysdeps/arm/Implies: Remove arm/soft-fp.
1681 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
1683         * conform/data/sys/utsname.h-data (*_t): Allow.
1684         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1685         [POSIX] (WEXITED): Do not expect constant.
1686         [POSIX] (WSTOPPED): Likewise.
1687         [POSIX] (WNOHANG): Likewise.
1688         [POSIX] (WNOWAIT): Likewise.
1689         [POSIX] (siginfo_t): Do not expect type or elements.
1690         [POSIX] (pid_t): Do not expect type.
1691         [POSIX] (signal.h): Do not allow header.
1692         [POSIX] (sys/resource.h): Likewise.
1693         [POSIX] (si_*): Do not allow pattern.
1694         [POSIX] (W*): Likewise.
1695         [POSIX] (P_*): Likewise.
1696         [POSIX] (BUS_*): Likewise.
1697         [POSIX] (CLD_*): Likewise.
1698         [POSIX] (FPE_*): Likewise.
1699         [POSIX] (ILL_*): Likewise.
1700         [POSIX] (POLL_*): Likewise.
1701         [POSIX] (SEGV_*): Likewise.
1702         [POSIX] (SI_*): Likewise.
1703         [POSIX] (TRAP_*): Likewise.
1704         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1705         variable.
1707 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1709         [BZ #12926]
1710         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1711         infinite loop when __recvmsg returns 0.
1713 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
1715         * CANCEL-FCT-WAIVE: Remove file.
1716         * CANCEL-FILE-WAIVE: Likewise.
1718         [BZ #14132]
1719         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1720         instead of INTVARDEF.
1721         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1722         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1723         rtld_hidden_data_def instead of INTVARDEF.
1724         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1725         * elf/dl-deps.c (expand_dst): Likewise.
1726         * elf/dl-load.c (_dl_dst_count): Likewise.
1727         (_dl_dst_substitute): Likewise.
1728         (decompose_rpath): Likewise.
1729         (_dl_init_paths): Likewise.
1730         (open_path): Likewise.
1731         (_dl_map_object): Likewise.
1732         * elf/rtld.c (dl_main): Likewise.
1733         (process_dl_audit): Likewise.
1734         (process_envvars): Likewise.
1735         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1736         Remove declaration.
1737         (__libc_enable_secure): Use rtld_hidden_proto.
1739 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1741         * elf/dl-load.c
1742         (add_path): New function broken out of _dl_rtld_di_serinfo.
1743         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
1745 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1747         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1748         parentheses around macro arguments.
1749         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1750         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1751         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1752         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1753         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1754         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1755         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1756         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1757         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1760         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1761         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1762         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1763         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1764         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1765         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1766         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1767         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1768         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1769         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1770         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1771         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1772         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1773         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1774         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1775         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1776         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1778         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1779         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1780         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1781         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1782         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1783         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1784         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1785         Likewise.
1786         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1787         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1788         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1789         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1790         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1791         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1792         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1793         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1794         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1795         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1796         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1797         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1798         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1799         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1800         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1801         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1802         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1803         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1804         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1805         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1806         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1807         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1808         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1809         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1810         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1811         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1812         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1813         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1814         (_FP_FRAC_SRS_1): Likewise.
1815         (_FP_FRAC_CLZ_1): Likewise.
1816         (_FP_MUL_MEAT_1_imm): Likewise.
1817         (_FP_MUL_MEAT_1_wide): Likewise.
1818         (_FP_MUL_MEAT_1_hard): Likewise.
1819         (_FP_SQRT_MEAT_1): Likewise.
1820         (_FP_FRAC_ASSEMBLE_1): Likewise.
1821         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1822         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1823         (__FP_CLZ_2): Likewise.
1824         (_FP_MUL_MEAT_2_wide): Likewise.
1825         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1826         (_FP_MUL_MEAT_2_gmp): Likewise.
1827         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1828         (_FP_SQRT_MEAT_2): Likewise.
1829         (_FP_FRAC_ASSEMBLE_2): Likewise.
1830         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1831         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1832         (_FP_FRAC_CLZ_4): Likewise.
1833         (_FP_MUL_MEAT_4_wide): Likewise.
1834         (_FP_MUL_MEAT_4_gmp): Likewise.
1835         (_FP_SQRT_MEAT_4): Likewise.
1836         (_FP_FRAC_ASSEMBLE_4): Likewise.
1837         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1838         * soft-fp/op-common.h (_FP_CMP): Likewise.
1839         (_FP_CMP_EQ): Likewise.
1840         (_FP_CMP_UNORD): Likewise.
1841         (_FP_TO_INT): Likewise.
1842         (_FP_FROM_INT): Likewise.
1843         [!__FP_CLZ] (__FP_CLZ): Likewise.
1844         (_FP_DIV_HELP_imm): Likewise.
1845         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1846         Likewise.
1847         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1848         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1849         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1850         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1851         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1852         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1853         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1854         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1855         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1856         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1857         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1858         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1859         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1860         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1861         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1862         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1863         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1864         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1865         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1866         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1867         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1868         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1869         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1870         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1872         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1873         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1875         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1876         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1877         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1878         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1879         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1880         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1881         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1882         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1883         (FP_UNPACK_RAW_SP): Likewise.
1884         (FP_PACK_RAW_S): Likewise.
1885         (FP_PACK_RAW_SP): Likewise.
1886         (FP_UNPACK_S): Likewise.
1887         (FP_UNPACK_SP): Likewise.
1888         (FP_UNPACK_SEMIRAW_S): Likewise.
1889         (FP_UNPACK_SEMIRAW_SP): Likewise.
1890         (FP_PACK_S): Likewise.
1891         (FP_PACK_SP): Likewise.
1892         (FP_PACK_SEMIRAW_S): Likewise.
1893         (FP_PACK_SEMIRAW_SP): Likewise.
1894         (_FP_SQRT_MEAT_S): Likewise.
1895         (FP_CMP_S): Likewise.
1896         (FP_CMP_EQ_S): Likewise.
1897         (FP_CMP_UNORD_S): Likewise.
1898         (FP_TO_INT_S): Likewise.
1899         (FP_FROM_INT_S): Likewise.
1901         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1903         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1904         (FP_EX_INVALID_IMZ): Likewise.
1905         (FP_EX_INVALID_IMZ_FMA): Likewise.
1906         (FP_EX_INVALID_ISI): Likewise.
1907         (FP_EX_INVALID_ZDZ): Likewise.
1908         (FP_EX_INVALID_IDI): Likewise.
1909         (FP_EX_INVALID_SQRT): Likewise.
1910         (FP_EX_INVALID_CVI): Likewise.
1911         (FP_EX_INVALID_VC): Likewise.
1912         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1913         "invalid" exceptions.
1914         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1915         (_FP_ADD_INTERNAL): Likewise.
1916         (_FP_MUL): Likewise.
1917         (_FP_FMA): Likewise.
1918         (_FP_DIV): Likewise.
1919         (_FP_CMP_CHECK_NAN): Likewise.
1920         (_FP_SQRT): Likewise.
1921         (_FP_TO_INT): Likewise.
1922         (FP_EXTEND): Likewise.
1924 2014-10-09  Allan McRae  <allan@archlinux.org>
1926         * po/fr.po: Update French translation from translation project.
1928 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1930         [BZ #14132]
1931         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1932         of INTDEF.
1933         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1934         (__cxa_atexit): Use libc_hidden_proto.
1935         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1937         [BZ #14132]
1938         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1939         declaration.
1940         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1941         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1942         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1943         [!_ISOMAC] (__iswctype_internal): Likewise.
1944         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1945         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1946         alias.
1947         (fcntl): Remove __fcntl_internal alias.
1948         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1949         __connect_internal alias.
1950         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1951         Likewise.
1953         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1954         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1955         FP_DENORM_ZERO.
1956         (_FP_CHECK_FLUSH_ZERO): New macro.
1957         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1958         (_FP_CMP): Likewise.
1959         (_FP_CMP_EQ): Likewise.
1960         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1961         FP_DENORM_ZERO.
1962         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1963         (FP_TRUNC): Likewise.
1965         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1966         treated as invalid conversion, not as normal exponent.
1968         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1969         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1970         (_FP_CMP_EQ): Likewise.
1971         (_FP_CMP_UNORD): Likewise.
1972         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1973         (FP_CMP_EQ_D): Likewise.
1974         (FP_CMP_UNORD_D): Likewise.
1975         * soft-fp/extended.h (FP_CMP_E): Likewise.
1976         (FP_CMP_EQ_E): Likewise.
1977         (FP_CMP_UNORD_E): Likewise.
1978         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1979         (FP_CMP_EQ_Q): Likewise.
1980         (FP_CMP_UNORD_Q): Likewise.
1981         * soft-fp/single.h (FP_CMP_S): Likewise.
1982         (FP_CMP_EQ_S): Likewise.
1983         (FP_CMP_UNORD_S): Likewise.
1984         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1985         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1986         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1987         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1988         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1989         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1990         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1991         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1992         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1993         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1994         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1995         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1996         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1997         to FP_CMP_Q.
1998         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1999         FP_CMP_Q.
2000         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2001         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2002         FP_CMP_EQ_Q.
2003         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2004         FP_CMP_Q.
2005         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2006         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2007         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2008         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2009         FP_CMP_EQ_Q.
2010         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2011         FP_CMP_Q.
2012         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2013         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2014         FP_CMP_EQ_Q.
2015         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2016         FP_CMP_Q.
2017         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2018         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2019         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2020         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2021         FP_CMP_EQ_Q.
2023         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2024         a subnormal result, set the underflow exception if trapping on
2025         underflow is enabled.
2026         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2027         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2028         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2029         redefine to 0.
2030         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2031         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2032         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2033         * soft-fp/extendxftf2.c (__extendxftf2): Use
2034         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2036         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2037         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2038         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2039         FP_HANDLE_EXCEPTIONS.
2040         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2041         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2042         FP_HANDLE_EXCEPTIONS.
2043         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2044         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2045         FP_HANDLE_EXCEPTIONS.
2046         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2047         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2048         FP_HANDLE_EXCEPTIONS.
2050 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
2052         [BZ #14132]
2053         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2054         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2055         use INTUSE.
2056         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2057         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2058         Remove alias.
2059         (__adjtimex): Define using libc_hidden_ver.
2060         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2061         Remove declaration.
2062         (ntp_gettime): Call __adjtimex directly.
2063         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2064         Remove declaration.
2065         (ntp_gettimex): Call __adjtimex directly.
2066         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2067         __adjtimex_internal alias.
2069 2014-10-08  Roland McGrath  <roland@hack.frob.com>
2071         [BZ #17460]
2072         * nscd/nscd.c (more_help): Rewrite list of tables collection
2073         using xstrdup and asprintf.
2075         * nscd/nscd_conf.c: Remove local xstrdup declaration.
2077 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2078             Roland McGrath  <roland@hack.frob.com>
2080         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2081         (do_lookup_unique): ... local function 'enter' here; update callers.
2083 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2085         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2086         compat_symbol calls on [SHARED].
2087         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2088         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2089         Remove.
2090         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2091         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2092         (oldsetrlimit): Remove.
2093         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2095         (lchown): New syscall entry.
2096         (oldsetrlimit): Remove.
2097         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2098         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2099         (oldsetrlimit): Remove.
2100         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2102         [BZ #14138]
2103         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2104         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2105         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2106         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2107         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2108         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2109         (fchown): Likewise.
2110         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2111         (fchown): Likewise.
2112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2113         Likewise.
2115 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2117         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2118         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2119         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2120         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2121         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2122         Likewise.
2123         (__old_sem_post): Likewise.
2125 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
2127         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2128         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2129         HAVE_CLOCK_GETTIME_VSYSCALL macros.
2130         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2131         Use INLINE_VSYSCALL macro.
2132         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2133         __vdso_clock_gettime.
2134         * sysdeps/unix/sysv/linux/tile/init-first.c
2135         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2136         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2137         __vdso_clock_gettime.
2139         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2140         to set up frame more cleanly.
2142         * sysdeps/tile/memcmp.c: New file.
2144         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2146         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2147         * sysdeps/tile/tilegx/strcasestr.c: New file.
2148         * sysdeps/tile/tilegx/strnlen.c: New file.
2149         * sysdeps/tile/tilegx/strstr.c: New file.
2151         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2153 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
2155         * nptl/tst-setuid3.c: Write errors to stdout.
2157 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2159         * elf/dl-deps.c
2160         (preload): New functions broken out of _dl_map_object_deps.
2161         (_dl_map_object_deps):  Remove a nested function. Update call sites.
2163 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
2165         [BZ #14138]
2166         * sysdeps/unix/sysv/linux/execve.c: Remove file.
2167         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2169 2014-10-01  Steve Ellcey  <sellcey@mips.com>
2171         * sysdeps/mips/strcmp.S: New.
2173 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2175         [BZ #14138]
2176         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2177         (linkat): Likewise.
2178         (mkdirat): Likewise.
2179         (readlinkat): Likewise.
2180         (renameat): Likewise.
2181         (symlinkat): Likewise.
2182         (unlinkat): Likewise.
2183         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2184         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2185         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2186         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2187         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2188         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2189         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2191 2014-09-30  Will Newton  <will.newton@linaro.org>
2193         * math/math.h: Define long double math functions if
2194         _LIBC_TEST is defined.
2195         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2197         * localedata/Makefile: Move assignment to tests-special
2198         into an ifdef testing run-built-tests.
2199         * timezone/Makefile: Likewise.
2201 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2203         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2204         with $(BASH) not $(SHELL).
2206 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2207             Matthew LeGendre  <legendre1@llnl.gov>
2209         [BZ #17411]
2210         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2211         l_reloc_result.
2213 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2215         * stdio-common/printf_fp.c
2216         (hack_digit): New function, broken out of ...
2217         (__printf_fp): ... local function here.  Update call sites.
2218         hack_digit now takes an additional parameter that is a pointer
2219         to a struct of the referenced locals.  Those locals moved inside
2220         the struct and references updated.
2222 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2224         * aclocal.m4: Require autoconf 2.69.
2225         * configure: Regenerated.
2226         * sysdeps/aarch64/configure: Likewise.
2227         * sysdeps/alpha/configure: Likewise.
2228         * sysdeps/arm/armv7/configure: Likewise.
2229         * sysdeps/arm/configure: Likewise.
2230         * sysdeps/ia64/configure: Likewise.
2231         * sysdeps/mach/configure: Likewise.
2232         * sysdeps/mips/configure: Likewise.
2233         * sysdeps/s390/configure: Likewise.
2234         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2237         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2238         file.
2239         * sysdeps/ia64/configure.ac: Likewise.
2241 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2244         specify symbol version for ld.so.  Do not include entry for
2245         libpthread.
2246         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2247         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2248         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2250         [BZ #14171]
2251         * Makeconfig [$(build-shared) = yes]
2252         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2253         makefiles.
2254         [$(build-shared) = yes && $(soversions.mk-done) = t]
2255         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2256         [$(build-shared) = yes && $(soversions.mk-done) = t]
2257         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2258         to Makerules.
2259         [$(build-shared) = yes && $(soversions.mk-done) = t]
2260         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2261         here.
2262         [$(build-shared) = yes && $(soversions.mk-done) = t]
2263         (common-generated): Don't append gnu/lib-names.h and
2264         gnu/lib-names.stmp here.
2265         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2266         (lib-names-h-abi): New variable.
2267         [$(build-shared) = yes && $(soversions.mk-done) = t]
2268         (lib-names-stmp-abi): Likewise.
2269         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2270         abi-variants] (before-compile): Append
2271         $(common-objpfx)$(lib-names-h-abi).
2272         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2273         abi-variants] (common-generated): Append gnu/lib-names.h.
2274         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2275         abi-variants] (install-others-nosubdir): Depend on
2276         $(inst_includedir)/$(lib-names-h-abi).
2277         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2278         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2279         [$(build-shared) = yes && $(soversions.mk-done) = t]
2280         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2281         [$(build-shared) = yes && $(soversions.mk-done) = t]
2282         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2283         [$(build-shared) = yes && $(soversions.mk-done) = t]
2284         (common-generated): Append $(lib-names-h-abi) and
2285         $(lib-names-stmp-abi).
2286         * scripts/lib-names.awk: Do not handle multi being set.
2287         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2288         Remove variable.
2289         (abi-lp64_be-ld-soname): Likewise.
2290         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2291         Likewise.
2292         (abi-hard-ld-soname): Likewise.
2293         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2294         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2295         Remove variable.
2296         (abi-o32_hard-ld-soname): Likewise.
2297         (abi-o32_soft_2008-ld-soname): Likewise.
2298         (abi-o32_hard_2008-ld-soname): Likewise.
2299         (abi-n32_soft-ld-soname): Likewise.
2300         (abi-n32_hard-ld-soname): Likewise.
2301         (abi-n32_soft_2008-ld-soname): Likewise.
2302         (abi-n32_hard_2008-ld-soname): Likewise.
2303         (abi-n64_soft-ld-soname): Likewise.
2304         (abi-n64_hard-ld-soname): Likewise.
2305         (abi-n64_soft_2008-ld-soname): Likewise.
2306         (abi-n64_hard_2008-ld-soname): Likewise.
2307         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2308         Likewise.
2309         (abi-64-v2-ld-soname): Likewise.
2310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2311         ld.so entries.
2312         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2313         variable.
2314         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2315         entry.
2316         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2317         variable.
2318         (abi-64-ld-soname): Likewise.
2319         (abi-x32-ld-soname): Likewise.
2320         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2321         entry.
2322         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2324 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2326         [BZ #14138]
2327         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2328         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2329         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2330         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2331         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2332         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2333         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2334         syscall entry for GLIBC_2.2 symbol version.
2335         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2336         Likewise.
2337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2338         (setrlimit): Likewise.
2339         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2340         Likewise.
2342 2014-09-23  Will Newton  <will.newton@linaro.org>
2344         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2345         _LINUX_ARM_SYSDEP_H include guard too.
2346         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2347         define.
2349 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2351         * sysdeps/unix/sysv/linux/eventfd.c:
2352         Make first argument unsigned.
2353         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2354         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2356 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
2358         * socket/recvmmsg.c (recvmmsg): Drop const argument.
2359         * socket/sys/socket.h: Likewise
2360         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2362 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2364         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2366 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
2368         * time/tst-ftime.c: New test.
2369         * time/Makefile (tests): Add tst-ftime.
2371 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
2373         * soft-fp/extended.h: Fix comment formatting.
2374         * soft-fp/op-1.h: Likewise.
2375         * soft-fp/op-2.h: Likewise.
2376         * soft-fp/op-4.h: Likewise.
2377         * soft-fp/op-8.h: Likewise.
2378         * soft-fp/op-common.h: Likewise.
2379         * soft-fp/soft-fp.h: Likewise.
2381         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2383 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
2385         [BZ #6652]
2386         * Makeconfig (soversions-default-setname): Remove variable.
2387         ($(common-objpfx)soversions.i): Don't pass default_setname to
2388         soversions.awk.
2389         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2390         oldest_abi to abi-versions.awk.
2391         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2392         * config.make.in (oldest-abi): Remove variable.
2393         * configure.ac (--enable-oldest-abi): Remove configure option.
2394         * configure: Regenerated.
2395         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2396         text.
2397         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2398         * scripts/soversions.awk: Do not handle default_setname variable.
2399         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2400         variable.
2401         * sysdeps/mach/hurd/configure: Regenerated.
2402         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2403         variable.
2404         * sysdeps/unix/sysv/linux/configure: Regenerated.
2406 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2408         * elf/Makefile (CFLAGS-interp.c): Remove.
2409         ($(elf-objpfx)runtime-linker.h): Generate header with linker
2410         path string.
2411         * elf/interp.c: Include generated runtime-linker.h
2413         * Makerules (lib%.so): Don't include $(+interp) in
2414         prerequisites.
2415         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2416         * dlfcn/eval.c: Remove file.
2418         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2419         macros.
2421         [BZ #17266]
2422         * misc/sys/cdefs.h: Define __extern_always_inline for clang
2423         4.2 and newer.
2425         [BZ #17370]
2426         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2428 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2429             Jakub Jelinek  <jakub@redhat.com>
2431         [BZ #17266]
2432         * libio/stdio.h: Check definition of __fortify_function
2433         instead of __extern_always_inline to include bits/stdio2.h.
2434         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2435         check if __extern_always_inline is defined.
2436         [__USE_MISC || __USE_XOPEN]: Likewise.
2437         [__USE_ISOC99] Likewise.
2438         * misc/sys/cdefs.h (__fortify_function): Define only if
2439         __extern_always_inline is defined.
2440         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2441         __extern_always_inline and __extern_inline only for g++-4.3
2442         and newer or a compatible gcc.
2444 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
2446         [BZ #17371]
2447         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2448         last change to handle zero prefix length.
2450 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2452         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2453         _SC_REGEX_VERSION.
2455         * posix/getconf.c (vars): Add _POSIX_IPV6 and
2456         _POSIX_RAW_SOCKETS.
2458 2014-09-13  Allan McRae  <allan@archlinux.org>
2460         * po/ru.po: Update Russian translation from translation project.
2462 2014-09-12  Roland McGrath  <roland@hack.frob.com>
2464         * locale/programs/locale.c (show_locale_vars): Inline local function
2465         into its sole call site.  Clean up some style nits.
2466         (print_item): New function, broken out of ...
2467         (show_info): ... local function here.  Clean up style nits.
2469         * locale/programs/ld-ctype.c (set_one_default): New function, broken
2470         out of ...
2471         (set_class_defaults): ... local function set_default here.
2472         Define set_default as a macro locally to pass constant parameters.
2473         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2474         rather than a shared local.
2476         * stdlib/rpmatch.c (try): New function, broken out of ...
2477         (rpmatch): ... local function here.  Also, prototypify definition.
2479 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2481         * scripts/soversions.awk: Do not handle configuration names.
2482         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2483         vendor and os variables to soversions.awk.
2484         * configure.ac: Do not modify gnu-* host_os.
2485         * configure: Regenerated
2486         * shlib-versions: Remove first column with configuration names.
2487         * nptl/shlib-versions: Likewise.
2488         * nptl_db/shlib-versions: Likewise.
2489         * sysdeps/hppa/shlib-versions: Likewise.
2490         * sysdeps/m68k/shlib-versions: Likewise.
2491         * sysdeps/mach/hurd/shlib-versions: Likewise.
2492         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2493         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2494         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2495         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2496         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2497         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2498         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2499         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2501         Likewise.
2502         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2503         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2504         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2505         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2506         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2507         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2508         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2509         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2512         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2514         Regenerated.
2515         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2517         Condition symbol version definitions on [HAVE_ELFV2_ABI].
2519         * shlib-versions: Remove OS-specific entries.  Moved to files in
2520         sysdeps.
2521         * sysdeps/mach/hurd/shlib-versions: New file.
2522         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2524         * nptl/shlib-versions: Remove architecture-specific entries.
2525         Moved to files in sysdeps.
2526         * shlib-versions: Likewise.
2527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2528         file.
2529         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2530         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2531         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2532         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2534         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2535         (UDP_NO_CHECK6_RX): Likewise.
2537 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2539         * sysdeps/posix/sysconf.c (__sysconf): Spell
2540         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2542 2014-08-12  Florian Weimer  <fweimer@redhat.com>
2544         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2545         loading.
2546         * iconv/Versions (__gconv_transliterate): Export for use from
2547         gconv modules.
2548         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2549         (struct __gconv_trans_data, __gconv_trans_fct,
2550         __gconv_trans_context_fct, __gconv_trans_query_fct,
2551         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2552         definitions.
2553         (struct __gconv_step_data): Remove __trans member.
2554         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
2555         longer hidden.  Remove unused trans_data argument.
2556         * iconv/gconv_int.h (struct trans_struct): Remove definition.
2557         (__gconv_translit_find): Remove declaration.
2558         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
2559         prototype.
2560         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2561         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2562         trans_data argument.  Add hidden definition.
2563         (__gconv_translit_find): Remove.
2564         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2565         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2566         * iconv/skeleton.c: Remove transliteration initialization.
2567         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2568         __gconv_step_data initialization.
2569         * libio/iofwide.c (__libio_translit_): Remove.
2570         (_IO_fwide): Adjust struct __gconv_step_data initialization.
2571         * wcsmbs/btowc.c (__btowc): Likewise.
2572         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2573         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2574         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2575         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2576         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2577         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2578         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2579         * wcsmbs/wctob.c (wctob): Likewise.
2581 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2583         [BZ #16194]
2584         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2585         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
2586         register usage.
2587         * sysdeps/x86/Makefile: Adjust.
2589 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2590             Roland McGrath  <roland@hack.frob.com>
2592         * locale/weight.h: Add include guard.
2593         (findidx): Make static rather than auto; take new parameters
2594         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2595         * locale/weightwc.h: Likewise.
2596         * posix/fnmatch_loop.c
2597         (FCT): Change type of EXTRA from int32_t to wint_t.
2598         Don't include either header inside the function.
2599         Call FINDIDX rather than findidx, and pass new arguments.
2600         #undef FINDIDX at the end of the file.
2601         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2602         FINDIDX before including fnmatch_loop.c for the non-wide version.
2603         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2604         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2605         for the wide version.
2606         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2607         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2608         Pass new arguments to findidx.
2609         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2610         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2611         Don't #include it inside the function.  Pass new arguments to findidx.
2612         * posix/regex_internal.h
2613         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2614         (re_string_elem_size_at): Don't #include it inside the function.
2615         Pass new arguments to findidx.
2616         * string/strcoll_l.c: #include WEIGHT_H at top level.
2617         (get_next_seq): Don't #include it inside the function.
2618         Pass new arguments to findidx.
2619         (get_next_seq_nocache): Likewise.
2620         * string/strxfrm_l.c: #include WEIGHT_H at top level.
2621         (STRXFRM): Don't #include it inside the function.
2622         Pass new arguments to findidx.
2624 2014-09-11  Florian Weimer  <fweimer@redhat.com>
2626         [BZ #17344]
2627         * malloc/malloc.c (unlink): Turn asserts into a call to
2628         malloc_printerr.
2630 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
2632         [BZ #17370]
2633         * libio/wfileops (do_ftell_wide): Free OUT.
2635 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
2637         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2639 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2641         [BZ #17363]
2642         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2643         group if the current group is empty.
2645 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2647         * benchtests/bench-memset.c (test_main): Add more test from size
2648         from 32 to 512 bytes.
2649         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2650         Add POWER8 memset object.
2651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2652         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2653         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2654         implementation.
2655         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2656         Likewise.
2657         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2658         multiarch POWER8 memset optimization.
2659         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2660         POWER8 memset optimization.
2662         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2663         Remove bzero multiarch objects.
2664         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2665         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2666         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2667         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2668         Remove define.
2669         [__bzero]: Redefine to specific name.
2670         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2671         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2672         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2673         define.
2674         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2675         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2677 2014-09-10  Florian Weimer  <fweimer@redhat.com>
2679         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2680         warnings into errors.
2682         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2683         __cxa_thread_atexit_impl prototype.
2685 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2687         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2688         Fix capitalization of error message.
2690 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2692         * sysdeps/mips/preconfigure: Modify ABI tests.
2694 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
2696         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2698 2014-09-07  Roland McGrath  <roland@hack.frob.com>
2699             Carlos O'Donell  <carlos@systemhalted.org>
2701         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2702         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2703         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2704         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2705         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2706         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2707         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2708         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2709         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2710         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2711         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2712         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2713         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2714         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2715         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2716         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2717         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2718         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2719         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2720         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2721         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2722         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2723         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2724         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2725         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2726         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2727         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2728         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2729         Deconditionalize the code that was previously under [RESET_PID].
2730         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2731         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2732         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2733         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2734         include sysdep.h.
2736 2014-09-08  Allan McRae  <allan@archlinux.org>
2738         * version.h (RELEASE): Set to "development".
2739         (VERSION): Set to "2.20.90"
2741 2014-09-07  Allan McRae  <allan@archlinux.org
2743         * version.h (RELEASE): Set to "stable".
2744         (VERSION): Set to "2.20"
2745         * include/features.h (__GLIBC_MINOR__): Set to 20.
2747         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2748         Liebler.
2750         * po/ko.po: Update Korean translation from translation project.
2752 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
2754         [BZ #17354]
2755         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2756         macro for handling signed relocations.
2758 2014-09-03  Florian Weimer  <fweimer@redhat.com>
2760         [BZ #17325]
2761         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2762         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2763         assert.
2764         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2765         * iconvdata/ibm935.c (BODY): Likewise.
2766         * iconvdata/ibm937.c (BODY): Likewise.
2767         * iconvdata/ibm939.c (BODY): Likewise.
2768         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2769         assert.
2770         * iconvdata/Makefile (iconv-test.out): Pass module list to test
2771         script.
2772         * iconvdata/run-iconv-test.sh: New test loop for checking for
2773         decoder crashers.
2775 2014-09-02  Khem Raj  <raj.khem@gmail.com>
2777         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2778         libm_hidden_ver.
2780 2014-09-01  Allan McRae  <allan@archlinux.org>
2782         * po/eo.po: Update Esperanto translation from translation project.
2784         * po/ca.po: Update Catalan translation from translation project.
2786 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2788         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2789         __proc_dostop call.
2791 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2793         [BZ #17319]
2794         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2795         to call set_thread_area instead of hand written asm.
2796         (__NR_set_thread_area): Removed define.
2797         (TLS_FLAG_WRITABLE): Likewise.
2798         (__ASSUME_SET_THREAD_AREA): Remove check.
2799         (TLS_EBX_ARG): Remove define.
2800         (TLS_LOAD_EBX): Likewise.
2802 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2804         Simplify atomicity of socket creation in bind.
2806         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2807         looking up the name after linking the file.
2809 2014-08-27  Allan McRae  <allan@archlinux.org>
2811         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2813 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2815         [BZ #17187]
2816         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2817         trans_compare, open_translit, __gconv_translit_find):
2818         Remove module loading code.
2820 2014-08-26  Allan McRae  <allan@archlinux.org>
2822         * po/vi.po: Update Vietnamese translation from translation project.
2824         * po/uk.po: Update Ukrainian translation from translation project.
2826         * po/fr.po: Update French translation from translation project.
2828         * po/ru.po: Update Russian translation from translation project.
2830         * po/pl.po: Update Polish translation from translation project.
2832         * po/cs.po: Update Czech translation from translation project.
2834         * po/de.po: Update German translation from translation project.
2836         * po/bg.po: Update Bulgarian translation from translation project.
2838         * po/sv.po: Update Sweedish translation from translation project.
2840         * po/nl.po: Update Dutch translation from translation project.
2842         * po/es.po: Update Spanish translation from translation project.
2844 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2846         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2848         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2849         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2850         (CPPFLAGS-iconvconfig): Likewise.
2851         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2853         * include/libc-symbols.h: Remove unnecessary check for
2854         NOT_IN_libc.
2855         * nptl/pthreadP.h: Likewise.
2856         * sysdeps/aarch64/setjmp.S: Likewise.
2857         * sysdeps/alpha/setjmp.S: Likewise.
2858         * sysdeps/arm/sysdep.h: Likewise.
2859         * sysdeps/i386/setjmp.S: Likewise.
2860         * sysdeps/m68k/setjmp.c: Likewise.
2861         * sysdeps/posix/getcwd.c: Likewise.
2862         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2863         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2864         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2865         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2866         * sysdeps/sh/sh3/setjmp.S: Likewise.
2867         * sysdeps/sh/sh4/setjmp.S: Likewise.
2868         * sysdeps/unix/alpha/sysdep.h: Likewise.
2869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2870         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2871         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2872         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2876         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2877         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2879         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2880         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2881         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2882         * sysdeps/x86_64/setjmp.S: Likewise.
2884 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2886         [BZ #17263]
2887         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2888         <stdint.h>.
2889         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2890         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2892 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2894         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2896         [BZ #17262]
2897         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2898         and __x86_64__ when disabling x87 inline functions.
2900 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2902         [BZ #17259]
2903         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2904         asm statement with __cpuid_count.
2906 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2908         * configure.ac: Change __ehdr_start code to dereference the struct.
2909         Run readelf on the output to look for relocations.
2910         * configure: Regenerated.
2912 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2914         [BZ #17261]
2915         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2916         value to 0.
2917         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2919 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2921         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2923 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2925         [BZ #16892]
2926         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2927         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2929 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2931         * malloc/malloc.c: Fix typo in comment.
2933 2014-08-09  Allan McRae  <allan@archlinux.org>
2935         * Regenerate libc.po.
2937 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2939         * intl/tst-gettext2.sh: Check every lang file for creation.
2941 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2943         * sysdeps/aarch64/fpu/math_private.h
2944         (libc_feholdsetround_noex_aarch64_ctx): New function.
2946 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2948         * sysdeps/arm/armv6/strcpy.S (strcpy):
2949         Fix performance issue in misaligned cases.
2951 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2953         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2954         Move definition from termios.h.
2955         (struct termio): Likewise.
2956         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2957         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2958         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2959         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2960         Likewise.
2961         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2962         Move definition to ioctl-types.h
2963         (struct termio): Likewise.
2964         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2965         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2966         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2967         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2968         Likewise.
2970 2014-08-05  Richard Henderson  <rth@redhat.com>
2972         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2973         exceptions.
2974         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2975         Add fraiseexcpt.
2976         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2977         Use __feraiseexcept.
2978         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2979         Protect libm symbols with IS_IN_libm.
2981         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2983 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2985         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2987 2014-08-04  Will Newton  <will.newton@linaro.org>
2989         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2990         file.
2992 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2994         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2995         variants for each function.
2997 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2999         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3000         appended ...
3001         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3002         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3003         appended ...
3004         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3005         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3006         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3007         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3008         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3009         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3010         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3011         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3012         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3013         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3014         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3015         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3016         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3017         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3018         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3019         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3020         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3021         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3022         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3023         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3024         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3025         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3026         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3027         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3028         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3029         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3030         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3031         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3032         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3033         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3034         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3035         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3036         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3037         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3038         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3039         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3040         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3041         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3042         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3043         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3044         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3045         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3046         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3047         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3048         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3049         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3050         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3051         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3052         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3053         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3054         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3055         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3056         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3057         Update #include.
3058         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3059         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3061 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3063         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3064         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3065         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3066         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3067         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3068         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3070 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3072         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3073         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3074         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3075         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3077 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3079         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3080         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3081         (__libc_vfork): Define function under this name.
3082         (__vfork): Define as an alias.
3083         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3084         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3086 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3088         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3089         that was previously under [RESET_PID].
3090         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3092 2014-08-04  Andreas Schwab  <schwab@suse.de>
3094         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3096 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
3098         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3099         (main): Likewise.
3101 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3103         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3105 2014-08-01  Richard Henderon  <rth@redhat.com>
3107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3108         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3109         typo in exact zero test.
3110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3111         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3112         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3114 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3116         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3117         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3118         * sysdeps/arm/sysdep.h: ... here.
3119         [!__ASSEMBLER__]: Include <stdint.h>.
3121 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3123         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3124         (HAVE_WCTYPE_H): Likewise.
3125         (HAVE_ISWCTYPE): Likewise.
3126         (ENABLE_NLS): Likewise.
3127         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3128         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3130         * posix/regex_internal.c: Check if DEBUG is defined and is
3131         set.
3133         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3134         (HAVE_MBSRTOWCS): Likewise.
3135         * posix/fnmatch.c: Include string.h unconditionally.
3137 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3139         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3140         reversal.
3142 2014-07-31  Roland McGrath  <roland@hack.frob.com>
3144         * sysdeps/generic/safe-fatal.h: New file.
3145         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3146         * nptl/forward.c: Include it.
3147         (__pthread_unwind): Use __safe_fatal as default action, rather
3148         than a bogus use of INTERNAL_SYSCALL that could never work.
3150         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3151         * configure.ac (libc_cv_builtin_trap): New test.
3152         * configure: Regenerated.
3153         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3154         (ABORT_INSTRUCTION): Define using __builtin_trap.
3156         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3157         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3158         * sysdeps/nptl/nptl-signals.h: New file.
3159         * nptl/pthreadP.h: Include <nptl-signals.h>.
3161 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3163         * sysdeps/s390/s390-64/utf16-utf32-z9.c
3164         (ONE_DIRECTION): Define.
3165         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3166         (ONE_DIRECTION): Define.
3167         * sysdeps/s390/s390-64/utf8-utf32-z9.c
3168         (ONE_DIRECTION): Define.
3170 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3172         * sysdeps/s390/Makefile: Delete file.
3173         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3174         * sysdeps/s390/__longjmp.c: Delete file.
3175         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3176         Remove fields __flags and __reserved.
3177         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3178         and add versioning.
3179         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3180         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3181         * sysdeps/s390/rtld-setjmp.S: Likewise.
3182         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3183         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3184         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3185         * sysdeps/s390/s390-32/setjmp.S: ... here.
3186         Add versioning.
3187         (__sigsetjmp): Remove setting __flags field.
3188         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3189         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3190         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3191         * sysdeps/s390/s390-64/setjmp.S: ... here.
3192         Add versioning.
3193         (__sigsetjmp): Remove setting __flags field.
3194         * sysdeps/s390/setjmp.S: Delete file.
3195         * sysdeps/s390/sigjmp.c: Likewise.
3196         * sysdeps/s390/v1-longjmp.c: Likewise.
3197         * sysdeps/s390/v1-setjmp.h: Likewise.
3198         * sysdeps/s390/v1-sigjmp.c: Likewise.
3199         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3200         Remove v1-longjmp_chk.
3201         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3202         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3203         Include debug/longjmp_chk.c and add versioning.
3204         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3205         Include nptl/pt-longjmp.c and add versioning.
3206         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3207         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3208         Include __longjmp.c.
3209         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3210         Move to ...
3211         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3212         (__getcontext): Remove setting __flags field.
3213         Add versioning.
3214         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3215         Don't restore upper high grps.
3216         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3217         Likewise.
3218         (__swapcontext): Remove setting uc_flags field.
3219         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3220         Delete file.
3221         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3222         Include __longjmp.c.
3223         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3224         Move to ...
3225         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3226         (__getcontext): Remove setting __flags field.
3227         Add versioning.
3228         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3229         (__swapcontext): Remove setting uc_flags field.
3230         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3231         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3232         Remove fields uc_high_gprs and __reserved.
3233         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3234         New file with reverted content.
3235         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3236         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3237         Regenerated.
3238         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3239         Regenerated.
3241 2014-07-31  Andreas Schwab  <schwab@suse.de>
3243         * config.h.in (HAVE_IFUNC): Define to 0.
3244         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3245         definedness.
3247 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3249         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3250         memmove-avx-unaligned, memcpy-avx-unaligned and
3251         mempcpy-avx-unaligned.
3252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3253         Add tests for AVX memcpy functions.
3254         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3255         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3256         memcpy_chk.
3257         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3258         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3259         memmove_chk.
3260         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3261         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3262         mempcpy_chk.
3263         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3264         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3265         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3267 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3269         [BZ #17213]
3270         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3271         powerpc64le.
3273 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3275         [BZ #16839]
3276         * manual/llio.texi: Add section about open file description locks.
3277         * manual/examples/ofdlocks.c: Example of open file description
3278         lock usage.
3279         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3280         F_OFD_SETLK, and F_OFD_SETLKW.
3282 2014-07-23  Allan McRae  <allan@archlinux.org>
3284         * po/es.po: Update Spanish translation from translation project.
3286 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3288         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3290 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3292         [BZ #17078]
3293         * sysdeps/arm/dl-machine.h (elf_machine_rela)
3294         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3295         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3297 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
3299         [BZ #17088]
3300         * math/fesetenv.c (__fesetenv)
3301         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3302         * math/feupdateenv.c (__feupdateenv)
3303         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3305         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3306         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3307         (__ASSUME_SOCKETCALL): Do not define.
3309         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3310         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3311         (__ASSUME_SOCKETCALL): Do not define.
3312         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3313         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3314         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3315         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3316         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3317         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3318         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3319         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3321         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3322         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3323         (__ASSUME_SOCKETCALL): Do not define.
3324         (__ASSUME_IPC64): Define unconditionally.
3325         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3326         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3327         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3328         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3329         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3330         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3331         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3332         Likewise.
3334         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3335         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3336         (__ASSUME_SOCKETCALL): Do not define.
3337         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3338         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3339         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3340         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3341         (__ASSUME_REQUEUE_PI): Define unconditionally.
3342         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3343         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3344         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3345         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3346         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3347         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3349         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3350         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3351         (__ASSUME_SOCKETCALL): Do not define.
3352         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3354         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3355         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3356         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3357         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3359         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3360         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3361         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3362         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3364         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3365         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3366         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3367         (__ASSUME_GETCPU_SYSCALL): Likewise.
3369         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3370         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
3371         cases for individual architectures.
3372         * sysdeps/gnu/configure: Regenerated.
3373         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3374         LIBC_SLIBDIR_RTLDDIR.
3375         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3376         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3377         LIBC_SLIBDIR_RTLDDIR.
3378         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3380         LIBC_SLIBDIR_RTLDDIR.
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3382         Regenerated.
3383         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3384         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3385         file.
3386         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3387         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3388         file.
3389         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3390         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3391         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3392         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3394         * sysdeps/aarch64/shlib-versions: Move to ...
3395         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3396         * sysdeps/alpha/shlib-versions: Move to ...
3397         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3398         * sysdeps/arm/shlib-versions: Move to ...
3399         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3400         * sysdeps/hppa/shlib-versions: Move all contents except for
3401         libgcc_s entry to ...
3402         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
3403         entry from ...
3404         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
3405         * sysdeps/ia64/shlib-versions: Move to ...
3406         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
3407         entry from ...
3408         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
3409         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3410         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3411         * sysdeps/microblaze/shlib-versions: Move to ...
3412         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3413         * sysdeps/mips/shlib-versions: Move to ...
3414         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
3415         entry from ...
3416         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
3417         * sysdeps/tile/shlib-versions: Move to ...
3418         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3419         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3420         from ...
3421         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
3422         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3423         entry from ...
3424         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
3426 2014-07-17  Will Newton  <will.newton@linaro.org>
3428         * sysdeps/arm/bits/atomic.h
3429         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3430         (__arch_compare_and_exchange_bool_16_int): Likewise.
3431         (__arch_compare_and_exchange_bool_64_int): Likewise.
3433         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3434         into an #else block.
3436 2014-07-16  Roland McGrath  <roland@hack.frob.com>
3438         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3439         just Linux configurations.  Test empirically that the compiler sets
3440         __ARM_EABI__, rather than using the tuple to decide.
3441         * sysdeps/arm/preconfigure: Regenerated.
3442         * sysdeps/unix/sysv/linux/arm/configure: File removed.
3443         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3444         contents appended ...
3445         * sysdeps/arm/configure.ac: ... here.
3446         * sysdeps/arm/configure: Regenerated.
3448 2014-07-15  Roland McGrath  <roland@hack.frob.com>
3450         * nptl/pthread_kill.c: New file.
3451         * nptl/pthread_sigmask.c: New file.
3452         * nptl/pthread_sigqueue.c: New file.
3454         * sysdeps/nptl/lowlevellock.h: New file.
3455         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3456         * sysdeps/nptl/lowlevellock-futex.h: New file.
3458         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3459         Remove dead declarations.
3461 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
3463         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3464         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3465         config-cflags-avx2.
3466         * sysdeps/x86_64/configure.ac: Likewise.
3467         * sysdeps/i386/configure: Regenerated.
3468         * sysdeps/x86_64/configure: Likewise.
3469         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3470         memset-avx2 only if config-cflags-avx2 is yes.
3471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3472         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3473         defined.
3474         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3475         only if HAVE_AVX2_SUPPORT is defined.
3476         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3478 2014-07-14  Alan Modra  <amodra@gmail.com>
3480         [BZ #17153]
3481         * elf/elf.h (DT_PPC64_NUM): Correct value.
3482         * NEWS: Add to fixed bug list.
3484 2014-07-13  Jim Meyering  <meyering@fb.com>
3486         [BZ 17150]
3487         regex: don't deref NULL upon heap allocation failure
3488         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3489         failure in one more place.
3490         To trigger the segfault, configure grep -with-included-regex,
3491         build it, and run these commands:
3492         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3494 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3496         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3498 2014-07-11  Richard Henderson  <rth@redhat.com>
3500         * sysdeps/aarch64/libm-test-ulps: Update.
3502 2014-07-10  Florian Weimer  <fweimer@redhat.com>
3504         [BZ #17135]
3505         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3506         * nptl/allocatestack.c (__nptl_setxid_error): New function.
3507         (__nptl_setxid): Initialize error member.  Call
3508         __nptl_setxid_error.
3509         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3510         * nptl/descr.h (struct xid_command): Add error member.
3511         * nptl/tst-setuid3.c: New file.
3512         * nptl/Makefile (tests): Add it.
3514 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3516         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3517         New define.
3518         (__lll_trylock): Use __lll_base_trylock.
3519         (__lll_cond_trylock): Likewise.
3521 2014-07-10  Roland McGrath  <roland@hack.frob.com>
3523         * nptl/pthread_create.c (start_thread): Use atomic_or and
3524         lll_futex_wake directly rather than lll_robust_dead.
3525         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3526         (lll_robust_dead): Macro removed.
3527         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3528         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3529         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3530         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3531         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3532         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3533         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3534         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3535         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3536         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3537         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3538         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3539         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3540         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3541         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3543         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3544         Use atomic_compare_and_exchange_val_acq directly rather than
3545         lll_robust_trylock.
3546         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3547         (__lll_robust_trylock, lll_robust_trylock): Removed.
3548         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3549         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3550         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3551         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3552         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3553         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3554         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3555         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3556         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3557         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3558         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3559         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3560         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3561         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3563 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3565         * manual/locale.texi (Locale Names): New section documenting
3566         locale name syntax.  Adjust menu and node chaining accordingly.
3567         (Choosing Locale): Reference Locale Names, Locale Categories.
3568         Mention setting LC_ALL=C.  Reflect that name syntax is now
3569         documented.
3570         (Locale Categories): New section title.  Reference Locale Names.
3571         LC_ALL is an environment variable, but not a category.
3572         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3573         description, now in Locale Name.  Reference that section.  Locale
3574         name syntax is now documented.
3576 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3578         [BZ #17137]
3579         * locale/findlocale.c (name_present, valid_locale_name): New
3580         functions.
3581         (_nl_find_locale): Use the loc_name variable to store name
3582         candidates.  Call name_present and valid_locale_name to check and
3583         validate locale names.  Return an error if the locale is invalid.
3585 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3587         * locale/setlocale.c (setlocale): Use strdup for allocating
3588         composite name copy.
3590 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3592         Sync up with gnulib.
3593         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3594         [!_LIBC && ENABLE_NLS]: Include gettext.h.
3595         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3596         and _GL_ARG_NONNULL.
3597         [USE_UNLOCKED_IO]: Include unlocked-io.h.
3598         [!_LIBC]: Include code for Windows and Cygwin.
3599         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3600         Include prototype for int strerror_r.
3601         [!_LIBC] (is_open): New function.
3602         (flush_stdout): New function.
3603         (print_errno_message): Use it.
3604         (error): Likewise.
3605         (error_at_line): Likewise.
3606         (error_tail) Add function attribute macros.  Use
3607         __builtin_expect.
3609         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3611         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3613         * io/ftw.c: Include sys/param.h unconditionally.
3615         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3617         [BZ #17125]
3618         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3619         libc_freeres_ptr.
3620         (freecache): New function to free CACHE on exit.
3622         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3623         initialization.
3625 2014-07-09  David S. Miller  <davem@davemloft.net>
3627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3629         * sysdeps/sparc/nptl/internaltypes.h: Delete.
3630         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3631         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3632         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3633         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3634         * sysdeps/sparc/nptl/sem_init.c: Likewise.
3635         * sysdeps/sparc/nptl/sem_post.c: Likewise.
3636         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3637         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3638         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3639         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3640         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3641         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3643 2014-07-09  Andreas Schwab  <schwab@suse.de>
3645         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3646         output.
3647         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3648         (do_test): Likewise.
3650         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3652 2014-07-09  Will Newton  <will.newton@linaro.org>
3654         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3655         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3656         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3657         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3658         * sysdeps/hppa/start.S (_start): Likewise.
3660 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3662         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3664         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3665         defined.
3667 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3669         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3670         after checking that it is non-NULL.
3672         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3674 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3676         * sysdeps/powerpc/memmove.c: Remove file.
3677         * sysdeps/powerpc/powerpc32/power4/memcopy.h
3678         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3679         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3680         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3681         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3682         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3683         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3684         string memmove instead of removed powerpc one.
3686         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3687         [weak_alias]: Fix compiler warning due trailing data.
3688         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3689         [weak_alias]: Likewise.
3690         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3691         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3694         (__libc_ifunc_impl_list): Add memmove functions.
3696 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3698         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3699         Remove code.
3700         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3701         Likewise
3702         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3703         Likewise
3704         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3705         Likewise
3706         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3707         Likewise
3708         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3709         Likewise
3710         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3711         Likewise
3712         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3713         Likewise
3714         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3715         Likewise
3716         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3717         Likewise
3718         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3719         Likewise
3720         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3721         Likewise
3722         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3723         Likewise
3724         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3725         Likewise
3726         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3727         Likewise
3728         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3729         Likewise
3730         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3731         Likewise
3733 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3735         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3736         to avoid alignment traps in non-cacheable memory.
3737         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3739         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3740         multiarch objects.
3741         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3742         file: multiarch power7 memmove.
3743         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3744         multiarch default memmove.
3745         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3746         multiarch memove for powerpc32/power4.
3748         * string/bcopy.c: Use full path to include memmove.c.
3749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3750         multiarch objects.
3751         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3752         bcopy for powerpc64.
3753         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3754         bcopy for powerpc64.
3755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3756         and memmove implementations.
3757         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3758         optimized multiarch memmove for POWER7/powerpc64.
3759         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3760         default multiarch memmove for powerpc64.
3761         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3762         multiarch for powerpc64.
3763         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3764         for POWER7/powerpc64.
3765         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3766         memmove for POWER7/powerpc64.
3768         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3769         glibc default one.
3771         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3772         __ELF_NATIVE_CLASS equal to 64.
3774 2014-07-07  Roland McGrath  <roland@hack.frob.com>
3776         * sysdeps/nptl/lowlevellock.h: File removed.
3778         * NEWS: NPTL is no longer an add-on!
3779         * nptl/internaltypes.h: Moved ...
3780         * sysdeps/nptl/internaltypes.h: ... here.
3781         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3782         * sysdeps/nptl/fork.c: Likewise.
3783         * sysdeps/nptl/gai_misc.h: Likewise.
3784         * sysdeps/nptl/librt-cancellation.c: Likewise.
3785         * sysdeps/nptl/jmp-unwind.c: Likewise.
3786         * sysdeps/nptl/setxid.h: Likewise.
3787         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3788         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3789         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3790         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3791         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3792         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3793         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3794         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3795         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3796         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3797         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3798         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3799         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3800         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3801         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3802         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3803         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3804         * nptl/Makeconfig: Moved ...
3805         * sysdeps/nptl/Makeconfig: ... here.
3806         * nptl/configure: File removed.
3807         * nptl/ANNOUNCE: File removed.
3808         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3809         * sysdeps/unix/sysv/linux/configure: Regenerated.
3811         * nptl/Makefile (routines): Add libc_pthread_init,
3812         libc_multiple_threads, register-atfork and unregister-atfork.
3813         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3814         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3815         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3816         pthread-pi-defines.sym, structsem.sym.
3817         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3818         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3819         [$(subdir) = nptl] (tests): Add tst-setgetname.
3820         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3821         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3822         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3823         [!LIBC_SIGACTION]: Remove aliases.
3824         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3825         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3826         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3827         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3828         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3829         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3830         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3831         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3832         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3833         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3834         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3835         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3836         __libc_allocate_rtsig_private.
3837         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3838         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3839         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3840         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3841         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3842         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3843         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3844         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3845         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3846         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3847         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3848         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3849         * nptl/internaltypes.h: ... here.
3850         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3851         * sysdeps/nptl/jmp-unwind.c: ... here.
3852         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3853         * nptl/libc-lowlevellock.c: ... here.
3854         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3855         * nptl/libc_multiple_threads.c: ... here.
3856         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3857         * nptl/libc_pthread_init.c: ... here.
3858         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3859         * nptl/lowlevelbarrier.sym: ... here.
3860         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3861         * nptl/lowlevelcond.sym: ... here.
3862         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3863         * nptl/lowlevellock.c: ... here.
3864         * nptl/lowlevellock.h: Moved ...
3865         * sysdeps/nptl/lowlevellock.h: ... here.
3866         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3867         * nptl/lowlevelrobustlock.c: ... here.
3868         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3869         * nptl/lowlevelrobustlock.sym: ... here.
3870         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3871         * nptl/lowlevelrwlock.sym: ... here.
3872         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3873         * nptl/pt-fork.c: ... here.
3874         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3875         * nptl/pthread-pi-defines.sym: ... here.
3876         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3877         * nptl/pthread_attr_getaffinity.c: ... here.
3878         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3879         * nptl/pthread_attr_setaffinity.c: ... here.
3880         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3881         * nptl/pthread_mutex_cond_lock.c: ... here.
3882         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3883         Update #include.
3884         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3885         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3886         * nptl/pthread_once.c: ... here, replacing old file.
3887         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3888         * nptl/pthread_yield.c: ... here.
3889         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3890         * nptl/register-atfork.c: ... here.
3891         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3892         * nptl/sem_post.c: ... here.
3893         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3894         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3895         * nptl/sem_timedwait.c: ... here.
3896         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3897         * nptl/sem_trywait.c: ... here.
3898         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3899         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3900         * nptl/sem_wait.c: ... here.
3901         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3902         * nptl/structsem.sym: ... here.
3903         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3904         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3905         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3906         * nptl/unregister-atfork.c: ... here.
3907         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3908         * nptl/unwindbuf.sym: ... here.
3909         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3910         * sysdeps/nptl/fork.c: ... here.
3911         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3912         * sysdeps/nptl/fork.h: ... here.
3913         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3914         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3915         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3916         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3917         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3918         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3919         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3920         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3921         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3922         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3923         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3924         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3925         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3926         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3927         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3928         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3929         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3930         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3931         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3932         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3933         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3934         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3935         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3936         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3937         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3938         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3939         * sysdeps/unix/sysv/linux/raise.c: ... here.
3940         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3941         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3942         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3943         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3944         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3945         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3946         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3947         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3948         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3949         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3950         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3951         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3952         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3953         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3954         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3956 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3958         * sysdeps/generic/memcopy.h: Add comment for
3959         MEMCPY_OK_FOR_FWD_MEMMOVE.
3961 2014-07-04  Will Newton  <will.newton@linaro.org>
3963         * string/memchr.c: Merge from gnulib.
3964         [_LIBC]: Remove conditionals.
3965         (__ptr_t): Remove define.
3966         (LONG_MAX_32_BITS): Likewise.
3967         (LONG_MAX): Likewise.
3968         (MEMCHR): Use ANSI prototype and optimize algorithm.
3970         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3972 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3974         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3975         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3977         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3978         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3979         in a bare environment with no <stdlib.h> installed.
3980         * sysdeps/nptl/configure: Regenerated.
3982         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3984         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3985         AC_EGREP_CPP for kernel header checks, so they only succeed if
3986         including <linux/version.h> actually works right.
3987         * sysdeps/unix/sysv/linux/configure: Regenerated.
3989         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3990         value so it's not diagnosed as unused.
3992         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3993         thing) with "ifeq ($(subdir),rt)".
3995 2014-07-03  Richard Henderson  <rth@redhat.com>
3997         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3998         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3999         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4001         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4002         (math_force_eval): New.
4004         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4005         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4007         * sysdeps/alpha/fpu/s_round.c: Remove file.
4008         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4010         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4011         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4012         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4013         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4014         (_dl_start, print_statistics): Likewise.
4015         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4016         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4018         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4019         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4020         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4021         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4022         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4023         (HP_SMALL_TIMING_AVAIL): Define.
4024         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4025         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4026         (HP_SMALL_TIMING_AVAIL): Define.
4027         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4028         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4030         * sysdeps/aarch64/hp-timing.h: New file.
4032         * sysdeps/generic/hp-timing.h: Remove dead comment.
4033         * sysdeps/generic/hp-timing-common.h: New file.
4034         * sysdeps/alpha/hp-timing.h: Include it.
4035         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4036         * sysdeps/i386/i686/hp-timing.h: Likewise.
4037         * sysdeps/ia64/hp-timing.h: Likewise.
4038         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4039         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4040         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4041         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4042         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4043         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4044         (hp_timing_t): New.
4046         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4047         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4048         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4049         * elf/rtld.c (_dl_start_final): Likewise.
4050         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4051         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4052         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4053         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4054         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4055         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4056         (HP_TIMING_DIFF_INIT): Remove.
4057         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4058         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4059         (HP_TIMING_DIFF_INIT): Remove.
4060         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4061         * sysdeps/i386/i686/hp-timing.c: Remove file.
4062         * sysdeps/x86_64/hp-timing.c: Remove file.
4063         * sysdeps/ia64/hp-timing.c: Remove file.
4064         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4065         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4067         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4069         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4070         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4071         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4072         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4073         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4074         (HP_TIMING_ACCUM): Remove.
4075         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4076         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4077         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4079         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4080         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4081         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4082         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4083         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4084         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4085         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4086         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4088         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4090 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
4092         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4094 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4096         Sync up with gettext.
4097         * intl/loadmsgcat.c: Define O_BINARY if not defined.
4098         [_MSC_VER]: Include malloc.h
4099         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4100         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4101         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
4102         TEMP_FAILURE_RETRY.  Cast return of alloca.
4103         [!_LIBC] Call gl_rwlock_init.
4104         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4106 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4108         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4109         before checking its value.
4111 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4113         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4115         * debug/memcpy_chk.c: Don't include pagecopy.h.
4116         * debug/mempcpy_chk.c: Likewise.
4117         * string/memcpy.c: Likewise.
4118         * string/memmove.c: Likewise.
4119         * sysdeps/powerpc/memmove.c: Likewise.
4120         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
4121         definition of PAGE_COPY_FWD_MAYBE here...
4122         * sysdeps/generic/pagecopy.h: ... from here.
4123         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4125 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4126             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4128         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4130         optimizations.
4131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4132         (__libc_ifunc_impl_list): Likewise.
4133         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4134         multiarch strcat for PPC64.
4135         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4136         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4138 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4140         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4142 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4144         * intl/loadmsgcat.c: Remove declaration of
4145         get_sysdep_segment_value.
4146         (get_sysdep_segment_value): Use ISO C style.
4147         (_nl_load_domain): Use ISO C style.  Get rid of redundant
4148         semicolon.  Fix typo and formatting in comment.
4149         (_nl_unload_domain): Use ISO C style.
4151         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4153 2014-07-02  Will Newton  <will.newton@linaro.org>
4155         * malloc/obstack.c: Merge from gnulib master.
4156         [HAVE_CONFIG_H]: Remove conditional code.
4157         [!_LIBC]: Include config.h.
4158         [!ELIDE_CODE]: Don't include inttypes.h, include
4159         stdint.h unconditionally.
4160         (print_and_abort): Mark as _Noreturn.
4161         (_obstack_allocated_p): Mark as __attribute_pure__.
4162         (obstack_free): Rename to __obstack_free.
4163         [!__attribute__]: Remove conditional code.
4164         * malloc/obstack.h: Merge from gnulib master.
4165         [__cplusplus]: Move conditional down.
4166         [!__attribute_pure__]: Define __attribute_pure__ here
4167         if it is not already defined.
4168         (_obstack_memory_used): Mark as __attribute_pure__.
4169         [!__obstack_free]: Define as obstack_free.
4170         [__GNUC__]: Remove check for ancient NeXT gcc.
4172 2014-07-02  Will Newton  <will.newton@linaro.org>
4173             Paul Eggert  <eggert@cs.ucla.edu>
4175         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4177 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4179         * resolv/gethnamaddr.c: Add comment warning that the file is
4180         not maintained.
4182 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4184         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4185         entries.
4187         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4188         entry for aio_cancel and aio_cancel64.
4189         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4190         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4191         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4192         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4193         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4194         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4195         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4196         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4197         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4198         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4199         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4200         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4201         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4203 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4205         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4206         * nptl/pthread_mutex_lock.c: Likewise.
4207         * nptl/pthread_mutex_timedlock.c: Likewise.
4208         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4210 2014-07-01  Richard henderson  <rth@redhat.com>
4212         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4213         (__isnan, __isnanl): Remove.
4214         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4216         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4218 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4220         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4222 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4224         * resolv/nss_dns/dns-host.c (getanswer_r)
4225         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4227 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4229         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4230         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4231         undefine.
4232         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4233         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4235 2014-07-01  Roland McGrath <roland@hack.frob.com>
4237         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4238         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4240         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4241         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4243         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4244         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4245         ... here.
4246         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4247         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4249         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4250         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4251         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4252         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4254         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4255         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4256         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4257         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4258         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4259         Moved ...
4260         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4261         ... here.
4262         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4263         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4264         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4265         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4266         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4267         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4268         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4269         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4270         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4271         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4272         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4273         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4274         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4275         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4276         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4277         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4278         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4279         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4280         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4281         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4282         ... here.
4283         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4284         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4285         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4286         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4287         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4288         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4289         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4290         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4292 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
4294         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4295         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4296         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4297         Add sysdep.
4299 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4303 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4305         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4306         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4308         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4310         * sysdeps/arm/libm-test-ulps: Regenerated.
4312 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4313             Roland McGrath <roland@hack.frob.com>
4315         * test-skeleton.c (signal_handler): Kill the whole process group
4316         before killing the child individually.
4317         (main): Report any failure on `setpgid'.
4319 2014-06-30  Roland McGrath  <roland@hack.frob.com>
4321         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4322         from _TLS_H to _ARM_NPTL_TLS_H.
4323         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4324         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4326 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4328         [BZ #16539]
4329         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4330         (__expm1l): Return argument unchanged when small but not
4331         subnormal.
4333         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4334         include macro name.
4335         (_FP_UNPACK_RAW_1_P): Likewise.
4336         (_FP_PACK_RAW_1): Likewise.
4337         (_FP_PACK_RAW_1_P): Likewise.
4338         (_FP_MUL_MEAT_1_wide): Likewise.
4339         (_FP_MUL_MEAT_DW_1_hard): Likewise.
4340         (_FP_MUL_MEAT_1_hard): Likewise.
4341         (_FP_DIV_MEAT_1_imm): Likewise.
4342         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4343         (_FP_DIV_MEAT_1_udiv): Likewise.
4344         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4345         (_FP_UNPACK_RAW_2): Likewise.
4346         (_FP_UNPACK_RAW_2_P): Likewise.
4347         (_FP_PACK_RAW_2): Likewise.
4348         (_FP_PACK_RAW_2_P): Likewise.
4349         (_FP_MUL_MEAT_DW_2_wide): Likewise.
4350         (_FP_MUL_MEAT_2_wide): Likewise.
4351         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4352         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4353         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4354         (_FP_MUL_MEAT_2_gmp): Likewise.
4355         (_FP_DIV_MEAT_2_udiv): Likewise.
4356         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4357         (_FP_FRAC_SRL_4): Likewise.
4358         (_FP_FRAC_SRST_4): Likewise.
4359         (_FP_FRAC_SRS_4): Likewise.
4360         (_FP_UNPACK_RAW_4): Likewise.
4361         (_FP_UNPACK_RAW_4_P): Likewise.
4362         (_FP_PACK_RAW_4): Likewise.
4363         (_FP_PACK_RAW_4_P): Likewise.
4364         (_FP_MUL_MEAT_DW_4_wide): Likewise.
4365         (_FP_MUL_MEAT_4_wide): Likewise.
4366         (_FP_MUL_MEAT_4_gmp): Likewise.
4367         (umul_ppppmnnn): Likewise.
4368         (_FP_DIV_MEAT_4_udiv): Likewise.
4369         (__FP_FRAC_ADD_4): Likewise.
4370         (__FP_FRAC_SUB_3): Likewise.
4371         (__FP_FRAC_SUB_4): Likewise.
4372         (__FP_FRAC_DEC_3): Likewise.
4373         (__FP_FRAC_DEC_4): Likewise.
4374         (__FP_FRAC_ADDI_4): Likewise.
4375         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4376         (_FP_FRAC_SRL_8): Likewise.
4377         (_FP_FRAC_SRS_8): Likewise.
4379         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4380         include macro name.
4381         (FP_UNPACK_RAW_EP): Likewise.
4382         (FP_PACK_RAW_E): Likewise.
4383         (FP_PACK_RAW_EP): Likewise.
4384         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4385         (_FP_ISSIGNAN): Likewise.
4386         (_FP_ADD_INTERNAL): Likewise.
4387         (_FP_FMA): Likewise.
4388         (_FP_CMP): Likewise.
4389         (_FP_SQRT): Likewise.
4390         (_FP_TO_INT): Likewise.
4391         (_FP_FROM_INT): Likewise.
4392         (FP_EXTEND): Likewise.
4393         (_FP_DIV_MEAT_N_loop): Likewise.
4395 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4397         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4398         throughout.
4400 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
4402         [BZ #17097]
4403         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4404         result with correct sign in case of exponents that produce
4405         overflow except for X very close to 1.
4407 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
4409         mktime: merge #if/#ifdef usage from glibc
4410         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4411         as that works with both Glibc's and Gnulib's style.
4412         See thread starting at Siddhesh Poyarekar's bug report at:
4413         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4415 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4417         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4418         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4419         * sysdeps/tile/tilegx/memmove.c: Remove file.
4421 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4423         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4424         abi-name definition.
4425         * scripts/soversions.awk: Do not handle or generate ABI lines.
4426         * shlib-versions: Remove ABI entries.
4427         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4428         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4430 2014-06-27  Roland McGrath  <roland@hack.frob.com>
4432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4433         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4434         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4435         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4437         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4439         Moved ...
4440         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4441         ... here.
4442         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4443         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4445         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4447         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4449         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4451         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4453         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4455         Moved ...
4456         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4458         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4460         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4461         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4462         Moved ...
4463         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4465         Moved ...
4466         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4468         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4470         Moved ...
4471         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4472         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4473         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4475         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4477         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4479         Moved ...
4480         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4482         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4483         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4484         Moved ...
4485         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4486         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4487         Moved ...
4488         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4489         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4490         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4491         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4492         Moved ...
4493         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4494         ... here.
4495         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4496         Identical file removed.
4497         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4498         Moved ...
4499         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4501         Identical file removed.
4502         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4503         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4504         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4505         Moved ...
4506         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4507         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4508         Identical file removed.
4509         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4510         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4511         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4512         Identical file removed.
4513         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4514         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4515         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4516         Identical file removed.
4517         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4518         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4519         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4520         Identical file removed.
4521         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4522         Moved ...
4523         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4524         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4525         Identical file removed.
4526         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4527         Moved ...
4528         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4530         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4531         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4532         Identical file removed.
4533         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4534         Moved ...
4535         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4536         ... here.
4537         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4538         Identical file removed.
4539         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4540         Moved ...
4541         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4542         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4543         Identical file removed.
4544         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4545         Moved ...
4546         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4548         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4549         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4550         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4551         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4552         Moved ...
4553         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4554         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4555         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4557         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4558         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4559         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4560         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4561         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4563 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
4565         [BZ #17092]
4566         * nscd/nscd.c (monitor_child): Return exit status of child
4567         instead of return value from wait syscall.
4569 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4571         * configure.ac (libc_commonpagesize): Remove variable.
4572         (libc_relro_required): Likewise.
4573         (libc_cv_z_relro): Remove configure test.
4574         * configure: Regenerated.
4575         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4576         variable.
4577         (libc_relro_required): Likewise.
4578         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4579         (libc_relro_required): Likewise.
4580         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4581         (libc_relro_required): Likewise.
4582         * sysdeps/arm/preconfigure: Regenerated.
4583         * sysdeps/ia64/preconfigure: Remove file.
4584         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4585         variable.
4586         (libc_relro_required): Likewise.
4588         [BZ #16561]
4589         [BZ #16562]
4590         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4591         (__ieee754_yn): Set FE_TONEAREST mode internally and then
4592         recompute overflowing results in original rounding mode.
4593         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4594         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4595         recompute overflowing results in original rounding mode.
4596         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4597         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4598         recompute overflowing results in original rounding mode.
4599         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4600         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4601         recompute overflowing results in original rounding mode.
4602         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4603         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4604         recompute overflowing results in original rounding mode.
4605         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4606         (libc_feholdsetround_ctx): New macro.
4607         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4608         * sysdeps/i386/fpu/libm-test-ulps: Update.
4609         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4611 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4613         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4614         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4615         corresponding .cpsetup call.
4617 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4619         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4620         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4621         * sysdeps/arm/Makefile [$(subdir) = csu]
4622         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4623         (static-only-routines): Add aeabi_read_tp here.
4624         (shared-only-routines): Add libc-aeabi_read_tp here.
4625         (CFLAGS-libc-start.c): Add -fexceptions here.
4626         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4627         (sysdep_routines, static-only-routines, shared-only-routines):
4628         Don't add to these here.
4629         (CFLAGS-libc-start.c): Likewise.
4631         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4632         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4633         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4634         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4635         * sysdeps/arm/Makefile [$(subdir) = rt]
4636         (librt-sysdep_routines, librt-shared-only-routines):
4637         Append rt-aeabi_unwind_cpp_pr1 here.
4638         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4639         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4640         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4641         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4642         Append nptl-aeabi_unwind_cpp_pr1 here.
4643         (tests): Filter out tst-cleanupx4 here.
4644         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4645         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4646         Don't do those here.
4648 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4650         * scripts/list-sources.sh: Do not handle ports specially.
4652 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4654         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4655         * sysdeps/arm/feupdateenv.c: Likewise.
4657         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4659 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4661         * manual/texinfo.tex: Update to version 2014-05-05.10 with
4662         trailing whitespace removed.
4663         * scripts/config.guess: Update to version 2014-03-23.
4664         * scripts/config.sub: Update to version 2014-05-01
4665         * scripts/install-sh: Update to version 2013-12-25.23.
4666         * scripts/move-if-change: Update from gnulib.
4668 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4670         * debug/memmove_chk.c: Remove pagecopy.h include.
4672 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
4674         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
4675         identical to gnulib mktime.
4677 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4679         * configure.ac: Do not test for machine being rs6000.  Do not test
4680         for powerpc*-*soft.
4681         * configure: Regenerated.
4683         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4684         test.
4685         * configure: Regenerated.
4686         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4687         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4688         Remove configure test.
4689         * sysdeps/arm/configure: Regenerated.
4690         * sysdeps/nptl/configure.ac: Do not check
4691         libc_cv_asm_cfi_directives.
4692         * sysdeps/nptl/configure: Regenerated.
4693         * sysdeps/x86_64/nptl/configure.ac: Remove file.
4694         * sysdeps/x86_64/nptl/configure: Remove generated file.
4695         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4696         unconditional.
4697         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4699 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4701         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4702         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4703         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4704         it is defined.
4706         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4707         instead of whether it is defined.
4708         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4709         * sysdeps/hppa/dl-machine.h: Likewise.
4710         * sysdeps/ia64/dl-machine.h: Likewise.
4711         * sysdeps/m68k/dl-machine.h: Likewise.
4712         * sysdeps/microblaze/dl-machine.h: Likewise.
4713         * sysdeps/mips/dl-machine.: Likewise.
4714         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4715         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4716         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4717         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4718         * sysdeps/sh/dl-machine.h: Likewise.
4719         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4720         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4721         * sysdeps/tile/dl-machine.h: Likewise.
4722         * sysdeps/x86_64/dl-machine.h: Likewise.
4724         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4725         code.
4726         (verify_persistent_db): Likewise.
4728 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4731         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4733         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4735         Moved ...
4736         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4737         ... here.
4738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4739         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4741         Identical file removed.
4742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4743         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4745         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4747         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4749         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4751         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4753         Moved ...
4754         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4756         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4758         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4760         Moved ...
4761         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4763         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4765         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4767         Identical file removed.
4768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4769         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4771         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4773         Moved ...
4774         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4775         ... here.
4776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4777         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4779         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4781         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4783         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4785         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4787         Moved ...
4788         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4790         Moved ...
4791         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4793         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4795         Moved ...
4796         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4798         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4800         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4801         folded into ...
4802         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4803         * sysdeps/unix/sysv/linux/s390/Versions
4804         (libpthread: GLIBC_2.19): New version set.
4805         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4806         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4807         (librt: GLIBC_2.3.3): New version set.
4808         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4809         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4810         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4811         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4812         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4813         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4814         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4815         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4816         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4817         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4818         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4819         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4820         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4821         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4822         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4823         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4824         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4825         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4826         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4827         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4828         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4829         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4830         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4831         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4832         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4833         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4834         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4836         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4837         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4838         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4839         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4840         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4841         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4842         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4843         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4844         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4845         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4846         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4848         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4849         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4850         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4852         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4854         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4855         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4856         (__libc_vfork): Define the function under this name.
4857         [!NOT_IN_libc] (__vfork): Make this an alias.
4858         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4859         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4860         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4861         (__libc_vfork): Define the function under this name.
4862         [!NOT_IN_libc] (__vfork): Make this an alias.
4863         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4864         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4865         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4866         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4867         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4868         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4870         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4871         code that was previously under [RESET_PID].
4872         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4873         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4874         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4876         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4877         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4878         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4879         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4880         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4881         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4882         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4883         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4884         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4885         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4886         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4887         Moved ...
4888         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4889         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4890         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4891         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4892         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4893         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4894         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4895         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4896         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4897         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4898         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4899         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4900         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4901         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4902         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4903         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4904         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4905         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4906         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4907         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4908         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4909         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4910         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4911         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4912         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4913         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4914         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4915         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4916         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4918 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4920         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4921         that was previously under [RESET_PID].
4922         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4924 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4926         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4927         not undefine and redefine.
4928         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4929         [O_CLOEXEC]: Make code unconditional.
4930         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4931         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4932         <kernel-features.h>.
4933         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4934         conditional variable definition.
4935         (shm_open) [O_CLOEXEC]: Make code unconditional.
4936         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4937         code.
4939         * configure.ac (USE_REGPARMS): Don't define here.
4940         * configure: Regenerated.
4941         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4942         * sysdeps/i386/configure: Regenerated.
4944         * nptl/createthread.c: Don't include kernel-features.h.
4945         * nptl/pthread_cancel.c: Likewise.
4946         * nptl/pthread_condattr_setclock.c: Likewise.
4947         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4948         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4949         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4950         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4951         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4952         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4953         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4955         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4956         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4957         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4958         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4959         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4960         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4961         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4962         * nscd/gai.c: Likewise.
4963         * nss/nss_db/db-open.c: Likewise.
4964         * sysdeps/generic/ldsodefs.h: Likewise.
4965         * sysdeps/sh/nptl/tls.h: Likewise.
4966         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4967         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4968         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4969         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4970         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4971         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4972         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4973         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4974         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4975         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4976         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4977         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4978         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4979         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4980         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4981         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4982         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4983         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4984         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4985         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4986         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4987         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4988         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4989         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4990         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4991         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4992         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4993         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4994         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4995         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4996         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4997         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4998         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4999         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5000         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5001         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5002         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5003         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5004         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5005         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5006         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5007         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5008         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5009         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5010         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5011         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5012         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5013         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5014         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5015         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5016         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5017         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5018         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5019         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5020         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5021         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5022         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5023         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5046         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5047         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5048         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5049         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5050         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5051         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5052         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5053         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5054         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5055         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5056         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5057         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5058         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5059         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5060         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5061         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5062         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5063         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5064         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5065         * sysdeps/unix/sysv/linux/system.c: Likewise.
5066         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5067         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5068         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5069         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5070         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5071         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5072         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5074         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5075         * configure: Regenerated.
5076         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5078         * configure.ac (base_machine): Do not set specially for particular
5079         machines here.
5080         * configure: Regenerated.
5081         * sysdeps/powerpc/preconfigure: Move machine and base_machine
5082         settings from configure.ac.
5083         * sysdeps/i386/preconfigure: New file.
5084         * sysdeps/s390/preconfigure: Likewise.
5085         * sysdeps/sh/preconfigure: Likewise.
5086         * sysdeps/sparc/preconfigure: Likewise.
5088 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5090         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5091         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5092         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5093         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5094         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5095         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5096         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5097         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5098         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5099         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5100         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5101         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5102         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5103         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5104         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5105         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5107         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5108         * sysdeps/sparc/sparc64/Makefile: ... appended here.
5110         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5111         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5112         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5113         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5114         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5115         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5116         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5117         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5118         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5119         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5120         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5121         * sysdeps/sparc/sparc32/sem_post.c: ... here.
5122         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5123         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5124         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5125         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5126         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5127         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5128         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5129         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5130         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5131         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5132         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5133         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5134         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5135         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5136         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5137         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5138         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5139         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5140         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5141         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5142         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5143         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5144         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5145         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5146         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5147         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5150         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5152         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5154         Moved ...
5155         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5156         ... here.
5157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5158         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5160         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5162         Moved ...
5163         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5165         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5167         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5169         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5171         Moved ...
5172         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5174         Moved ...
5175         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5177         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5179         Moved ...
5180         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5182         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5184         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5186         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5188         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5190         Moved ...
5191         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5192         ... here.
5193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5194         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5196         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5198         Moved ...
5199         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5201         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5203         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5205         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5207         Moved ...
5208         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5210         Moved ...
5211         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5213         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5215         Moved ...
5216         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5218         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5220         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5222 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5224         * timezone/checktab.awk: Update from tzcode 2014e.
5225         * timezone/private.h: Likewise.
5226         * timezone/tzfile.h: Likewise.
5227         * timezone/zdump.c: Likewise.
5228         * timezone/zic.c: Likewise.
5230         * sysdeps/unix/sysv/linux/kernel-features.h
5231         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5232         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5233         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5234         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5235         Remove conditional code.
5237 2014-06-25  Will Newton  <will.newton@linaro.org>
5239         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5240         (_dl_arm_cap_flags): Add HWCAP2 values.
5241         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5242         (_DL_HWCAP_COUNT): Increase to 37.
5243         (_DL_HWCAP_LAST): New define.
5244         (_DL_HWCAP2_LAST): New define.
5245         (_dl_procinfo): Add support for printing
5246         AT_HWCAP2 entries.
5247         (_dl_string_hwcap): Use _dl_hwcap_string.
5249 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5253 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5255         * README: Do not mention ports directory.
5257         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5258         Remove macro.
5259         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5260         <kernel-features.h>.
5261         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5262         conditional variable definition.
5263         (__futimes): Update comment.
5264         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5265         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5267         [BZ #16560]
5268         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5269         arguments close to 0.
5270         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5271         Likewise.
5272         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5273         Likewise.
5274         * math/auto-libm-test-in: Add more tests of exp10.
5275         * math/auto-libm-test-out: Regenerated.
5276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5278         * sysdeps/unix/sysv/linux/kernel-features.h
5279         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5280         * sysdeps/unix/sysv/linux/readv.c: Do not include
5281         <kernel-features.h>.
5282         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5283         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5284         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5285         unconditional.
5286         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5287         conditional code.
5288         * sysdeps/unix/sysv/linux/writev.c: Do not include
5289         <kernel-features.h>.
5290         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5291         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5292         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5293         unconditional.
5294         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5295         conditional code.
5297 2014-06-25  Will Newton  <will.newton@linaro.org>
5299         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5300         comment changes throughout the file.  Remove checks
5301         for HAVE_*_H definitions that are not required.
5302         (__gen_tempname): Call abort if an unknown kind value is
5303         passed.
5305 2014-06-25  Andreas Schwab  <schwab@suse.de>
5307         [BZ #17086]
5308         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5309         scalbln, scalblnf, scalblnl in libc.
5311 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5313         [BZ #17086]
5314         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5315         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5316         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5318 2014-06-24  Roland McGrath  <roland@hack.frob.com>
5320         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5321         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5322         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5323         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5324         Update #include.
5325         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5326         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5327         Update #include.
5328         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5329         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5330         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5331         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5332         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5333         * sysdeps/x86/bits/pthreadtypes.h: ... here.
5334         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5335         * sysdeps/x86/bits/semaphore.h: ... here.
5336         * sysdeps/x86/nptl/elide.h: Moved ...
5337         * sysdeps/x86/elide.h: ... here.
5338         * sysdeps/x86_64/nptl/Implies: File removed.
5339         * sysdeps/i386/nptl/Implies: File removed.
5341 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
5343         [BZ #16539]
5344         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5345         return the argument for normal arguments with exponent below -64.
5346         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5347         Likewise.
5348         * math/auto-libm-test-in: Add another test of expm1.
5349         * math/auto-libm-test-out: Regenerated.
5351         [BZ #16287]
5352         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5353         calling __erfcl for arguments at least 16.
5354         * math/auto-libm-test-in: Add more tests of erf.
5355         * math/auto-libm-test-out: Regenerated.
5357         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5358         individual architectures.
5359         * sysdeps/unix/sysv/linux/configure: Regenerated.
5360         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5361         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5362         * sysdeps/unix/sysv/linux/powerpc/configure.ac
5363         (ldd_rewrite_script): Define variable.
5364         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5366         file.
5367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5368         generated file.
5369         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5370         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5371         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5372         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5373         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5374         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5375         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5376         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5378 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5380         [BZ #17084]
5381         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5382         Rename member __data.d to __data.__elision_data.
5384 2014-06-24  Wilco  <wdijkstr@arm.com>
5386         * NEWS: Add 16918 to fixed bug list.
5388 2014-06-24  Wilco  <wdijkstr@arm.com>
5390         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5392 2014-06-24  Wilco  <wdijkstr@arm.com>
5394         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5395         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5396         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5397         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5398         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5399         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5400         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5401         Use _FPU_MASK_RM.
5403 2014-06-24  Wilco  <wdijkstr@arm.com>
5405         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5407 2014-06-24  Wilco  <wdijkstr@arm.com>
5409         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5410         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5411         * sysdeps/arm/fesetround.c (fesetround): Remove space.
5412         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5414 2014-06-24  Wilco  <wdijkstr@arm.com>
5416         [BZ #16918]
5417         * sysdeps/arm/feupdateenv.c (feupdateenv):
5418         Rewrite to reduce FPSCR accesses and fix return value.
5420 2014-06-24  Wilco  <wdijkstr@arm.com>
5422         * sysdeps/arm/fclrexcpt.c (feclearexcept):
5423         Optimize to avoid unnecessary FPSCR writes.
5424         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5425         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5426         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5427         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5429 2014-06-24  Wilco  <wdijkstr@arm.com>
5431         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5432         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5433         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5434         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5435         Call libc_fetestexcept_vfp.
5436         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5437         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5438         __SOFTFP__ ifdef so that they can be built for softfp.
5440 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5442         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5443         argument type signed char.
5445         * Makerules (check-abi): Dump diff of symlist if the test
5446         fails.
5448 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5450         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5451         using abort.
5453         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5454         Remove unused variable ST.
5456 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5458         [BZ #16354]
5459         [BZ #17061]
5460         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5461         small arguments before calling __expm1.
5462         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5463         small arguments before calling __expm1f.
5464         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5465         small arguments before calling __expm1l.
5466         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5467         Likewise.
5468         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5469         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
5470         spurious underflow for some cosh tests.
5471         * math/auto-libm-test-out: Regenerated.
5472         * sysdeps/i386/fpu/libm-test-ulps: Update.
5474         [BZ #17050]
5475         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5476         (__ieee754_y1): Set errno if return value overflows.
5477         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5478         (__ieee754_y1f): Set errno if return value overflows.
5479         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5480         (__ieee754_y1l): Set errno if return value overflows.
5481         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5482         (__ieee754_y1l): Set errno if return value overflows.
5483         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5484         * math/auto-libm-test-out: Regenerated.
5486         * math/gen-auto-libm-tests.c: Document use of
5487         ignore-zero-inf-sign.
5488         (input_flag_type): Add value flag_ignore_zero_inf_sign.
5489         (input_flags): Add ignore-zero-inf-sign.
5490         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5491         * math/gen-libm-test.pl (generate_testfile): Handle
5492         ignore-zero-inf-sign.
5493         * math/auto-libm-test-in: Mark some cpow tests with
5494         ignore-zero-inf-sign and some with xfail-rounding.
5495         * math/auto-libm-test-out: Regenerated.
5496         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5497         * sysdeps/i386/fpu/libm-test-ulps: Update.
5498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5500         [BZ #16315]
5501         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5502         overflowing or underflowing operations take place with sign of
5503         result.
5504         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5505         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5506         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5507         (__ieee754_pow): Recompute overflowing and underflowing results in
5508         original rounding mode.
5509         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5510         (__powl_helper): Allow negative argument X and scale negated value
5511         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
5512         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5513         overflowing or underflowing operations take place with sign of
5514         result.
5515         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5516         Include <math.h>.
5517         * math/auto-libm-test-in: Add more tests of pow.
5518         * math/auto-libm-test-out: Regenerated.
5519         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5520         (pow_tonearest_test_data): Remove.
5521         (pow_test_tonearest): Likewise.
5522         (pow_towardzero_test_data): Likewise.
5523         (pow_test_towardzero): Likewise.
5524         (pow_downward_test_data): Likewise.
5525         (pow_test_downward): Likewise.
5526         (pow_upward_test_data): Likewise.
5527         (pow_test_upward): Likewise.
5528         (main): Don't call removed functions.
5529         * sysdeps/i386/fpu/libm-test-ulps: Update.
5530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5532 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5535         Moved ...
5536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5538         Moved ...
5539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5541         Moved ...
5542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5544         Moved ...
5545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5547         File removed.
5548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5549         File removed.
5550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5551         File removed.
5552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5553         File removed.
5554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5555         File removed.
5556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5557         File removed.
5558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5559         File removed.
5560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5561         File removed.
5562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5563         File removed.
5564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5565         File removed.
5566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5567         File removed.
5568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5569         File removed.
5570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5571         Moved ...
5572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5574         Moved ...
5575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5576         ... here.
5577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5578         Moved ...
5579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5581         Moved ...
5582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5584         Moved ...
5585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5587         Moved ...
5588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5590         Moved ...
5591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5593         Moved ...
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5596         Moved ...
5597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5600         ... here.
5601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5602         Moved ...
5603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5605         Moved ...
5606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5607         ... here.
5608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5609         Moved ...
5610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5611         ... here.
5612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5613         Moved ...
5614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5615         ... here.
5616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5617         Moved ...
5618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5620         Moved ...
5621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5625         Moved ...
5626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5627         ... here.
5628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5629         Moved ...
5630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5631         ... here.
5632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5633         Moved ...
5634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5636         Moved ...
5637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5639         Moved ...
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5642         Moved ...
5643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5645         Moved ...
5646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5647         ... here.
5648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5649         Moved ...
5650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5652         Moved ...
5653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5655         Moved ...
5656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5658         Moved ...
5659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5663         Moved ...
5664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5666         Moved ...
5667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5669         Moved ...
5670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5671         ... here.
5672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5673         Moved ...
5674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5675         ... here.
5676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5677         Moved ...
5678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5679         ... here.
5680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5681         Moved ...
5682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5684         Moved ...
5685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5687         Moved ...
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5690         Moved ...
5691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5692         ... here.
5693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5694         Moved ...
5695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5696         ... here.
5697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5698         Moved ...
5699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5700         ... here.
5701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5702         Moved ...
5703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5705         Moved ...
5706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5708 2014-06-23  Will Newton  <will.newton@linaro.org>
5709             Wilco  <wdijkstr@arm.com>
5711         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5712         implementation.  Include get-rounding-mode.h.
5713         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5714         [!libc_feholdsetround_noex_ctx]: Define
5715         libc_feholdsetround_noex_ctx.
5716         [!libc_feholdsetround_noexf_ctx]: Define
5717         libc_feholdsetround_noexf_ctx.
5718         [!libc_feholdsetround_noexl_ctx]: Define
5719         libc_feholdsetround_noexl_ctx.
5720         (libc_feholdsetround_ctx): New function.
5721         (libc_feresetround_ctx): New function.
5722         (libc_feholdsetround_noex_ctx): New function.
5723         (libc_feresetround_noex_ctx): New function.
5725 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5727         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5728         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5729         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5730         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5731         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5732         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5734         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5735         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5736         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5737         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5738         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5739         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5740         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5741         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5742         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5743         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5744         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5745         Moved ...
5746         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5747         ... here.
5748         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5749         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5750         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5751         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5753         Moved ...
5754         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5755         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5756         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5757         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5758         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5759         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5760         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5761         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5762         Moved ...
5763         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5764         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5765         Moved ...
5766         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5767         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5768         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5769         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5770         Moved ...
5771         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5772         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5773         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5774         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5775         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5776         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5777         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5778         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5779         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5780         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5781         Moved ...
5782         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5783         ... here.
5784         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5785         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5786         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5787         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5788         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5789         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5790         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5791         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5792         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5793         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5795         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5796         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5797         Moved ...
5798         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5799         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5800         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5801         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5802         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5803         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5804         Moved ...
5805         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5806         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5807         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5808         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5809         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5811         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5812         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5813         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5814         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5815         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5816         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5817         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5818         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5819         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5820         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5821         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5822         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5823         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5824         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5825         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5826         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5827         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5828         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5829         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5830         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5831         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5832         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5833         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5834         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5835         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5836         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5837         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5838         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5840 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5843         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5844         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5845         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5846         (IPV6_PMTUDISC_INTERFACE): Likewise.
5847         (IPV6_PMTUDISC_OMIT): Likewise.
5849 2014-06-23  Andreas Schwab  <schwab@suse.de>
5851         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5852         Remove unused errout label.
5854 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5856         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5857         macro: hardware supports Vector Crypto instructions.
5859 2014-06-23  Will Newton  <will.newton@linaro.org>
5861         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5862         rather than __builtin_expect.
5864         * elf/dl-lookup.c (undefined_msg): Remove variable.
5865         (_dl_lookup_symbol_x): Replace undefined_msg with string
5866         literal.
5868         * elf/dl-lookup.c (do_lookup_unique): New function.
5869         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5870         to a separate function.
5872 2014-06-23  Andreas Schwab  <schwab@suse.de>
5874         [BZ #17079]
5875         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5876         before reading the next line.
5878 2014-06-23  Will Newton  <will.newton@linaro.org>
5880         * test-skeleton.c (signal_handler): Use printf and %m
5881         rather than perror.  Use printf rather than fprintf to
5882         stderr.  Use puts rather than fputs to stderr.
5883         (main): Likewise.
5885 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5887         * nscd/nscd.c (thread_info_t): Remove typedef.
5888         (thread_info): Remove variable.
5890 2014-06-21  Allan McRae  <allan@archlinux.org>
5892         * NEWS: Mention CVE-2014-4043.
5894 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5896         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5897         * nptl/smp.h: ... here.
5899         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5901         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5902         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5903         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5904         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5906         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5907         * nptl/stack-aliasing.h: New file.
5908         * sysdeps/i386/i686/stack-aliasing.h: New file.
5909         * sysdeps/i386/i686/nptl/Makefile: File removed.
5910         * sysdeps/x86_64/stack-aliasing.h: New file.
5911         * sysdeps/x86_64/nptl/Makefile
5912         (CFLAGS-pthread_create.c): Variable removed.
5914         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5915         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5916         old file.
5917         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5918         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5919         old file.
5921 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5923         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5924         (__ASSUME_SIGFRAME_V2): Remove macro.
5925         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5926         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5927         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5928         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5929         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5930         Declare as function.  Remove conditional macro definitions.
5931         (__default_rt_sa_restorer): Likewise.
5932         (__default_sa_restorer_v1): Remove declaration.
5933         (__default_sa_restorer_v2): Likewise.
5934         (__default_rt_sa_restorer_v1): Likewise.
5935         (__default_rt_sa_restorer_v2): Likewise.
5936         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5937         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5938         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5940 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5942         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5943         (libpthread-routines): Add sysdep.
5944         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5945         * sysdeps/unix/sysv/linux/sparc/Versions
5946         (libpthread: GLIBC_2.3.3): New version set.
5947         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5948         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5949         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5950         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5951         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5952         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5953         Moved ...
5954         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5955         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5956         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5957         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5958         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5959         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5960         * sysdeps/sparc/nptl/sem_init.c: ... here.
5961         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5962         * sysdeps/sparc/nptl/sem_post.c: ... here.
5963         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5964         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5966         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5968         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5969         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5970         (libpthread-routines): Add cpu_relax.
5971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5972         File removed.
5973         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5974         (librt: GLIBC_2.3.3): New version set.
5975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5976         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5977         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5978         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5981         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5983         Moved ...
5984         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5986         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5988         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5990         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5992         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5994         Moved ...
5995         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5996         Update #include.
5997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5998         Moved ...
5999         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6000         Update #include.
6001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6002         Moved ...
6003         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6004         Update #include.
6005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6006         Moved ...
6007         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6008         Update #include.
6009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6010         Moved ...
6011         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6012         Update #include.
6013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6014         Moved ...
6015         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6016         Update #include.
6017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6018         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6020         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6022         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6024         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6026         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6028         Moved ...
6029         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6031         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6033         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6035 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6037         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6038         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6039         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6040         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6041         * nscd/nscd.c: Likewise.
6042         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6043         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6044         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6045         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6047         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6048         <kernel-features.h>.
6049         (init_mq_netlink): Remove conditional have_sock_cloexec
6050         definitions.  Remove code conditional on have_sock_cloexec < 0.
6051         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6052         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6053         * sysdeps/unix/sysv/linux/opensock.c: Do not include
6054         <kernel-features.h>.
6055         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6056         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6058 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6061         Add tests for memset_chk and memset.
6063         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6064         with AVX2_Usable.
6066 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6068         [BZ #16046]
6069         * elf/tst-dl-iter-static.c: New file.
6070         * elf/Makefile (tests-static): Add tst-dl-iter-static.
6072         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6073         error.
6075 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6077         * sysdeps/unix/sysv/linux/kernel-features.h
6078         (__ASSUME_F_GETOWN_EX): Remove macro.
6079         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6080         <kernel-features.h>.
6081         (miss_F_GETOWN_EX): Remove variable or macro.
6082         (do_fcntl): Do not check miss_F_GETOWN_EX.
6083         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6086         Remove macro.
6087         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6088         [!__ASSUME_AT_RANDOM]: Remove conditional code.
6089         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6091         * sysdeps/unix/sysv/linux/kernel-features.h
6092         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6093         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6094         [ADJ_OFFSET_SS_READ]: Make code unconditional.
6095         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6097 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6099         [BZ #17075]
6100         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6101         Fix calculation of the symbol's value.
6102         * sysdeps/arm/tst-armtlsdescloc.c: New file.
6103         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6104         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6105         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6106         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6107         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6108         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6109         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6110         (modules-names): Add `tst-armtlsdescmod',
6111         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6112         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6113         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6114         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6115         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6116         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6117         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6118         ($(objpfx)tst-armtlsdescloc): New dependency.
6119         ($(objpfx)tst-armtlsdescextnow): Likewise.
6120         ($(objpfx)tst-armtlsdescextlazy): Likewise.
6121         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6122         TLS scheme support.
6123         * sysdeps/arm/configure: Regenerate.
6125 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6127         * include/fcntl.h (__atfct_seterrno): Remove prototype.
6128         (__atfct_seterrno_2): Likewise.
6129         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6130         <kernel-features.h>.
6131         (__ASSUME_ATFCTS): Do not undefine and redefine.
6132         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6133         (__have_atfcts): Remove conditional definition.
6134         (__fxstatat([__NR_fstatat64]: Make code unconditional.
6135         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6136         unreachable if [__ASSUME_ATFCTS].
6137         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6138         not undefine and redefine.
6139         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6140         <kernel-features.h>.
6141         (faccessat) [__NR_faccessat]: Make code unconditional.
6142         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6143         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6144         <kernel-features.h>.
6145         (fchmodat) [__NR_fchmodat]: Make code unconditional.
6146         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6147         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6148         <kernel-features.h>.
6149         (fchownat) [__NR_fchownat]: Make code unconditional.
6150         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6151         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6152         <kernel-features.h>.
6153         (futimesat) [__NR_futimesat]: Make code unconditional.
6154         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6155         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6156         <kernel-features.h>.
6157         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6158         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6159         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6160         <kernel-features.h>.
6161         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6162         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6163         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6164         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6165         <kernel-features.h>.
6166         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6167         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6168         * sysdeps/unix/sysv/linux/linkat.c: Do not include
6169         <kernel-features.h>.
6170         (linkat) [__NR_linkat]: Make code unconditional.
6171         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6172         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6173         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6174         <kernel-features.h>.
6175         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6176         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6177         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6178         <kernel-features.h>.
6179         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6180         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6181         * sysdeps/unix/sysv/linux/openat.c: Do not include
6182         <kernel-features.h>.
6183         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6184         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6185         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6186         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6187         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6188         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6189         <kernel-features.h>.
6190         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6191         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6192         result of INLINE_SYSCALL directly, not via int variable.
6193         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6194         <kernel-features.h>.
6195         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6196         (renameat) [__NR_renameat]: Make code unconditional.
6197         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6198         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6199         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6200         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6201         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6202         (__ASSUME_ATFCTS): Do not undefine and redefine.
6203         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6204         <kernel-features.h>.
6205         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6206         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6207         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6208         <kernel-features.h>.
6209         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6210         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6211         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6212         (__ASSUME_ATFCTS): Do not undefine and redefine.
6213         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6214         <kernel-features.h>.
6215         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6216         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6217         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6218         <kernel-features.h>.
6219         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6220         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6222 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6224         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6226 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6228         [BZ #17069]
6229         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6230         constructed tree before returning error.
6231         * posix/bug-regexp36.c: Expand test case.
6233 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6235         [BZ #6803]
6236         * math/libm-test.inc (scalbln_test_date):
6237         Add errno expectations.
6238         * math/w_scalblnf.c: New File.
6239         Add wrapper which checks for setting errno to ERANGE.
6240         Add weak_alias for corresponding scalbln function.
6241         * math/w_scalbln.c: Likewise.
6242         * math/w_scalblnl.c: Likewise.
6243         * math/Makefile (libm-calls): Add w_scalbln.
6244         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6245         Remove weak_alias for corresponding scalbln function.
6246         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6247         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6248         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6249         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6250         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6251         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6252         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6253         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6254         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6255         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6256         Remove long_double_symbol for scalblnl function in libm, libc.
6257         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6258         Add wrapper which checks for setting errno to ERANGE.
6259         Add long_double_symbol for scalblnl function in libm, libc.
6260         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6261         Remove long_double_symbol for scalblnl in libm.
6262         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6263         Add wrapper which checks for setting errno to ERANGE.
6264         Add long_double_symbol for scalblnl function in libm.
6265         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6266         Do not use wrapper because of own implementation.
6268 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6270         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6271         3 bytes for __pad1 for x32.
6272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6274 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6275             H.J. Lu  <hongjiu.lu@intel.com>
6277         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6278         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6279         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6280         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6281         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6283 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6285         [BZ #17069]
6286         * posix/regcomp.c (parse_expression): Deallocate partially
6287         constructed tree before returning error.
6288         * posix/Makefile.c (tests): Add bug-regex36.
6289         (generated): Add bug-regex36.mtrace.
6290         (tests-special): Add $(objpfx)bug-regex36-mem.out
6291         (bug-regex36-ENV): New variable.
6292         ($(objpfx)bug-regex36-mem.out): New rule.
6293         * posix/bug-regex36.c: New file.
6295 2014-06-19  Will Newton  <will.newton@linaro.org>
6297         * malloc/malloc.c (systrim): If extra is zero then return
6298         early.
6300 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6302         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6304 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6306         * sysdeps/aarch64/strchr.S: New file.
6308 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6310         [BZ #17022]
6311         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6312         from arguments -2 or below.
6313         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6314         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6316 2014-06-18  Andreas Schwab  <schwab@suse.de>
6318         [BZ #17062]
6319         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6320         of a bracket expr not to run off the end of the string.
6321         * posix/Makefile (tests): Add tst-fnmatch3.
6322         * posix/tst-fnmatch3.c: New file.
6324 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6326         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6327         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6328         [$(cross-compiling) = no]: Likewise.
6329         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6330         [$(cross-compiling) = no]: Likewise.
6332 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6334         [BZ #17031]
6335         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6336         double, adjusted for any remainder from the high double.
6337         * math/libm-test.inc (nearbyint): Add tests.
6338         (rint): Likewise.
6340 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6342         * nptl/sysdeps/powerpc/Makefile: Moved ...
6343         * sysdeps/powerpc/nptl/Makefile: ... here.
6344         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6345         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6346         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6347         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6348         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6349         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6350         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6351         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6352         * nptl/sysdeps/powerpc/tls.h: Moved ...
6353         * sysdeps/powerpc/nptl/tls.h: ... here.
6355 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
6357         [BZ #16681]
6358         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6359         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6360         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6361         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6362         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6363         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6364         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6365         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6366         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6368 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
6370         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6372 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
6374         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6375         defined operator.
6377         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6378         $TIMEOUTFACTOR.
6380 2014-06-16  Florian Weimer  <fweimer@redhat.com>
6382         [BZ #17058]
6383         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6384         non-executed part of the test.
6386 2014-06-16  Andreas Schwab  <schwab@suse.de>
6388         * string/bits/string2.h (strdup, strndup): Update feature guard.
6390 2014-06-14  David S. Miller  <davem@davemloft.net>
6392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6394 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
6396         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6397         that was previously under [RESET_PID].
6398         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6400         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6401         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6402         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6403         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6404         (__libc_vfork): New strong alias.
6405         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6407 2014-06-14 Andi Kleen  <ak@linux.intel.com>
6409         * sysdeps/generic/elide.h: New file.
6411 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6413         * Makefile (installed-headers): Adjust path of pthread.h header.
6415 2014-06-13  Roland McGrath  <roland@hack.frob.com>
6417         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6418         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6419         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6420         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6422         * nptl/sysdeps/s390/Makefile: Moved ...
6423         * sysdeps/s390/nptl/Makefile: ... here.
6424         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6425         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6426         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6427         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6428         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6429         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6430         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6431         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6432         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6433         * sysdeps/s390/nptl/pthreaddef.h: ... here.
6434         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6435         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6436         * nptl/sysdeps/s390/tls.h: Moved ...
6437         * sysdeps/s390/nptl/tls.h: ... here.
6439         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6440         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6442 2014-06-13  David S. Miller  <davem@davemloft.net>
6444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6446         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6447         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6451         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6452         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6453         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6454         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6455         Remove RESET_PID cpp guards.
6456         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6457         Remove RESET_PID cpp guards.
6458         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6460 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
6462         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6463         __sp to uintptr_t.
6465 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6467         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6468         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6469         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6470         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6472         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6473         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6474         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6475         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6476         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6477         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6478         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6479         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6480         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6481         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6482         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6483         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6484         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6486         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6488         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6489         (pthread_rwlock_rdlock): Add elision.
6490         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6491         (pthread_rwlock_wrlock): Add elision.
6492         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6493         (pthread_rwlock_trywrlock): Add elision.
6494         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6495         (pthread_rwlock_tryrdlock): Add elision.
6496         * nptl/pthread_rwlock_unlock.c: Include elide.h.
6497         (pthread_rwlock_tryrdlock): Add elision unlock.
6498         * nptl/sysdeps/pthread/pthread.h:
6499         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6500         (PTHREAD_RWLOCK_INITIALIZER,
6501         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6502         Handle new elision field.
6503         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6504         * sysdeps/arm/nptl/bits/pthreadtypes.h
6505         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6506         * sysdeps/sh/nptl/bits/pthreadtypes.h
6507         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6508         * sysdeps/tile/nptl/bits/pthreadtypes.h
6509         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6510         * sysdeps/a/nptl/bits/pthreadtypes.h
6511         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6512         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6513         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6514         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6515         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6516         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6517         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6518         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6519         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6520         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6521         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6522         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6524         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6526         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6527         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6528         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6529         (elision_init): Set try_xbegin to zero when no RTM.
6530         * sysdeps/x86/nptl/bits/pthreadtypes.h
6531         (pthread_rwlock_t): Change __pad1 to __rwelision.
6532         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6534 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6536         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6537         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6538         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6539         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6541 2014-06-13  Meador Inge  <meadori@codesourcery.com>
6543         [BZ #16996]
6544         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6545         that the cached result has been set before returning it.
6547 2014-06-12  Roland McGrath  <roland@hack.frob.com>
6549         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6550         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6551         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6552         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6553         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6554         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6556         * nptl/sysdeps/sparc/Makefile: Moved ...
6557         * sysdeps/sparc/nptl/Makefile: ... here.
6558         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6559         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6560         * nptl/sysdeps/sparc/tls.h: Moved ...
6561         * sysdeps/sparc/nptl/tls.h: ... here.
6562         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6563         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6564         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6565         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6566         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6567         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6568         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6569         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6570         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6571         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6572         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6573         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6574         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6575         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6576         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6577         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6578         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6579         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6580         Update #include.
6581         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6582         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6583         Update #include.
6584         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6585         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6586         Update #include.
6587         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6588         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6589         Update #include.
6591         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6593         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6594         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6596         * sysdeps/pthread/posix-timer.h: Include <list.h>.
6597         (struct list_links): Type removed.
6598         (struct thread_node, struct timer_node): Replace struct list_links
6599         with struct list_head.
6600         (list_unlink_ip): Likewise.
6601         * sysdeps/pthread/timer_routines.c
6602         (timer_free_list, thread_free_list, thread_active_list): Likewise.
6603         (list_append, list_insbefore): Likewise.
6604         (list_init): Function removed.
6605         (thread_init, init_module): Use INIT_LIST_HEAD instead.
6606         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6607         * sysdeps/pthread/Makefile: ... here, new file.
6609         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6610         * sysdeps/nptl/Implies: ... here.
6611         * sysdeps/unix/sysv/linux/Implies: Add nptl.
6612         * nptl/sysdeps/pthread/list.h: Moved ...
6613         * include/list.h: ... here.
6614         * nptl/sysdeps/pthread/createthread.c: Moved ...
6615         * nptl/createthread.c: ... here.
6616         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6617         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6618         * nptl/pt-longjmp.c: ... here.
6619         * nptl/sysdeps/pthread/Makefile: Moved ...
6620         * sysdeps/nptl/Makefile: ... here.
6621         * nptl/sysdeps/pthread/Subdirs: Moved ...
6622         * sysdeps/nptl/Subdirs: ... here.
6623         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6624         * sysdeps/nptl/aio_misc.h: ... here.
6625         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6626         * sysdeps/nptl/bits/libc-lock.h: ... here.
6627         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6628         * sysdeps/nptl/bits/libc-lockP.h: ... here.
6629         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6630         * sysdeps/nptl/bits/stdio-lock.h: ... here.
6631         * nptl/sysdeps/pthread/configure: Moved ...
6632         * sysdeps/nptl/configure: ... here.
6633         * nptl/sysdeps/pthread/configure.ac: Moved ...
6634         * sysdeps/nptl/configure.ac: ... here.
6635         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6636         * sysdeps/nptl/gai_misc.h: ... here.
6637         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6638         * sysdeps/nptl/librt-cancellation.c: ... here.
6639         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6640         * sysdeps/nptl/malloc-machine.h: ... here.
6641         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6642         * sysdeps/nptl/pthread-functions.h: ... here.
6643         * nptl/sysdeps/pthread/pthread.h: Moved ...
6644         * sysdeps/nptl/pthread.h: ... here.
6645         * nptl/sysdeps/pthread/setxid.h: Moved ...
6646         * sysdeps/nptl/setxid.h: ... here.
6647         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6648         * sysdeps/nptl/sigfillset.c: ... here.
6649         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6650         * sysdeps/nptl/tcb-offsets.h: ... here.
6651         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6652         * sysdeps/nptl/tst-mqueue8x.c: ... here.
6653         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6654         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6655         * nptl/sysdeps/pthread/allocalim.h: Moved ...
6656         * sysdeps/pthread/allocalim.h: ... here.
6657         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6658         * sysdeps/pthread/bits/sigthread.h: ... here.
6659         * nptl/sysdeps/pthread/flockfile.c: Moved ...
6660         * sysdeps/pthread/flockfile.c: ... here.
6661         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6662         * sysdeps/pthread/ftrylockfile.c: ... here.
6663         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6664         * sysdeps/pthread/funlockfile.c: ... here.
6665         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6666         * sysdeps/pthread/posix-timer.h: ... here.
6667         * nptl/sysdeps/pthread/timer_create.c: Moved ...
6668         * sysdeps/pthread/timer_create.c: ... here.
6669         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6670         * sysdeps/pthread/timer_delete.c: ... here.
6671         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6672         * sysdeps/pthread/timer_getoverr.c: ... here.
6673         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6674         * sysdeps/pthread/timer_gettime.c: ... here.
6675         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6676         * sysdeps/pthread/timer_routines.c: ... here.
6677         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6678         * sysdeps/pthread/timer_settime.c: ... here.
6679         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6680         * sysdeps/pthread/tst-timer.c: ... here.
6681         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6682         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6684         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6685         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6687         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6688         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6689         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6690         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6691         Update #include target.
6692         * nptl/sysdeps/i386/i686/Makefile: Moved ...
6693         * sysdeps/i386/i686/nptl/Makefile: ... here.
6694         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6695         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6696         Update #include target.
6697         * nptl/sysdeps/i386/i686/tls.h: Moved ...
6698         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
6699         * nptl/sysdeps/i386/Makefile: Moved ...
6700         * sysdeps/i386/nptl/Makefile: ... here.
6701         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6702         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6703         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6704         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6705         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6706         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6707         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6708         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6709         * sysdeps/i386/nptl/pthreaddef.h: ... here.
6710         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6711         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6712         * nptl/sysdeps/i386/tls.h: Moved ...
6713         * sysdeps/i386/nptl/tls.h: ... here.
6715         * sysdeps/sh/Makefile [$(subdir) = csu]
6716         (gen-as-const-headers): Add tcb-offsets.sym.
6717         * nptl/sysdeps/sh/Makefile: File removed.
6718         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6719         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6720         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6721         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6722         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6723         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6724         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6725         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6726         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6727         * sysdeps/sh/nptl/pthreaddef.h: ... here.
6728         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6729         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6730         * nptl/sysdeps/sh/tls.h: Moved ...
6731         * sysdeps/sh/nptl/tls.h: ... here.
6732         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6733         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6734         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6735         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6736         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6737         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6738         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6739         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6740         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6741         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6742         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6743         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6744         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6745         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6746         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6747         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6748         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6749         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6750         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6751         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6752         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6753         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6754         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6755         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6756         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6757         Moved ...
6758         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6759         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6760         Moved ...
6761         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6762         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6763         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6764         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6765         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6766         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6767         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6768         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6769         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6770         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6771         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6772         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6773         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6774         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6775         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6776         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6777         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6778         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6779         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6781 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6783         * posix/spawn_faction_addopen.c: Include string.h.
6785 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6787         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6788         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6789         * nptl/sysdeps/x86_64/Makefile: Moved ...
6790         * sysdeps/x86_64/nptl/Makefile: ... here.
6791         * nptl/sysdeps/x86_64/configure: Moved ...
6792         * sysdeps/x86_64/nptl/configure: ... here.
6793         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6794         * sysdeps/x86_64/nptl/configure.ac: ... here.
6795         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6796         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6797         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6798         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6799         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6800         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6801         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6802         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6803         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6804         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6805         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6806         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6807         * nptl/sysdeps/x86_64/tls.h: Moved ...
6808         * sysdeps/x86_64/nptl/tls.h: ... here.
6809         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6810         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6811         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6812         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6814         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6816 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6820 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6822         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6823         type.
6824         [POSIX] (off_t): Likewise.
6825         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6826         [POSIX] (S_ISBLK): Require macro.
6827         [POSIX] (S_ISCHR): Likewise.
6828         [POSIX] (S_ISDIR): Likewise.
6829         [POSIX] (S_ISFIFO): Likewise.
6830         [POSIX] (S_ISREG): Likewise.
6831         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6832         optional-macro.
6833         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6834         type.
6835         [POSIX] (time_t): Likewise.
6836         [POSIX] (timer_t): Likewise.
6838 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6840         [BZ #17048]
6841         * posix/spawn_int.h (struct __spawn_action): Make the path string
6842         non-const to support deallocation.
6843         * posix/spawn_faction_addopen.c
6844         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6845         * posix/spawn_faction_destroy.c
6846         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6847         path in all spawn_do_open actions.
6848         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6849         posix_spawn_file_actions_addopen.
6851 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6853         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6854         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6855         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6856         conditional code always true.
6857         (__libc_vfork): New alias.
6859 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6861         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6862         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6864         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6866         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6867         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6869         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6870         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6872         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6873         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6875 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6877         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6878         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6879         multiarch strcmp for PPC64.
6880         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6881         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6883         multiarch optimizations.
6884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6885         (__libc_ifunc_impl_list): Likewise.
6887 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6889         * benchtests/scripts/validate_benchout.py: New script.
6890         * benchtests/Makefile (bench-func): Call it.
6891         * benchtests/scripts/benchout.schema.json: New file.
6893 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6895         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6896         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6897         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6898         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6899         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6900         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6901         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6902         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6903         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6904         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6905         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6906         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6907         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6908         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6909         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6910         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6912         Moved ...
6913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6914         ... here.
6915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6916         Moved ...
6917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6919         Moved ...
6920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6921         ... here.
6922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6923         Moved ...
6924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6925         ... here.
6926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6927         Moved ...
6928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6930         Moved ...
6931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6932         ... here.
6933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6934         Moved ...
6935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6936         ... here.
6937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6938         Moved ...
6939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6941         Moved ...
6942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6943         ... here.
6944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6945         Moved ...
6946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6947         ... here.
6948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6949         Moved ...
6950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6951         ... here.
6952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6953         Moved ...
6954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6956         Moved ...
6957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6958         ... here.
6959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6960         Moved ...
6961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6962         ... here.
6963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6964         Moved ...
6965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6966         ... here.
6967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6968         Moved ...
6969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6971         Moved ...
6972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6973         ... here.
6974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6975         Moved ...
6976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6977         ... here.
6978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6979         Moved ...
6980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6982         Moved ...
6983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6984         ... here.
6985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6986         Moved ...
6987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6989         Moved ...
6990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6992         Moved ...
6993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6994         ... here.
6995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6996         Moved ...
6997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6998         ... here.
6999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7000         Moved ...
7001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7002         ... here.
7003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7004         Moved ...
7005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7007         Moved ...
7008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7009         ... here.
7010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7011         Moved ...
7012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7013         ... here.
7014         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7015         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7016         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7017         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7018         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7019         Moved ...
7020         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7021         ... here.
7022         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7023         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7024         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7025         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7026         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7027         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7029         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7030         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7031         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7032         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7033         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7034         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7035         Moved ...
7036         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7037         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7038         Moved ...
7039         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7041         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7042         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7043         Moved ...
7044         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7045         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7046         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7047         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7048         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7049         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7050         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7052 2014-06-10  Wilco  <wdijkstr@arm.com>
7054         * math/test-fenv-return.c: New file.
7055         * math/Makefile: Add new test test-fenv-return.
7057 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
7059         [BZ #17042]
7060         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7061         when x - 1 is zero.
7062         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7063         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7064         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7065         0.0L for an argument of 1.0L.
7066         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7067         Likewise.
7068         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7069         value when x - 1 is zero.
7070         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7071         * sysdeps/i386/fpu/libm-test-ulps: Update.
7072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7074 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
7076         [BZ #15119]
7077         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7079 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7081         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7082         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7084 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7086         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7087         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7089         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7090         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7092         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7093         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7095         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7096         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7098         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7099         if not already defined.
7100         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7101         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7102         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7103         (TLS_INIT_TP): Use it.
7104         (TLS_DEFINE_INIT_TP): New macro.
7105         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7107 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
7109         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7110         constant.
7111         [POSIX] (IXANY): Likewise.
7112         [POSIX] (OLCUC): Likewise.
7113         [POSIX || POSIX2008] (CBAUD): Do not allow.
7114         [POSIX || POSIX2008] (DEFECHO): Likewise.
7115         [POSIX || POSIX2008] (ECHOCTL): Likewise.
7116         [POSIX || POSIX2008] (ECHOKE): Likewise.
7117         [POSIX || POSIX2008] (ECHOPRT): Likewise.
7118         [POSIX || POSIX2008] (EXTA): Likewise.
7119         [POSIX || POSIX2008] (EXTB): Likewise.
7120         [POSIX || POSIX2008] (FLUSHO): Likewise.
7121         [POSIX || POSIX2008] (LOBLK): Likewise.
7122         [POSIX || POSIX2008] (PENDIN): Likewise.
7123         [POSIX || POSIX2008] (SWTCH): Likewise.
7124         [POSIX || POSIX2008] (VDISCARD): Likewise.
7125         [POSIX || POSIX2008] (VDSUSP): Likewise.
7126         [POSIX || POSIX2008] (VLNEXT): Likewise.
7127         [POSIX || POSIX2008] (VREPRINT): Likewise.
7128         [POSIX || POSIX2008] (VSTATUS): Likewise.
7129         [POSIX || POSIX2008] (VWERASE): Likewise.
7130         (B*): Change to B[0123456789]*.
7131         * conform/data/time.h-data [POSIX || UNIX98]
7132         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7133         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7134         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7135         [POSIX] (tm_*): Do not allow.
7137 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
7139         * Makefile (install): Don't set LANGUAGE.
7140         * Makefile.in (install): Likewise.
7141         * assert/Makefile (test-assert-ENV): Remove variable.
7142         (test-assert-perr-ENV): Likewise.
7143         * elf/Makefile (neededtest4-ENV): Likewise.
7144         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7145         [$(cross-compiling) = no]: Don't set LANGUAGE.
7146         * io/ftwtest-sh (LANG): Remove variable.
7147         * libio/Makefile (tst-widetext-ENV): Likewise.
7148         * manual/install.texi (Running make install): Don't refer to
7149         environment settings for make install.
7150         * INSTALL: Regenerated.
7151         * nptl/tst-tls6.sh: Don't set LANG.
7152         * posix/globtest.sh (LANG): Remove variable.
7153         * string/Makefile (tester-ENV): Likewise.
7154         (inl-tester-ENV): Likewise.
7155         (noinl-tester-ENV): Likewise.
7156         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7157         [$(cross-compiling) = no]: Don't set LANGUAGE.
7158         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7159         without explicit environment settings.
7161 2014-06-06  Roland McGrath  <roland@hack.frob.com>
7163         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7164         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7165         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7166         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7168 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
7170         * crypt/crypt-private.h [DOS]: Add some includes taken from the
7171         other files in the crypt directory.
7172         * crypt/crypt.c: Remove duplicate includes.
7173         * crypt/crypt-entry.c: Likewise.
7174         * crypt/crypt_util.c: Likewise.
7176 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7178         * Makeconfig (run-program-env): New variable.
7179         (run-program-prefix-before-env): Likewise.
7180         (run-program-prefix-after-env): Likewise.
7181         (run-program-prefix): Define in terms of new variables.
7182         (built-program-cmd-before-env): New variable.
7183         (built-program-cmd-after-env): Likewise.
7184         (built-program-cmd): Define in terms of new variables.
7185         (test-program-prefix-before-env): New variable.
7186         (test-program-prefix-after-env): Likewise.
7187         (test-program-prefix): Define in terms of new variables.
7188         (test-program-cmd-before-env): New variable.
7189         (test-program-cmd-after-env): Likewise.
7190         (test-program-cmd): Define in terms of new variables.
7191         * Rules (make-test-out): Use $(run-program-env).
7192         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7193         (help): Do not mention environment variables.  Mention
7194         --timeoutfactor option.
7195         (timeoutfactor): New variable.
7196         (blacklist_exports): Remove function.
7197         (exports): Remove variable.
7198         (command): Do not include ${exports}.
7199         * manual/install.texi (Configuring and compiling): Do not mention
7200         test wrappers preserving environment variables.  Mention that last
7201         assignment to a variable must take precedence.
7202         * INSTALL: Regenerated.
7203         * benchtests/Makefile (run-bench): Use $(run-program-env).
7204         * catgets/Makefile ($(objpfx)test1.cat): Use
7205         $(built-program-cmd-before-env), $(run-program-env) and
7206         $(built-program-cmd-after-env).
7207         ($(objpfx)test2.cat): Do not specify environment variables
7208         explicitly.
7209         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7210         $(run-program-env) and $(built-program-cmd-after-env).
7211         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7212         $(run-program-env) and $(test-program-cmd-after-env).
7213         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7214         explicitly.
7215         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7216         run_program_env and test_program_cmd_after_env arguments.
7217         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7218         * elf/tst-pathopt.sh: Use run_program_env argument.
7219         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7220         $(test-wrapper-env) and $(run-program-env).
7221         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7222         run_program_env arguments.
7223         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7224         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7225         $(test-program-prefix-before-env), $(run-program-env) and
7226         $(test-program-prefix-after-env).
7227         ($(objpfx)tst-gettext2.out): Likewise.
7228         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7229         run_program_env and test_program_prefix_after_env arguments.
7230         * intl/tst-gettext2.sh: Likewise.
7231         * intl/tst-gettext4.sh: Do not set environment variables
7232         explicitly.
7233         * intl/tst-gettext6.sh: Likewise.
7234         * intl/tst-translit.sh: Likewise.
7235         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7236         $(test-program-prefix-before-env), $(run-program-env) and
7237         $(test-program-prefix-after-env).
7238         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7239         run_program_env and test_program_prefix_after_env arguments.
7240         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7241         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7242         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7243         explicitly with each use of ${test_wrapper_env}.
7244         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7245         $(test-program-prefix-before-env), $(run-program-env) and
7246         $(test-program-prefix-after-env).
7247         * posix/tst-getconf.sh: Do not set environment variables
7248         explicitly.
7249         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7250         run_program_env and test_program_prefix_after_env arguments.
7251         * stdio-common/tst-printf.sh: Do not set environment variables
7252         explicitly.
7253         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7254         $(test-program-prefix-before-env), $(run-program-env) and
7255         $(test-program-prefix-after-env).
7256         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7257         run_program_env and test_program_prefix_after_env arguments.
7258         Split $test calls into $test_pre and $test.
7259         * timezone/Makefile (build-testdata): Use
7260         $(built-program-cmd-before-env), $(run-program-env) and
7261         $(built-program-cmd-after-env).
7263 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7265         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7266         strlen for non SHARED builds.
7268 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7270         * nptl/allocatestack.c (check_list): Inlined function...
7271         (__reclaim_stacks): ... here.
7273 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7275         [BZ #15698]
7276         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7277         memory overrun.
7279 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7281         * Rules (make-test-out): Include
7282         LOCPATH=$(common-objpfx)localedata in default environment.
7283         * debug/Makefile (tst-chk1-ENV): Remove variable.
7284         (tst-chk2-ENV): Likewise.
7285         (tst-chk3-ENV): Likewise.
7286         (tst-chk4-ENV): Likewise.
7287         (tst-chk5-ENV): Likewise.
7288         (tst-chk6-ENV): Likewise.
7289         (tst-lfschk1-ENV): Likewise.
7290         (tst-lfschk2-ENV): Likewise.
7291         (tst-lfschk3-ENV): Likewise.
7292         (tst-lfschk4-ENV): Likewise.
7293         (tst-lfschk5-ENV): Likewise.
7294         (tst-lfschk6-ENV): Likewise.
7295         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7296         (tst-iconv7-ENV): Likewise.
7297         * intl/Makefile (LOCPATH-ENV): Likewise.
7298         (tst-codeset-ENV): Likewise.
7299         (tst-gettext3-ENV): Likewise.
7300         (tst-gettext5-ENV): Likewise.
7301         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7302         (tst-fopenloc-ENV): Likewise.
7303         (tst-fgetws-ENV): Remove variable.
7304         (tst-ungetwc1-ENV): Likewise.
7305         (tst-ungetwc2-ENV): Likewise.
7306         (bug-ungetwc2-ENV): Likewise.
7307         (tst-swscanf-ENV): Likewise.
7308         (bug-ftell-ENV): Likewise.
7309         (tst-fgetwc-ENV): Likewise.
7310         (tst-fseek-ENV): Likewise.
7311         (tst-ftell-partial-wide-ENV): Likewise.
7312         (tst-ftell-active-handler-ENV): Likewise.
7313         (tst-ftell-append-ENV): Likewise.
7314         * posix/Makefile (tst-fnmatch-ENV): Likewise.
7315         (tst-regexloc-ENV): Likewise.
7316         (bug-regex1-ENV): Likewise.
7317         (tst-regex-ENV): Likewise.
7318         (tst-regex2-ENV): Likewise.
7319         (bug-regex5-ENV): Likewise.
7320         (bug-regex6-ENV): Likewise.
7321         (bug-regex17-ENV): Likewise.
7322         (bug-regex18-ENV): Likewise.
7323         (bug-regex19-ENV): Likewise.
7324         (bug-regex20-ENV): Likewise.
7325         (bug-regex22-ENV): Likewise.
7326         (bug-regex23-ENV): Likewise.
7327         (bug-regex25-ENV): Likewise.
7328         (bug-regex26-ENV): Likewise.
7329         (bug-regex30-ENV): Likewise.
7330         (bug-regex32-ENV): Likewise.
7331         (bug-regex33-ENV): Likewise.
7332         (bug-regex34-ENV): Likewise.
7333         (bug-regex35-ENV): Likewise.
7334         (tst-rxspencer-ENV): Likewise.
7335         (tst-rxspencer-no-utf8-ENV): Likewise.
7336         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7337         (tst-sscanf-ENV): Likewise.
7338         (tst-swprintf-ENV): Likewise.
7339         (tst-swscanf-ENV): Likewise.
7340         (test-vfprintf-ENV): Likewise.
7341         (scanf13-ENV): Likewise.
7342         (bug14-ENV): Likewise.
7343         (tst-grouping-ENV): Likewise.
7344         * stdlib/Makefile (tst-strtod-ENV): Likewise.
7345         (tst-strtod3-ENV): Likewise.
7346         (tst-strtod4-ENV): Likewise.
7347         (tst-strtod5-ENV): Likewise.
7348         (testmb2-ENV): Likewise./
7349         * string/Makefile (tst-strxfrm-ENV): Likewise.
7350         (tst-strxfrm2-ENV): Likewise.
7351         (bug-strcoll1-ENV): Likewise.
7352         (test-strcasecmp-ENV): Likewise.
7353         (test-strncasecmp-ENV): Likewise.
7354         * time/Makefile (tst-strptime-ENV): Likewise.
7355         (tst-ftime_l-ENV): Likewise.
7356         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7357         (tst-mbrtowc-ENV): Likewise.
7358         (tst-wcrtomb-ENV): Likewise.
7359         (tst-mbrtowc2-ENV): Likewise.
7360         (tst-c16c32-1-ENV): Likewise.
7361         (tst-mbsnrtowcs-ENV): Likewise.
7363 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7365         * manual/resource.texi (How to get information about the memory
7366         subsystem?): Fix typo.
7367         Reported by Peon de la Parra Ivan <peon@keba.com>
7369 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
7371         [BZ #16882]
7372         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7373         (pthread_spin_lock): Branch out of spin loop to proper location.
7374         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7375         (pthread_spin_lock): Likewise.
7377         * nptl/tst-spin4.c: New test.
7378         * nptl/Makefile (tests): Add tst-spin4.
7380 2014-06-03  Andreas Schwab  <schwab@suse.de>
7382         [BZ #15946]
7383         * resolv/res_send.c (send_dg): Reload file descriptor after
7384         calling reopen.
7386 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
7388         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7390 2014-06-03  Richard Henderson  <rth@redhat.com>
7392         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7393         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7394         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7395         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
7396         in the SAVE_PID block.
7397         (__libc_vfork): New alias.
7398         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7400         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7401         child in registers, not on the stack.  Remove RESET_PID conditionals.
7402         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7404 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7406         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7408 2014-06-03  Wilco  <wdijkstr@arm.com>
7410         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7411         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7412         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7413         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7414         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7415         Likewise.
7417 2014-06-03  Wilco  <wdijkstr@arm.com>
7419         * sysdeps/aarch64/fpu/math_private.h
7420         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7421         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7422         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7423         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7424         Fix declarations.
7426 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7428         * crypt/crypt-private.h: Include ufc-crypt.h.
7429         (__b64_from_24bit): Declare extern.
7430         * crypt/crypt_util.c(__b64_from_24bit): New function.
7431         (b64t): New static const variable.
7432         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7433         (b64t): Remove variable.
7434         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7435         * crypt/sha256-crypt.c: Include crypt-private.h.
7436         (b64t): Remove variable.
7437         (__sha256_crypt_r): Remove b64_from_24bit and replace
7438         with __b64_from_24bit.
7439         * crypt/sha512-crypt.c: Likewise.
7441 2014-06-02  Roland McGrath  <roland@hack.frob.com>
7443         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7444         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7445         Label the code __libc_vfork rather than __vfork.
7446         [!NOT_IN_libc] (vfork): Define as weak alias.
7447         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7448         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7449         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7451 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7453         * malloc/malloc.c (malloc_info): Fix format specifier for
7454         n_mmaps.
7456 2014-06-02  Wilco  <wdijkstr@arm.com>
7458         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7459         FPCR write.
7461 2014-06-02  Wilco  <wdijkstr@arm.com>
7463         [BZ #17009]
7464         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7465         Rewrite to reduce FPCR/FPSR accesses.
7467 2014-06-01  David S. Miller  <davem@davemloft.net>
7469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7471 2014-05-31  David S. Miller  <davem@davemloft.net>
7473         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7474         to occur in round to nearest mode when |x| >= 2.0
7476 2014-05-30  Richard Henderson  <rth@twiddle.net>
7478         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7479         (PSEUDO_RET_NOERRNO): Remove.
7480         (ret): Don't redefine.
7481         (ret_NOERRNO): Define in terms of ret.
7482         (ret_ERRVAL): Likewise.
7484         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7485         use of PSEUDO_RET; perform the error check directly.
7487 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
7489         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7490         with __int128_t.
7492 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7494         * malloc/malloc (malloc_info): Fix formatting.
7496 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7497             Roland McGrath  <roland@hack.frob.com>
7499         * malloc/malloc (malloc_info): Also print mmapped statistics.
7501 2014-05-30  Roland McGrath  <roland@hack.frob.com>
7503         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7504         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7506 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
7508         * malloc/malloc.c (malloc_info): Inline mi_arena.
7510 2014-05-29  Richard Henderson  <rth@twiddle.net>
7512         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7513         Remove comma before expanding ASM_ARGS_##nr.
7514         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7515         Make _x0 a strict output; make _x8 a strict input; adjust expansion
7516         of ASM_ARGS_##nr.
7517         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7518         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7519         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7520         (ASM_ARGS_1): Add leading comma.
7522         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7523         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7524         to __errno_location.
7525         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7526         Remove the expected plt for __errno_location.
7528         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7529         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7530         call to __read_tp.
7532         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7533         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
7534         it and break it down.
7535         (DOCARGS_0, DOCARGS_1): Do nothing.
7536         (DOCARGS_2): Update to store into the new stack frame.
7537         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7538         (UNDOCARGS_1): Update to restore from the new stack frame.
7539         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7540         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7542         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7543         (SINGLE_THREAD_P): New parameter for result regno.
7544         (PSEUDO): Update to match; use cbz instead of beq.
7546         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7547         Use ENTRY to define the _nocancel entry point.  Share the syscall
7548         and syscall error check paths with the cancel path.
7549         (PSEUDO_END): New.
7551         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7552         whitespace; tabs before and after asm mnemonics.
7554 2014-05-29  Eric Wong  <normalperson@yhbt.net>
7556         [BZ #15132]
7557         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7558         Call fstat64 or stat64 internally, depending on arguments passed.
7559         Replace stat buffer argument with file descriptor argument.
7560         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7561         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7562         Pass fd to __internal_statvfs instead of calling fstat64.
7563         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7564         Pass fd to __internal_statvfs64 instead of calling fstat64.
7565         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7566         Pass -1 to __internal_statvfs instead of calling stat64.
7567         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7568         Pass -1 to __internal_statvfs64 instead of calling stat64.
7570 2014-05-28  Roland McGrath  <roland@hack.frob.com>
7572         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7573         that was previously under [RESET_PID].
7574         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7576         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7577         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7579 2014-05-27  Roland McGrath  <roland@hack.frob.com>
7581         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7583         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7584         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7586 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
7588         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7590 2014-05-27  Andreas Schwab  <schwab@suse.de>
7592         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7593         TLS_INIT_TP macro.
7594         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7595         * elf/rtld.c (init_tls, dl_main): Likewise.
7596         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7597         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7598         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7599         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7600         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7601         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7602         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7603         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7604         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7605         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7606         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7607         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7608         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7609         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7610         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7611         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7612         * sysdeps/generic/tls.h: Update description.
7614 2014-05-27  Will Newton  <will.newton@linaro.org>
7616         [BZ #16990]
7617         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7618         and restore r2 rather than just restoring.
7620 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7622         [BZ #16724]
7623         * libio/tst-ftell-append.c: New test case.
7624         * libio/Makefile (tests): Add test case.
7625         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7626         append mode.
7627         * libio/wfileops.c (do_ftell_wide): Likewise.
7629 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7633         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7634         ...
7635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7637         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7638         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7639         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7640         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7641         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7642         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7643         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7644         Moved ...
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7646         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7647         Moved ...
7648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7649         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7650         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7651         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7652         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7653         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7654         ...
7655         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7656         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7657         Moved ...
7658         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7659         here.
7660         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7661         ...
7662         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7663         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7664         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7666         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7667         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7668         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7669         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7672         merge into ...
7673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7674         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7675         ...
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7678         ...
7679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7681         Moved ...
7682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7683         here.
7684         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7685         Moved ...
7686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7687         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7688         Moved ...
7689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7692         conditional [RESET_PID].
7693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7695         removed.
7696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7697         removed.
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7700         <tcb-offsets.h>.
7701         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7702         (__libc_vfork): New strong alias.
7703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7704         removed.
7705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7706         Removed.
7708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7709         <tcb-offsets.h>.
7710         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7711         (__libc_vfork): New strong alias.
7712         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7713         removed.
7714         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7715         removed.
7717 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
7719         * malloc/malloc.c (mi_arena): New function.
7720         (malloc_info): Remove nested function mi_arena. Call non-nosted
7721         function mi_arena.
7723 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7725         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7726         by insrwi.
7727         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7728         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7729         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7730         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7731         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7732         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7733         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7735 2014-05-26  Andreas Schwab  <schwab@suse.de>
7737         [BZ #16984]
7738         * locale/programs/repertoire.c (repertoire_read): Add slash
7739         between I18NPATH element and file name.
7740         * locale/programs/locfile.c (locfile_read): Likewise.
7742 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7744         * nptl/pthread_mutexattr_settype.c
7745         (__pthread_mutexattr_settype):
7746         Disable lock elision for PTHREAD_MUTEX_NORMAL.
7748 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7750         * nptl/tst-mutex5 (do_test):
7751         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7753 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7755         * benchtests/README: Document 'init' directive.
7756         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7757         BENCH_INIT.
7758         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7759         (parse_file): Recognize 'init' directive.
7761 2014-05-26  Kyle McMartin  <kyle@redhat.com>
7763         [BZ #16796]
7764         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7765         alignment of struct pthread.
7767 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7769         [BZ #16878]
7770         * nscd/netgroupcache.c (addgetnetgrentX): Look for
7771         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7772         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7773         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7775 2014-05-25  Richard Henderson  <rth@twiddle.net>
7777         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7778         (SINGLE_THREAD_P_PIC): Remove.
7779         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7780         (SINGLE_THREAD_P_PIC): Remove.
7782         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7783         branch to syscall error ...
7784         (PSEUDO): ... here.
7785         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7786         from __local_syscall_error to .Lsyscall_error.
7787         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7788         (SYSCALL_ERROR): Update label name.
7790         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7791         Do not use DOARGS/UNDOARGS.
7792         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7793         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7794         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7795         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7796         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7798         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7799         block comment.
7801         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7802         define if !NOT_IN_libc.
7803         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7804         define with non-default symbol versions.
7806 2014-05-23  Richard Henderson  <rth@twiddle.net>
7808         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7809         (vfork, __vfork): Define via compat_symbol.
7811         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7812         [!HAVE_IFUNC] (vfork_compat): Remove.
7813         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7815 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7817         [BZ #16978]
7818         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7819         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7820         variable.
7822 2014-05-23  Richard Henderson  <rth@twiddle.net>
7824         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7825         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7826         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7827         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7829         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7830         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7831         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7832         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7833         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7834         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7835         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7836         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7837         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7838         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7839         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7840         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7841         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7842         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7843         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7844         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7845         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7846         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7847         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7848         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7849         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7850         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7851         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7852         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7853         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7854         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7855         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7856         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7857         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7858         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7859         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7860         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7861         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7862         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7863         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7864         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7865         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7866         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7867         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7868         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7869         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7870         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7871         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7872         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7873         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7874         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7875         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7876         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7877         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7878         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7879         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7880         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7881         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7882         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7883         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7884         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7886         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7887         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7888         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7889         before exiting on error.
7890         (__libc_vfork): New strong alias.
7891         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7892         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7894         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7895         that was previously under [RESET_PID].
7896         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7898         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7900 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7902         [BZ #16977]
7903         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7904         value when x - 1 is zero.
7905         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7906         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7907         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7908         0.0L for an argument of 1.0L.
7909         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7910         Likewise.
7911         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7912         value when x - 1 is zero.
7913         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7914         * sysdeps/i386/fpu/libm-test-ulps: Update.
7915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7917 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7919         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7920         alphasort and versionsort.
7922 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7924         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7925         macro.
7926         [copysignf]: Likewise.
7928 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7930         * crypt/md5-crypt.c: Fix formatting.
7932 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7934         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7935         (b64_from_24bit): New function.
7937 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7939         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7940         libc_hidden_builtin_def to ifunc.
7941         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7942         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7944 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7946         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7947         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7949 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7951         * nscd/Depend (linuxthreads): Remove.
7952         (nptl): Add.
7953         * resolv/Depend (linuxthreads): Remove.
7954         * rt/Depend (linuxthreads): Remove.
7956         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7957         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7958         $(common-objpfx)elf/.
7959         (link-libc-before-gnulib): Likewise.
7960         (elfobjdir): Remove variable.
7961         * Makefile (install): Use $(elf-objpfx) instead of
7962         $(common-objpfx)elf/.
7963         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7964         $(elfobjdir)/.
7965         (link-libc-deps): Likewise.
7966         ($(common-objpfx)libc.so): Likewise.
7967         ($(common-objpfx)linkobj/libc.so): Likewise.
7968         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7969         instead of $(common-objpfx)elf/.
7970         (symbolic-link-list): Likewise.
7971         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7972         [$(cross-compiling) = no]: Likewise.
7973         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7974         $(elfobjdir)/.
7975         (static-gnulib-arch): Likewise.
7976         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7977         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7978         $(common-objpfx)elf/.
7980 2014-05-21  Richard Henderson  <rth@redhat.com>
7982         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7983         (SINGLE_THREAD_P): Use the correct width load.  Fold
7984         into the ldr offset.
7986         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7987         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7989 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7991         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7992         (libgcc_s_resume): Use __attribute_used__.
7993         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7994         Likewise.
7996 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7998         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7999         optimization when used with float constants.
8001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8003 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
8005         [BZ #16915]
8006         * locale/nl_langinfo_l.c: Make direct reference to every
8007         _nl_current_CATEGORY symbol.
8008         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8009         (tests-static): Add tst-langinfo-static.
8010         (tests-special): Add tst-langinfo-static.out.
8011         ($(objpfx)tst-langinfo.out): Redirect output.
8012         ($(objpfx)tst-langinfo-static.out): New.
8013         * localedata/tst-langinfo.sh: Send output to stdout.
8014         * localedata/tst-langinfo-static.c: New file.
8016         [BZ #16965]
8017         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8018         when the shift amount is modulo the limb size.
8020 2014-05-20  Richard Henderson  <rth@redhat.com>
8022         [BZ #16967]
8023         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8024         Change type of sa_flags from unsigned int to int.
8026         [BZ #16966]
8027         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8029         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8031 2014-05-20  Will Newton  <will.newton@linaro.org>
8033         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8034         Test the return value of the system call in the nocancel case.
8036 2014-05-20  Will Newton  <will.newton@linaro.org>
8037             Yvan Roux  <yvan.roux@linaro.org>
8039         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8040         #include of asm/ptrace.h.
8041         (PTRACE_GET_THREAD_AREA): Remove #undef.
8042         (PTRACE_GETHBPREGS): Likewise.
8043         (PTRACE_SETHBPREGS): Likewise.
8044         (struct user_regs_struct): New structure.
8045         (struct user_fpsimd_struct): New structure.
8046         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8047         #include of asm/ptrace.h and second #include of sys/user.h.
8048         (PTRACE_GET_THREAD_AREA): Remove #undef.
8049         (PTRACE_GETHBPREGS): Likewise.
8050         (PTRACE_SETHBPREGS): Likewise.
8051         (ELF_NGREG): Use new struct user_regs_struct.
8052         (elf_fpregset_t): Use new struct user_fpsimd_struct.
8054 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8057         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8059 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8061         [BZ #16958]
8062         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8063         membar to avoid block loads/stores to overlap previous stores.
8065 2014-05-17  Richard Henderson  <rth@redhat.com>
8067         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8068         Create the __##syscall_name##_nocancel entry point.
8069         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8070         Remove; let the sysdep-cancel.h code create it.
8072 2014-05-17  David S. Miller  <davem@davemloft.net>
8074         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8075         Protect with __USE_GNU.
8076         (TIOCSET_TEMPT): Likewise.
8077         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8078         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8079         these are already provided in bits/ioctl-types.h
8081 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8083         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8084         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8086         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8087         Use wait4 regardless of [__NR_waitpid].
8089 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8091         PR libgcc/60166
8092         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8093         (_FP_NANSIGN_Q): Set the quiet bit.
8095 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
8097         * benchtests/Makefile
8098         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8099         not $(common-objpfx)math/libm.so.
8100         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8101         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8102         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8103         $(common-objpfx)dlfcn/libdl.so.
8104         ($(objpfx)tst-audit8): Depend on $(libm), not
8105         $(common-objpfx)math/libm.so.
8106         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8107         not $(common-objpfx)dlfcn/libdl.so.
8108         * math/Makefile
8109         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8110         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
8111         [$(build-shared) = yes].
8112         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8113         $(common-objpfx)nptl/libpthread.so.
8114         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8115         $(common-objpfx)math/libm.so$(libm.so-version) or
8116         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8117         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8118         $(common-objpfx)dlfcn/libdl.so.
8119         * setjmp/Makefile (link-libm): Remove variable.
8120         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8121         * stdio-common/Makefile (link-libm): Remove variable.
8122         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8123         * stdlib/Makefile (link-libm): Remove variable.
8124         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8125         ($(objpfx)tst-strtod-round): Likewise.
8126         ($(objpfx)tst-tininess): Likewise.
8127         ($(objpfx)tst-strtod-underflow): Likewise.
8128         ($(objpfx)tst-strtod6): Likewise.
8129         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8130         $(libdl), not $(common-objpfx)nptl/libpthread.so and
8131         $(common-objpfx)dlfcn/libdl.so.
8133 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8135         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8136         BSD terminal modes definitions.
8138 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8140         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8141         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8143         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8144         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8145         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8146         Don't do #include_next.
8147         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8148         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8149         Don't do #include_next.
8150         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8151         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8152         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8153         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8155 2014-05-16  Allan McRae  <allan@archlinux.org>
8157         * po/sv.po: Update Swedish translation from translation project.
8159         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8160         in sed expression.
8162 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8164         [BZ #16917]
8165         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8166         errno if the TIOCGPTN ioctl fails with an error different than
8167         EINVAL.
8168         * login/tst-ptsname.c: New file.
8169         * login/Makefile (tests): Add tst-ptsname.
8171         [BZ #16943]
8172         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8173         and prlimit64.
8175 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8177         [BZ #16849]
8178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8179         herrno to return EAI_AGAIN.
8181 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8183         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8184         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8185         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8186         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8187         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8188         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8189         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8190         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8191         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8192         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8193         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8194         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8195         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8196         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8197         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8198         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8199         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8200         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8201         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8202         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8203         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8204         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8205         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8206         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8207         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8208         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8209         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8210         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8211         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8212         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8214         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8216         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8218         Moved ...
8219         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8221         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8223         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8225         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8227         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8229         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8231         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8233         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8235         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8237         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8239         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8241         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8243         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8245         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8247         Moved ...
8248         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8250         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8252         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8254         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8256         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8258         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8260         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8262         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8264         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8266         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8268         Moved ...
8269         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8271         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8273         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8274         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8275         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8276         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8277         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8278         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8279         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8280         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8281         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8282         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8283         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8284         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8285         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8286         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8287         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8288         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8289         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8290         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8291         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8292         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8293         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8294         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8295         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8296         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8297         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8298         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8299         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8300         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8301         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8302         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8303         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8305         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8306         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8308         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8309         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8310         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8311         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8312         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8313         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8314         Moved ...
8315         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8316         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8317         Moved ...
8318         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8319         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8320         Moved ...
8321         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8322         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8323         Moved ...
8324         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8325         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8326         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8327         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8328         Moved ...
8329         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8330         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8331         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8332         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8333         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8334         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8335         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8336         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8337         Moved ...
8338         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8339         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8340         Moved ...
8341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8342         ... here.
8343         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8344         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8345         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8346         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8347         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8348         Moved ...
8349         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8350         ... here.
8351         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8352         Moved ...
8353         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8354         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8355         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8356         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8357         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8358         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8359         Moved ...
8360         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8361         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8362         Moved ...
8363         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8364         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8365         Moved ...
8366         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8367         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8368         Moved ...
8369         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8370         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8371         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8372         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8373         Moved ...
8374         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8375         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8376         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8377         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8378         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8379         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8380         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8381         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8382         Moved ...
8383         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8384         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8385         Moved ...
8386         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8387         ... here.
8388         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8389         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8390         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8391         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8392         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8393         Moved ...
8394         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8395         ... here.
8396         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8397         Moved ...
8398         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8399         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8400         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8401         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8402         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8403         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8404         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8405         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8406         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8407         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8408         Moved ...
8409         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8410         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8411         Moved ...
8412         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8413         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8414         Moved ...
8415         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8416         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8417         Moved ...
8418         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8419         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8420         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8421         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8422         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8423         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8424         Moved ...
8425         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8426         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8427         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8428         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8429         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8430         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8431         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8432         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8433         Moved ...
8434         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8435         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8436         Moved ...
8437         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8438         ... here.
8439         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8440         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8441         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8442         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8443         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8444         Moved ...
8445         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8446         ... here.
8447         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8448         Moved ...
8449         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8450         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8451         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8452         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8453         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8454         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8455         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8456         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8457         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8458         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8459         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8461         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8462         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8464         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8465         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8467         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8468         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8469         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8470         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8471         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8472         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8473         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8474         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8475         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8476         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8477         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8478         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8479         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8480         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8481         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8482         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8483         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8484         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8485         Moved ...
8486         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8487         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8488         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8489         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8490         Moved ...
8491         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8492         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8493         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8494         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8495         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8496         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8497         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8498         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8499         Moved ...
8500         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8501         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8502         Moved ...
8503         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8504         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8505         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8507         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8509         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8510         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8511         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8512         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8513         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8514         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8515         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8516         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8517         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8518         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8519         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8521         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8522         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8523         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8524         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8525         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8527         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8528         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8529         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8530         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8531         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8532         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8533         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8534         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8535         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8536         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8538         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8539         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8541         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8542         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8543         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8544         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8545         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8546         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8547         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8548         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8549         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8550         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8551         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8552         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8553         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8554         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8556         Update #include.
8557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8558         Likewise.
8559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8560         Likewise.
8561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8562         Likewise.
8563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8564         Likewise.
8565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8566         Likewise.
8567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8568         Likewise.
8569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8570         Likewise.
8571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8572         Likewise.
8573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8574         Likewise.
8575         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8577         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8580         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8581         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8582         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8583         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8584         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8585         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8586         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8587         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8588         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
8589         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
8591         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8592         that was previously under [RESET_PID].
8593         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8594         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8595         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8597         * sysdeps/i386/nptl/Implies: New file.
8598         * sysdeps/x86_64/nptl/Implies: New file.
8599         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8600         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8601         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8602         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8604         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8605         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8606         (__libc_vfork): New strong alias.
8607         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8608         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8610         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8611         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8612         (__libc_vfork): New strong alias.
8613         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8614         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8616         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8617         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8618         (__libc_vfork): New strong alias.
8619         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8620         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8621         * nptl/pt-vfork.c: New file.
8622         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8623         (libpthread: GLIBC_2.20): New version set (empty).
8625 2014-05-14  Will Newton  <will.newton@linaro.org>
8627         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8628         rather than #if.
8630 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8632         [BZ #16564]
8633         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8634         arguments with exponent 65 or above.
8635         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8636         arguments 0x1p113L or above.
8637         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8638         to arguments 0x1p107L or above.
8639         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8640         positive arguments with exponent 65 or above.
8641         * math/auto-libm-test-in: Add more tests of log1p.
8642         * math/auto-libm-test-out: Regenerated.
8644         [BZ #16928]
8645         * math/s_cacos.c (__cacos): Ensure zero real part of result from
8646         non-finite arguments is +0.
8647         * math/s_cacosf.c (__cacosf): Likewise.
8648         * math/s_cacosl.c (__cacosl): Likewise.
8649         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8650         * sysdeps/i386/fpu/libm-test-ulps: Update.
8651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8653         [BZ #16927]
8654         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8655         value.
8656         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8657         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8658         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8659         for explicit high bit of mantissa when testing for argument equal
8660         to 1.
8661         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8662         * sysdeps/i386/fpu/libm-test-ulps: Update.
8663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8665         [BZ #16516]
8666         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8667         (__erf): Scale by 16 instead of 8 in potentially underflowing
8668         case.  Ensure exception if result actually underflows.
8669         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8670         (__erff): Scale by 16 instead of 8 in potentially underflowing
8671         case.  Ensure exception if result actually underflows.
8672         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8673         (efx8): Remove variable.
8674         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8675         case.  Ensure exception if result actually underflows.
8676         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8677         (efx8): Remove variable.
8678         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8679         case.  Ensure exception if result actually underflows.
8680         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8681         (efx8): Remove variable.
8682         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8683         case.  Ensure exception if result actually underflows.
8684         * math/auto-libm-test-in: Add more tests of erf.
8685         * math/auto-libm-test-out: Regenerated.
8687 2014-05-14  Andreas Schwab  <schwab@suse.de>
8689         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8690         Remove code conditionalized on USE___THREAD.
8692         * config.h.in (HAVE_PT_CHOWN): Define as 0.
8693         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8694         not definedness.
8696 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8698         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8699         Define unconditionally.
8700         (__ASSUME_O_CLOEXEC): Likewise.
8701         (__ASSUME_SOCK_CLOEXEC): Likewise.
8702         (__ASSUME_IN_NONBLOCK): Likewise.
8703         (__ASSUME_PIPE2): Likewise.
8704         (__ASSUME_EVENTFD2): Likewise.
8705         (__ASSUME_SIGNALFD4): Likewise.
8706         (__ASSUME_DUP3): Likewise.
8707         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8708         (__ASSUME_DUP3): Do not define.
8709         (__ASSUME_EVENTFD2): Likewise.
8710         (__ASSUME_IN_NONBLOCK): Likewise.
8711         (__ASSUME_O_CLOEXEC): Likewise.
8712         (__ASSUME_PIPE2): Likewise.
8713         (__ASSUME_SIGNALFD4): Likewise.
8714         (__ASSUME_SOCK_CLOEXEC): Likewise.
8715         (__ASSUME_UTIMES): Undefine.
8716         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8717         (__ASSUME_UTIMES): Do not define.
8718         (__ASSUME_O_CLOEXEC): Likewise.
8719         (__ASSUME_SOCK_CLOEXEC): Likewise.
8720         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8721         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8722         0x020621].
8723         (__ASSUME_PIPE2): Likewise.
8724         (__ASSUME_EVENTFD2): Likewise.
8725         (__ASSUME_SIGNALFD4): Likewise.
8726         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8727         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8728         Do not define.
8729         (__ASSUME_EVENTFD2): Likewise.
8730         (__ASSUME_SIGNALFD4): Likewise.
8731         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8732         (__ASSUME_32BITUIDS): Likewise.
8733         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8734         (__ASSUME_IPC64): Likewise.
8735         (__ASSUME_ST_INO_64_BIT): Likewise.
8736         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8737         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8738         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8739         (__ASSUME_UTIMES): Do not define.
8740         (__ASSUME_PSELECT): Likewise.
8741         (__ASSUME_PPOLL): Likewise.
8742         (__ASSUME_O_CLOEXEC): Likewise.
8743         (__ASSUME_SOCK_CLOEXEC): Likewise.
8744         (__ASSUME_IN_NONBLOCK): Likewise.
8745         (__ASSUME_PIPE2): Likewise.
8746         (__ASSUME_EVENTFD2): Likewise.
8747         (__ASSUME_SIGNALFD4): Likewise.
8748         (__ASSUME_DUP3): Likewise.
8749         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8750         (__ASSUME_UTIMES): Likewise.
8751         (__ASSUME_O_CLOEXEC): Likewise.
8752         (__ASSUME_SOCK_CLOEXEC): Likewise.
8753         (__ASSUME_IN_NONBLOCK): Likewise.
8754         (__ASSUME_PIPE2): Likewise.
8755         (__ASSUME_EVENTFD2): Likewise.
8756         (__ASSUME_SIGNALFD4): Likewise.
8757         (__ASSUME_DUP3): Likewise.
8758         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8759         (__ASSUME_UTIMES): Likewise.
8760         (__ASSUME_O_CLOEXEC): Likewise.
8761         (__ASSUME_SOCK_CLOEXEC): Likewise.
8762         (__ASSUME_IN_NONBLOCK): Likewise.
8763         (__ASSUME_PIPE2): Likewise.
8764         (__ASSUME_EVENTFD2): Likewise.
8765         (__ASSUME_SIGNALFD4): Likewise.
8766         (__ASSUME_DUP3): Likewise.
8767         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8768         Likewise.
8769         (__ASSUME_UTIMES): Likewise.
8770         (__ASSUME_EVENTFD2): Likewise.
8771         (__ASSUME_SIGNALFD4): Likewise.
8772         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8773         (__ASSUME_O_CLOEXEC): Likewise.
8774         (__ASSUME_SOCK_CLOEXEC): Likewise.
8775         (__ASSUME_IN_NONBLOCK): Likewise.
8776         (__ASSUME_PIPE2): Likewise.
8777         (__ASSUME_EVENTFD2): Likewise.
8778         (__ASSUME_SIGNALFD4): Likewise.
8779         (__ASSUME_DUP3): Likewise.
8780         (__ASSUME_UTIMES): Undefine.
8782         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8783         feclearexcept.  Remove symbol versioning code.
8784         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
8785         symbol versioning code.
8786         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
8787         symbol versioning code.
8788         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8789         feupdateenv.  Remove symbol versioning code.
8790         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8791         fegetexceptflag.  Remove symbol versioning code.
8792         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8793         fesetexceptflag.  Remove symbol versioning code.
8794         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8795         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8796         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8797         (__posix_fadvise64_l32): Remove prototype.
8798         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8799         code.
8801 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8803         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8804         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8805         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8806         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8808 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8810         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8811         current working directory
8813 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8815         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8816         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8817         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8818         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8819         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8820         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8821         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8822         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8823         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8824         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8825         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8826         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8827         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8828         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8829         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8830         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8831         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8832         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8833         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8834         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8835         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8836         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8837         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8838         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8839         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8840         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8841         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8842         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8843         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8844         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8845         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8846         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8847         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8848         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8849         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8850         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8851         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8852         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8853         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8854         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8855         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8856         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8858         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8859         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8861         * sysdeps/unix/sysv/linux/arm/Makefile
8862         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8863         Add rt-aeabi_unwind_cpp_pr1.
8864         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8865         Add nptl-aeabi_unwind_cpp_pr1.
8866         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8867         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8868         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8869         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8870         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8871         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8873         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8874         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8875         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8876         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8878         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8879         Deconditionalize the code that was previously under [RESET_PID].
8880         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8882         * sysdeps/generic/exit-thread.h: New file.
8883         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8884         * include/unistd.h (__exit_thread): Remove declaration.
8885         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8886         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8887         * csu/libc-start.c: Include <exit-thread.h>.
8888         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8889         * nptl/pthread_create.c: Include <exit-thread.h>.
8890         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8891         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8892         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8893         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8894         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8895         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8896         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8897         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8898         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8899         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8900         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8901         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8902         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8903         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8904         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8905         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8906         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8908 2014-05-13  Andreas Schwab  <schwab@suse.de>
8910         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8912 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8914         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8915         (__ASSUME_UTIMES): Do not condition on kernel version.
8916         (__ASSUME_PSELECT): Define unconditionally.
8917         (__ASSUME_PPOLL): Likewise.
8918         (__ASSUME_ATFCTS): Likewise.
8919         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8920         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8921         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8922         (__ASSUME_UTIMENSAT): Define unconditionally.
8923         (__ASSUME_PRIVATE_FUTEX): Likewise.
8924         (__ASSUME_FALLOCATE): Likewise.
8925         (__ASSUME_O_CLOEXEC): Likewise.
8926         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8927         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8928         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8929         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8930         (__ASSUME_IN_NONBLOCK): Likewise.
8931         (__ASSUME_PIPE2): Likewise.
8932         (__ASSUME_EVENTFD2): Likewise.
8933         (__ASSUME_SIGNALFD4): Likewise.
8934         (__ASSUME_DUP3): Likewise.
8935         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8936         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8937         (__ASSUME_AT_RANDOM): Likewise.
8938         (__ASSUME_PREADV): Likewise.
8939         (__ASSUME_PWRITEV): Likewise.
8940         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8941         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8942         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8943         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8944         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8945         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8946         (__ASSUME_O_CLOEXEC): Define unconditionally.
8947         (__ASSUME_PSELECT): Do not undefine conditionally.
8948         (__ASSUME_PPOLL): Likewise.
8949         (__ASSUME_ATFCTS): Likewise.
8950         (__ASSUME_SET_ROBUST_LIST): Likewise.
8951         (__ASSUME_UTIMENSAT): Likewise.
8952         (__ASSUME_FDATASYNC): Define unconditionally.
8953         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8954         (__ASSUME_SIGFRAME_V2): Likewise.
8955         )__ASSUME_EVENTFD2): Likewise.
8956         (__ASSUME_SIGNALFD4): Likewise.
8957         (__ASSUME_PSELECT): Do not undefine conditionally.
8958         (__ASSUME_PPOLL): Likewise.
8959         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8960         (__ASSUME_PSELECT): Define unconditionally.
8961         (__ASSUME_PPOLL): Likewise.
8962         (__ASSUME_O_CLOEXEC): Likewise.
8963         (__ASSUME_SOCK_CLOEXEC): Likewise.
8964         (__ASSUME_IN_NONBLOCK): Likewise.
8965         (__ASSUME_PIPE2): Likewise.
8966         (__ASSUME_EVENTFD2): Likewise.
8967         (__ASSUME_SIGNALFD4): Likewise.
8968         (__ASSUME_DUP3): Likewise.
8969         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8970         (__ASSUME_O_CLOEXEC): Likewise.
8971         (__ASSUME_SOCK_CLOEXEC): Likewise.
8972         (__ASSUME_IN_NONBLOCK): Likewise.
8973         (__ASSUME_PIPE2): Likewise.
8974         (__ASSUME_EVENTFD2): Likewise.
8975         (__ASSUME_SIGNALFD4): Likewise.
8976         (__ASSUME_DUP3): Likewise.
8977         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8978         (__ASSUME_EVENTFD2): Likewise.
8979         (__ASSUME_SIGNALFD4): Likewise.
8980         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8982 2014-05-12  Andreas Schwab  <schwab@suse.de>
8984         [BZ #16932]
8985         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8986         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8987         than maximum RPC packet size.
8988         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8989         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8990         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8991         (_nss_nis_getservbyport_r): Likewise.
8993 2014-05-12  Will Newton  <will.newton@linaro.org>
8995         * malloc/Makefile (tests): Add tst-mallopt.
8996         * malloc/tst-mallopt.c: New file.
8998 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9000         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9001         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9003 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9005         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9006         (tst-tlsmod6.so): Likewise.
9008 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9010         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9012 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
9014         [BZ #16064]
9015         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9016         and <dl-procinfo.h>.
9017         (__fegetenv): Save SSE state in envp->__eip if supported.
9018         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9019         envp->__eip if supported.
9020         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9021         and <dl-procinfo.h>.
9022         (__fesetenv): Always set __eip, __cs_selector, __opcode,
9023         __data_offset and __data_selector in environment to 0.  Set SSE
9024         state if supported.
9025         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9026         test-fenv-sse.
9027         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9028         -mfpmath=sse.
9029         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9031 2014-05-09  Will Newton  <will.newton@linaro.org>
9033         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9034         and libc_relro_required for ARM.
9035         * sysdeps/arm/preconfigure: Regenerate.
9037 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9038             Stefan Liebler  <stli@linux.vnet.ibm.com>
9040         * config.make.in (enable-lock-elision): New Makefile variable.
9041         * configure.ac: Likewise.
9042         * configure: Regenerate.
9043         * sysdeps/s390/configure.ac:
9044         Add check for gcc transactions support.
9045         * sysdeps/s390/configure: Regenerate.
9046         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9047         Build elision files if enabled.
9048         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9049         Add lock elision support for s390.
9050         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9051         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9052         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9053         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9054         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9055         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9056         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9057         Likewise.
9058         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9059         Likewise.
9060         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9061         Likewise.
9062         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9063         Likewise.
9064         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9065         (__lll_timedlock_elision, __lll_lock_elision)
9066         (__lll_unlock_elision, __lll_trylock_elision)
9067         (lll_timedlock_elision, lll_lock_elision)
9068         (lll_unlock_elision, lll_trylock_elision): Add.
9069         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9070         (pthread_mutex_t): Add lock elision support for s390.
9072 2014-05-14  Wilco  <wdijkstr@arm.com>
9074         * sysdeps/arm/fclrexcpt.c: Cleanup.
9075         * sysdeps/arm/fedisblxcpt.c: Cleanup.
9076         * sysdeps/arm/feenablxcpt.c: Cleanup.
9077         * sysdeps/arm/fegetenv.c: Cleanup.
9078         * sysdeps/arm/fegetexcept.c: Cleanup.
9079         * sysdeps/arm/fegetround.c: Cleanup.
9080         * sysdeps/arm/feholdexcpt.c: Cleanup.
9081         * sysdeps/arm/fesetenv.c: Cleanup.
9082         * sysdeps/arm/fesetround.c: Cleanup.
9083         * sysdeps/arm/feupdateenv.c: Cleanup.
9084         * sysdeps/arm/fgetexcptflg.c: Cleanup.
9085         * sysdeps/arm/fraiseexcpt.c: Cleanup.
9086         * sysdeps/arm/fsetexcptflg.c: Cleanup.
9087         * sysdeps/arm/ftestexcept.c: Cleanup.
9088         * sysdeps/arm/get-rounding-mode.h: Cleanup.
9089         * sysdeps/arm/setfpucw.c: Cleanup.
9091 2014-05-09  Will Newton  <will.newton@linaro.org>
9093         * sysdeps/arm/armv7/strcmp.S: New file.
9094         * NEWS: Mention addition of ARMv7 optimized strcmp.
9096 2014-05-08  Roland McGrath  <roland@hack.frob.com>
9098         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9099         look for %.ac rather than %.in.
9101         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9102         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9103         * sysdeps/mach/hurd/configure: Regenerated.
9104         * sysdeps/unix/sysv/linux/configure: Regenerated.
9106         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9108 2014-05-07  Steve Ellcey  <sellcey@mips.com>
9110         [BZ# 16922]
9111         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9112         (LONG_SUB): Ditto.
9113         (PTR_SUB): Ditto.
9115 2014-05-07  Andreas Schwab  <schwab@suse.de>
9117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9118         when skipping over non-matching result from nscd.
9120 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
9122         [BZ #16876]
9123         * nptl/sockperf.c (client): Check socket return value.
9125         [BZ #16877]
9126         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9127         nscd security class.
9129 2014-05-06  Roland McGrath  <roland@hack.frob.com>
9131         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9132         * sysdeps/arm/unwind.h: ... here.
9134 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
9136         [BZ# 16916]
9137         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9138         Define.
9140 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9142         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9143         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9144         multiarch strncpy for PPC64.
9145         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9146         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9148         multiarch optimizations.
9149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9150         (__libc_ifunc_impl_list): Likewise.
9151         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9152         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9153         multiarch stpncpy for PPC64.
9154         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9155         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9157 2014-05-06  Andreas Schwab  <schwab@suse.de>
9159         [BZ #16912]
9160         * gmon/mcount.c (_MCOUNT_DECL): Use
9161         atomic_compare_and_exchange_bool_acq instead of
9162         catomic_compare_and_exchange_bool_acq.
9164 2014-05-05  Roland McGrath  <roland@hack.frob.com>
9166         * elf/Makefile (others, install-bin): Remove pldd.
9167         (pldd-modules): Variable removed.
9168         ($(objpfx)pldd): Target removed.
9169         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9170         (others, install-bin): Append pldd here.
9171         ($(objpfx)pldd): New target.
9173         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9174         to 0, so the first #if test emitted later doesn't see it undefined.
9175         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9176         * sysdeps/gnu/errlist.c: Regenerated.
9178 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9180         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9181         [libc_hidden_builtin_def]: Define to empty value.
9182         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9183         [libc_hidden_builtin_def]: Likewise.
9184         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9185         [libc_hidden_builtin_def]: Likewise.
9186         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9187         [libc_hidden_builtin_def]: Likewise.
9188         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9189         __redirect_memcpy and define ifunc as default hidden symbol.
9190         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9191         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9193 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9195         * locale/iso-4217.def: Reintroduce XDR currency.
9197 2014-05-04  Allan McRae  <allan@archlinux.org>
9199         * po/eo.po: Update Esperanto translation from translation project.
9201 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9203         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9204         and FEATURE_INDEX_MAX to 1.
9205         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9207 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9209         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9210         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9211         * iconvdata/big5.c (ONE_DIRECTION): Define.
9212         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9213         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9214         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9215         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9216         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9217         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9218         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9219         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9220         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9221         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9222         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9223         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9224         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9225         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9226         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9227         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9228         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9229         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9230         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9231         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9232         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9233         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9234         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9235         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9236         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9237         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9238         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9239         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9240         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9241         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9242         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9243         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9244         * iconvdata/johab.c (ONE_DIRECTION): Define.
9245         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9246         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9247         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9248         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9249         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9250         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9251         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9252         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9253         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9254         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9256 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9258         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9259         (_IO_JUMPS_OFFSET): Define to 0.
9261         * nptl/sysdeps/pthread/bits/libc-lock.h
9262         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9263         (__libc_lock_define_initialized_recursive): Always define using
9264         initializer.  Modern compilers treat uninitialized (implicit zero) and
9265         explicit zero initializers the same (i.e. put the datum in bss).
9267 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9269         * nscd/nscd-client.h: Include <string.h>.
9271 2014-05-01  David S. Miller  <davem@davemloft.net>
9273         [BZ #16885]
9274         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9275         multiple zero bytes exist at the end of a string.
9276         Reported by Aurelien Jarno <aurelien@aurel32.net>
9278         * string/test-strcmp.c (check): Add explicit test for situations where
9279         there are multiple zero bytes after the first.
9281 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9283         [BZ #16890]
9284         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9285         when compiling wprintf.
9286         * stdio-common/tstdiomisc.c (t3): New function.
9287         (main): Call it.
9289 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9291         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9292         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9293         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9294         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9296 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9298         * stdlib/longlong.h: Updated from GCC.
9300 2014-05-01  Will Newton  <will.newton@linaro.org>
9301             Bernard Ogden  <bernie.ogden@linaro.org>
9303         * NEWS: Update fixed bug list.
9305         [BZ #15119]
9306         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9308 2014-04-30  David S. Miller  <davem@davemloft.net>
9310         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9311         (libc_feholdexcept_setround_sparc_ctx): New function.
9312         (libc_fesetenv_sparc_ctx): Likewise.
9313         (libc_feupdateenv_sparc_ctx): Likewise.
9314         (libc_feholdsetround_sparc_ctx): Likewise.
9315         (libc_feholdexcept_setround_ctx): Define.
9316         (libc_feholdexcept_setroundf_ctx): Likewise.
9317         (libc_feholdexcept_setroundl_ctx): Likewise.
9318         (libc_fesetenv_ctx): Likewise.
9319         (libc_fesetenvf_ctx): Likewise.
9320         (libc_fesetenvl_ctx): Likewise.
9321         (libc_feupdateenv_ctx): Likewise.
9322         (libc_feupdateenvf_ctx): Likewise.
9323         (libc_feupdateenvl_ctx): Likewise.
9324         (libc_feresetround_ctx): Likewise.
9325         (libc_feresetroundf_ctx): Likewise.
9326         (libc_feresetroundl_ctx): Likewise.
9327         (libc_feholdsetround_ctx): Likewise.
9328         (libc_feholdsetroundf_ctx): Likewise.
9329         (libc_feholdsetroundl_ctx): Likewise.
9331         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9332         with __USE_GNU instead of XOPEN cpp guards.
9334         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9335         0.
9337         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9338         with XOPEN cpp guards.
9340 2014-04-30  Julian Brown  <julian@codesourcery.com>
9342         [BZ #16888]
9343         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9344         handling.
9346 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
9348         [BZ #9894]
9349         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9350         Change to 2.6.32.
9351         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9352         * sysdeps/unix/sysv/linux/configure: Regenerated.
9353         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9354         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9355         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9356         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9357         * README: Update reference to required Linux kernel version.
9358         * manual/install.texi (Linux): Update reference to required Linux
9359         kernel headers version.
9360         * INSTALL: Regenerated.
9362         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9363         header inclusion.
9364         [POSIX] (limits.h): Likewise.
9365         [POSIX] (math.h): Likewise.
9366         [POSIX] (sys/wait.h): Likewise.
9367         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9368         function.
9369         [POSIX] (stddef.h): Do not allow header inclusion.
9371 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9373         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9375 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
9377         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9378         Return immediately after lll_futex_wake.
9380 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9382         [BZ #16791]
9383         * nscd/nscd-client.h (datahead_init_common): Initialize entire
9384         structure.
9385         (datahead_init_pos): Call datahead_init_common early.
9386         (datahead_init_neg): Likewise.
9388         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9389         datahead_init_neg): New functions.
9390         * nscd/aicache.c (addhstaiX): Use them.
9391         * nscd/grpcache.c (cache_addgr): Likewise.
9392         * nscd/hstcache.c (cache_addhst): Likewise.
9393         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9394         * nscd/netgroupcache.c (do_notfound): Likewise.
9395         (addgetnetgrentX): Likewise.
9396         (addinnetgrX): Likewise.
9397         * nscd/pwdcache.c (cache_addpw): Likewise.
9398         * nscd/servicescache.c (cache_addserv): Likewise.
9400 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9401             Atsushi Onoe  <atsushi@onoe.org>
9403         [BZ #14308]
9404         [BZ #12994]
9405         [BZ #13651]
9406         * resolv/res_query.c (__libc_res_nsearch): Return if at least
9407         one response is valid.
9408         * resolv/res_send.c (send_dg): Check for validity of other
9409         response if the current response is a referral.
9411 2014-04-29  Steve Ellcey  <sellcey@mips.com>
9413         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9415 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
9417         [BZ #16823]
9418         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9419         Always divide by positive zero when computing -Inf result.
9420         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9421         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9423 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9425         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9426         FPSCR if value do not change.
9427         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9428         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9429         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9430         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9431         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9432         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9433         function.
9435 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
9437         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9438         * sysdeps/unix/sysv/linux/hppa: Move directory from
9439         ports/systeps/unix/sysv/linux/hppa.
9440         * README: Update listing for hppa-*-linux-gnu.
9442 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
9444         [BZ #16754]
9445         * manual/stdio.texi (Hook functions): Fix types of stream hook
9446         functions.
9447         [BZ #16854]
9448         * socket/sys/socket.h: Fix typo in comment.
9450 2014-04-28  Wilco  <wdijkstr@arm.com>
9452         * sysdeps/arm/fenv_private.h: New file.
9453         * sysdeps/arm/math_private.h: New file.
9454         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9456 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
9458         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9459         with __int128_t.
9460         (La_x86_64_retval): Likewise.
9462 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
9464         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9465         fpsr if value didn't change.
9466         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9467         to fpcr if value didn't change.
9468         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9469         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9470         fpsr or fpcr if value didn't change.
9471         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9472         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9473         fpcr if value didn't change.
9474         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9475         to fpsr if value didn't change.
9477 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9479         * nptl/tst-sem3.c: Use test-skeleton.c
9480         (main): Rename to do_test.  Use return instead of
9481         exit.
9482         * nptl/tst-sem4.c: Use test-skeleton.c
9483         (main): Rename to do_test.
9485 2014-04-22  David S. Miller  <davem@davemloft.net>
9487         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9488         (struct sigaction): New struct member __glibc_reserved0, change
9489         type of sa_flags to int.
9491 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
9493         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9494         (COUNT_LEADING_ZEROS_0): Define for AArch64.
9496 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9498         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9499         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9501 2014-04-22  Will Newton  <will.newton@linaro.org>
9502             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
9504         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9505         (__longjmp): Add longjmp and longjmp_target SystemTap
9506         probes.
9507         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9508         (__sigsetjmp): Add setjmp SystemTap probe.
9510 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
9512         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9513         match manual order.
9515 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9517         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9519         * sysdeps/powerpc/fpu/fenv_private.h
9520         (libc_feholdexcept_setroundl_ctx): Define to
9521         libc_feholdexcept_setround_ppc_ctx.
9522         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9523         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9524         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9525         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9527 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9529         * sysdeps/aarch64/math-tests.h: New file.
9531 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
9533         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9534         New.
9535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9536         Check and set bit_AVX2_Usable.
9537         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9538         macro.
9539         (bit_AVX2): Likewise.
9540         (index_AVX2_Usable): Likewise.
9541         (CPUID_AVX2): Likewise.
9542         (HAS_AVX2): Likewise.
9544 2014-04-17  Will Newton  <will.newton@linaro.org>
9546         * manual/setjmp.texi (System V contexts): Add note that
9547         calling setcontext on a context created by a call to a
9548         signal handler is undefined.  Update text to note that
9549         setcontext from a signal handler is possible but not
9550         recommended.
9552         [BZ #16629]
9553         * stdlib/tst-setcontext.c: Include signal.h.
9554         (main): Check that the signal stack before and
9555         after swapcontext is the same.
9557         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9558         Re-implement to restore registers in user code and avoid
9559         rt_sigreturn system call.
9561 2014-04-17  Wilco  <wdijkstr@arm.com>
9563         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9564         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9565         * math/test-fenv.c: Skip exception trap tests on targets which only
9566         support non-stop mode.
9568 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9569             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9571         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9572         (libc_feholdsetround_aarch64_ctx)
9573         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9574         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9575         (libc_feresetround_ctx, libc_feresetroundf_ctx)
9576         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9577         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9578         (libc_feresetround_noexl_ctx): Define.
9580 2014-04-16  Richard Henderson  <rth@redhat.com>
9582         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9584         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9585         unwind tables.
9587         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9588         const from the non-libc, non-ldso copy.
9590         * sysdeps/alpha/libm-test-ulps: Regenerate.
9592 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
9593             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9595         * sysdeps/aarch64/fpu/math_private.h: New file.
9597 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9599         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9601 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
9603         [BZ #16275]
9604         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9605         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9606         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9607         Intel MPX bound registers before _dl_profile_fixup.
9608         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9609         registers after _dl_profile_fixup.  Save and restore bound
9610         registers bnd0/bnd1 when calling _dl_call_pltexit.
9611         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9612         (LR_BND_OFFSET): Likewise.
9613         (LRV_BND0_OFFSET): Likewise.
9614         (LRV_BND1_OFFSET): Likewise.
9616 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9618         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9619         to...
9620         * sysdeps/mach/hurd/i386/tls.h: ... here.
9621         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9622         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9623         fields.
9625 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9627         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9629 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9631         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9633 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9635         [BZ #14770]
9636         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9637         * sysdeps/s390/configure: Regenerate.
9639         [BZ #16824]
9640         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9641         Set round-to-nearest internally to reduce error accumulation.
9643 2014-04-16  Alan Modra  <amodra@gmail.com>
9645         [BZ #16740]
9646         [BZ #16619]
9647         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9648         * math/libm-test.inc (frexp_test_data): Add tests.
9649         * NEWS: Update fixed bug list.
9651 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9653         * benchtests/Makefile: Depend on libraries in build directory.
9654         (bench-math): Separate out math tests.
9655         (bench-pthread): Separate out pthread tests.
9656         (bench): Include math and pthread tests.
9658 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
9660         [BZ #16831]
9661         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9662         _dl_debug_initialize.
9664         * configure.ac: Remove SELinux header check.
9665         * configure: Regenerate.
9666         * nscd/selinux.c (perms): Array of const char* to permission names.
9667         (nscd_request_avc_has_perm): Call security_deny_unknown to find
9668         default policy. Call string_to_security_class and string_to_av_perm to
9669         translate strings. Enforce default policy and call avs_has_perm with
9670         results of translated strings.
9672 2014-04-13  David S. Miller  <davem@davemloft.net>
9674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9676 2014-04-12  Allan McRae  <allan@archlinux.org>
9678         [BZ #16838]
9679         * manual/string.texi (Collation Functions): Fix qsort argument
9680         order in example.
9681         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9683 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
9685         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9686         Make the test a no-op if there are no exceptions defined.
9688 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9690         * elf/Makefile (tests): make tst-dlopen-aout conditional on
9691         enable-hardcoded-path-in-tests
9693 2014-04-11  Will Newton  <will.newton@linaro.org>
9695         * benchtests/Makefile (extra-objs): Add json-lib.o.
9696         (bench-func): Tidy up JSON output.
9697         * benchtests/bench-skeleton.c: Include json-lib.h.
9698         (main): Use JSON library functions to do output of
9699         benchmark results.
9700         * benchtests/bench-timing-type.c (main): Output the
9701         timing type simply, leaving formatting to the user.
9702         * benchtests/json-lib.c: New file.
9703         * benchtests/json-lib.h: Likewise.
9705 2014-04-11  Torvald Riegel  <triegel@redhat.com>
9707         [BZ #15215]
9708         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9709         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
9710         memory barriers.  Add comments.
9711         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9712         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9713         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9714         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9715         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9716         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9718 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9720         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9721         * sysdeps/s390/s390-64/configure.ac: ... this ...
9722         * sysdeps/s390/configure.ac: ... to here.
9723         * sysdeps/s390/s390-32/configure: Delete file.
9724         * sysdeps/s390/s390-64/configure: Delete file.
9725         * sysdeps/s390/configure: Regenerate.
9727 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
9729         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9731 2014-04-11  Will Newton  <will.newton@linaro.org>
9733         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9734         to zero if it is not defined elsewhere.  (mtrim): Test
9735         the value of MALLOC_DEBUG with #if rather than #ifdef.
9737 2014-04-10 Torvald Riegel  <triegel@redhat.com>
9739         * benchtests/pthread_once-inputs: New file.
9740         * benchtests/pthread_once-source.c: New file.
9741         * benchtests/README: Update documentation.
9743 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9744             H.J. Lu  <hongjiu.lu@intel.com>
9746         [BZ #16275]
9747         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9748         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9749         * sysdeps/x86_64/configure: Regenerated.
9750         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9751         macro.
9752         (REGISTER_SAVE_RAX): Likewise.
9753         (REGISTER_SAVE_RCX): Likewise.
9754         (REGISTER_SAVE_RDX): Likewise.
9755         (REGISTER_SAVE_RSI): Likewise.
9756         (REGISTER_SAVE_RDI): Likewise.
9757         (REGISTER_SAVE_R8): Likewise.
9758         (REGISTER_SAVE_R9): Likewise.
9759         (REGISTER_SAVE_BND0): Likewise.
9760         (REGISTER_SAVE_BND1): Likewise.
9761         (REGISTER_SAVE_BND2): Likewise.
9762         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
9763         bound registers when calling _dl_fixup.
9765 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9767         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9768         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9769         of its definition.
9770         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9771         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9772         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9773         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9774         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9775         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9776         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9778 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
9780         [BZ #15514]
9781         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9782         pathconf(_PC_NAME_MAX).
9784 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9786         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9787         Remove macro usage.
9788         (__PTHREAD_SPINS): Move definition to ...
9789         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9790         (__PTHREAD_SPINS): ... here.
9791         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9792         (__PTHREAD_SPIN): Likewise.
9793         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9794         (__PTHREAD_SPIN): Likewise.
9795         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9796         (__PTHREAD_SPIN): Likewise.
9797         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9798         (__PTHREAD_SPIN): Likewise.
9799         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9800         (__PTHREAD_SPIN): Likewise.
9801         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9802         (__PTHREAD_SPIN): Likewise.
9803         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9804         (__PTHREAD_SPIN): Likewise.
9805         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9806         (__PTHREAD_SPIN): Likewise.
9807         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9808         (__PTHREAD_SPIN): Likewise.
9809         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9810         (__PTHREAD_SPIN): Likewise.
9811         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9812         (__PTHREAD_SPIN): Likewise.
9813         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9814         (__PTHREAD_SPIN): Likewise.
9816         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9817         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9818         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9819         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9820         imply folder.
9821         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9822         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9823         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9824         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9825         correct imply path.
9826         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9827         strlen symbol for non multi-arch builds.
9828         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9829         missing hidden_def and weak_alias.
9831 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9833         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9835 2014-04-07  Will Newton  <will.newton@linaro.org>
9837         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9838         and contents.  [!_LIBC] Remove #ifndef and contents.
9839         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9840         * string/memccpy.c (__memccpy): Use ANSI prototype.
9841         * string/memfrob.c (memfrob): Likewise.
9842         * string/strcoll.c (STRCOLL): Likewise.
9843         * string/strlen.c (strlen): Likewise.
9844         * string/strtok.c (STRTOK): Likewise.
9845         * string/strcat.c: Remove unused #include of memcopy.h.
9846         (strcat): Use ANSI prototype.
9847         * string/strchr.c: Remove unused #include of memcopy.h.
9848         (strchr): Use ANSI prototype.
9849         * string/strcmp.c: Remove unused #include of memcopy.h.
9850         (strcmp): Use ANSI prototype.
9851         * string/strcpy.c: Remove unused #include of memcopy.h.
9852         (strcpy): Use ANSI prototype.
9854 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9856         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9857         * config.make.in (config-extra-cppflags): Set it from
9858         libc_extra_cppflags.
9859         * configure.ac (libc_extra_cflags): Make it accumulate over
9860         configure fragments.
9861         (libc_extra_cppflags): New flag.
9862         * configure. Regenerate.
9863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9864         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9865         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9868         [BZ #16815]
9869         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9870         result for FE_DOWNWARD rounding mode.
9871         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9872         Likewise.
9873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9875 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9877         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9878         in function argument name.
9880 2014-04-03  David Svoboda  <svoboda@cert.org>
9882         [BZ #5666]
9883         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9884         explicitly.
9886 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9888         * elf/dl-unmap-segments.h: New file.
9889         * sysdeps/generic/ldsodefs.h
9890         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9891         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9892         * elf/dl-fptr.c: Likewise.
9893         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9894         * sysdeps/aarch64/tlsdesc.c: Likewise.
9895         * sysdeps/arm/tlsdesc.c: Likewise.
9896         * sysdeps/i386/tlsdesc.c: Likewise.
9897         * sysdeps/tile/dl-runtime.c: Likewise.
9898         * sysdeps/x86_64/tlsdesc.c: Likewise.
9899         * elf/dl-load.h: New file.
9900         * elf/dl-load.c: Include it.
9901         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9902         Macros moved to dl-load.h.
9903         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9904         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9905         Use _dl_unmap_segments in place of __munmap.
9906         Break out segment-mapping loop into ...
9907         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9909 2014-04-03  Will Newton  <will.newton@linaro.org>
9911         * elf/dl-lookup.c (do_lookup_x): Remove comment
9912         referring to nested function and move variable
9913         declarations down to before first use.
9915 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9917         [BZ #16799]
9918         [BZ #16800]
9919         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9920         with 0 numerator.
9921         * math/s_catanf.c (__catanf): Likewise.
9922         * math/s_catanh.c (__catanh): Likewise.
9923         * math/s_catanhf.c (__catanhf): Likewise.
9924         * math/s_catanhl.c (__catanhl): Likewise.
9925         * math/s_catanl.c (__catanl): Likewise.
9926         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9927         by positive zero when computing -Inf result.
9928         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9929         (catanh_test): Likewise.
9930         * sysdeps/i386/fpu/libm-test-ulps: Update.
9931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9933         [BZ #16789]
9934         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9935         instead of using underflowing value in computing result.
9936         * math/s_clog10.c (__clog10): Likewise.
9937         * math/s_clog10f.c (__clog10f): Likewise.
9938         * math/s_clog10l.c (__clog10l): Likewise.
9939         * math/s_clogf.c (__clogf): Likewise.
9940         * math/s_clogl.c (__clogl): Likewise.
9941         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9942         (clog10_test): Likewise.
9943         * sysdeps/i386/fpu/libm-test-ulps: Update.
9944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9946 2014-04-02  Alan Modra  <amodra@gmail.com>
9948         [BZ #16739]
9949         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9950         output when value is near a power of two.  Use int64_t for lx and
9951         remove casts.  Use decimal rather than hex exponent constants.
9952         Don't use long double multiplication when double will suffice.
9953         * math/libm-test.inc (nextafter_test_data): Add tests.
9954         * NEWS: Add 16739 and 16786 to bug list.
9956         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9958         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9960 2014-04-01  Will Newton  <will.newton@linaro.org>
9962         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9963         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9965 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9967         [BZ #13347]
9968         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9969         * nptl/tst-setuid2.c: New file.
9970         * nptl/Makefile (xtests): Add tst-setuid2.
9972 2014-04-01  Alan Modra  <amodra@gmail.com>
9974         [BZ #16786]
9975         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9977 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9979         [BZ #6803]
9980         [BZ #6804]
9981         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9982         set errno as appropriate.
9983         * math/w_scalbf.c (__scalbf): Likewise.
9984         * math/w_scalbl.c (__scalbl): Likewise.
9985         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9986         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9987         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9988         Add more NaN tests.
9990         [BZ #16349]
9991         * math/w_atan2.c: Include <errno.h>.
9992         (__atan2): Set errno for result underflowing to zero.
9993         * math/w_atan2f.c: Include <errno.h>.
9994         (__atan2f): Set errno for result underflowing to zero.
9995         * math/w_atan2l.c: Include <errno.h>.
9996         (__atan2l): Set errno for result underflowing to zero.
9997         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9998         tests.
9999         * math/auto-libm-test-out: Regenerated.
10001 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10003         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10004         Encode instruction correctly in little endian.
10005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10006         Likewise.
10007         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10008         Likewise.
10009         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10010         Likewise.
10011         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10012         Likewise.
10014 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10016         [BZ #9894]
10017         * sysdeps/unix/sysv/linux/kernel-features.h
10018         [__sparc__ && !__arch64__ && !__sparc_v9__]
10019         (__ASSUME_SET_ROBUST_LIST): Do not define.
10020         [__sparc__ && !__arch64__ && !__sparc_v9__]
10021         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10022         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10023         Likewise.
10024         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10025         (__ASSUME_FUTEX_LOCK_PI): Undefine.
10026         (__ASSUME_REQUEUE_PI): Likewise.
10027         (__ASSUME_SET_ROBUST_LIST): Likewise.
10028         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10029         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10030         Undefine.
10031         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10032         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10033         Likewise.
10034         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10035         Likewise.
10036         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10037         Likewise.
10038         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10039         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10040         Undefine.
10041         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10042         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10043         Likewise.
10045         [BZ #16648]
10046         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10047         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10048         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10050 2014-03-31  Will Newton  <will.newton@linaro.org>
10052         * benchtests/Makefile (bench): Add ffs and ffsll to list
10053         of tests.
10054         * benchtests/ffs-inputs: New file.
10055         * benchtests/ffsll-inputs: Likewise.
10057 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
10059         [BZ #16770]
10060         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10061         too large before casting to int.
10062         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10063         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10064         * math/libm-test.inc (scalb_test_data): Add more tests.
10066 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10068         * benchtests/Makefile (DETAILED_OPT): New make option.
10069         (bench-func): Run benchmark program with -d if DETAILED_OPT is
10070         set.
10071         * benchtests/bench-skeleton.c: Include stdbool.h.
10072         (main): Store and print timings per input.
10073         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10074         member to each argument value.
10075         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10076         (_print_arg_data): Initialize per-input timing to 0.
10078         * benchtests/Makefile (timing-type): New binary.
10079         (bench-clean): Also remove bench-timing-type.
10080         (bench): New target for timing-type.
10081         (bench-func): Print output in JSON format.
10082         * benchtests/bench-skeleton.c (main): Print output in JSON
10083         format.
10084         * benchtests/bench-timing-type.c: New file.
10085         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10086         (TIMING_PRINT_STATS): Remove.
10087         * benchtests/scripts/bench.py (_print_arg_data): Store variant
10088         name separately.
10090         * benchtests/bench-modf.c: Remove.
10091         * benchtests/modf-inputs: New inputs file.
10093 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
10095         [BZ #16362]
10096         * math/s_clog10.c (M_PI_LOG10E): New macro.
10097         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10098         imaginary parts are 0.
10099         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10100         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10101         imaginary parts are 0.
10102         * math/s_clog10l.c (M_PI_LOG10El): New macro.
10103         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10104         imaginary parts are 0.
10105         * math/libm-test.inc (clog10_test_data): Update expected results
10106         for when real and imaginary parts are 0.
10108 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10110         * elf/dl-load.c: Finish conversion of __builtin_expect into
10111         __glibc_{un}likely.
10113 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
10115         [BZ #16348]
10116         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10117         1+x for argument with exponent below -67.
10118         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10119         Likewise.
10120         * math/auto-libm-test-in: Add more tests of exp.
10121         * math/auto-libm-test-out: Regenerated.
10123 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10125         [BZ #16759]
10126         * inet/getnetgrent_r.c (get_nonempty_val): New function.
10127         (nscd_getnetgrent): Use it.
10129         [BZ #16760]
10130         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10131         of stpcpy.
10133 2014-03-27  Andi Kleen  <ak@linux.intel.com>
10135         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10136         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10137         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10138         (lll_robust_unlock): Remove out of line section. Use cfi
10139         intrinsics.
10140         (LLL_STUB_UNWIND_INFO*): Remove.
10141         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10142         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10143         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10144         (lll_robust_unlock): Remove out of line section. Use cfi
10145         intrinsics.
10146         (LLL_STUB_UNWIND_INFO*): Remove.
10148 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10150         [BZ #16758]
10151         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10152         blank values.
10154 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10156         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10158 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
10160         [BZ #16198]
10161         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10162         fnstenv.
10163         * math/test-fenv-preserve.c: New file.
10164         * math/Makefile (tests): Add test-fenv-preserve.
10166 2014-03-26  Will Newton <will.newton@linaro.org>
10168         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10170 2014-03-25  Roland McGrath  <roland@hack.frob.com>
10172         * scripts/versionlist.awk: Partition the version sets and emit all
10173         GLIBC_* (sorted) before all others (sorted).
10175 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10177         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10178         GLIBC_2.2.5 version.
10180 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10182         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10183         calls.
10185         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10186         previous change.
10188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10190 2014-03-25  Andreas Schwab  <schwab@suse.de>
10192         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10193         label to be used after in6ailist is initialized.
10195 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10197         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10198         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10200 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10202         [BZ #16357]
10203         [BZ #16599]
10204         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10205         min_plus_half.
10206         (fp_formats): Update initializers.
10207         (init_fp_formats): Initialize new field.
10208         (output_for_one_input_case): Allow underflow for results up to
10209         min_plus_half.
10210         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10211         * math/auto-libm-test-in: Don't mark some underflows from asin and
10212         atanh as spurious.
10213         * math/auto-libm-test-out: Regenerated.
10214         * sysdeps/i386/fpu/libm-test-ulps: Update.
10215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10217 2014-03-25  Andreas Schwab  <schwab@suse.de>
10219         * libio/Makefile (tst-ftell-partial-wide-ENV)
10220         (tst-ftell-active-handler-ENV): Define.
10222 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10224         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10226 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10228         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10230 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10232         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10233         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10234         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10236 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10238         [BZ #16634]
10239         * elf/dl-load.c (open_verify): Add mode parameter.
10240         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10241         (open_path): Change from boolean 'secure' to complete flag 'mode'
10242         (_dl_map_object): Adjust.
10243         * elf/Makefile (tests): Add tst-dlopen-aout.
10244         * elf/tst-dlopen-aout.c: New test.
10246 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10248         [BZ #16714]
10249         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10250         (struct stat): Rename member pad0 to __glibc_reserved0.
10252         [BZ #16712]
10253         * sysdeps/s390/s390-32/bits/wordsize.h
10254         (__WORDSIZE32_SIZE_ULONG): New define.
10255         * sysdeps/s390/s390-64/bits/wordsize.h
10256         (__WORDSIZE32_SIZE_ULONG): Likewise.
10257         * sysdeps/generic/stdint.h (SIZE_MAX):
10258         Define as UL if __WORDSIZE32_SIZE_ULONG.
10260         [BZ #16713]
10261         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10262         (__glibc_reserved0): New variable.
10263         (sa_flags): Change type to int.
10265         * posix/Makefile (before-compile): Use += before-compile instead
10266         of a :=.
10268         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10269         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10271 2014-03-20  Andreas Schwab  <schwab@suse.de>
10273         [BZ #16743]
10274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10275         non-matching result from nscd.
10277 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10279         * scripts/bench.py: Moved to ...
10280         * benchtests/scripts/bench.py: ... here.
10281         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10283 2014-03-24  Andreas Schwab  <schwab@suse.de>
10285         [BZ #16002]
10286         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10287         alloca_account and account alloca use for struct in6ailist.
10289 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10291         [BZ #16284]
10292         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10293         rounding mode to recompute results that overflow to infinity or
10294         underflow to zero.
10295         * math/auto-libm-test-in: Don't mark tests as expected to fail for
10296         bug 16284.
10297         * math/auto-libm-test-out: Regenerated.
10298         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10299         (ccosh_test): Likewise.
10300         (csin_test_data): Use plus_oflow.
10301         (csin_test): Use ALL_RM_TEST.
10302         (csinh_test_data): Use plus_oflow.
10303         (csinh_test): Use ALL_RM_TEST.
10304         * sysdeps/i386/fpu/libm-test-ulps: Update.
10305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10307 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
10309         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10310         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10311         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10313         [BZ #16731]
10314         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10315         when x - 1 is zero.
10316         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10317         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10318         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10319         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10320         argument is 1.
10321         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10322         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10323         zero.
10324         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10325         * sysdeps/i386/fpu/libm-test-ulps: Update.
10326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10328 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10330         * scripts/bench.pl: Remove file.
10331         * scripts/bench.py: New benchmark script.
10332         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10333         * benchtests/README: Mention python dependency.
10334         * scripts/pylintrc: New file.
10335         * scripts/pylint: New file.
10337         * bits/mathdef.h: Use #ifdef instead of #if.
10338         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10339         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10340         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10341         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10342         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10343         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10345 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10346             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10348         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10350         and strpbrk-ppc64 objects.
10351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10352         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10353         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10354         multiarch strpbrk for POWER7.
10355         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10356         multiarch strpbrk for PPC64.
10357         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10358         ifunc selector.
10359         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10360         strpbrk for POWER7.
10362 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10364         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10365         (atan_test): Likewise.
10366         (atanh_test_data): Use NO_TEST_INLINE for two tests.
10367         (atanh_test): Use ALL_RM_TEST.
10368         (atan2_test_data): Likewise.
10369         (cabs_test): Likewise.
10370         (cacosh_test): Likewise.
10371         (carg_test): Likewise.
10372         (casin_test): Likewise.
10373         (casinh_test): Likewise.
10374         (cbrt_test): Likewise.
10375         (csqrt_test): Likewise.
10376         (erf_test): Likewise.
10377         (erfc_test): Likewise.
10378         (pow10_test): Likewise.
10379         (exp2_test): Likewise.
10380         (hypot_test): Likewise.
10381         (j0_test): Likewise.
10382         (j1_test): Likewise.
10383         (lgamma_test): Likewise.
10384         (gamma_test): Likewise.
10385         (sincos_test): Likewise.
10386         (tanh_test): Likewise.
10387         (y0_test): Likewise.
10388         (y1_test): Likewise.
10389         * sysdeps/i386/fpu/libm-test-ulps: Update.
10390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10392 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10394         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10396         and strcspn-ppc64 objects.
10397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10398         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10399         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10400         multiarch strcspn for POWER7.
10401         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10402         multiarch strcspn for PPC64.
10403         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10404         ifunc selector.
10405         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10406         strcspn for POWER7.
10408 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10410         * math/gen-libm-test.pl (generate_testfile): Expect only function
10411         name as argument to AUTO_TESTS_* and pass results for all rounding
10412         modes to parse_args.
10413         (parse_auto_input): Separate inputs of automatic tests from
10414         outputs before storing in %auto_tests.
10415         * math/libm-test.inc (acos_test_data): Update call to
10416         AUTO_TESTS_f_f.
10417         (acos_test): Use ALL_RM_TEST.
10418         (acos_tonearest_test_data): Remove.
10419         (acos_test_tonearest): Likewise.
10420         (acos_towardzero_test_data): Likewise.
10421         (acos_test_towardzero): Likewise.
10422         (acos_downward_test_data): Likewise.
10423         (acos_test_downward): Likewise.
10424         (acos_upward_test_data): Likewise.
10425         (acos_test_upward): Likewise.
10426         (acosh_test_data): Update call to AUTO_TESTS_f_f.
10427         (asin_test_data): Likewise.
10428         (asin_test): Use ALL_RM_TEST.
10429         (asin_tonearest_test_data): Remove.
10430         (asin_test_tonearest): Likewise.
10431         (asin_towardzero_test_data): Likewise.
10432         (asin_test_towardzero): Likewise.
10433         (asin_downward_test_data): Likewise.
10434         (asin_test_downward): Likewise.
10435         (asin_upward_test_data): Likewise.
10436         (asin_test_upward): Likewise.
10437         (asinh_test_data): Update call to AUTO_TESTS_f_f.
10438         (atan_test_data): Likewise.
10439         (atanh_test_data): Likewise.
10440         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10441         (cabs_test_data): Update call to AUTO_TESTS_c_f.
10442         (carg_test_data): Likewise.
10443         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10444         (ccos_test_data): Update call to AUTO_TESTS_c_c.
10445         (ccosh_test_data): Likewise.
10446         (cexp_test_data): Likewise.
10447         (clog_test_data): Likewise.
10448         (clog10_test_data): Likewise.
10449         (cos_test_data): Update call to AUTO_TESTS_f_f.
10450         (cos_test): Use ALL_RM_TEST.
10451         (cos_tonearest_test_data): Remove.
10452         (cos_test_tonearest): Likewise.
10453         (cos_towardzero_test_data): Likewise.
10454         (cos_test_towardzero): Likewise.
10455         (cos_downward_test_data): Likewise.
10456         (cos_test_downward): Likewise.
10457         (cos_upward_test_data): Likewise.
10458         (cos_test_upward): Likewise.
10459         (cosh_test_data): Update call to AUTO_TESTS_f_f.
10460         (cosh_test): Use ALL_RM_TEST.
10461         (cosh_tonearest_test_data): Remove.
10462         (cosh_test_tonearest): Likewise.
10463         (cosh_towardzero_test_data): Likewise.
10464         (cosh_test_towardzero): Likewise.
10465         (cosh_downward_test_data): Likewise.
10466         (cosh_test_downward): Likewise.
10467         (cosh_upward_test_data): Likewise.
10468         (cosh_test_upward): Likewise.
10469         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10470         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10471         (ctan_test_data): Likewise.
10472         (ctan_test): Use ALL_RM_TEST.
10473         (ctan_tonearest_test_data): Remove.
10474         (ctan_test_tonearest): Likewise.
10475         (ctan_towardzero_test_data): Likewise.
10476         (ctan_test_towardzero): Likewise.
10477         (ctan_downward_test_data): Likewise.
10478         (ctan_test_downward): Likewise.
10479         (ctan_upward_test_data): Likewise.
10480         (ctan_test_upward): Likewise.
10481         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10482         (ctanh_test): Use ALL_RM_TEST.
10483         (ctanh_tonearest_test_data): Remove.
10484         (ctanh_test_tonearest): Likewise.
10485         (ctanh_towardzero_test_data): Likewise.
10486         (ctanh_test_towardzero): Likewise.
10487         (ctanh_downward_test_data): Likewise.
10488         (ctanh_test_downward): Likewise.
10489         (ctanh_upward_test_data): Likewise.
10490         (ctanh_test_upward): Likewise.
10491         (erf_test_data): Update call to AUTO_TESTS_f_f.
10492         (erfc_test_data): Likewise.
10493         (exp_test_data): Likewise.
10494         (exp_test): Use ALL_RM_TEST.
10495         (exp_tonearest_test_data): Remove.
10496         (exp_test_tonearest): Likewise.
10497         (exp_towardzero_test_data): Likewise.
10498         (exp_test_towardzero): Likewise.
10499         (exp_downward_test_data): Likewise.
10500         (exp_test_downward): Likewise.
10501         (exp_upward_test_data): Likewise.
10502         (exp_test_upward): Likewise.
10503         (exp10_test_data): Update call to AUTO_TESTS_f_f.
10504         (exp10_test): Use ALL_RM_TEST.
10505         (exp10_tonearest_test_data): Remove.
10506         (exp10_test_tonearest): Likewise.
10507         (exp10_towardzero_test_data): Likewise.
10508         (exp10_test_towardzero): Likewise.
10509         (exp10_downward_test_data): Likewise.
10510         (exp10_test_downward): Likewise.
10511         (exp10_upward_test_data): Likewise.
10512         (exp10_test_upward): Likewise.
10513         (exp2_test_data): Update call to AUTO_TESTS_f_f.
10514         (expm1_test_data): Likewise.
10515         (expm1_test): Use ALL_RM_TEST.
10516         (expm1_tonearest_test_data): Remove.
10517         (expm1_test_tonearest): Likewise.
10518         (expm1_towardzero_test_data): Likewise.
10519         (expm1_test_towardzero): Likewise.
10520         (expm1_downward_test_data): Likewise.
10521         (expm1_test_downward): Likewise.
10522         (expm1_upward_test_data): Likewise.
10523         (expm1_test_upward): Likewise.
10524         (fma_test_data): Update call to AUTO_TESTS_fff_f.
10525         (fma_test): Use ALL_RM_TEST.
10526         (fma_towardzero_test_data): Remove.
10527         (fma_test_towardzero): Likewise.
10528         (fma_downward_test_data): Likewise.
10529         (fma_test_downward): Likewise.
10530         (fma_upward_test_data): Likewise.
10531         (fma_test_upward): Likewise.
10532         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10533         (j0_test_data): Update call to AUTO_TESTS_f_f.
10534         (j1_test_data): Likewise.
10535         (jn_test_data): Update call to AUTO_TESTS_if_f.
10536         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10537         (log_test_data): Update call to AUTO_TESTS_f_f.
10538         (log10_test_data): Likewise.
10539         (log1p_test_data): Likewise.
10540         (log2_test_data): Likewise.
10541         (pow_test_data): Update call to AUTO_TESTS_ff_f.
10542         (pow_tonearest_test_data): Likewise.
10543         (sin_test_data): Update call to AUTO_TESTS_f_f.
10544         (sin_test): Use ALL_RM_TEST.
10545         (sin_tonearest_test_data): Remove.
10546         (sin_test_tonearest): Likewise.
10547         (sin_towardzero_test_data): Likewise.
10548         (sin_test_towardzero): Likewise.
10549         (sin_downward_test_data): Likewise.
10550         (sin_test_downward): Likewise.
10551         (sin_upward_test_data): Likewise.
10552         (sin_test_upward): Likewise.
10553         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10554         (sinh_test_data): Update call to AUTO_TESTS_f_f.
10555         (sinh_test): Use ALL_RM_TEST.
10556         (sinh_tonearest_test_data): Remove.
10557         (sinh_test_tonearest): Likewise.
10558         (sinh_towardzero_test_data): Likewise.
10559         (sinh_test_towardzero): Likewise.
10560         (sinh_downward_test_data): Likewise.
10561         (sinh_test_downward): Likewise.
10562         (sinh_upward_test_data): Likewise.
10563         (sinh_test_upward): Likewise.
10564         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10565         (sqrt_test): Use ALL_RM_TEST.
10566         (sqrt_tonearest_test_data): Remove.
10567         (sqrt_test_tonearest): Likewise.
10568         (sqrt_towardzero_test_data): Likewise.
10569         (sqrt_test_towardzero): Likewise.
10570         (sqrt_downward_test_data): Likewise.
10571         (sqrt_test_downward): Likewise.
10572         (sqrt_upward_test_data): Likewise.
10573         (sqrt_test_upward): Likewise.
10574         (tan_test_data): Update call to AUTO_TESTS_f_f.
10575         (tan_test): Use ALL_RM_TEST.
10576         (tan_tonearest_test_data): Remove.
10577         (tan_test_tonearest): Likewise.
10578         (tan_towardzero_test_data): Likewise.
10579         (tan_test_towardzero): Likewise.
10580         (tan_downward_test_data): Likewise.
10581         (tan_test_downward): Likewise.
10582         (tan_upward_test_data): Likewise.
10583         (tan_test_upward): Likewise.
10584         (tanh_test_data): Update call to AUTO_TESTS_f_f.
10585         (tgamma_test_data): Likewise.
10586         (y0_test_data): Likewise.
10587         (y1_test_data): Likewise.
10588         (yn_test_data): Update call to AUTO_TESTS_if_f.
10589         (main): Do not call removed functions.
10591 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10593         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10594         (ldexp_test_data): Remove.
10595         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
10596         scalbn_test_data.
10597         (scalb_test): Use ALL_RM_TEST.
10599 2014-03-19  Andreas Schwab  <schwab@suse.de>
10601         * nscd/nscd.service: Also invalidate netgroup cache on reload.
10603 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10605         [BZ #16649]
10606         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10607         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10608         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10610         (__ASSUME_PREADV): Undefine.
10611         (__ASSUME_PWRITEV): Likewise.
10613 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10615         * bits/mman-linux.h: Add comment about non-Linux use.
10616         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10617         bits/mman-linux.h resting place.
10619         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10620         * bits/mman-linux.h: ... here.
10622 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10624         * conform/conformtest.pl: Add standard definition when calling C
10625         preprocessor on data files.
10626         (checknamespace): Remove unused variable.
10628 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10630         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10631         minus_oflow, plus_uflow and minus_uflow in expected results.
10632         * math/libm-test.inc (scalbn_test_data): Add more tests of
10633         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
10634         minus_uflow.
10635         (scalbn_test): Use ALL_RM_TEST.
10636         (scalbln_test_data): Add more tests of negative arguments.  Use
10637         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10638         (scalbln_test): Use ALL_RM_TEST.
10640 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10642         * scripts/abilist.awk: Ignore symbols marked with .hidden.
10644 2014-03-18  Will Newton  <will.newton@linaro.org>
10646         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10647         inaccurate comment.
10649 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10651         * Makerules [!subdir] (check-abi): Exit with error status if a
10652         test failed.
10654 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10656         * math/libm-test.inc (nearbyint_test_data): Include all tests used
10657         for rint.  Include results for all rounding modes.
10658         (nearbyint_test): Use ALL_RM_TEST.
10659         (rint_test_data): Include all tests used for nearbyint.
10661 2014-03-17  Will Newton  <will.newton@linaro.org>
10663         * nptl/sysdeps/pthread/pthread.h: Revert previous
10664         change.
10666         * sysdeps/generic/ldsodefs.h: Revert previous
10667         change.
10669         * libio/genops.c: Revert previous change.
10670         * libio/libioP.h: Likewise.
10671         * stdio-common/vfprintf.c: Likewise.
10673         * sysdeps/generic/math_private.h: Revert previous
10674         change.
10676         * sysdeps/generic/math_private.h: Check whether
10677         HAVE_RM_CTX is defined with #ifdef rather
10678         than #if.
10680         * argp/argp-fmtstream.h: Check whether
10681         __STRICT_ANSI__ is defined with #ifdef rather
10682         than #if.
10683         * argp/argp.h: Likewise.
10685         * libio/genops.c: Check whether
10686         _IO_JUMPS_OFFSET is defined with #ifdef rather
10687         than #if.
10688         * libio/libioP.h: Likewise.
10689         * stdio-common/vfprintf.c: Likewise.
10691         * sysdeps/generic/ldsodefs.h: Check whether
10692         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10693         than #if.
10695         * nptl/sysdeps/pthread/pthread.h: Check
10696         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10697         its value.
10699 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10701         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10702         setting O_APPEND.
10703         * libio/tst-ftell-active-handler.c (do_append_test): Add a
10704         test case.
10706         [BZ #16680]
10707         * libio/fileops.c (_IO_file_open): Seek to end of file but
10708         don't cache the offset.
10709         (get_file_offset): Remove function.
10710         (do_ftell): Use cached offset when available.
10711         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10712         don't cache the offset.
10713         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10714         case.
10715         (do_one_test): Call it.
10716         (do_ftell_test): Fix up expected old offset for a+ mode.
10717         * libio/wfileops.c (do_ftell_wide): Used cached offset when
10718         available.
10720         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10721         up test status with function return status.
10722         (do_write_test): Likewise.
10723         (do_append_test): Likewise.
10725         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10726         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10727         Remove.
10729 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10731         * math/gen-libm-test.pl (parse_args): Handle results specified for
10732         each rounding mode separately.
10733         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10734         tests and results from lrint_tonearest_test_data,
10735         lrint_towardzero_test_data, lrint_downward_test_data and
10736         lrint_upward_test_data.
10737         (lrint_test): Use ALL_RM_TEST.
10738         (lrint_tonearest_test_data): Remove.
10739         (lrint_test_tonearest): Likewise.
10740         (lrint_towardzero_test_data): Likewise.
10741         (lrint_test_towardzero): Likewise.
10742         (lrint_downward_test_data): Likewise.
10743         (lrint_test_downward): Likewise.
10744         (lrint_upward_test_data): Likewise.
10745         (lrint_test_upward): Likewise.
10746         (llrint_test_data): Merge in per-rounding-mode tests and results
10747         from llrint_tonearest_test_data, llrint_towardzero_test_data,
10748         llrint_downward_test_data and llrint_upward_test_data.
10749         (llrint_test): Use ALL_RM_TEST.
10750         (llrint_tonearest_test_data): Remove.
10751         (llrint_test_tonearest): Likewise.
10752         (llrint_towardzero_test_data): Likewise.
10753         (llrint_test_towardzero): Likewise.
10754         (llrint_downward_test_data): Likewise.
10755         (llrint_test_downward): Likewise.
10756         (llrint_upward_test_data): Likewise.
10757         (llrint_test_upward): Likewise.
10758         (rint_test_data): Merge in per-rounding-mode tests and results
10759         from rint_tonearest_test_data, rint_towardzero_test_data,
10760         rint_downward_test_data and rint_upward_test_data.  Add
10761         per-rounding-mode results for tests not in those arrays.
10762         (rint_test): Use ALL_RM_TEST.
10763         (rint_tonearest_test_data): Remove.
10764         (rint_test_tonearest): Likewise.
10765         (rint_towardzero_test_data): Likewise.
10766         (rint_test_towardzero): Likewise.
10767         (rint_downward_test_data): Likewise.
10768         (rint_test_downward): Likewise.
10769         (rint_upward_test_data): Likewise.
10770         (rint_test_upward): Likewise.
10771         (main): Don't call removed functions.
10773 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10775         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10776         "Compiled on ..." crapola.  It is anti-useful.
10778 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
10780         * scripts/evaluate-test.sh: Handle fourth argument to determine
10781         whether test run should stop on failure.
10782         * Makeconfig (stop-on-test-failure): New variable.
10783         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10784         $(stop-on-test-failure).
10785         * Makefile (tests): Give a summary of results from testing and
10786         exit with failure status if they include an ERROR or FAIL.
10787         (xtests): Likewise.
10788         * manual/install.texi (Configuring and compiling): Mention
10789         stop-on-test-failure=y.
10790         * INSTALL: Regenerated.
10792 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10794         * scripts/versionlist.awk: New file.
10795         * Makerules [$(build-shared) = yes]
10796         (postclean-generated): Add Versions.def, not Versions.def.v and
10797         Versions.def.v.i.
10798         ($(common-objpfx)Versions.def.v.i): Target removed.
10799         ($(common-objpfx)Versions.def): New target.
10800         ($(common-objpfx)Versions.all): Depend on that rather that
10801         $(common-objpfx)Versions.def.v.
10802         * Versions.def: File removed.
10804         * Makeconfig (+gccwarn): Add -Wundef.
10805         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10806         a dl-sysdep.h breaking its contract.
10807         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10808         * include/stackinfo.h: New file.
10809         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10810         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10811         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10812         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10813         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10814         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10815         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10816         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10817         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10818         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10819         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10820         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10821         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10822         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10823         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10825 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10827         [BZ #16707]
10828         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10829         implementation.
10830         * math/libm-test.inc (round_test_data): Add more tests.
10832         [BZ #16706]
10833         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10834         implementation.
10835         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10837         [BZ #16701]
10838         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10839         implementation.
10840         * math/libm-test.inc (ceil_test_data): Add more tests.
10842         * math/libm-test.inc (trunc_test_data): Add more tests related to
10843         BZ#16414.
10845 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10847         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10848         with #if rather than #ifdef.
10849         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10851 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10853         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10854         first.  Disable AVX-512 GCC support if assembler doesn't support
10855         it.
10856         * sysdeps/x86_64/configure: Regenerated.
10858 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10860         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10861         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10862         (__old_pthread_attr_setstack): Likewise.
10863         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10864         [!_STACK_GROWS_DOWN]: Likewise.
10866 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10868         * config.make.in (have-bash2): Delete.
10869         * configure.ac (libc_cv_have_bash2): Delete.
10870         * configure: Regenerate.
10871         * elf/Makefile (common-ldd-rewrite): Rename to ...
10872         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10873         (sh-ldd-rewrite): Delete.
10874         (bash-ldd-rewrite): Delete.
10875         (have-bash2): Delete checks.
10876         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10877         ldd-rewrite.
10879         * config.make.in (have-ksh): Delete.
10880         (KSH): Delete.
10881         * configure.ac (libc_cv_have_ksh): Delete.
10882         * configure: Regenerate.
10884         * elf/Makefile: Delete $(have-ksh) check.
10885         ($(objpfx)sotruss): Change KSH to BASH.
10886         * elf/sotruss.ksh: Rename to ...
10887         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10888         function style to match POSIX.  Drop ksh vim mode setting.
10890         * manual/time.texi (Specifying the Time Zone with TZ): Change
10891         Tuesday to Thursday.
10893         * debug/tst-longjmp_chk2.c: Update header comment.
10894         (stackoverflow_handler): Add comment.  Call assert on pass value.
10896 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10898         [BZ #16194]
10899         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10900         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10901         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10902         (La_x86_64_vector): Add zmm.
10903         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10904         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10905         ($(objpfx)tst-audit10): New target.
10906         ($(objpfx)tst-audit10.out): Likewise.
10907         (tst-audit10-ENV): New.
10908         (AVX512-CFLAGS): Likewise.
10909         (CFLAGS-tst-audit10.c): Likewise.
10910         (CFLAGS-tst-auditmod10a.c): Likewise.
10911         (CFLAGS-tst-auditmod10b.c): Likewise.
10912         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10913         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10914         * sysdeps/x86_64/configure: Regenerated.
10915         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10916         AVX-512 zmm register support.
10917         (_dl_x86_64_save_sse): Likewise.
10918         (_dl_x86_64_restore_sse): Likewise.
10919         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10920         size vector registers.
10921         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10922         (ZMM_SIZE): Likewise.
10923         * sysdeps/x86_64/tst-audit10.c: New file.
10924         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10925         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10927 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10929         * configure.ac (HAVE_EHDR_START): New check.
10930         * configure: Regenerated.
10931         * config.h.in (HAVE_EHDR_START): New #undef.
10932         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10933         assuming the lowest-addressed segment maps the start of the file.
10935 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10937         * INSTALL: Regenerated.
10939 2014-03-13  Will Newton  <will.newton@linaro.org>
10941         * manual/setjmp.texi (System V contexts): Improve
10942         clarity and grammar of documentation.
10944 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10946         [BZ #16381]
10947         * elf/Makefile (tests): Add tst-pie2.
10948         (tests-pie): Add tst-pie2.
10949         * elf/tst-pie2.c: New file.
10950         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10951         for ET_EXEC.
10952         * elf/rtld.c (map_doit): Load executable as lt_executable.
10953         (dl_main): Likewise.
10955 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10957         [BZ #16642]
10958         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10959         (__ASSUME_PSELECT): Undefine.
10961 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10963         [BZ #16689]
10964         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10965         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10966         static build.
10967         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10968         selector for static builds.
10970 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10972         [BZ #16695]
10973         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10974         key in the buffer.
10976 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10978         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10979         IFUNC selector for static builds.
10981 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10983         * sysdeps/mips/math_private.h [__mips_hard_float]
10984         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10985         libc_feresetround_mips_ctx.
10986         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10987         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10988         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10990         [BZ #16677]
10991         * math/s_nextafter.c (__nextafter): Do not return value from
10992         overflowing computation.
10993         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10994         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10995         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10996         Likewise.
10997         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10998         Likewise.
10999         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11000         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11002 2014-03-11  Roland McGrath  <roland@hack.frob.com>
11004         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11005         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11006         Move sfi_sp use from the load-multiple (that no longer sets sp) to
11007         the new mov targetting sp.
11009 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11011         [BZ #16683]
11012         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11013         Define it for static builds as well.
11014         (NO_BZERO_IMPL): Likewise.
11016 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11018         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11019         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11020         multiarch strspn for PPC64.
11021         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11022         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11024         (__libc_ifunc_impl_list): Likewise.
11025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11026         multiarch optimizations
11027         * string/strspn.c (strspn): Using macro to redefine symbol name.
11029 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11030             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11032         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11033         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11034         multiarch strncat for PPC64.
11035         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11036         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11038         (__libc_ifunc_impl_list): Likewise.
11039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11040         multiarch optimizations
11042 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11044         [BZ #16639]
11045         * nscd/nscd.service: Make service type forking.
11047 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11049         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11050         sign in non default rounding modes.
11051         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11053 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
11055         * math/libm-test.inc (ALL_RM_TEST): New macro.
11056         (ceil_test): Use ALL_RM_TEST.
11057         (cimag_test): Likewise.
11058         (conj_test): Likewise.
11059         (copysign_test): Likewise.
11060         (cproj_test): Likewise.
11061         (creal_test): Likewise.
11062         (fabs_test): Likewise.
11063         (floor_test): Likewise.
11064         (fmax_test): Likewise.
11065         (fmin_test): Likewise.
11066         (fmod_test): Likewise.
11067         (fpclassify_test): Likewise.
11068         (frexp_test): Likewise.
11069         (ilogb_test): Likewise.
11070         (isfinite_test): Likewise.
11071         (finite_test): Likewise.
11072         (isgreater_test): Likewise.
11073         (isgreaterequal_test): Likewise.
11074         (isinf_test): Likewise.
11075         (isless_test): Likewise.
11076         (islessequal_test): Likewise.
11077         (islessgreater_test): Likewise.
11078         (isnan_test): Likewise.
11079         (isnormal_test): Likewise.
11080         (issignaling_test): Likewise.
11081         (isunordered_test): Likewise.
11082         (logb_test): Likewise.
11083         (logb_downward_test_data): Remove.
11084         (logb_test_downward): Likewise.
11085         (lround_test): Use ALL_RM_TEST.
11086         (llround_test): Likewise.
11087         (modf_test): Likewise.
11088         (nexttoward_test): Likewise.
11089         (remainder_test): Likewise.
11090         (drem_test): Likewise.
11091         (remainder_tonearest_test_data): Likewise.
11092         (remainder_test_tonearest): Likewise.
11093         (drem_test_tonearest): Likewise.
11094         (remainder_towardzero_test_data): Likewise.
11095         (remainder_test_towardzero): Likewise.
11096         (drem_test_towardzero): Likewise.
11097         (remainder_downward_test_data): Likewise.
11098         (remainder_test_downward): Likewise.
11099         (drem_test_downward): Likewise.
11100         (remainder_upward_test_data): Likewise.
11101         (remainder_test_upward): Likewise.
11102         (drem_test_upward): Likewise.
11103         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
11104         (round_test): Use ALL_RM_TEST.
11105         (signbit_test): Likewise.
11106         (trunc_test): Likewise.
11107         (significand_test): Likewise.
11108         (main): Don't call removed functions.
11110 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11112         [BZ #16674]
11113         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11114         || __USE_XOPEN2K8].
11115         (ILL_ILLOPN): Likewise.
11116         (ILL_ILLADR): Likewise.
11117         (ILL_ILLTRP): Likewise.
11118         (ILL_PRVOPC): Likewise.
11119         (ILL_PRVREG): Likewise.
11120         (ILL_COPROC): Likewise.
11121         (ILL_BADSTK): Likewise.
11122         (FPE_INTDIV): Likewise.
11123         (FPE_INTOVF): Likewise.
11124         (FPE_FLTDIV): Likewise.
11125         (FPE_FLTOVF): Likewise.
11126         (FPE_FLTUND): Likewise.
11127         (FPE_FLTRES): Likewise.
11128         (FPE_FLTINV): Likewise.
11129         (FPE_FLTSUB): Likewise.
11130         (SEGV_MAPERR): Likewise.
11131         (SEGV_ACCERR): Likewise.
11132         (BUS_ADRALN): Likewise.
11133         (BUS_ADRERR): Likewise.
11134         (BUS_OBJERR): Likewise.
11135         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11136         (TRAP_TRACE): Likewise.
11137         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11138         __USE_XOPEN2K8].
11139         (CLD_KILLED): Likewise.
11140         (CLD_DUMPED): Likewise.
11141         (CLD_TRAPPED): Likewise.
11142         (CLD_STOPPED): Likewise.
11143         (CLD_CONTINUED): Likewise.
11144         (POLL_IN): Likewise.
11145         (POLL_OUT): Likewise.
11146         (POLL_MSG): Likewise.
11147         (POLL_ERR): Likewise.
11148         (POLL_PRI): Likewise.
11149         (POLL_HUP): Likewise.
11150         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11151         Likewise.
11152         (ILL_ILLOPN): Likewise.
11153         (ILL_ILLADR): Likewise.
11154         (ILL_ILLTRP): Likewise.
11155         (ILL_PRVOPC): Likewise.
11156         (ILL_PRVREG): Likewise.
11157         (ILL_COPROC): Likewise.
11158         (ILL_BADSTK): Likewise.
11159         (FPE_INTDIV): Likewise.
11160         (FPE_INTOVF): Likewise.
11161         (FPE_FLTDIV): Likewise.
11162         (FPE_FLTOVF): Likewise.
11163         (FPE_FLTUND): Likewise.
11164         (FPE_FLTRES): Likewise.
11165         (FPE_FLTINV): Likewise.
11166         (FPE_FLTSUB): Likewise.
11167         (SEGV_MAPERR): Likewise.
11168         (SEGV_ACCERR): Likewise.
11169         (BUS_ADRALN): Likewise.
11170         (BUS_ADRERR): Likewise.
11171         (BUS_OBJERR): Likewise.
11172         (BUS_MCEERR_AR): Likewise.
11173         (BUS_MCEERR_AO): Likewise.
11174         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11175         (TRAP_TRACE): Likewise.
11176         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11177         __USE_XOPEN2K8].
11178         (CLD_KILLED): Likewise.
11179         (CLD_DUMPED): Likewise.
11180         (CLD_TRAPPED): Likewise.
11181         (CLD_STOPPED): Likewise.
11182         (CLD_CONTINUED): Likewise.
11183         (POLL_IN): Likewise.
11184         (POLL_OUT): Likewise.
11185         (POLL_MSG): Likewise.
11186         (POLL_ERR): Likewise.
11187         (POLL_PRI): Likewise.
11188         (POLL_HUP): Likewise.
11189         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11190         (ILL_ILLOPN): Likewise.
11191         (ILL_ILLADR): Likewise.
11192         (ILL_ILLTRP): Likewise.
11193         (ILL_PRVOPC): Likewise.
11194         (ILL_PRVREG): Likewise.
11195         (ILL_COPROC): Likewise.
11196         (ILL_BADSTK): Likewise.
11197         (FPE_INTDIV): Likewise.
11198         (FPE_INTOVF): Likewise.
11199         (FPE_FLTDIV): Likewise.
11200         (FPE_FLTOVF): Likewise.
11201         (FPE_FLTUND): Likewise.
11202         (FPE_FLTRES): Likewise.
11203         (FPE_FLTINV): Likewise.
11204         (FPE_FLTSUB): Likewise.
11205         (SEGV_MAPERR): Likewise.
11206         (SEGV_ACCERR): Likewise.
11207         (BUS_ADRALN): Likewise.
11208         (BUS_ADRERR): Likewise.
11209         (BUS_OBJERR): Likewise.
11210         (BUS_MCEERR_AR): Likewise.
11211         (BUS_MCEERR_AO): Likewise.
11212         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11213         (TRAP_TRACE): Likewise.
11214         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11215         __USE_XOPEN2K8].
11216         (CLD_KILLED): Likewise.
11217         (CLD_DUMPED): Likewise.
11218         (CLD_TRAPPED): Likewise.
11219         (CLD_STOPPED): Likewise.
11220         (CLD_CONTINUED): Likewise.
11221         (POLL_IN): Likewise.
11222         (POLL_OUT): Likewise.
11223         (POLL_MSG): Likewise.
11224         (POLL_ERR): Likewise.
11225         (POLL_PRI): Likewise.
11226         (POLL_HUP): Likewise.
11227         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11228         Likewise.
11229         (ILL_ILLOPN): Likewise.
11230         (ILL_ILLADR): Likewise.
11231         (ILL_ILLTRP): Likewise.
11232         (ILL_PRVOPC): Likewise.
11233         (ILL_PRVREG): Likewise.
11234         (ILL_COPROC): Likewise.
11235         (ILL_BADSTK): Likewise.
11236         (ILL_BADIADDR): Likewise.
11237         (ILL_BREAK): Likewise.
11238         (FPE_INTDIV): Likewise.
11239         (FPE_INTOVF): Likewise.
11240         (FPE_FLTDIV): Likewise.
11241         (FPE_FLTOVF): Likewise.
11242         (FPE_FLTUND): Likewise.
11243         (FPE_FLTRES): Likewise.
11244         (FPE_FLTINV): Likewise.
11245         (FPE_FLTSUB): Likewise.
11246         (FPE_DECOVF): Likewise.
11247         (FPE_DECDIV): Likewise.
11248         (FPE_DECERR): Likewise.
11249         (FPE_INVASC): Likewise.
11250         (FPE_INVDEC): Likewise.
11251         (SEGV_MAPERR): Likewise.
11252         (SEGV_ACCERR): Likewise.
11253         (SEGV_PSTKOVF): Likewise.
11254         (BUS_ADRALN): Likewise.
11255         (BUS_ADRERR): Likewise.
11256         (BUS_OBJERR): Likewise.
11257         (BUS_MCEERR_AR): Likewise.
11258         (BUS_MCEERR_AO): Likewise.
11259         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11260         (TRAP_TRACE): Likewise.
11261         (TRAP_BRANCH): Likewise.
11262         (TRAP_HWBKPT): 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/mips/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/s390/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         (FPE_INTDIV): Likewise.
11323         (FPE_INTOVF): Likewise.
11324         (FPE_FLTDIV): Likewise.
11325         (FPE_FLTOVF): Likewise.
11326         (FPE_FLTUND): Likewise.
11327         (FPE_FLTRES): Likewise.
11328         (FPE_FLTINV): Likewise.
11329         (FPE_FLTSUB): Likewise.
11330         (SEGV_MAPERR): Likewise.
11331         (SEGV_ACCERR): Likewise.
11332         (BUS_ADRALN): Likewise.
11333         (BUS_ADRERR): Likewise.
11334         (BUS_OBJERR): Likewise.
11335         (BUS_MCEERR_AR): Likewise.
11336         (BUS_MCEERR_AO): Likewise.
11337         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11338         (TRAP_TRACE): Likewise.
11339         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11340         __USE_XOPEN2K8].
11341         (CLD_KILLED): Likewise.
11342         (CLD_DUMPED): Likewise.
11343         (CLD_TRAPPED): Likewise.
11344         (CLD_STOPPED): Likewise.
11345         (CLD_CONTINUED): Likewise.
11346         (POLL_IN): Likewise.
11347         (POLL_OUT): Likewise.
11348         (POLL_MSG): Likewise.
11349         (POLL_ERR): Likewise.
11350         (POLL_PRI): Likewise.
11351         (POLL_HUP): Likewise.
11352         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11353         (ILL_ILLOPN): Likewise.
11354         (ILL_ILLADR): Likewise.
11355         (ILL_ILLTRP): Likewise.
11356         (ILL_PRVOPC): Likewise.
11357         (ILL_PRVREG): Likewise.
11358         (ILL_COPROC): Likewise.
11359         (ILL_BADSTK): Likewise.
11360         (FPE_INTDIV): Likewise.
11361         (FPE_INTOVF): Likewise.
11362         (FPE_FLTDIV): Likewise.
11363         (FPE_FLTOVF): Likewise.
11364         (FPE_FLTUND): Likewise.
11365         (FPE_FLTRES): Likewise.
11366         (FPE_FLTINV): Likewise.
11367         (FPE_FLTSUB): Likewise.
11368         (SEGV_MAPERR): Likewise.
11369         (SEGV_ACCERR): Likewise.
11370         (BUS_ADRALN): Likewise.
11371         (BUS_ADRERR): Likewise.
11372         (BUS_OBJERR): Likewise.
11373         (BUS_MCEERR_AR): Likewise.
11374         (BUS_MCEERR_AO): Likewise.
11375         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11376         (TRAP_TRACE): Likewise.
11377         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11378         __USE_XOPEN2K8].
11379         (CLD_KILLED): Likewise.
11380         (CLD_DUMPED): Likewise.
11381         (CLD_TRAPPED): Likewise.
11382         (CLD_STOPPED): Likewise.
11383         (CLD_CONTINUED): Likewise.
11384         (POLL_IN): Likewise.
11385         (POLL_OUT): Likewise.
11386         (POLL_MSG): Likewise.
11387         (POLL_ERR): Likewise.
11388         (POLL_PRI): Likewise.
11389         (POLL_HUP): Likewise.
11390         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11391         (ILL_ILLOPN): Likewise.
11392         (ILL_ILLADR): Likewise.
11393         (ILL_ILLTRP): Likewise.
11394         (ILL_PRVOPC): Likewise.
11395         (ILL_PRVREG): Likewise.
11396         (ILL_COPROC): Likewise.
11397         (ILL_BADSTK): Likewise.
11398         (ILL_DBLFLT): Likewise.
11399         (ILL_HARDWALL): Likewise.
11400         (FPE_INTDIV): Likewise.
11401         (FPE_INTOVF): Likewise.
11402         (FPE_FLTDIV): Likewise.
11403         (FPE_FLTOVF): Likewise.
11404         (FPE_FLTUND): Likewise.
11405         (FPE_FLTRES): Likewise.
11406         (FPE_FLTINV): Likewise.
11407         (FPE_FLTSUB): Likewise.
11408         (SEGV_MAPERR): Likewise.
11409         (SEGV_ACCERR): Likewise.
11410         (BUS_ADRALN): Likewise.
11411         (BUS_ADRERR): Likewise.
11412         (BUS_OBJERR): Likewise.
11413         (BUS_MCEERR_AR): Likewise.
11414         (BUS_MCEERR_AO): Likewise.
11415         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11416         (TRAP_TRACE): Likewise.
11417         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11418         __USE_XOPEN2K8].
11419         (CLD_KILLED): Likewise.
11420         (CLD_DUMPED): Likewise.
11421         (CLD_TRAPPED): Likewise.
11422         (CLD_STOPPED): Likewise.
11423         (CLD_CONTINUED): Likewise.
11424         (POLL_IN): Likewise.
11425         (POLL_OUT): Likewise.
11426         (POLL_MSG): Likewise.
11427         (POLL_ERR): Likewise.
11428         (POLL_PRI): Likewise.
11429         (POLL_HUP): Likewise.
11430         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11431         (ILL_ILLOPN): Likewise.
11432         (ILL_ILLADR): Likewise.
11433         (ILL_ILLTRP): Likewise.
11434         (ILL_PRVOPC): Likewise.
11435         (ILL_PRVREG): Likewise.
11436         (ILL_COPROC): Likewise.
11437         (ILL_BADSTK): Likewise.
11438         (FPE_INTDIV): Likewise.
11439         (FPE_INTOVF): Likewise.
11440         (FPE_FLTDIV): Likewise.
11441         (FPE_FLTOVF): Likewise.
11442         (FPE_FLTUND): Likewise.
11443         (FPE_FLTRES): Likewise.
11444         (FPE_FLTINV): Likewise.
11445         (FPE_FLTSUB): Likewise.
11446         (SEGV_MAPERR): Likewise.
11447         (SEGV_ACCERR): Likewise.
11448         (BUS_ADRALN): Likewise.
11449         (BUS_ADRERR): Likewise.
11450         (BUS_OBJERR): Likewise.
11451         (BUS_MCEERR_AR): Likewise.
11452         (BUS_MCEERR_AO): Likewise.
11453         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11454         (TRAP_TRACE): Likewise.
11455         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11456         __USE_XOPEN2K8].
11457         (CLD_KILLED): Likewise.
11458         (CLD_DUMPED): Likewise.
11459         (CLD_TRAPPED): Likewise.
11460         (CLD_STOPPED): Likewise.
11461         (CLD_CONTINUED): Likewise.
11462         (POLL_IN): Likewise.
11463         (POLL_OUT): Likewise.
11464         (POLL_MSG): Likewise.
11465         (POLL_ERR): Likewise.
11466         (POLL_PRI): Likewise.
11467         (POLL_HUP): Likewise.
11468         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11469         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11471         [BZ #16670]
11472         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11473         before #include of <time.h>.
11474         [!__USE_XOPEN2K] (__need_timespec): Likewise.
11475         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11476         (test-xfail-UNIX98/sched.h/conform): Likewise.
11478 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11480         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11481         error absence of trapping exception support.
11482         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11484 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11486         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11487         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11488         * timezone/Makefile (testdata): Move definition above include of
11489         Rules.
11490         (test-zones): New variable.
11491         (tests-special): Add zone files.
11492         (build-testdata): Use $(evaluate-test).
11494         * elf/Makefile (tests-special): Rename tests to end with .out.
11495         ($(objpfx)noload-mem): Likewise.
11496         ($(objpfx)tst-leaks1-mem): Likewise.
11497         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11498         * iconv/Makefile (xtests-special): Change test-iconvconfig to
11499         $(objpfx)test-iconvconfig.out.
11500         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
11501         set -e inside subshell and redirect output to file.
11502         * iconvdata/Makefile (generated): Rename tests to end with .out.
11503         Correct type.
11504         (tests-special): Rename tests to end with .out.
11505         ($(objpfx)mtrace-tst-loading): Likewise.
11506         * intl/Makefile (generated): Likewise.
11507         (tests-special): Likewise.
11508         ($(objpfx)mtrace-tst-gettext): Likewise.
11509         * misc/Makefile (generated): Likewise.
11510         (tests-special): Likewise.
11511         ($(objpfx)tst-error1-mem): Likewise.
11512         * nptl/Makefile (tests-special): Likewise.
11513         ($(objpfx)tst-stack3-mem): Likewise.
11514         (generated): Likewise.
11515         * posix/Makefile (generated): Likewise.
11516         (tests-special): Likewise.
11517         (xtests-special): Likewise.
11518         ($(objpfx)tst-fnmatch-mem): Likewise.
11519         ($(objpfx)bug-regex2-mem): Likewise.
11520         ($(objpfx)bug-regex14-mem): Likewise.
11521         ($(objpfx)bug-regex21-mem): Likewise.
11522         ($(objpfx)bug-regex31-mem): Likewise.
11523         ($(objpfx)tst-vfork3-mem): Likewise.
11524         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11525         ($(objpfx)tst-pcre-mem): Likewise.
11526         ($(objpfx)tst-boost-mem): Likewise.
11527         ($(objpfx)bug-ga2-mem): Likewise.
11528         ($(objpfx)bug-glob2-mem): Likewise.
11529         * resolv/Makefile (generate): Likewise.
11530         (tests-special): Likewise.
11531         (xtests-special): Likewise.
11532         (generated): Likewise.
11533         ($(objpfx)mtrace-tst-leaks): Likewise.
11534         ($(objpfx)mtrace-tst-leaks2): Likewise.
11536         * scripts/merge-test-results.sh: New file.
11537         * Makefile (tests-special-notdir): New variable.
11538         (tests): Run merge-test-results.sh.
11539         (xtests): Likewise.
11540         * Rules (tests-special-notdir): New variable.
11541         (xtests-special-notdir): Likewise.
11542         (tests): Run merge-test-results.sh
11543         (xtests): Likewise.
11545         * Makeconfig (test-xfail-name): New variable.
11546         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11547         compute variable name for expected failures.
11548         * conform/Makefile (conformtest-headers-data): New variable.
11549         (conformtest-standards): Likewise.
11550         (conformtest-headers-ISO): Likewise.
11551         (conformtest-headers-ISO99): Likewise.
11552         (conformtest-headers-ISO11): Likewise.
11553         (conformtest-headers-POSIX): Likewise.
11554         (conformtest-headers-XPG3): Likewise.
11555         (conformtest-headers-XPG4): Likewise.
11556         (conformtest-headers-UNIX98): Likewise.
11557         (conformtest-headers-XOPEN2K): Likewise.
11558         (conformtest-headers-POSIX2008): Likewise.
11559         (conformtest-headers-XOPEN2K8): Likewise.
11560         (conformtest-header-list-base): Likewise.
11561         (conformtest-header-list-tests): Likewise.
11562         (conformtest-header-base): Likewise.
11563         (conformtest-header-tests): Likewise.
11564         (tests-special): Add $(conformtest-header-list-tests).  If
11565         [$(fast-check) && !$(cross-compiling)], add
11566         $(conformtest-header-tests) instead of
11567         $(objpfx)run-conformtest.out.
11568         (generated): Add $(conformtest-header-list-base).  If
11569         [$(fast-check) && !$(cross-compiling)], add
11570         $(conformtest-header-base).  Remove previous setting.
11571         ($(conformtest-header-list-tests)): New target.
11572         (test-xfail-run-conformtest): Remove variable.
11573         ($(objpfx)run-conformtest.out): Remove target.
11574         (test-xfail-ISO11/complex.h/conform): New variable.
11575         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11576         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11577         (test-xfail-XPG3/varargs.h/conform): Likewise.
11578         (test-xfail-XPG4/varargs.h/conform): Likewise.
11579         (test-xfail-UNIX98/varargs.h/conform): Likewise.
11580         (test-xfail-XPG4/ndbm.h/conform): Likewise.
11581         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11582         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11583         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11584         (test-xfail-XPG3/fcntl.h/conform): Likewise.
11585         (test-xfail-XPG3/ftw.h/conform): Likewise.
11586         (test-xfail-XPG3/grp.h/conform): Likewise.
11587         (test-xfail-XPG3/langinfo.h/conform): Likewise.
11588         (test-xfail-XPG3/limits.h/conform): Likewise.
11589         (test-xfail-XPG3/pwd.h/conform): Likewise.
11590         (test-xfail-XPG3/search.h/conform): Likewise.
11591         (test-xfail-XPG3/signal.h/conform): Likewise.
11592         (test-xfail-XPG3/stdio.h/conform): Likewise.
11593         (test-xfail-XPG3/stdlib.h/conform): Likewise.
11594         (test-xfail-XPG3/string.h/conform): Likewise.
11595         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11596         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11597         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11598         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11599         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11600         (test-xfail-XPG3/sys/types.h/conform): Likewise.
11601         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11602         (test-xfail-XPG3/termios.h/conform): Likewise.
11603         (test-xfail-XPG3/time.h/conform): Likewise.
11604         (test-xfail-XPG3/unistd.h/conform): Likewise.
11605         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11606         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11607         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11608         (test-xfail-XPG4/netdb.h/conform): Likewise.
11609         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11610         (test-xfail-XPG4/signal.h/conform): Likewise.
11611         (test-xfail-XPG4/stdio.h/conform): Likewise.
11612         (test-xfail-XPG4/stdlib.h/conform): Likewise.
11613         (test-xfail-XPG4/stropts.h/conform): Likewise.
11614         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11615         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11616         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11617         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11618         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11619         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11620         (test-xfail-XPG4/sys/time.h/conform): Likewise.
11621         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11622         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11623         (test-xfail-XPG4/termios.h/conform): Likewise.
11624         (test-xfail-XPG4/ucontext.h/conform): Likewise.
11625         (test-xfail-XPG4/unistd.h/conform): Likewise.
11626         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11627         (test-xfail-POSIX/sched.h/conform): Likewise.
11628         (test-xfail-POSIX/signal.h/conform): Likewise.
11629         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11630         (test-xfail-POSIX/tar.h/conform): Likewise.
11631         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11632         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11633         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11634         (test-xfail-UNIX98/netdb.h/conform): Likewise.
11635         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11636         (test-xfail-UNIX98/sched.h/conform): Likewise.
11637         (test-xfail-UNIX98/signal.h/conform): Likewise.
11638         (test-xfail-UNIX98/stdio.h/conform): Likewise.
11639         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11640         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11641         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11642         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11643         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11644         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11645         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11646         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11647         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11648         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11649         (test-xfail-UNIX98/unistd.h/conform): Likewise.
11650         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11651         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11652         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11653         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11654         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11655         (test-xfail-XOPEN2K/math.h/conform): Likewise.
11656         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11657         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11658         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11659         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11660         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11661         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11662         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11663         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11664         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11665         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11666         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11667         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11668         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11669         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11670         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11671         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11672         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11673         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11674         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11675         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11676         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11677         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11678         (test-xfail-POSIX2008/signal.h/conform): Likewise.
11679         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11680         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11681         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11682         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11683         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11684         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11685         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11686         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11687         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11688         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11689         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11690         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11691         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11692         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11693         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11694         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11695         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11696         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11697         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11698         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11699         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11700         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11701         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11702         (conformtest-cc-flags): Likewise.
11703         ($(conformtest-header-tests): New target.
11704         * conform/check-header-lists.sh: New file.
11705         * conform/run-conformtest.sh: Remove.
11707         * conform/conformtest.pl: Allow ' and \ in values given for
11708         constants.
11709         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11710         inclusion.
11711         [POSIX] (sys/types.h): Likewise.
11712         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11713         inclusion.
11714         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11715         inclusion.
11716         * conform/data/signal.h-data (SIGIO): Remove expectation.
11717         [XPG3] (SIGBUS): Do not expect.
11718         [POSIX || XPG3] (SIGPOLL): Likewise.
11719         [POSIX || XPG3] (SIGPROF): Likewise.
11720         [POSIX || XPG3] (SIGSYS): Likewise.
11721         [XPG3] (SIGTRAP): Likewise.
11722         [POSIX || XPG3] (SIGURG): Likewise.
11723         [POSIX || XPG3] (SIGVTALRM): Likewise.
11724         [POSIX || XPG3] (SIGXCPU): Likewise.
11725         [POSIX || XPG3] (SIGXFSZ): Likewise.
11726         [POSIX] (SA_SIGINFO): Expect.
11727         [XPG3] (siginfo_t): Do not expect type or contents.
11728         [POSIX] (si_pid): Do not expect element.
11729         [POSIX] (si_uid): Likewise.
11730         [POSIX] (si_addr): Likewise.
11731         [POSIX] (si_status): Likewise.
11732         [POSIX] (si_band): Likewise.
11733         [XPG4] (si_value): Likewise.
11734         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11735         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11736         [POSIX || XPG3] (ILL_ILLADR): Likewise.
11737         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11738         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11739         [POSIX || XPG3] (ILL_PRVREG): Likewise.
11740         [POSIX || XPG3] (ILL_COPROC): Likewise.
11741         [POSIX || XPG3] (ILL_BADSTK): Likewise.
11742         [POSIX || XPG3] (FPE_INTDIV): Likewise.
11743         [POSIX || XPG3] (FPE_INTOVF): Likewise.
11744         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11745         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11746         [POSIX || XPG3] (FPE_FLTUND): Likewise.
11747         [POSIX || XPG3] (FPE_FLTRES): Likewise.
11748         [POSIX || XPG3] (FPE_FLTINV): Likewise.
11749         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11750         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11751         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11752         [POSIX || XPG3] (BUS_ADRALN): Likewise.
11753         [POSIX || XPG3] (BUS_ADRERR): Likewise.
11754         [POSIX || XPG3] (BUS_OBJERR): Likewise.
11755         [POSIX || XPG3] (CLD_EXITED): Likewise.
11756         [POSIX || XPG3] (CLD_KILLED): Likewise.
11757         [POSIX || XPG3] (CLD_DUMPED): Likewise.
11758         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11759         [POSIX || XPG3] (CLD_STOPPED): Likewise.
11760         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11761         [POSIX || XPG3] (POLL_IN): Likewise.
11762         [POSIX || XPG3] (POLL_OUT): Likewise.
11763         [POSIX || XPG3] (POLL_MSG): Likewise.
11764         [POSIX || XPG3] (POLL_ERR): Likewise.
11765         [POSIX || XPG3] (POLL_PRI): Likewise.
11766         [POSIX || XPG3] (POLL_HUP): Likewise.
11767         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11768         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11769         (SIG*): Do not allow.
11770         [XPG3] (si_*): Likewise.
11771         [XPG3] (SI_*): Likewise.
11772         [XPG3 || XPG4] (sigev_*): Likewise.
11773         [XPG3 || XPG4] (SIGEV_*): Likewise.
11774         [XPG3 || XPG4] (sival_*): Likewise.
11775         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11776         [POSIX || XPG3] (BUS_*): Likewise.
11777         [POSIX || XPG3] (CLD_*): Likewise.
11778         [POSIX || XPG3] (FPE_*): Likewise.
11779         [POSIX || XPG3] (ILL_*): Likewise.
11780         [POSIX || XPG3] (POLL_*): Likewise.
11781         [POSIX || XPG3] (SEGV_*): Likewise.
11782         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11783         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11784         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11785         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11786         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11787         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11788         Specify type and value.
11789         (TVERSLEN): Likewise.
11790         (REGTYPE): Likewise.
11791         (AREGTYPE): Likewise.
11792         (LNKTYPE): Likewise.
11793         (SYMTYPE): Likewise.
11794         (CHRTYPE): Likewise.
11795         (BLKTYPE): Likewise.
11796         (DIRTYPE): Likewise.
11797         (FIFOTYPE): Likewise.
11798         (CONTTYPE): Likewise.
11799         (TSUID): Likewise.
11800         (TSGID): Likewise.
11801         (TSVTX): Likewise.
11802         (TUREAD): Likewise.
11803         (TUWRITE): Likewise.
11804         (TUEXEC): Likewise.
11805         (TGREAD): Likewise.
11806         (TGWRITE): Likewise.
11807         (TGEXEC): Likewise.
11808         (TOREAD): Likewise.
11809         (TOWRITE): Likewise.
11810         (TOEXEC): Likewise.
11811         [POSIX] (TSVTX): Expect constant.
11813 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11815         * Makefile (tests): Change dependencies to ....
11816         (tests-special): ... additions to this variable.
11817         (tests): Depend on $(tests-special).
11818         * Makerules (check-abi-list): New variable.
11819         (check-abi): Depend on $(check-abi-list).
11820         [$(subdir) = elf] (tests-special): Add
11821         $(objpfx)check-abi-libc.out.
11822         [$(build-shared) = yes && subdir] (tests-special): Add
11823         $(check-abi-list).
11824         [$(build-shared) = yes && subdir] (tests): Do not depend on
11825         check-abi.
11826         * Rules (tests): Depend on $(tests-special).
11827         (xtests): Depend on $(xtests-special).
11828         * catgets/Makefile (tests): Change dependencies to ....
11829         (tests-special): ... additions to this variable.
11830         * conform/Makefile (tests): Change dependencies to ....
11831         (tests-special): ... additions to this variable.
11832         * elf/Makefile (tests): Change dependencies to ....
11833         (tests-special): ... additions to this variable.
11834         * grp/Makefile (tests): Change dependencies to ....
11835         (tests-special): ... additions to this variable.
11836         * iconv/Makefile (xtests): Change dependencies to ....
11837         (xtests-special): ... additions to this variable.
11838         * iconvdata/Makefile (tests): Change dependencies to ....
11839         (tests-special): ... additions to this variable.
11840         * intl/Makefile (tests): Change dependencies to ....
11841         (tests-special): ... additions to this variable.  Also add
11842         $(objpfx)tst-gettext.out.
11843         * io/Makefile (tests): Change dependencies to ....
11844         (tests-special): ... additions to this variable.
11845         * libio/Makefile (tests): Change dependencies to ....
11846         (tests-special): ... additions to this variable.
11847         * malloc/Makefile (tests): Change dependencies to ....
11848         (tests-special): ... additions to this variable.
11849         * misc/Makefile (tests): Change dependencies to ....
11850         (tests-special): ... additions to this variable.
11851         * nptl/Makefile (tests): Change dependencies to ....
11852         (tests-special): ... additions to this variable.
11853         * nptl_db/Makefile (tests): Change dependencies to ....
11854         (tests-special): ... additions to this variable.
11855         * posix/Makefile (tests): Change dependencies to ....
11856         (tests-special): ... additions to this variable.
11857         (xtests): Change dependencies to ....
11858         (xtests-special): ... additions to this variable.
11859         * resolv/Makefile (tests): Change dependencies to ....
11860         (tests-special): ... additions to this variable.
11861         (xtests): Change dependencies to ....
11862         (xtests-special): ... additions to this variable.
11863         * stdio-common/Makefile (tests): Change dependencies to ....
11864         (tests-special): ... additions to this variable.
11865         (do-tst-unbputc): Remove target.
11866         (do-tst-printf): Likewise.
11867         * stdlib/Makefile (tests): Change dependencies to ....
11868         (tests-special): ... additions to this variable.
11869         * string/Makefile (tests): Change dependencies to ....
11870         (tests-special): ... additions to this variable.
11871         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11872         (tests-special): ... additions to this variable.
11874         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11875         whole file.
11876         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11877         whole file.
11878         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11879         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11881         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11882         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11883         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11884         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11885         * conform/data/libgen.h-data [XPG3]: Likewise.
11886         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11887         * conform/data/ndbm.h-data [XPG3]: Likewise.
11888         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11889         * conform/data/netdb.h-data [XPG3]: Likewise.
11890         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11891         * conform/data/poll.h-data [XPG3]: Likewise.
11892         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11893         * conform/data/strings.h-data [XPG3]: Likewise.
11894         * conform/data/stropts.h-data [XPG3]: Likewise.
11895         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11896         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11897         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11898         Likewise.
11899         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11900         * conform/data/sys/time.h-data [XPG3]: Likewise.
11901         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11902         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11903         * conform/data/sys/un.h-data [XPG3]: Likewise.
11904         * conform/data/syslog.h-data [XPG3]: Likewise.
11905         * conform/data/ucontext.h-data [XPG3]: Likewise.
11906         * conform/data/utmpx.h-data [XPG3]: Likewise.
11907         * conform/data/varargs.h-data [UNIX98]: Enable file.
11909         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11911         * math/libm-test.inc (struct test_f_f_data): Move expected results
11912         into structure for each rounding mode.
11913         (struct test_ff_f_data): Likewise.
11914         (struct test_ff_f_data_nexttoward): Likewise.
11915         (struct test_fi_f_data): Likewise.
11916         (struct test_fl_f_data): Likewise.
11917         (struct test_if_f_data): Likewise.
11918         (struct test_fff_f_data): Likewise.
11919         (struct test_c_f_data): Likewise.
11920         (struct test_f_f1_data): Likewise.
11921         (struct test_fF_f1_data): Likewise.
11922         (struct test_ffI_f1_data): Likewise.
11923         (struct test_c_c_data): Likewise.
11924         (struct test_cc_c_data): Likewise.
11925         (struct test_f_i_data): Likewise.
11926         (struct test_ff_i_data): Likewise.
11927         (struct test_f_l_data): Likewise.
11928         (struct test_f_L_data): Likewise.
11929         (struct test_fFF_11_data): Likewise.
11930         (RM_): New macro.
11931         (RM_FE_DOWNWARD): Likewise.
11932         (RM_FE_TONEAREST): Likewise.
11933         (RM_FE_TOWARDZERO): Likewise.
11934         (RM_FE_UPWARD): Likewise.
11935         (RUN_TEST_LOOP_f_f): Update references to expected results.
11936         (RUN_TEST_LOOP_2_f): Likewise.
11937         (RUN_TEST_LOOP_fff_f): Likewise.
11938         (RUN_TEST_LOOP_c_f): Likewise.
11939         (RUN_TEST_LOOP_f_f1): Likewise.
11940         (RUN_TEST_LOOP_fF_f1): Likewise.
11941         (RUN_TEST_LOOP_fI_f1): Likewise.
11942         (RUN_TEST_LOOP_ffI_f1): Likewise.
11943         (RUN_TEST_LOOP_c_c): Likewise.
11944         (RUN_TEST_LOOP_cc_c): Likewise.
11945         (RUN_TEST_LOOP_f_i): Likewise.
11946         (RUN_TEST_LOOP_f_i_tg): Likewise.
11947         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11948         (RUN_TEST_LOOP_f_b): Likewise.
11949         (RUN_TEST_LOOP_f_b_tg): Likewise.
11950         (RUN_TEST_LOOP_f_l): Likewise.
11951         (RUN_TEST_LOOP_f_L): Likewise.
11952         (RUN_TEST_LOOP_fFF_11): Likewise.
11953         * math/gen-libm-test.pl (parse_args): Output four copies of
11954         expected results for each test.
11956         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11957         (__ASSUME_UTIMES): Remove.
11958         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11959         (__ASSUME_UTIMES): Likewise.
11961         * math/gen-auto-libm-tests.c: Update comment on output format.
11962         (output_for_one_input_case): Generate before-rounding and
11963         after-rounding information as conditions on output flags not
11964         floating-point format.
11965         * math/auto-libm-test-out: Regenerated.
11966         * math/gen-libm-test.pl (cond_value): New function.
11967         (or_cond_value): Use cond_value.
11968         (generate_testfile): Handle conditional exceptions.
11970 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11972         * math/libm-test.inc (max_valid_error): New variable.
11973         (init_max_error): Take new argument specifying whether function
11974         results are exactly determined.  Set max_valid_error and bound
11975         other variables for errors based on this argument.
11976         (set_max_error): Do not record results above max_valid_error.
11977         (check_float_internal): Only accept errors of up to 0.5ulps if
11978         also at most max_valid_error.
11979         (START): Take new argument EXACT and pass it to init_max_error.
11980         (acos_test): Update call to START.
11981         (acos_test_tonearest): Likewise.
11982         (acos_test_towardzero): Likewise.
11983         (acos_test_downward): Likewise.
11984         (acos_test_upward): Likewise.
11985         (acosh_test): Likewise.
11986         (asin_test): Likewise.
11987         (asin_test_tonearest): Likewise.
11988         (asin_test_towardzero): Likewise.
11989         (asin_test_downward): Likewise.
11990         (asin_test_upward): Likewise.
11991         (asinh_test): Likewise.
11992         (atan_test): Likewise.
11993         (atanh_test): Likewise.
11994         (atan2_test): Likewise.
11995         (cabs_test): Likewise.
11996         (cacos_test): Likewise.
11997         (cacosh_test): Likewise.
11998         (carg_test): Likewise.
11999         (casin_test): Likewise.
12000         (casinh_test): Likewise.
12001         (catan_test): Likewise.
12002         (catanh_test): Likewise.
12003         (cbrt_test): Likewise.
12004         (ccos_test): Likewise.
12005         (ccosh_test): Likewise.
12006         (ceil_test): Likewise.
12007         (cexp_test): Likewise.
12008         (cimag_test): Likewise.
12009         (clog_test): Likewise.
12010         (clog10_test): Likewise.
12011         (conj_test): Likewise.
12012         (copysign_test): Likewise.
12013         (cos_test): Likewise.
12014         (cos_test_tonearest): Likewise.
12015         (cos_test_towardzero): Likewise.
12016         (cos_test_downward): Likewise.
12017         (cos_test_upward): Likewise.
12018         (cosh_test): Likewise.
12019         (cosh_test_tonearest): Likewise.
12020         (cosh_test_towardzero): Likewise.
12021         (cosh_test_downward): Likewise.
12022         (cosh_test_upward): Likewise.
12023         (cpow_test): Likewise.
12024         (cproj_test): Likewise.
12025         (creal_test): Likewise.
12026         (csin_test): Likewise.
12027         (csinh_test): Likewise.
12028         (csqrt_test): Likewise.
12029         (ctan_test): Likewise.
12030         (ctan_test_tonearest): Likewise.
12031         (ctan_test_towardzero): Likewise.
12032         (ctan_test_downward): Likewise.
12033         (ctan_test_upward): Likewise.
12034         (ctanh_test): Likewise.
12035         (ctanh_test_tonearest): Likewise.
12036         (ctanh_test_towardzero): Likewise.
12037         (ctanh_test_downward): Likewise.
12038         (ctanh_test_upward): Likewise.
12039         (erf_test): Likewise.
12040         (erfc_test): Likewise.
12041         (exp_test): Likewise.
12042         (exp_test_tonearest): Likewise.
12043         (exp_test_towardzero): Likewise.
12044         (exp_test_downward): Likewise.
12045         (exp_test_upward): Likewise.
12046         (exp10_test): Likewise.
12047         (exp10_test_tonearest): Likewise.
12048         (exp10_test_towardzero): Likewise.
12049         (exp10_test_downward): Likewise.
12050         (exp10_test_upward): Likewise.
12051         (pow10_test): Likewise.
12052         (exp2_test): Likewise.
12053         (expm1_test): Likewise.
12054         (expm1_test_tonearest): Likewise.
12055         (expm1_test_towardzero): Likewise.
12056         (expm1_test_downward): Likewise.
12057         (expm1_test_upward): Likewise.
12058         (fabs_test): Likewise.
12059         (fdim_test): Likewise.
12060         (floor_test): Likewise.
12061         (fma_test): Likewise.
12062         (fma_test_towardzero): Likewise.
12063         (fma_test_downward): Likewise.
12064         (fma_test_upward): Likewise.
12065         (fmax_test): Likewise.
12066         (fmin_test): Likewise.
12067         (fmod_test): Likewise.
12068         (fpclassify_test): Likewise.
12069         (frexp_test): Likewise.
12070         (hypot_test): Likewise.
12071         (ilogb_test): Likewise.
12072         (isfinite_test): Likewise.
12073         (finite_test): Likewise.
12074         (isgreater_test): Likewise.
12075         (isgreaterequal_test): Likewise.
12076         (isinf_test): Likewise.
12077         (isless_test): Likewise.
12078         (islessequal_test): Likewise.
12079         (islessgreater_test): Likewise.
12080         (isnan_test): Likewise.
12081         (isnormal_test): Likewise.
12082         (issignaling_test): Likewise.
12083         (isunordered_test): Likewise.
12084         (j0_test): Likewise.
12085         (j1_test): Likewise.
12086         (jn_test): Likewise.
12087         (ldexp_test): Likewise.
12088         (lgamma_test): Likewise.
12089         (gamma_test): Likewise.
12090         (lrint_test): Likewise.
12091         (lrint_test_tonearest): Likewise.
12092         (lrint_test_towardzero): Likewise.
12093         (lrint_test_downward): Likewise.
12094         (lrint_test_upward): Likewise.
12095         (llrint_test): Likewise.
12096         (llrint_test_tonearest): Likewise.
12097         (llrint_test_towardzero): Likewise.
12098         (llrint_test_downward): Likewise.
12099         (llrint_test_upward): Likewise.
12100         (log_test): Likewise.
12101         (log10_test): Likewise.
12102         (log1p_test): Likewise.
12103         (log2_test): Likewise.
12104         (logb_test): Likewise.
12105         (logb_test_downward): Likewise.
12106         (lround_test): Likewise.
12107         (llround_test): Likewise.
12108         (modf_test): Likewise.
12109         (nearbyint_test): Likewise.
12110         (nextafter_test): Likewise.
12111         (nexttoward_test): Likewise.
12112         (pow_test): Likewise.
12113         (pow_test_tonearest): Likewise.
12114         (pow_test_towardzero): Likewise.
12115         (pow_test_downward): Likewise.
12116         (pow_test_upward): Likewise.
12117         (remainder_test): Likewise.
12118         (drem_test): Likewise.
12119         (remainder_test_tonearest): Likewise.
12120         (drem_test_tonearest): Likewise.
12121         (remainder_test_towardzero): Likewise.
12122         (drem_test_towardzero): Likewise.
12123         (remainder_test_downward): Likewise.
12124         (drem_test_downward): Likewise.
12125         (remainder_test_upward): Likewise.
12126         (drem_test_upward): Likewise.
12127         (remquo_test): Likewise.
12128         (rint_test): Likewise.
12129         (rint_test_tonearest): Likewise.
12130         (rint_test_towardzero): Likewise.
12131         (rint_test_downward): Likewise.
12132         (rint_test_upward): Likewise.
12133         (round_test): Likewise.
12134         (scalb_test): Likewise.
12135         (scalbn_test): Likewise.
12136         (scalbln_test): Likewise.
12137         (signbit_test): Likewise.
12138         (sin_test): Likewise.
12139         (sin_test_tonearest): Likewise.
12140         (sin_test_towardzero): Likewise.
12141         (sin_test_downward): Likewise.
12142         (sin_test_upward): Likewise.
12143         (sincos_test): Likewise.
12144         (sinh_test): Likewise.
12145         (sinh_test_tonearest): Likewise.
12146         (sinh_test_towardzero): Likewise.
12147         (sinh_test_downward): Likewise.
12148         (sinh_test_upward): Likewise.
12149         (sqrt_test): Likewise.
12150         (sqrt_test_tonearest): Likewise.
12151         (sqrt_test_towardzero): Likewise.
12152         (sqrt_test_downward): Likewise.
12153         (sqrt_test_upward): Likewise.
12154         (tan_test): Likewise.
12155         (tan_test_tonearest): Likewise.
12156         (tan_test_towardzero): Likewise.
12157         (tan_test_downward): Likewise.
12158         (tan_test_upward): Likewise.
12159         (tanh_test): Likewise.
12160         (tgamma_test): Likewise.
12161         (trunc_test): Likewise.
12162         (y0_test): Likewise.
12163         (y1_test): Likewise.
12164         (yn_test): Likewise.
12165         (significand_test): Likewise.
12167         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12168         individual tests in comment.
12169         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12170         (prev_max_error): New variable.
12171         (prev_real_max_error): Likewise.
12172         (prev_imag_max_error): Likewise.
12173         (compare_ulp_data): Don't refer to test names in comment.
12174         (find_test_ulps): Remove function.
12175         (find_function_ulps): Likewise.
12176         (find_complex_function_ulps): Likewise.
12177         (init_max_error): Take function name as argument.  Look up ulps
12178         for that function.
12179         (print_ulps): Remove function.
12180         (print_max_error): Use prev_max_error instead of calling
12181         find_function_ulps.
12182         (print_complex_max_error): Use prev_real_max_error and
12183         prev_imag_max_error instead of calling find_complex_function_ulps.
12184         (check_float_internal): Take max_ulp parameter instead of calling
12185         find_test_ulps.  Don't call print_ulps.
12186         (check_float): Update call to check_float_internal.
12187         (check_complex): Update calls to check_float_internal.
12188         (START): Pass argument to init_max_error.
12189         * math/gen-libm-test.pl (%results): Don't include "kind"
12190         information.
12191         (parse_ulps): Don't handle ulps of individual tests.
12192         (print_ulps_file): Likewise.
12193         (output_ulps): Likewise.
12194         * math/README.libm-test: Update.
12195         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12196         individual tests.
12197         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12198         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12199         * sysdeps/arm/libm-test-ulps: Likewise.
12200         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12201         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12202         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12203         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12204         * sysdeps/microblaze/libm-test-ulps: Likewise.
12205         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12206         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12207         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12208         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12209         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12210         * sysdeps/sh/libm-test-ulps: Likewise.
12211         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12212         * sysdeps/tile/libm-test-ulps: Likewise.
12213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12215 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12217         * math/libm-test.inc (print_complex_max_error): Check separately
12218         whether real and imaginary errors are within allowed range and
12219         pass 0 to print_complex_function_ulps instead of value within
12220         allowed range.
12222 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12224         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12225         formatting.
12226         (get_handles_fopen): Likewise.
12227         (do_write_test): Likewise.
12229         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12231         * libio/fileops.c (do_ftell): Use cached offset when
12232         available.
12233         * libio/iofwide.c (do_ftell_wide): Likewise.
12234         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12235         _IO_file_attach.
12236         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12238         [BZ #16532]
12239         * libio/libioP.h (get_file_offset): New function.
12240         * libio/fileops.c (get_file_offset): Likewise.
12241         (do_ftell): Likewise.
12242         (_IO_new_file_seekoff): Split out ftell logic.
12243         * libio/wfileops.c (do_ftell_wide): Likewise.
12244         (_IO_wfile_seekoff): Split out ftell logic.
12245         * libio/tst-ftell-active-handler.c: New test case.
12246         * libio/Makefile (tests): Add it.
12248 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12250         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12251         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12253 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12255         [BZ #16639]
12256         * nscd/connections.c (nscd_init): Call do_exit.
12257         (start_threads): Call do_exit and notify_parent.
12258         (begin_drop_privileges): Call do_exit.
12259         (finish_drop_privileges): Likewise.
12260         * nscd/selinux.c (preserve_capabilities): Likewise.
12261         (install_real_capabilities): Likewise.
12262         (nscd_selinux_enabled): Likewise.
12263         (avc_create_thread): Likewise.
12264         (avc_alloc_lock): Likewise.
12265         (nscd_avc_init): Likewise.
12266         * nscd/nscd.c (parent_fd): New static variable.
12267         (main): Create a pipe between parent and child processes.
12268         Skip closing parent_fd.
12269         (monitor_child): New function.
12270         (do_exit): Likewise.
12271         (notify_parent): Likewise.
12272         * nscd/nscd.h (notify_parent): Likewise.
12273         (do_exit): Likewise.
12275 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12277         * malloc/malloc.c (__libc_calloc): Revert last change.
12279 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12283 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12285         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12287         implementation.
12288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12289         (__libc_ifunc_impl_list): Likewise.
12290         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12291         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12292         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12293         * string/strrchr.c: Define STRRCHR.
12295 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
12297         * benchtest/bench-strtok.c (simple_strtok): Delete.
12298         (strtok_string): Use as benchmark.
12299         * string/strtok (STRTOK): New macro.
12301 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
12303         * manual/threads.texi: Add header and standard comments to all
12304         functions.
12306         * elf/dl-lookup.c (check_match): New function.
12307         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12308         (do_lookup_x): Remove nested function check_match. Use non-nested
12309         function check_match.
12311 2014-02-28  Roland McGrath  <roland@hack.frob.com>
12313         * csu/Makefile (generated, before-compile): Use += rather than =.
12314         * catgets/Makefile (generated, generated-dirs): Likewise.
12315         * debug/Makefile (generated): Likewise.
12316         * dlfcn/Makefile (generated): Likewise.
12317         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12318         * iconvdata/Makefile (before-compile, generated): Likewise.
12319         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12320         * libio/Makefile (generated): Likewise.
12321         * malloc/Makefile (generated): Likewise.
12322         * manual/Makefile (generated, generated-dirs): Likewise.
12323         * misc/Makefile (generated): Likewise.
12324         * posix/Makefile (generated): Likewise.
12325         * resolv/Makefile (generated): Likewise.
12326         * sunrpc/Makefile (generated, generated-dirs): Likewise.
12327         * timezone/Makefile (generated, generated-dirs): Likewise.
12329         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12331 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12334         power8 implementation.
12335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12336         file: POWER8 llround ifunc implementation.
12337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12338         (__lllround): Add POWER8 implementation.
12339         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12340         POWER8 llround implementation.
12342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12343         power8 implementation.
12344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12345         file: POWER8 llrint ifunc implementation.
12346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12347         Add POWER8 implementation.
12348         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12349         POWER8 llrint implementation.
12351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12352         power8 implementation.
12353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12354         file: POWER8 finite ifunc implementation.
12355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12356         Add POWER8 implementation.
12357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12358         Likewise.
12359         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12360         POWER8 finite implementation.
12361         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12364         power8 implementation.
12365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12366         file: POWER8 isinf ifunc implementation.
12367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12368         POWER8 implementation.
12369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12370         Likewise.
12371         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12372         isinf implementation.
12373         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12375         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12376         (INIT_ARCH): Add hwcap2 initialization.
12377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12378         power8 implementation.
12379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12380         file: POWER8 isnan ifunc implementation.
12381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12382         POWER8 implementation.
12383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12384         Likewise.
12385         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12386         isnan implementation.
12387         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12389 2014-02-27  Joey Ye  <joey.ye@arm.com>
12391         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12392         (_FP_NANFRAC_Q): Set to zero.
12394 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12396         [BZ #16623]
12397         * math/auto-libm-test-in: New test inputs.
12398         * math/auto-libm-test-out: Regenerate.
12399         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12400         and DA.
12401         (__cos): Likewise.
12402         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12404 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
12406         * scripts/evaluate-test.sh: Take new argument indicating whether
12407         failure is expected.
12408         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12409         indicating whether failure is expected.
12410         * conform/Makefile (test-xfail-run-conformtest): New variable.
12411         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12412         level.
12413         * posix/Makefile (test-xfail-annexc): New variable.
12414         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12416 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
12418         * argp/Makefile: Include Makeconfig immediately after defining
12419         subdir.
12420         * assert/Makefile: Likewise.
12421         * benchtests/Makefile: Likewise.
12422         * catgets/Makefile: Likewise.
12423         * conform/Makefile: Likewise.
12424         * crypt/Makefile: Likewise.
12425         * csu/Makefile: Likewise.
12426         (all): Remove target.
12427         * ctype/Makefile: Include Makeconfig immediately after defining
12428         subdir.
12429         * debug/Makefile: Likewise.
12430         * dirent/Makefile: Likewise.
12431         * dlfcn/Makefile: Likewise.
12432         * gmon/Makefile: Likewise.
12433         * gnulib/Makefile: Likewise.
12434         * grp/Makefile: Likewise.
12435         * gshadow/Makefile: Likewise.
12436         * hesiod/Makefile: Likewise.
12437         * hurd/Makefile: Likewise.
12438         (all): Remove target.
12439         * iconvdata/Makefile: Include Makeconfig immediately after
12440         defining subdir.
12441         * inet/Makefile: Likewise.
12442         * intl/Makefile: Likewise.
12443         * io/Makefile: Likewise.
12444         * libio/Makefile: Likewise.
12445         (all): Remove target.
12446         * locale/Makefile: Include Makeconfig immediately after defining
12447         subdir.
12448         * login/Makefile: Likewise.
12449         * mach/Makefile: Likewise.
12450         (all): Remove target.
12451         * malloc/Makefile: Include Makeconfig immediately after defining
12452         subdir.
12453         (all): Remove target.
12454         * manual/Makefile: Include Makeconfig immediately after defining
12455         subdir.
12456         * math/Makefile: Likewise.
12457         * misc/Makefile: Likewise.
12458         * nis/Makefile: Likewise.
12459         * nss/Makefile: Likewise.
12460         * po/Makefile: Likewise.
12461         (all): Remove target.
12462         * posix/Makefile: Include Makeconfig immediately after defining
12463         subdir.
12464         * pwd/Makefile: Likewise.
12465         * resolv/Makefile: Likewise.
12466         * resource/Makefile: Likewise.
12467         * rt/Makefile: Likewise.
12468         * setjmp/Makefile: Likewise.
12469         * shadow/Makefile: Likewise.
12470         * signal/Makefile: Likewise.
12471         * socket/Makefile: Likewise.
12472         * soft-fp/Makefile: Likewise.
12473         * stdio-common/Makefile: Likewise.
12474         * stdlib/Makefile: Likewise.
12475         * streams/Makefile: Likewise.
12476         * string/Makefile: Likewise.
12477         * sunrpc/Makefile: Likewise.
12478         (all): Remove target.
12479         * sysvipc/Makefile: Include Makeconfig immediately after defining
12480         subdir.
12481         * termios/Makefile: Likewise.
12482         * time/Makefile: Likewise.
12483         * timezone/Makefile: Likewise.
12484         (all): Remove target.
12485         * wcsmbs/Makefile: Include Makeconfig immediately after defining
12486         subdir.
12487         * wctype/Makefile: Likewise.
12489 2014-02-26  Steve Ellcey  <sellcey@mips.com>
12491         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12492         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12493         (libc_feholdexcept_setround_mips): Ditto.
12494         (libc_feholdsetround): New.
12495         (libc_feholdsetroundf): New.
12496         (libc_feholdsetroundl): New.
12497         (libc_feupdateenv_test_mips): New.
12498         (libc_feupdateenv_test): New.
12499         (libc_feupdateenv_testf): New.
12500         (libc_feupdateenv_testl): New.
12501         (libc_feresetround): New.
12502         (libc_feresetroundf): New.
12503         (libc_feresetroundl): New.
12504         (libc_fetestexcept_mips): New.
12505         (libc_fetestexcept): New.
12506         (libc_fetestexceptf): New.
12507         (libc_fetestexceptl): New.
12508         (HAVE_RM_CTX): New.
12509         (libc_feholdexcept_setround_mips_ctx): New.
12510         (libc_feholdexcept_setround_ctx): New.
12511         (libc_feholdexcept_setroundf_ctx): New.
12512         (libc_feholdexcept_setroundl_ctx): New.
12513         (libc_fesetenv_mips_ctx): New.
12514         (libc_fesetenv_ctx): New.
12515         (libc_fesetenv_ctxf): New.
12516         (libc_fesetenv_ctxl): New.
12517         (libc_feupdateenv_mips_ctx): New.
12518         (libc_feupdateenv_ctx): New.
12519         (libc_feupdateenvf_ctx): New.
12520         (libc_feupdateenvl_ctx): New.
12521         (libc_feholdsetround_mips_ctx): New.
12522         (libc_feholdsetround_ctx): New.
12523         (libc_feholdsetroundf_ctx): New.
12524         (libc_feholdsetroundl_ctx): New.
12525         (libc_feresetround_mips_ctx): New.
12526         (libc_feresetround_ctx): New.
12527         (libc_feresetroundf_ctx): New.
12528         (libc_feresetroundl_ctx): New.
12530 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
12532         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12534         * manual/ipc.texi: New file.
12535         * manual/Makefile (chapters): Add ipc.
12536         * manual/job.texi: Add "Inter-Process Communication" to next.
12537         * manual/process.texi: Add "Inter-Process Communication" to prev.
12539 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12543 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
12545         * malloc/malloc.c (__libc_calloc): Simplify implementation.
12547         * manual/arith.texi: Fix spaces after sentences.
12548         * manual/charset.texi: Likewise.
12549         * manual/errno.texi: Likewise.
12550         * manual/install.texi: Likewise.
12551         * manual/llio.texi: Likewise.
12552         * manual/locale.texi: Likewise.
12553         * manual/maint.texi: Likewise.
12554         * manual/math.texi: Likewise.
12555         * manual/memory.texi: Likewise.
12556         * manual/message.texi: Likewise.
12557         * manual/probes.texi: Likewise.
12558         * manual/resource.texi: Likewise.
12559         * manual/signal.texi: Likewise.
12560         * manual/socket.texi: Likewise.
12561         * manual/stdio.texi: Likewise.
12562         * manual/string.texi: Likewise.
12563         * manual/time.texi: Likewise.
12564         * manual/users.texi: Likewise.
12566 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
12568         [BZ #16632]
12569         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12570         _DEFAULT_SOURCE is defined.
12572 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
12573             Carlos O'Donell  <carlos@redhat.com>
12575         [BZ #16613]
12576         * elf/dl-tls.c (_dl_count_modids): New function.
12577         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12578         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12579         audit library and increment generation counter.
12580         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12581         * elf/tst-audit9.c: New file.
12582         * elf/tst-auditmod9a.c: New file.
12583         * elf/tst-auditmod9b.c: New file.
12584         * elf/Makefile: Add rules to build and run tst-audit9.
12586 2014-02-25  Florian Weimer  <fweimer@redhat.com>
12588         [BZ #15347]
12589         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12591 2014-02-25  Will Newton  <will.newton@linaro.org>
12593         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12594         (__longjmp): Restore sp and lr before restoring callee
12595         saved registers.  Add longjmp and longjmp_target
12596         SystemTap probe point.
12597         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12598         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12599         Define to zero to match jmpbuf layout.
12600         * sysdeps/arm/setjmp.S: Include stap-probe.h.
12601         (__sigsetjmp): Save sp and lr before saving callee
12602         saved registers.  Add setjmp SystemTap probe point.
12604 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12606         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12608 2014-02-24  Andreas Schwab  <schwab@suse.de>
12610         [BZ #15804]
12611         * elf/pldd.c (wait_for_ptrace_stop): New function.
12612         (main): Call it after attaching.
12614 2014-02-22  Roland McGrath  <roland@hack.frob.com>
12616         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12617         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12618         Versions files is now verboten.
12619         * hurd/Versions (libc: GLIBC_2.0):
12620         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12621         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12622         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12623         * mach/Versions: Likewise.
12625         * csu/Versions: Remove unused %include.
12626         * resolv/Versions: Likewise.
12628 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
12630         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12631         ($(objpfx)check-local-headers.out): Likewise.
12632         ($(objpfx)begin-end-check.out): Likewise.
12633         * Makerules (check-abi-%.out): Likewise.
12634         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12635         ($(objpfx)test2.cat): Likewise.
12636         ($(objpfx)de/libc.cat): Likewise.
12637         ($(objpfx)test-gencat.out): Likewise.
12638         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12639         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12640         ($(objpfx)noload-mem): Likewise.
12641         ($(objpfx)tst-pathopt.out): Likewise.
12642         ($(objpfx)tst-rtld-load-self.out): Likewise.
12643         ($(objpfx)tst-array1-cmp.out): Likewise.
12644         ($(objpfx)tst-array1-static-cmp.out): Likewise.
12645         ($(objpfx)tst-array2-cmp.out): Likewise.
12646         ($(objpfx)tst-array3-cmp.out): Likewise.
12647         ($(objpfx)tst-array4-cmp.out): Likewise.
12648         ($(objpfx)tst-array5-cmp.out): Likewise.
12649         ($(objpfx)tst-array5-static-cmp.out): Likewise.
12650         ($(objpfx)check-textrel.out): Likewise.
12651         ($(objpfx)check-execstack.out): Likewise.
12652         ($(objpfx)check-localplt.out): Likewise.
12653         ($(objpfx)order2-cmp.out): Likewise.
12654         ($(objpfx)tst-leaks1-mem): Likewise.
12655         ($(objpfx)tst-leaks1-static-mem): Likewise.
12656         ($(objpfx)tst-initorder-cmp.out): Likewise.
12657         ($(objpfx)tst-initorder2-cmp.out): Likewise.
12658         ($(objpfx)tst-unused-dep.out): Likewise.
12659         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12660         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12661         * iconv/Makefile (test-iconvconfig): Likewise.
12662         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12663         ($(objpfx)iconv-test.out): Likewise.
12664         ($(objpfx)tst-tables.out): Likewise.
12665         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12666         ($(objpfx)tst-gettext.out): Likewise.
12667         ($(objpfx)tst-translit.out): Likewise.
12668         ($(objpfx)tst-gettext2.out): Likewise.
12669         ($(objpfx)tst-gettext4.out): Likewise.
12670         ($(objpfx)tst-gettext6.out): Likewise.
12671         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12672         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12673         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12674         ($(objpfx)tst-fopenloc-mem.out): Likewise.
12675         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12676         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12677         * posix/Makefile ($(objpfx)globtest.out): Likewise.
12678         ($(objpfx)wordexp-tst.out): Likewise.
12679         ($(objpfx)annexc.out): Likewise.
12680         ($(objpfx)tst-fnmatch-mem): Likewise.
12681         ($(objpfx)bug-regex2-mem): Likewise.
12682         ($(objpfx)bug-regex14-mem): Likewise.
12683         ($(objpfx)bug-regex21-mem): Likewise.
12684         ($(objpfx)bug-regex31-mem): Likewise.
12685         ($(objpfx)tst-vfork3-mem): Likewise.
12686         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12687         ($(objpfx)tst-pcre-mem): Likewise.
12688         ($(objpfx)tst-boost-mem): Likewise.
12689         ($(objpfx)tst-getconf.out): Likewise.
12690         ($(objpfx)bug-ga2-mem): Likewise.
12691         ($(objpfx)bug-glob2-mem): Likewise.
12692         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12693         ($(objpfx)mtrace-tst-leaks2): Likewise.
12694         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12695         ($(objpfx)tst-printf.out): Likewise.
12696         ($(objpfx)tst-setvbuf1.out): Likewise.
12697         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12698         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12699         ($(objpfx)tst-fmtmsg.out): Likewise.
12700         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12701         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12703         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12704         * bits/sigaction.h [__USE_MISC]: Likewise.
12705         * bits/waitstatus.h: Update #endif comments.
12706         * ctype/ctype.h: Likewise.
12707         * dirent/dirent.h: Likewise.
12708         [__USE_MISC]: Remove redundant conditionals.
12709         * grp/grp.h: Update #endif comments.
12710         [__USE_GNU]: Remove redundant conditionals.
12711         [__USE_MISC]: Likewise.
12712         * inet/netinet/in.h [__USE_GNU]: Likewise.
12713         * io/sys/stat.h [__USE_MISC]: Likewise.
12714         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12715         * libio/bits/stdio.h: Update #endif comments.
12716         [__USE_MISC]: Remove redundant conditionals.
12717         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12718         * libio/stdio.h: Update #endif comments.
12719         [__USE_MISC]: Remove redundant conditionals.
12720         * math/bits/math-finite.h [__USE_MISC]: Likewise.
12721         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12722         * math/math.h: Update #else and #endif comments.
12723         [__USE_MISC]: Remove redundant conditionals.
12724         * misc/sys/uio.h: Update #endif comments.
12725         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12726         * posix/glob.h [__USE_MISC]: Likewise.
12727         * posix/sys/types.h: Update #endif comments.
12728         [__USE_MISC]: Remove redundant conditionals.
12729         * posix/sys/wait.h: Update #endif comments.
12730         [__USE_MISC]: Remove redundant conditionals.
12731         * posix/unistd.h: Update #endif comments.
12732         [__USE_MISC]: Remove redundant conditionals.
12733         * pwd/pwd.h [__USE_GNU]: Likewise.
12734         [__USE_MISC]: Likewise.
12735         * resolv/netdb.h [__USE_GNU]: Likewise.
12736         * signal/signal.h: Update #endif comments.
12737         [__USE_MISC]: Remove redundant conditionals.
12738         * stdlib/stdlib.h: Update #else and #endif comments.
12739         [__USE_MISC]: Remove redundant conditionals.
12740         [__USE_GNU]: Likewise.
12741         * string/bits/string2.h [__USE_MISC]: Likewise.
12742         * string/string.h: Update #endif comments.
12743         [__USE_MISC]: Remove redundant conditionals.
12744         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12745         Likewise.
12746         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12747         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12748         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12749         Likewise.
12750         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12751         Likewise.
12752         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12753         comments.
12754         [__USE_MISC]: Remove redundant conditionals.
12755         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12756         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12757         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12758         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12759         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12760         Likewise.
12761         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12762         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12763         Likewise.
12764         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12765         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12766         Likewise.
12767         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12768         Likewise.
12769         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12770         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12771         Likewise.
12772         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12773         Likewise.
12774         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12775         * sysdeps/x86/bits/string.h: Update #endif comments.
12776         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12777         conditionals.
12778         * time/sys/time.h: Update #endif comments.
12779         * time/time.h: Likewise.
12780         [__USE_MISC]: Remove redundant conditionals.
12782 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
12784         [BZ #16600]
12785         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12787 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
12789         * Versions.def (librt): Add GLIBC_2.17.
12791 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12793         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12794         synonym for _SYS_AUXV_H to allow direct inclusion.
12795         * sysdeps/sparc/bits/hwcap.h: Likewise.
12796         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12797         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12798         * sysdeps/sparc/sysdep.h: Likewise.
12800 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12802         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12804 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12806         * benchtests/bench-strrchr.c: Print length instead of position.
12808 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12810         [BZ #16611]
12811         * sysdeps/unix/sysv/linux/kernel-features.h
12812         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12813         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12814         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12815         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12816         Likewise.
12817         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12818         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12819         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12820         (__ASSUME_SENDMMSG): Define instead of using previous
12821         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12822         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12823         (__ASSUME_SENDMMSG_SYSCALL): Define.
12824         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12825         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12826         Likewise.
12827         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12828         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12829         Likewise.
12830         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12831         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12832         Likewise.
12833         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12834         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12835         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12836         [__ASSUME_SENDMMSG]: Change conditionals to
12837         [__ASSUME_SENDMMSG_SOCKETCALL].
12838         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12839         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12840         Define.
12841         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12842         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12843         Likewise.
12844         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12845         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12846         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12847         [!__ASSUME_SENDMMSG]: Change conditional to
12848         [!__ASSUME_SENDMMSG_SOCKETCALL].
12849         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12850         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12851         Define.
12853         [BZ #16610]
12854         * sysdeps/unix/sysv/linux/kernel-features.h
12855         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12856         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12857         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12858         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12859         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12860         [__i386__ || __sparc__]
12861         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12862         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12863         (__ASSUME_RECVMMSG): Define instead of using previous
12864         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12865         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12866         (__ASSUME_RECVMMSG_SYSCALL): Define.
12867         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12868         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12869         Likewise.
12870         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12871         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12872         Likewise.
12873         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12874         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12875         Likewise.
12876         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12877         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12878         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12879         [__ASSUME_RECVMMSG]: Change condition to
12880         [__ASSUME_RECVMMSG_SOCKETCALL].
12881         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12882         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12883         Define.
12884         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12885         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12886         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12887         Likewise.
12888         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12889         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12890         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12891         [!__ASSUME_RECVMMSG]: Change condition to
12892         [!__ASSUME_RECVMMSG_SOCKETCALL].
12893         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12894         (__ASSUME_RECVMMSG_SYSCALL): Define.
12896         [BZ #16609]
12897         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12898         __powerpc__ || __s390__ || __sh__ || __sparc__]
12899         (__ASSUME_SOCKETCALL): Define.
12900         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12901         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12902         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12903         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12904         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12905         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12906         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12907         (__ASSUME_ACCEPT4): Define instead of using previous
12908         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12909         __powerpc__ || __sparc__ || __s390__)] condition.
12910         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12911         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12912         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12913         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12914         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12915         [!__ASSUME_ACCEPT4]: Change condition to
12916         [!__ASSUME_ACCEPT4_SOCKETCALL].
12917         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12918         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12919         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12920         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12921         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12922         __ASSUME_ACCEPT4_SYSCALL.
12923         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12924         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12925         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12926         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12927         __ASSUME_ACCEPT4_SYSCALL.
12928         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12929         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12930         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12931         [__ASSUME_ACCEPT4]: Change condition to
12932         [__ASSUME_ACCEPT4_SOCKETCALL].
12933         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12934         (__ASSUME_SOCKETCALL): Define.
12935         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12936         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12937         (__ASSUME_SOCKETCALL): Define.
12938         (__ASSUME_ACCEPT4): Remove.
12939         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12940         Define.
12941         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12942         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12943         Likewise.
12944         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12945         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12947         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12948         macro.
12949         (HWCAP_ARM_LPAE): Likewise.
12950         (HWCAP_ARM_EVTSTRM): Likewise.
12951         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12952         Add vpfd32, lpae and evtstrm.
12953         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12954         Increase to 22.
12956 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12958         * math/auto-libm-test-in: Add tests of clog10.
12959         * math/auto-libm-test-out: Regenerated.
12960         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12961         * sysdeps/i386/fpu/libm-test-ulps: Update.
12962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12964 2014-02-18  Andreas Schwab  <schwab@suse.de>
12966         [BZ #16574]
12967         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12968         Store non-zero if the second buffer was newly allocated.
12969         (send_dg): Likewise.
12970         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12971         to send_vc and send_dg.
12972         (res_nsend): Pass NULL for ansp2_malloced.
12973         * resolv/res_query.c (__libc_res_nquery): Add parameter
12974         answerp2_malloced and pass it down to __libc_res_nsend.
12975         (res_nquery): Pass additional NULL to __libc_res_nquery.
12976         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12977         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12978         second answer buffer if answerp2_malloced was set.
12979         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12980         (__libc_res_nquerydomain): Add parameter
12981         answerp2_malloced and pass it down to __libc_res_nquery.
12982         (res_nquerydomain): Pass additional NULL to
12983         __libc_res_nquerydomain.
12984         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12985         additional NULL to __libc_res_nsend and __libc_res_nquery.
12986         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12987         additional NULL to __libc_res_nsearch.
12988         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12989         parameter of __libc_res_nsearch to check for separately allocated
12990         second buffer.
12991         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12992         __libc_res_nquery.
12993         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12994         additional NULL to __libc_res_nquery.
12995         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12996         __libc_res_nsearch.
12997         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12998         * include/resolv.h: Update prototypes of __libc_res_nquery,
12999         __libc_res_nsearch, __libc_res_nsend.
13001 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
13003         * math/auto-libm-test-in: Add tests of fma.
13004         * math/auto-libm-test-out: Regenerated.
13005         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13006         (fma_towardzero_test_data): Likewise.
13007         (fma_downward_test_data): Likewise.
13008         (fma_upward_test_data): Likewise.
13009         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13010         mpc_mode.
13011         (rounding_modes): Add values for new field.
13012         (func_calc_method): Add value mpfr_fff_f.
13013         (func_calc_desc): Add mpfr_fff_f union field.
13014         (test_function): Add field exact_args.
13015         (FUNC): Add macro argument EXACT_ARGS.
13016         (FUNC_mpfr_f_f): Update call to FUNC.
13017         (FUNC_mpfr_f_f): Likewise.
13018         (FUNC_mpfr_ff_f): Likewise.
13019         (FUNC_mpfr_if_f): Likewise.
13020         (FUNC_mpc_c_f): Likewise.
13021         (FUNC_mpc_c_c): Likewise.
13022         (test_functions): Add fma.  Update calls to FUNC.
13023         (handle_input_arg): Add argument exact_args.
13024         (add_test): Update call to handle_input_arg.
13025         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
13026         (output_for_one_input_case): Update call to calc_generic_results.
13027         Recalculate exact zero results in each rounding mode.
13029         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13030         non-negative before setting low bit.
13031         * math/auto-libm-test-in: Mark one asin test possibly having
13032         spurious underflow.
13033         * math/auto-libm-test-out: Regenerated.
13034         * sysdeps/i386/fpu/libm-test-ulps: Update.
13035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13037 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
13039         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13040         * sysdeps/unix/sysv/linux/microblaze: Move directory from
13041         ports/sysdeps/unix/sysv/linux/microblaze.
13042         * README: Add missing listing for microblaze*-*-linux-gnu.
13044 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
13046         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13047         duplicate code
13049 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
13051         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13052         * sysdeps/unix/sysv/linux/ia64: Move directory from
13053         ports/sysdeps/unix/sysv/linux/ia64.
13054         * README: Update listing for ia64-*-linux-gnu.
13056 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
13057             Joseph Myers  <joseph@codesourcery.com>
13059         * Makeconfig (test-name): New variable.
13060         (evaluate-test): Likewise.
13061         * Makerules (do-test-clean): Remove .test-result files.
13062         (common-mostlyclean): Likewise.
13063         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13064         * scripts/evaluate-test.sh: New file.
13066 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
13068         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13069         separate $(objpfx)tst-fopenloc-cmp.out and
13070         $(objpfx)tst-fopenloc-mem.out targets.
13071         (tests): Update dependencies.
13072         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13073         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13074         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13075         (tst-rxspencer-no-utf8-ARGS): New variable.
13076         (tst-rxspencer-no-utf8-ENV): Likewise.
13077         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13078         instead of $(objpfx)tst-rxspencer-mem.
13079         ($(objpfx)tst-rxspencer-mem): Change target to
13080         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
13081         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13082         * posix/tst-rxspencer-no-utf8.c: New file.
13084         * elf/Makefile ($(objpfx)order.out): Remove rule.
13085         [$(run-built-tests) = yes] (tests): Depend on
13086         $(objpfx)order-cmp.out.
13087         ($(objpfx)order-cmp.out): New rule.
13088         [$(run-built-tests) = yes] (tests): Depend on
13089         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13090         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13091         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13092         $(objpfx)tst-array5-static-cmp.out.
13093         ($(objpfx)tst-array1.out): Remove rule.
13094         ($(objpfx)tst-array1-cmp.out): New rule.
13095         ($(objpfx)tst-array1-static.out): Remove rule.
13096         ($(objpfx)tst-array1-static-cmp.out): New rule.
13097         ($(objpfx)tst-array2.out): Remove rule.
13098         ($(objpfx)tst-array2-cmp.out): New rule.
13099         ($(objpfx)tst-array3.out): Remove rule.
13100         ($(objpfx)tst-array3-cmp.out): New rule.
13101         ($(objpfx)tst-array4.out): Remove rule.
13102         ($(objpfx)tst-array4-cmp.out): New rule.
13103         ($(objpfx)tst-array5.out): Remove rule.
13104         ($(objpfx)tst-array5-cmp.out): New rule.
13105         ($(objpfx)tst-array5-static.out): Remove rule.
13106         ($(objpfx)tst-array5-static-cmp.out): New rule.
13107         [$(run-built-tests) = yes] (tests): Depend on
13108         $(objpfx)order2-cmp.out.
13109         ($(objpfx)order2.out): Remove rule.
13110         ($(objpfx)order2-cmp.out): New rule.
13111         ($(objpfx)tst-initorder.out): Remove rule.
13112         [$(run-built-tests) = yes] (tests): Depend on
13113         $(objpfx)tst-initorder-cmp.out.
13114         ($(objpfx)tst-initorder-cmp.out): New rule.
13115         ($(objpfx)tst-initorder2.out): Remove rule.
13116         [$(run-built-tests) = yes] (tests): Depend on
13117         $(objpfx)tst-initorder2-cmp.out.
13118         ($(objpfx)tst-initorder2-cmp.out): New rule.
13119         [$(run-built-tests) = yes] (tests): Depend on
13120         $(objpfx)tst-unused-dep-cmp.out.
13121         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13122         ($(objpfx)tst-unused-dep-cmp.out): New rule.
13123         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13124         on $(objpfx)tst-setvbuf1-cmp.out.
13125         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13126         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13127         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13128         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13129         ($(objpfx)tst-svc.out): Remove rule.
13130         ($(objpfx)tst-svc-cmp.out): New rule.
13132 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
13134         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13135         * ctype/ctype.h [__USE_MISC]: Likewise.
13136         * dirent/dirent.h [__USE_MISC]: Likewise.
13137         * grp/grp.h [__USE_MISC]: Likewise.
13138         * io/fcntl.h [__USE_MISC]: Likewise.
13139         * io/sys/stat.h [__USE_MISC]: Likewise.
13140         * libio/stdio.h [__USE_MISC]: Likewise.
13141         * posix/unistd.h [__USE_MISC]: Likewise.
13142         * pwd/pwd.h [__USE_MISC]: Likewise.
13143         * stdlib.h [__USE_MISC]: Likewise.
13144         * string/bits/string2.h [__USE_MISC]: Likewise.
13145         * string/string.h [__USE_MISC]: Likewise.
13146         * time/time.h [__USE_MISC]: Likewise.
13148 2014-02-13  Andreas Schwab  <schwab@suse.de>
13150         [BZ #16574]
13151         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13152         second answer buffer if it was separately allocated.
13154 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
13156         * sysdeps/mips/math-tests.h: Include <features.h>.
13157         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13158         (ROUNDING_TESTS_long_double): Do not define.
13159         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13160         (EXCEPTION_TESTS_long_double): Likewise.
13161         * sysdeps/mips/mips64/libm-test-ulps: Update.
13163         * include/features.h (__USE_BSD): Remove macro definitions.
13164         (__USE_SVID): Likewise.
13165         (_BSD_SOURCE): Likewise.
13166         (_SVID_SOURCE): Likewise.
13167         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13168         from definition of _DEFAULT_SOURCE.
13169         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13170         [_DEFAULT_SOURCE].
13171         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13172         * bits/mman.h [__USE_BSD]: Likewise.
13173         * bits/termios.h [__USE_BSD]: Likewise.
13174         * bits/waitstatus.h [__USE_BSD]: Likewise.
13175         * ctype/ctype.h [__USE_SVID]: Likewise.
13176         * dirent/dirent.h [__USE_BSD]: Likewise.
13177         * grp/grp.h [__USE_SVID]: Likewise.
13178         [__USE_BSD]: Likewise.
13179         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13180         * io/fcntl.h [__USE_BSD]: Likewise.
13181         * io/ftw.h [__USE_BSD]: Likewise.
13182         * io/sys/stat.h [__USE_BSD]: Likewise.
13183         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13184         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13185         * libio/stdio.h [__USE_SVID]: Likewise.
13186         [__USE_BSD]: Likewise.
13187         * math/math.h [__USE_SVID]: Likewise.
13188         [__USE_BSD]: Likewise.
13189         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13190         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13191         * misc/search.h [__USE_SVID]: Likewise.
13192         * misc/sys/mman.h [__USE_BSD]: Likewise.
13193         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13194         * misc/sys/uio.h [__USE_BSD]: Likewise.
13195         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13196         * posix/glob.h [__USE_BSD]: Likewise.
13197         * posix/regex.h [__USE_BSD]: Likewise.
13198         * posix/sys/types.h [__USE_BSD]: Likewise.
13199         [__USE_SVID]: Likewise.
13200         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13201         * posix/sys/wait.h [__USE_BSD]: Likewise.
13202         [__USE_SVID]: Likewise.
13203         * posix/unistd.h [__USE_BSD]: Likewise.
13204         [__USE_SVID]: Likewise.
13205         * pwd/pwd.h [__USE_SVID]: Likewise.
13206         * resolv/netdb.h [__USE_BSD]: Likewise.
13207         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13208         * signal/signal.h [__USE_BSD]: Likewise.
13209         [__USE_SVID]: Likewise.
13210         * socket/sys/socket.h [__USE_BSD]: Likewise.
13211         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13212         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13213         [__USE_SVID]: Likewise.
13214         * string/bits/string2.h [__USE_BSD]: Likewise.
13215         [__USE_SVID]: Likewise.
13216         * string/bits/string3.h [__USE_BSD]: Likewise.
13217         * string/endian.h [__USE_BSD]: Likewise.
13218         * string/string.h [__USE_SVID]: Likewise.
13219         [__USE_BSD]: Likewise.
13220         * string/strings.h [__USE_BSD]: Likewise.
13221         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13222         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13223         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13224         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13225         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13226         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13227         Likewise.
13228         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13229         Likewise.
13230         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13231         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13232         Likewise.
13233         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13234         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13235         Likewise.
13236         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13237         Likewise.
13238         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13239         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13240         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13241         Likewise.
13242         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13243         Likewise.
13244         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13245         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13246         * termios/termios.h [__USE_BSD]: Likewise.
13247         * time/sys/time.h [__USE_BSD]: Likewise.
13248         * time/time.h [__USE_BSD]: Likewise.
13249         [__USE_SVID]: Likewise.
13251         * Makefile (subdir_targets): Remove subdir_lint.out.
13253         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13254         (do-tst-printf): Likewise.
13255         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13256         $(objpfx)tst-printf.out.
13258         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13260         * Makerules (check-abi-%): Change target to
13261         $(objpfx)check-abi-%.out.
13262         (check-abi target): Update dependencies.
13263         (check-abi-pattern variable): Redirect output of diff to $@.
13264         (check-abi variable): Likewise.
13265         * elf/Makefile (check-abi): Update dependencies.
13267         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13268         unused.
13269         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13270         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13271         subnormal range.
13272         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13273         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13274         value has largest subnormal exponent.
13275         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13276         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13277         * sysdeps/aarch64/soft-fp/sfp-machine.h
13278         (_FP_TININESS_AFTER_ROUNDING): New macro.
13279         * sysdeps/alpha/soft-fp/sfp-machine.h
13280         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13281         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13282         Likewise.
13283         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13284         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13285         * sysdeps/mips/soft-fp/sfp-machine.h
13286         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13287         * sysdeps/powerpc/soft-fp/sfp-machine.h
13288         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13289         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13290         Likewise.
13291         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13292         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13293         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13294         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13295         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13296         Likewise.
13298 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
13300         [BZ #16545]
13301         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13302         model 1.
13304 2014-02-12  Richard Henderson  <rth@redhat.com>
13306         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13307         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13308         * sysdeps/unix/sysv/linux/alpha: Move directory from
13309         ports/sysdeps/unix/sysv/linux/alpha.
13310         * README: Update listing for alpha-*-linux-gnu.
13312 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
13314         * include/features.h: Update comment documenting feature test
13315         macros.
13316         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
13317         _DEFAULT_SOURCE.
13318         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13319         (_SVID_SOURCE): Likewise.
13320         (_DEFAULT_SOURCE): Update description of default features.
13321         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13322         with _GNU_SOURCE.
13323         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13324         (S_ISVTX): Likewise.
13325         * manual/math.texi (Mathematical Constants): Likewise.
13326         * manual/signal.texi (Interrupted Primitives): Likewise.
13327         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13328         * math/test-matherr.c (_SVID_SOURCE): Do not define.
13329         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13330         Don't refer to _SVID_SOURCE in warning text.
13332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13334         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13335         already defined.
13336         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13337         * sysdeps/mips/dl-lookup.c: Remove.
13338         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13340 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13342         [BZ #16447]
13343         * math/auto-libm-test-in: Add testcase for expl.
13344         * math/auto-libm-test-out: Regenerate.
13345         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13346         calculation of unsafe.
13347         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13349 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13351         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13352         * sysdeps/unix/sysv/linux/aarch64: Move directory from
13353         ports/sysdeps/unix/sysv/linux/aarch64.
13354         * README: Update listing for aarch64*-*-linux-gnu.
13356 2014-02-11  Will Newton  <will.newton@linaro.org>
13358         * manual/probes.texi (Mathematical Function Probes): Use
13359         "triggered" instead of "hit".
13361         * manual/probes.texi (Internal Probes): Add documentation
13362         of setjmp, longjmp and longjmp_target probes.
13364         * include/stap-probe.h: Add comment about probe argument
13365         format.
13367         * malloc/mtrace.c (attribute_hidden): Remove unused macro
13368         definition.  (tr_where, tr_freehook, tr_mallochook,
13369         tr_reallochook, tr_memalignhook): Use ANSI protoype.
13371 2014-02-11  David S. Miller  <davem@davemloft.net>
13373         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13374         processing int_tests.
13376 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
13378         * sysdeps/mips: Move directory from ports/sysdeps/mips.
13379         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13380         * sysdeps/unix/sysv/linux/mips: Move directory from
13381         ports/sysdeps/unix/sysv/linux/mips.
13382         * README: Update listing for mips-*-linux-gnu and
13383         mips64-*-linux-gnu.
13385 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
13387         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13388         * sysdeps/unix/sysv/linux/m68k: Move directory from
13389         ports/sysdeps/unix/sysv/linux/m68k.
13390         * README: Update listing for m68k-*-linux-gnu.
13392 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
13394         * sysdeps/tile: Move directory from ports/sysdeps/tile.
13395         * sysdeps/unix/sysv/linux/generic: Move directory from
13396         ports/sysdeps/unix/sysv/linux/generic.
13397         * sysdeps/unix/sysv/linux/tile: Move directory from
13398         ports/sysdeps/unix/sysv/linux/tile.
13399         * README: Update listing for tile*-*-linux-gnu.
13401 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
13403         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13404         __builtin_expect.
13405         * benchtests/bench-memmem.c (simple_memmem): Likewise.
13406         * catgets/open_catalog.c (__open_catalog): Likewise.
13407         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13408         * debug/confstr_chk.c: Likewise.
13409         * debug/fread_chk.c (__fread_chk): Likewise.
13410         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13411         * debug/getgroups_chk.c: Likewise.
13412         * debug/mbsnrtowcs_chk.c: Likewise.
13413         * debug/mbsrtowcs_chk.c: Likewise.
13414         * debug/mbstowcs_chk.c: Likewise.
13415         * debug/memcpy_chk.c: Likewise.
13416         * debug/memmove_chk.c: Likewise.
13417         * debug/mempcpy_chk.c: Likewise.
13418         * debug/memset_chk.c: Likewise.
13419         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13420         * debug/strcat_chk.c (__strcat_chk): Likewise.
13421         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13422         * debug/strncat_chk.c (__strncat_chk): Likewise.
13423         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13424         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13425         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13426         * debug/wcpncpy_chk.c: Likewise.
13427         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13428         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13429         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13430         * debug/wcsncpy_chk.c: Likewise.
13431         * debug/wcsnrtombs_chk.c: Likewise.
13432         * debug/wcsrtombs_chk.c: Likewise.
13433         * debug/wcstombs_chk.c: Likewise.
13434         * debug/wmemcpy_chk.c: Likewise.
13435         * debug/wmemmove_chk.c: Likewise.
13436         * debug/wmempcpy_chk.c: Likewise.
13437         * debug/wmemset_chk.c: Likewise.
13438         * dirent/scandirat.c (SCANDIRAT): Likewise.
13439         * dlfcn/dladdr1.c (dladdr1): Likewise.
13440         * dlfcn/dladdr.c (dladdr): Likewise.
13441         * dlfcn/dlclose.c (dlclose_doit): Likewise.
13442         * dlfcn/dlerror.c (__dlerror): Likewise.
13443         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13444         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13445         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13446         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13447         * dlfcn/dlsym.c (dlsym_doit): Likewise.
13448         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13449         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13450         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13451         Likewise.
13452         * elf/dl-conflict.c: Likewise.
13453         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13454         * elf/dl-dst.h: Likewise.
13455         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13456         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13457         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13458         * elf/dl-init.c (call_init, _dl_init): Likewise.
13459         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13460         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13461         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13462         Likewise.
13463         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13464         Likewise.
13465         * elf/dl-minimal.c (__libc_memalign): Likewise.
13466         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13467         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13468         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13469         * elf/dl-sym.c (do_sym): Likewise.
13470         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13471         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13472         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13473         * elf/dl-writev.h (_dl_writev): Likewise.
13474         * elf/ldconfig.c (search_dir): Likewise.
13475         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13476         (dl_main): Likewise.
13477         * elf/setup-vdso.h (setup_vdso): Likewise.
13478         * grp/compat-initgroups.c (compat_call): Likewise.
13479         * grp/fgetgrent.c (fgetgrent): Likewise.
13480         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13481         * grp/putgrent.c (putgrent): Likewise.
13482         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13483         Likewise.
13484         * hurd/hurdinit.c: Likewise.
13485         * iconvdata/8bit-gap.c (struct): Likewise.
13486         * iconvdata/ansi_x3.110.c : Likewise.
13487         * iconvdata/big5.c : Likewise.
13488         * iconvdata/big5hkscs.c : Likewise.
13489         * iconvdata/cp1255.c: Likewise.
13490         * iconvdata/cp1258.c : Likewise.
13491         * iconvdata/cp932.c : Likewise.
13492         * iconvdata/euc-cn.c: Likewise.
13493         * iconvdata/euc-jisx0213.c : Likewise.
13494         * iconvdata/euc-jp.c: Likewise.
13495         * iconvdata/euc-jp-ms.c : Likewise.
13496         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13497         * iconvdata/gb18030.c : Likewise.
13498         * iconvdata/gbbig5.c (const): Likewise.
13499         * iconvdata/gbgbk.c: Likewise.
13500         * iconvdata/gbk.c : Likewise.
13501         * iconvdata/ibm1364.c : Likewise.
13502         * iconvdata/ibm930.c : Likewise.
13503         * iconvdata/ibm932.c: Likewise.
13504         * iconvdata/ibm933.c : Likewise.
13505         * iconvdata/ibm935.c : Likewise.
13506         * iconvdata/ibm937.c : Likewise.
13507         * iconvdata/ibm939.c : Likewise.
13508         * iconvdata/ibm943.c: Likewise.
13509         * iconvdata/iso_11548-1.c: Likewise.
13510         * iconvdata/iso-2022-cn.c : Likewise.
13511         * iconvdata/iso-2022-cn-ext.c : Likewise.
13512         * iconvdata/iso-2022-jp-3.c: Likewise.
13513         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13514         * iconvdata/iso-2022-kr.c : Likewise.
13515         * iconvdata/iso646.c (gconv_end): Likewise.
13516         * iconvdata/iso_6937-2.c : Likewise.
13517         * iconvdata/iso_6937.c : Likewise.
13518         * iconvdata/iso8859-1.c: Likewise.
13519         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13520         * iconvdata/shift_jisx0213.c : Likewise.
13521         * iconvdata/sjis.c : Likewise.
13522         * iconvdata/t.61.c : Likewise.
13523         * iconvdata/tcvn5712-1.c : Likewise.
13524         * iconvdata/tscii.c: Likewise.
13525         * iconvdata/uhc.c : Likewise.
13526         * iconvdata/unicode.c (gconv_end): Likewise.
13527         * iconvdata/utf-16.c (gconv_end): Likewise.
13528         * iconvdata/utf-32.c (gconv_end): Likewise.
13529         * iconvdata/utf-7.c (base64): Likewise.
13530         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13531         * iconv/gconv_close.c (__gconv_close): Likewise.
13532         * iconv/gconv_open.c (__gconv_open): Likewise.
13533         * iconv/gconv_simple.c (internal_ucs4_loop_single)
13534         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13535         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13536         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13537         (ucs4le_internal_loop_single): Likewise.
13538         * iconv/iconv.c (iconv): Likewise.
13539         * iconv/iconv_close.c: Likewise.
13540         * iconv/loop.c (SINGLE): Likewise.
13541         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13542         * include/atomic.h: Likewise.
13543         * inet/inet6_option.c (option_alloc): Likewise.
13544         * intl/bindtextdom.c (set_binding_values): Likewise.
13545         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13546         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13547         * intl/localealias.c (read_alias_file): Likewise.
13548         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13549         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13550         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13551         * libio/fmemopen.c (fmemopen): Likewise.
13552         * libio/iofgets.c (_IO_fgets): Likewise.
13553         * libio/iofgets_u.c (fgets_unlocked): Likewise.
13554         * libio/iofgetws.c (fgetws): Likewise.
13555         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13556         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13557         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13558         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13559         * locale/findlocale.c (_nl_find_locale): Likewise.
13560         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13561         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13562         Likewise.
13563         * locale/setlocale.c (setlocale): Likewise.
13564         * login/programs/pt_chown.c (main): Likewise.
13565         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13566         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13567         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13568         (mmap, mmap64, mremap, munmap): Likewise.
13569         * math/e_exp2l.c: Likewise.
13570         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13571         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13572         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13573         * math/s_catan.c (__catan): Likewise.
13574         * math/s_catanf.c (__catanf): Likewise.
13575         * math/s_catanh.c (__catanh): Likewise.
13576         * math/s_catanhf.c (__catanhf): Likewise.
13577         * math/s_catanhl.c (__catanhl): Likewise.
13578         * math/s_catanl.c (__catanl): Likewise.
13579         * math/s_ccosh.c (__ccosh): Likewise.
13580         * math/s_ccoshf.c (__ccoshf): Likewise.
13581         * math/s_ccoshl.c (__ccoshl): Likewise.
13582         * math/s_cexp.c (__cexp): Likewise.
13583         * math/s_cexpf.c (__cexpf): Likewise.
13584         * math/s_cexpl.c (__cexpl): Likewise.
13585         * math/s_clog10.c (__clog10): Likewise.
13586         * math/s_clog10f.c (__clog10f): Likewise.
13587         * math/s_clog10l.c (__clog10l): Likewise.
13588         * math/s_clog.c (__clog): Likewise.
13589         * math/s_clogf.c (__clogf): Likewise.
13590         * math/s_clogl.c (__clogl): Likewise.
13591         * math/s_csin.c (__csin): Likewise.
13592         * math/s_csinf.c (__csinf): Likewise.
13593         * math/s_csinh.c (__csinh): Likewise.
13594         * math/s_csinhf.c (__csinhf): Likewise.
13595         * math/s_csinhl.c (__csinhl): Likewise.
13596         * math/s_csinl.c (__csinl): Likewise.
13597         * math/s_csqrt.c (__csqrt): Likewise.
13598         * math/s_csqrtf.c (__csqrtf): Likewise.
13599         * math/s_csqrtl.c (__csqrtl): Likewise.
13600         * math/s_ctan.c (__ctan): Likewise.
13601         * math/s_ctanf.c (__ctanf): Likewise.
13602         * math/s_ctanh.c (__ctanh): Likewise.
13603         * math/s_ctanhf.c (__ctanhf): Likewise.
13604         * math/s_ctanhl.c (__ctanhl): Likewise.
13605         * math/s_ctanl.c (__ctanl): Likewise.
13606         * math/w_pow.c: Likewise.
13607         * math/w_powf.c: Likewise.
13608         * math/w_powl.c: Likewise.
13609         * math/w_scalb.c (sysv_scalb): Likewise.
13610         * math/w_scalbf.c (sysv_scalbf): Likewise.
13611         * math/w_scalbl.c (sysv_scalbl): Likewise.
13612         * misc/error.c (error_tail): Likewise.
13613         * misc/pselect.c (__pselect): Likewise.
13614         * nis/nis_callback.c (__nis_create_callback): Likewise.
13615         * nis/nis_call.c (__nisfind_server): Likewise.
13616         * nis/nis_creategroup.c (nis_creategroup): Likewise.
13617         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13618         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13619         * nis/nis_getservlist.c (nis_getservlist): Likewise.
13620         * nis/nis_lookup.c (nis_lookup): Likewise.
13621         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13622         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13623         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13624         * nis/nis_xdr.c (xdr_endpoint): Likewise.
13625         * nis/nss_compat/compat-grp.c (getgrent_next_file)
13626         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13627         * nis/nss_compat/compat-initgroups.c (add_group)
13628         (internal_getgrent_r): Likewise.
13629         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13630         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13631         * nis/nss_compat/compat-spwd.c (getspent_next_file)
13632         (internal_getspnam_r): Likewise.
13633         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13634         (_nss_nis_getaliasbyname_r): Likewise.
13635         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13636         (_nss_nis_getntohost_r): Likewise.
13637         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13638         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13639         (_nss_nis_getgrgid_r): Likewise.
13640         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13641         (internal_nis_gethostent_r, internal_gethostbyname2_r)
13642         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13643         (_nss_nis_gethostbyname4_r): Likewise.
13644         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13645         (initgroups_netid): Likewise.
13646         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13647         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13648         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13649         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13650         (_nss_nis_getprotobynumber_r): Likewise.
13651         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13652         (_nss_nis_getsecretkey): Likewise.
13653         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13654         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13655         (_nss_nis_getpwuid_r): Likewise.
13656         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13657         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13658         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13659         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13660         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13661         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13662         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13663         Likewise.
13664         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13665         (_nss_nisplus_getntohost_r): Likewise.
13666         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13667         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13668         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13669         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13670         Likewise.
13671         * nis/nss_nisplus/nisplus-initgroups.c
13672         (_nss_nisplus_initgroups_dyn): Likewise.
13673         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13674         (_nss_nisplus_getnetbyaddr_r): Likewise.
13675         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13676         (_nss_nisplus_getprotobynumber_r): Likewise.
13677         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13678         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13679         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13680         Likewise.
13681         * nis/nss_nisplus/nisplus-service.c
13682         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13683         (_nss_nisplus_getservbyport_r): Likewise.
13684         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13685         (_nss_nisplus_getspnam_r): Likewise.
13686         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13687         Likewise.
13688         * nscd/aicache.c (addhstaiX): Likewise.
13689         * nscd/cache.c (cache_search, prune_cache): Likewise.
13690         * nscd/connections.c (register_traced_file, send_ro_fd)
13691         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13692         (main_loop_epoll): Likewise.
13693         * nscd/grpcache.c (addgrbyX): Likewise.
13694         * nscd/hstcache.c (addhstbyX): Likewise.
13695         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13696         * nscd/mem.c (gc, mempool_alloc): Likewise.
13697         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13698         (addinnetgrX): Likewise.
13699         * nscd/nscd-client.h (__nscd_acquire_maplock)
13700         (__nscd_drop_map_ref): Likewise.
13701         * nscd/nscd_getai.c (__nscd_getai): Likewise.
13702         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13703         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13704         Likewise.
13705         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13706         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13707         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13708         (__nscd_get_map_ref): Likewise.
13709         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13710         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13711         Likewise.
13712         * nscd/pwdcache.c (addpwbyX): Likewise.
13713         * nscd/selinux.c (preserve_capabilities): Likewise.
13714         * nscd/servicescache.c (addservbyX): Likewise.
13715         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13716         * posix/fnmatch.c (fnmatch): Likewise.
13717         * posix/getopt.c (_getopt_internal_r): Likewise.
13718         * posix/glob.c (glob, glob_in_dir): Likewise.
13719         * posix/wordexp.c (exec_comm_child): Likewise.
13720         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13721         (getanswer_r, gaih_getanswer_slice): Likewise.
13722         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13723         * resolv/res_init.c: Likewise.
13724         * resolv/res_mkquery.c (res_nmkquery): Likewise.
13725         * resolv/res_query.c (__libc_res_nquery): Likewise.
13726         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13727         Likewise.
13728         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13729         * stdio-common/perror.c (perror): Likewise.
13730         * stdio-common/printf_fp.c (___printf_fp): Likewise.
13731         * stdio-common/tmpnam.c (tmpnam): Likewise.
13732         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13733         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13734         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13735         Likewise.
13736         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13737         * stdlib/putenv.c (putenv): Likewise.
13738         * stdlib/setenv.c (__add_to_environ): Likewise.
13739         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13740         * stdlib/strtol_l.c (INTERNAL): Likewise.
13741         * string/memmem.c (memmem): Likewise.
13742         * string/strerror.c (strerror): Likewise.
13743         * string/strnlen.c (__strnlen): Likewise.
13744         * string/test-memmem.c (simple_memmem): Likewise.
13745         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13746         * sunrpc/pm_getport.c (__get_socket): Likewise.
13747         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13748         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13749         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13750         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13751         Likewise.
13752         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13753         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13754         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13755         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13756         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13757         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13758         Likewise.
13759         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13760         Likewise.
13761         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13762         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13763         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13764         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13765         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13767         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13768         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13769         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13770         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13771         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13772         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13773         Likewise.
13774         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13775         Likewise.
13776         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13777         Likewise.
13778         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13779         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13780         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13781         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13782         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13783         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13784         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13785         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13786         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13787         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13788         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13789         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13790         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13791         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13793         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13794         Likewise.
13795         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13796         Likewise.
13797         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13798         Likewise.
13799         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13800         Likewise.
13801         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13803         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13804         Likewise.
13805         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13806         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13807         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13808         * sysdeps/posix/sleep.c: Likewise.
13809         * sysdeps/posix/tempname.c: Likewise.
13810         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13811         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13812         Likewise.
13813         * sysdeps/powerpc/powerpc32/dl-machine.h
13814         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13815         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13816         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13817         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13818         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13819         Likewise.
13820         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13821         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13822         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13823         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13824         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13825         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13826         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13827         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13828         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13829         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13830         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13831         (elf_machine_lazy_rel): Likewise.
13832         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13833         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13834         (elf_machine_lazy_rel): Likewise.
13835         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13836         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13837         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13838         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13839         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13840         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13841         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13842         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13843         Likewise.
13844         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13845         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13846         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13847         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13848         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13849         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13850         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13851         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13852         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13853         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13854         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13855         Likewise.
13856         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13857         (__posix_fallocate64_l64): Likewise.
13858         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13859         (posix_fallocate): Likewise.
13860         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13861         Likewise.
13862         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13863         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13864         (getifaddrs_internal): Likewise.
13865         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13866         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13867         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13868         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13869         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13870         (__posix_fallocate64_l64): Likewise.
13871         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13872         Likewise.
13873         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13874         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13875         (__get_clockfreq): Likewise.
13876         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13877         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13878         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13879         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13880         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13881         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13882         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13883         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13884         Likewise.
13885         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13886         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13887         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13888         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13889         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13890         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13891         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13892         Likewise.
13893         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13894         (posix_fallocate): Likewise.
13895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13896         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13897         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13898         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13899         (elf_machine_rela, elf_machine_rela_relative)
13900         (elf_machine_lazy_rel): Likewise.
13901         * time/asctime.c (asctime_internal): Likewise.
13902         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13903         * time/tzset.c (__tzset_parse_tz): Likewise.
13904         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13905         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13906         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13907         * wcsmbs/wcsmbsload.h: Likewise.
13909         [BZ #15894]
13910         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13912         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13913         (arena_get2): Remove THREAD_STATS conditionals.
13914         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13915         (__malloc_stats, int): Likewise.
13917 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13919         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13920         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13922         * manual/setjmp.texi: Fix typos/grammar errors.
13924         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13925         Only return early when n is <= 0.  Delete unused return statement.
13927         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13928         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13929         * debug/tst-longjmp_chk3.c: New file.
13931         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13932         (test_main): Replace code with set_fortify_handler call.
13933         * debug/test-strcpy_chk.c: Likewise.
13934         * debug/tst-chk1.c: Likewise.
13935         * debug/tst-longjmp_chk.c: Likewise.
13936         * test-skeleton.c: Include fcntl.h & paths.h
13937         (set_fortify_handler): Define.
13939         * debug/tst-longjmp_chk.c: Add header comment and include
13940         ../test-skeleton.c.
13941         (do_test): Mark static.
13942         (TEST_FUNCTION): Define.
13944         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13945         (IP_PMTUDISC_INTERFACE): Likewise.
13946         (IP_MULTICAST_IF): Likewise.
13947         (IP_MULTICAST_TTL): Likewise.
13948         (IP_MULTICAST_LOOP): Likewise.
13949         (IP_ADD_MEMBERSHIP): Likewise.
13950         (IP_DROP_MEMBERSHIP): Likewise.
13951         (IP_UNBLOCK_SOURCE): Likewise.
13952         (IP_BLOCK_SOURCE): Likewise.
13953         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13954         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13955         (IP_MSFILTER): Likewise.
13956         (MCAST_JOIN_GROUP): Likewise.
13957         (MCAST_BLOCK_SOURCE): Likewise.
13958         (MCAST_UNBLOCK_SOURCE): Likewise.
13959         (MCAST_LEAVE_GROUP): Likewise.
13960         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13961         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13962         (MCAST_MSFILTER): Likewise.
13963         (IP_MULTICAST_ALL): Likewise.
13964         (IP_UNICAST_IF): Likewise.
13966         * timezone/Makefile: Delete $(have-ksh) check.
13967         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13968         * timezone/tzselect.ksh: Add +x mode bits.
13970         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13971         (ANON_INODE_FS_MAGIC): Likewise.
13972         (BDEVFS_MAGIC): Likewise.
13973         (BINFMTFS_MAGIC): Likewise.
13974         (BTRFS_TEST_MAGIC): Likewise.
13975         (CRAMFS_MAGIC_WEND): Likewise.
13976         (DEBUGFS_MAGIC): Likewise.
13977         (ECRYPTFS_SUPER_MAGIC): Likewise.
13978         (EXT3_SUPER_MAGIC): Likewise.
13979         (EXT4_SUPER_MAGIC): Likewise.
13980         (FUTEXFS_SUPER_MAGIC): Likewise.
13981         (HOSTFS_SUPER_MAGIC): Likewise.
13982         (HUGETLBFS_MAGIC): Likewise.
13983         (MINIX3_SUPER_MAGIC): Likewise.
13984         (MTD_INODE_FS_MAGIC): Likewise.
13985         (NILFS_SUPER_MAGIC): Likewise.
13986         (OPENPROM_SUPER_MAGIC): Likewise.
13987         (PIPEFS_MAGIC): Likewise.
13988         (PSTOREFS_MAGIC): Likewise.
13989         (QNX6_SUPER_MAGIC): Likewise.
13990         (RAMFS_MAGIC): Likewise.
13991         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13992         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13993         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13994         (SECURITYFS_MAGIC): Likewise.
13995         (SELINUX_MAGIC): Likewise.
13996         (SMACK_MAGIC): Likewise.
13997         (SOCKFS_MAGIC): Likewise.
13998         (SQUASHFS_MAGIC): Likewise.
13999         (STACK_END_MAGIC): Likewise.
14000         (TMPFS_MAGIC): Likewise.
14001         (USBDEVICE_SUPER_MAGIC): Likewise.
14002         (V9FS_MAGIC): Likewise.
14003         (XENFS_SUPER_MAGIC): Likewise.
14004         (CRAMFS_MAGIC): Fix typo in comment.
14005         (EXT2_SUPER_MAGIC): Update comment.
14006         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14008 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
14010         * sysdeps/arm: Move directory from ports/sysdeps/arm.
14011         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14012         * sysdeps/unix/sysv/linux/arm: Move directory from
14013         ports/sysdeps/unix/sysv/linux/arm.
14014         * README: Update listing for arm-*-linux-gnueabi.
14016         * README: Remove mention of am33.
14018 2014-02-07  Roland McGrath  <roland@hack.frob.com>
14020         * bits/sigset.h (__sigemptyset): Use a statement expression rather
14021         than the comma operator, to avoid "rhs of comma has no effect"
14022         compiler warnings.
14023         (__sigfillset, __sigandset, __sigorset): Likewise.
14024         * include/signal.h (__sigemptyset): Likewise.
14025         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14027 2014-02-07  Allan McRae  <allan@archlinux.org>
14029         * version.h (RELEASE): Set to "development".
14030         (VERSION): Set to "2.19.90"
14031         * NEWS: Add 2.20 section.
14033 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
14035         [BZ #16529]
14036         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14038 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14040         * manual/contrib.texi: Update entry for Carlos O'Donell,
14041         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14043 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
14045         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14047         * sysdeps/unix/sysv/linux/kernel-features.h
14048         [__LINUX_KERNEL_VERSION >= 0x020621]
14049         (__ASSUME_PROC_PID_TASK_COMM): Define.
14051 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14053         [BZ #16398]
14054         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14055         conversion when destination buffer does not have enough space.
14056         * libio/tst-ftell-partial-wide.c: New test case.
14057         * libio/Makefile (tests): Add tst-ftell-partial-wide.
14059         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14060         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
14061         Leonard and Allan McRae.
14063 2014-02-04  David S. Miller  <davem@davemloft.net>
14065         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14066         32-bit.
14068 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14071         New file
14072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14073         New file
14074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14075         New file.
14076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14077         New file.
14078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14079         New file.
14080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14081         New file.
14082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14083         New file.
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14085         New file.
14086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14087         New file.
14088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14089         New file.
14090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14091         New file.
14092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14093         New file.
14094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14095         New file.
14097 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14099         * nptl/shlib-versions: Change powerpc*le start to 2.17.
14100         * shlib-versions: Likewise.
14102 2014-02-04  Roland McGrath  <roland@hack.frob.com>
14103             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14105         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14106         (abilist-pattern): New variable, set to %-le.abilist.
14108         * Makerules (abilist-pattern): New variable.
14109         (vpath): Use $(abilist-pattern) in place of %.abilist.
14110         (check-abi-% pattern rule): Likewise.
14111         (check-abi, update-abi): Likewise.
14113 2014-02-04  Eric Wong  <normalperson@yhbt.net>
14115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14117 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
14119         * manual/startup.texi: Add next, previous, and top entries for
14120         the `Program Arguments' and `Environment Variables' nodes.
14122 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
14124         * manual/macros.texi: Add comments before MTASC-safety macros.
14126         * manual/users.texi: Document MTASC-safety properties.
14128         * manual/threads.texi (pthread_key_create, pthread_key_delete)
14129         (pthread_getspecific, pthread_setspecific): Format with
14130         @deftypefun, and add @safety note.
14131         * manual/signal.texi: Move comments that analyze the above
14132         functions to their home place.
14134 2014-02-03  Allan McRae  <allan@archlinux.org>
14136         * po/sl.po: Update Slovenian translation from translation project.
14138 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
14140         * manual/time.texi (timegm): Add missing blank after @c.
14141         Reported by Joseph Myers <joseph@codesourcery.com>.
14143 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
14145         * manual/check-safety.sh: New.
14146         * manual/Makefile ($(objpfx)stamp-summary): Run it.
14148         * manual/terminal.texi: Document MTASC-safety properties.
14150         * manual/filesys.texi: Document MTASC-safety properties.
14152         * manual/errno.texi: Document MTASC-safety properties.
14154         * manual/intro.texi: Document safety identifiers and
14155         conditionals.
14157         * manual/string.texi (wcstok): Fix prototype.
14158         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14160         * manual/time.texi: Document MTASC-safety properties.
14162         * manual/string.texi: Document MTASC-safety properties.
14164         * manual/threads.texi: Document MTASC-safety properties.
14166         * manual/stdio.texi: Document MTASC-safety properties.
14168         * manual/syslog.texi: Document MTASC-safety properties.
14170         * manual/sysinfo.texi: Document MTASC-safety properties.
14172         * manual/startup.texi: Document MTASC-safety properties.
14174         * manual/socket.texi: Document MTASC-safety properties.
14176         * manual/signal.texi: Document MTASC-safety properties.
14178 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14180         * manual/setjmp.texi: Document MTASC-safety properties.
14182         * manual/search.texi: Document MTASC-safety properties.
14184         * manual/resource.texi: Document MTASC-safety properties.
14186         * manual/process.texi: Document MTASC-safety properties.
14188         * manual/platform.texi: Document MTASC-safety properties.
14190         * manual/pipe.texi: Document MTASC-safety properties.
14192         * manual/pattern.texi: Document MTASC-safety properties.
14194         * manual/message.texi: Document MTASC-safety properties.
14196         [BZ #12751]
14197         * manual/memory.texi: Document MTASC-safety properties.
14199         * manual/math.texi: Document MTASC-safety properties.
14201         * manual/locale.texi: Document MTASC-safety properties.
14203         * manual/llio.texi: Document MTASC-safety properties.
14205         * manual/libdl.texi: New.
14207         * manual/lang.texi: Document MTASC-safety properties.
14209         * manual/job.texi: Document MTASC-safety properties.
14211         * manual/getopt.texi: Document MTASC-safety properties.
14213         * manual/ctype.texi: Document MTASC-safety properties.
14215 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14217         [BZ #16046]
14218         * csu/libc-tls.c (static_map): Remove variable.
14219         (__libc_setup_tls): Use main executable's link map for TLS data.
14220         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14221         casing for LM_ID_BASE and GL(dl_nns).
14222         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14223         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14224         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14225         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14226         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14227         member.
14228         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14229         l_phnum members.
14231 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14233         * manual/debug.texi: Document MTASC-safety properties.
14235 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14237         [BZ #16510]
14238         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14239         of __x86_64__ when disabling x87 inline functions.
14241 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14243         * manual/charset.texi: Document MTASC-safety properties.
14245         * manual/crypt.texi: Document MTASC-safety properties.
14247         * manual/conf.texi: Document MTASC-safety properties.
14249         * manual/arith.texi: Document MTASC-safety properties.
14251         * manual/argp.texi: Document MTASC-safety properties.
14253         * manual/macros.texi: Introduce macros to document multi
14254         thread, asynchronous signal and asynchronous cancellation
14255         safety properties.
14256         * manual/intro.texi: Introduce the properties themselves.
14258 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14260         * sysdeps/sh/sh4/Makefile: New file.
14262 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14264         * math/gen-libm-test.pl ($srcdir): New variable.
14265         ($auto_input): Use it.
14267 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14269         [BZ #16506]
14270         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14271         access beyond array bounds when parsing netgroups file.
14273         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14274         the old buffer before realloc.
14276 2014-01-27  Allan McRae  <allan@archlinux.org>
14278         * po/fr.po: Update French translation from translation project.
14280 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14282         * sysdeps/sh/libm-test-ulps: Regenerate.
14284 2014-01-24  David S. Miller  <davem@davemloft.net>
14286         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14288 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14290         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14291         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14293 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14295         [BZ #16474]
14296         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14297         string pointers after reallocation.
14299 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14301         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14302         __SH4A__ instead of __SH_FPU_ANY__.
14304 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14306         * sysdeps/sh/fpu_control.h: New file.
14307         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14308         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14309         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14310         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14311         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14312         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14313         * sysdeps/sh/sys/ucontext.h: Remove.
14314         * sysdeps/sh/sys: Remove directory.
14316 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14318         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14319         s390/sys/ucontext.h.
14320         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14321         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14323 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14325         [BZ #15605]
14326         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14328 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14330         [BZ#16431]
14331         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14332         Adjust the vDSO correctly for internal calls.
14333         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14335 2014-01-20  Allan McRae  <allan@archlinux.org>
14337         * po/ca.po: Update Catalan translation from translation project.
14339 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
14341         * sysdeps/s390/sotruss-lib.c: New file.
14343 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14345         [BZ#16430]
14346         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14347         (__GI___gettimeofday): Alias for a different internal symbol to avoid
14348         local calls issues by not having a PLT stub required for IFUNC calls.
14349         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14351 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
14353         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14354         * math/test-fpucw-static.c: Likewise.
14356 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14358         [BZ #16453]
14359         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14361 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14363         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14364         implementation for powerpc.
14366 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
14368         [BZ #14782]
14369         * sysdeps/posix/system.c (__libc_system): Do not enable
14370         asynchronous cancellation.
14372 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14374         [BZ #16427]
14375         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14376         handling only for numbers special also in the IEEE case.
14378 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14380         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14382 2014-01-11  Allan McRae  <allan@archlinux.org>
14384         * po/bg.po: Update Bulgarian translation from translation project.
14386         * po/de.po: Update German translation from translation project.
14388 2014-01-10  Roland McGrath  <roland@hack.frob.com>
14390         * sysdeps/generic/gcc-compat.h: New file.
14392 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14394         * benchtests/asin-inputs: Correct slow inputs.
14395         * benchtests/acos-inputs: Likewise.
14397 2014-01-10  Allan McRae  <allan@archlinux.org>
14399         * po:sv.po: Update Swedish translation from translation project.
14401         * po/vi.po: Update Vietnamese translation from translation project.
14403         * po/eo.po: Update Esperanto translation from translation project.
14405         * po/cs.po: Update Czech translation from translation project.
14407         * po/nl.po: Update Dutch translation from translation project.
14409         * po/pl.po: Update Polish translation from translation project.
14411         * po/ru.po: Update Russian translation from translation project.
14413         * po/uk.po: Update Ukrainian translation from translation project.
14415 2014-01-08  Brooks Moses  <bmoses@google.com>
14417         * elf/dl-load.c: Fix comment typo.
14419 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
14421         * po/header.pot: Rename to...
14422         * po/pot.header: ... this.
14423         * po/Makefile: Use pot.header.
14425 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
14426             Maxim Kuvyrkov  <maxim@kugelworks.com>
14428         [BZ #16394]
14429         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14430         SRC and DEST against LEN.
14432 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14434         [BZ #16414]
14435         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14436         implementation.
14437         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14439 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14443 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
14445         [BZ #16408]
14446         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14447         for large positive arguments.
14449 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
14451         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14453         * math/auto-libm-test-in: Mark various tests with
14454         xfail-rounding:ldbl-128ibm.
14455         * math/auto-libm-test-out: Regenerated.
14457         [BZ #16407]
14458         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14459         Increase overflow threshold.
14461 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
14463         [BZ #14286]
14464         * stdio-common/vfprintf.c: Check for integer overflow.
14466 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14468         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14469         the first argument and return value of __tls_get_addr_internal.
14471 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14473         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14474         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14476 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14478         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14479         * sysdeps/s390/rtld-global-offsets.sym: New file.
14480         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14481         GLIBC_2.19 symbol.
14482         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14483         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14484         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14485         ... this.
14486         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14487         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14488         ... this.
14489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14490         Regenerate.
14491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14492         Regenerate.
14493         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14494         halfs of GPRs for high_gprs contexts.
14495         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14496         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
14497         field.
14498         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14499         uc_flags field.
14500         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14501         64 bit versions:
14502         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14503         for high GPRs (uc_high_gprs) and for future extensions
14504         (__reserved).
14505         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14506         for future extensions (__reserved).
14507         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14508         64 bit versions:
14509         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14510         SC_HIGHGPRS offset definition.
14511         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14512         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14514         * Versions.def: Add GLIBC_2.19 for libpthread.
14515         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14516         siglongjmp for libpthread with GLIBC_2.19 symver.
14517         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14518         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14519         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14520         * sysdeps/s390/__longjmp.c: New file.
14521         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14522         * sysdeps/s390/longjmp.c: New file.
14523         * sysdeps/s390/setjmp.S: New file.
14524         * sysdeps/s390/sigjmp.S: New file.
14525         * sysdeps/s390/v1-longjmp.c: New file.
14526         * sysdeps/s390/v1-setjmp.h: New file.
14527         * sysdeps/s390/v1-sigjmp.c: New file.
14528         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14529         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14530         GLIBC_2.19 version.
14531         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14532         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14533         versioned symbols for ____longjmp_chk.
14534         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14535         Likewise.
14536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14537         Regenerate.
14538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14539         Regenerate.
14540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14541         Regenerate.
14542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14543         Regenerate.
14544         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14545         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14546         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14547         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14548         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14549         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14550         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14551         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14552         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14553         * sysdeps/s390/rtld-__longjmp.c: New file.
14554         * sysdeps/s390/rtld-setjmp.S: New file.
14556 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
14558         [BZ #16400]
14559         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14560         Return -__logl (x) for small positive arguments without evaluating
14561         a polynomial.
14563 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
14565         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14566         Rename to ...
14567         (__ptrace_peeksiginfo_args): ... this.
14568         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14569         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14570         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14572 2014-01-06  Allan McRae  <allan@archlinux.org>
14574         * inet/netinet/in.h: Fix typo in comment.
14576 2014-01-05  Andreas Jaeger  <aj@suse.de>
14578         * sysdeps/i386/fpu/libm-test-ulps: Update.
14580 2014-01-05  Allan McRae  <allan@archlinux.org>
14582         * po/libc.pot: Regenerated.
14584         * malloc/memusagestat.c: Fix gettext call formatting.
14586 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
14588         * nscd/nscd.c: Improve usage() output.
14590 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
14592         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14593         * sysdeps/unix/sysv/linux/configure: Regenerated.
14594         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14595         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14597 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14599         [BZ #16390]
14600         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14601         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14603 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14605         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14606         extra tokens at end of #undef directive.
14607         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14608         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14609         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14611 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14613         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14615         * math/auto-libm-test-in: Mark various tests with
14616         xfail-rounding:ldbl-128ibm.
14617         * math/auto-libm-test-out: Regenerated.
14619 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
14621         [BZ #16386]
14622         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14623         numbers with subnormal high part when calculating exponent.
14625         [BZ #16385]
14626         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14627         fabs.
14629         [BZ #16384]
14630         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14631         M_LN2l.
14632         (__ieee754_acoshl): Use __log1pl not __log1p.
14634 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
14636         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14637         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14638         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14639         (grow_heap, heap_trim, _int_new_arena, get_free_list)
14640         (reused_arena, arena_get2): Convert to GNU style.
14641         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14642         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14643         (memalign_check, __malloc_set_state): Likewise.
14644         * malloc/mallocbug.c (main): Likewise.
14645         * malloc/malloc.c (__malloc_assert, malloc_init_state)
14646         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14647         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14648         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14649         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14650         (__posix_memalign, malloc_info): Likewise.
14651         * malloc/malloc.h: Likewise.
14652         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14653         (mallochook, memalignhook, reallochook, mabort): Likewise.
14654         * malloc/mcheck.h: Likewise.
14655         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14656         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14657         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14658         * malloc/morecore.c (__default_morecore): Likewise.
14659         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14660         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14661         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14662         (print_and_abort): Likewise.
14663         * malloc/obstack.h: Likewise.
14664         * malloc/set-freeres.c (__libc_freeres): Likewise.
14665         * malloc/tst-mallocstate.c (main): Likewise.
14666         * malloc/tst-mtrace.c (main): Likewise.
14667         * malloc/tst-realloc.c (do_test): Likewise.
14669 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14671         [BZ #16366]
14672         * nscd/netgroupcache.c (do_notfound): New function.
14673         (addgetnetgrentX): Use it.
14675         [BZ # 16365]
14676         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14677         NSS_STATUS_NOTFOUND.
14679 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
14681         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14684 2014-01-01  Allan McRae  <allan@archlinux.org>
14686         * scripts/update-copyrights: Update configure input file suffix.
14688         * NEWS: Update copyright year.
14689         * catgets/gencat.c: Likewise.
14690         * csu/version.c: Likewise.
14691         * debug/catchsegv.sh: Likewise.
14692         * debug/pcprofiledump.c: Likewise.
14693         * debug/xtrace.sh: Likewise.
14694         * elf/ldconfig.c: Likewise.
14695         * elf/ldd.bash.in: Likewise.
14696         * elf/pldd.c: Likewise.
14697         * elf/sotruss.ksh: Likewise.
14698         * elf/sprof.c: Likewise.
14699         * iconv/iconv_prog.c: Likewise.
14700         * iconv/iconvconfig.c: Likewise.
14701         * locale/programs/locale.c: Likewise.
14702         * locale/programs/localedef.c: Likewise.
14703         * login/programs/pt_chown.c: Likewise.
14704         * malloc/memusage.sh: Likewise.
14705         * malloc/memusagestat.c: Likewise.
14706         * malloc/mtrace.pl: Likewise.
14707         * manual/libc.texinfo: Likewise.
14708         * nscd/nscd.c: Likewise.
14709         * nss/getent.c: Likewise.
14710         * nss/makedb.c: Likewise.
14711         * posix/getconf.c: Likewise.
14712         * scripts/test-installation.pl: Likewise.
14714         * All files with FSF copyright notices: Update copyright dates
14715         using scripts/update-copyrights.
14716         * intl/plural.c: Regenerated.
14717         * locale/programs/charmap-kw.h: Likewise.
14718         * locale/programs/locfile-kw.h: Likewise.
14720 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
14722         * sysdeps/unix/sysv/linux/configure: Regenerated.
14723         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14724         the linux/fanotify.h header.
14725         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14726         HAVE_LINUX_FANOTIFY_H is defined.
14728 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14730         * benchtests/cos-inputs: New inputs.
14731         * benchtests/sin-inputs: Likewise.
14733         * benchtests/atan-inputs: New inputs. Fix name of multiple
14734         precision fallback inputs.
14736         * benchtests/atanh-inputs: New inputs.
14737         * benchtests/tanh-inputs: Likewise.
14739         * benchtests/acosh-inputs: New inputs.
14740         * benchtests/asinh-inputs: Likewise.
14742         * benchtests/cosh-inputs: New inputs.
14743         * benchtests/sinh-inputs: Likewise.
14745         * benchtests/acos-inputs: Add more inputs.
14746         * benchtests/asin-inputs: Likewise.
14748 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
14750         [BZ #16375]
14751         * manual/arith.texi: Fix spelling.
14752         * manual/charset.texi: Likewise.
14753         * manual/errno.texi: Likewise.
14754         * manual/filesys.texi: Likewise.
14755         * manual/lang.texi: Likewise.
14756         * manual/llio.texi: Likewise.
14757         * manual/locale.texi: Likewise.
14758         * manual/message.texi: Likewise.
14759         * manual/resource.texi: Likewise.
14760         * manual/search.texi: Likewise.
14761         * manual/setjmp.texi: Likewise.
14762         * manual/stdio.texi: Likewise.
14763         * manual/string.texi: Likewise.
14764         * manual/sysinfo.texi: Likewise.
14765         * manual/time.texi: Likewise.
14767 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
14769         * po/sl.po: New file.
14771 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
14773         * .gitignore: Add core/.gdbinit/.gdb_history.
14775 2013-12-27  Allan McRae  <allan@archlinux.org>
14777         [BZ #16369]
14778         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14779         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14781 2013-12-24  Brooks Moses  <bmoses@google.com>
14783         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14784         all compilers that claim C++98 compliance, not just GCC.
14785         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14786         Likewise.
14788 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14790         * NEWS: Restore accidentally deleted bug-fix entries.
14792 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14793             Ondřej Bílka  <neleai@seznam.cz>
14795         [BZ #15073]
14796         * malloc/malloc.c (_int_free): Perform sanity check only if we
14797         have_lock.
14799 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14801         [BZ #12986]
14802         * manual/stdio.texi (String Input Conversions): Clarify that character
14803         classes are not supported.
14805 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14809 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14811         [BZ #16337]
14812         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14813         Calculate results for small negative arguments directly rather
14814         than using reflection formula with special underflow handling.
14816         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14817         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14818         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14819         (fchflags): Likewise.
14820         (revoke): Likewise.
14821         (setlogin): Likewise.
14822         (sigaltstack): Likewise.
14823         (wait4): Likewise.
14824         (sigblock): Remove.
14825         (sigsetmask): Likewise.
14826         (wait3): Likewise.
14827         (waitpid): Likewise.
14828         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14829         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14830         file.
14831         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14832         * sysdeps/unix/bsd/Makefile: ... here.
14833         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14834         * sysdeps/unix/bsd/Versions: ... here.
14835         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14836         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14837         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14838         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14839         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14840         * sysdeps/unix/bsd/sigblock.c: ... here.
14841         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14842         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14843         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14844         * sysdeps/unix/bsd/sigvec.c: ... here.
14845         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14846         * sysdeps/unix/bsd/tcdrain.c: ... here.
14847         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14848         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14849         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14850         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14851         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14852         * sysdeps/unix/bsd/wait.c: ... here.
14853         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14854         * sysdeps/unix/bsd/wait3.c: ... here.
14855         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14856         * sysdeps/unix/bsd/waitpid.c: ... here.
14858 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14860         [BZ #16356]
14861         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14862         round-to-nearest for [!USE_AS_EXPM1L].
14863         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14864         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14865         more tests of exp and exp10.  Expect some exp10 tests to miss
14866         exceptions or fail in directed rounding modes.
14867         * math/auto-libm-test-out: Regenerated.
14868         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14869         (exp10_test_tonearest): New function.
14870         (exp10_towardzero_test_data): New array.
14871         (exp10_test_towardzero): New function.
14872         (exp10_downward_test_data): New array.
14873         (exp10_test_downward): New function.
14874         (exp10_upward_test_data): New array.
14875         (exp10_test_upward): New function.
14876         (main): Call the new functions.
14877         * sysdeps/i386/fpu/libm-test-ulps: Update.
14878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14880 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14882         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14883         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14884         * math/auto-libm-test-out: Regenerated.
14885         * math/libm-test.inc (acosh_test_data): Add more tests.
14886         (atanh_test_data): Likewise.
14887         (ceil_test_data): Likewise.
14888         (copysign_test_data): Likewise.
14889         * sysdeps/i386/fpu/libm-test-ulps: Update.
14890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14892         * timezone/checktab.awk: Update from tzcode 2013i.
14893         * timezone/private.h: Likewise.
14894         * timezone/scheck.c: Likewise.
14895         * timezone/tzfile.h: Likewise.
14896         * timezone/tzselect.ksh: Likewise.
14897         * timezone/zdump.c: Likewise.
14898         * timezone/zic.c: Likewise.
14900         * math/auto-libm-test-in: Add tests of cpow.
14901         * math/auto-libm-test-out: Regenerated.
14902         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14903         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14904         mpc_cc_c.
14905         (func_calc_desc): Add mpc_cc_c union field.
14906         (test_functions): Add cpow.
14907         (special_fill_2pi): New function.
14908         (special_real_inputs): Add 2pi.
14909         (calc_generic_results): Handle mpc_cc_c.
14910         * sysdeps/i386/fpu/libm-test-ulps: Update.
14911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14913         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14914         csqrt, ctan and ctanh.
14915         * math/auto-libm-test-out: Regenerated.
14916         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14917         (TEST_COND_x86): Likewise.
14918         (ccos_test_data): Use AUTO_TESTS_c_c.
14919         (ccosh_test_data): Likewise.
14920         (cexp_test_data): Likewise.
14921         (clog_test_data): Likewise.
14922         (csqrt_test_data): Likewise.
14923         (ctan_test_data): Likewise.
14924         (ctan_tonearest_test_data): Likewise.
14925         (ctan_towardzero_test_data): Likewise.
14926         (ctan_downward_test_data): Likewise.
14927         (ctan_upward_test_data): Likewise.
14928         (ctanh_test_data): Likewise.
14929         (ctanh_tonearest_test_data): Likewise.
14930         (ctanh_towardzero_test_data): Likewise.
14931         (ctanh_downward_test_data): Likewise.
14932         (ctanh_upward_test_data): Likewise.
14933         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14934         mpc_c_c.
14935         (func_calc_desc): Add mpc_c_c union field.
14936         (FUNC_mpc_c_c): New macro.
14937         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14938         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14939         ctanh.
14940         (special_fill_min_subnorm_p120): New function.
14941         (special_real_inputs): Add min_subnorm_p120.
14942         (calc_generic_results): Handle mpc_c_c.
14943         * sysdeps/i386/fpu/libm-test-ulps: Update.
14944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14946 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14948         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14949         (do_sin_slow): New functions.
14950         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14951         (cslow2, csloww1, csloww2): Use the new functions.
14953         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14954         Use M to change sign of result instead of X.  Assume X is
14955         positive.
14956         (csloww1): Likewise.
14957         (__sin): Adjust.
14958         (__cos): Adjust.
14960         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14961         arguments A and DA.
14962         (__sin): Adjust.
14963         (__cos): Likewise.
14965         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14966         (__cos): Likewise.
14967         (sloww1): Don't adjust sign of DX.
14968         (csloww1): Likewise.
14969         (sloww2): Use X directly and don't adjust sign of DX.
14970         (csloww2): Likewise.
14972 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14974         * math/auto-libm-test-in: Add tests of cabs and carg.
14975         * math/auto-libm-test-out: Regenerated.
14976         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14977         (carg_test_data): Likewise.
14978         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14979         mpc_c_f.
14980         (func_calc_desc): Add mpc_c_f union field.
14981         (test_functions): Add cabs and carg.
14982         (calc_generic_results): Handle mpc_c_f.
14984         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14985         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14986         as a macro and a compat symbol.
14987         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14988         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14989         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14990         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14991         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14992         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14993         not use .hidden.
14994         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14995         Likewise.
14996         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14997         Likewise.
14998         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14999         Likewise.
15000         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15001         Likewise.
15002         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15003         Likewise.
15004         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15005         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15006         from GLIBC_2.3.2.
15008 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15012 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15014         * manual/texinfo.tex: Update to version 2013-11-26.10 with
15015         trailing whitespace removed.
15016         * scripts/config.guess: Update to version 2013-11-29.
15017         * scripts/config.sub: Update to version 2013-10-01.
15019         * math/auto-libm-test-in: Add tests of sincos.
15020         * math/auto-libm-test-out: Regenerated.
15021         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15022         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15023         mpfr_f_11.
15024         (func_calc_desc): Add mpfr_f_11 union field.
15025         (test_functions): Add sincos.
15026         (calc_generic_results): Handle mpfr_f_11.
15027         * sysdeps/i386/fpu/libm-test-ulps: Update.
15028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15030 2013-12-19  Andreas Schwab  <schwab@suse.de>
15032         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15033         CALL_MCOUNT.
15034         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15035         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15036         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15038 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15040         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15041         * sysdeps/i386/fpu/libm-test-ulps: Update.
15042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15044         [BZ #16293]
15045         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15046         round-to-nearest mode when using frndint.
15047         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15048         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15049         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15050         Likewise.
15051         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
15052         sinh test to fail.
15053         * math/auto-libm-test-out: Regenerated.
15054         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15055         (TEST_COND_x86): Likewise.
15056         (expm1_tonearest_test_data): New array.
15057         (expm1_test_tonearest): New function.
15058         (expm1_towardzero_test_data): New array.
15059         (expm1_test_towardzero): New function.
15060         (expm1_downward_test_data): New array.
15061         (expm1_test_downward): New function.
15062         (expm1_upward_test_data): New array.
15063         (expm1_test_upward): New function.
15064         (main): Run the new test functions.
15065         * sysdeps/i386/fpu/libm-test-ulps: Update.
15066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15068         * include/features.h: Update comment documenting feature test
15069         macros.  Mention _DEFAULT_SOURCE in comment.
15070         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15071         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15072         _BSD_SOURCE and _SVID_SOURCE.
15073         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15074         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15075         !_SVID_SOURCE]: Likewise.
15076         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15077         (__USE_POSIX_IMPLICITLY): Define.
15078         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15079         (_POSIX_SOURCE): Undefine and redefine.
15080         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15081         (_POSIX_C_SOURCE): Likewise.
15082         * manual/creature.texi (_DEFAULT_SOURCE): Document.
15083         (Feature Test Macros): Update documentation of default features.
15085 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15087         * benchtests/Makefile: Add bench-strtok.
15088         * benchtests/bench-strtok.c: New file: strtok benchtest.
15090 2013-12-19  Allan McRae  <allan@archlinux.org>
15092         * manual/install.texi: Suppress menu for plain text output.
15093         * INSTALL: Regenerated.
15095 2013-12-18  Brooks Moses  <bmoses@google.com>
15097         [BZ #15846]
15098         * misc/getauxval.c: Include errno.h.
15099         (__getauxval): Set errno to ENOENT if the requested type is not
15100         found.
15101         * misc/sys/auxv.h (getauxval): Document that it may set errno;
15102         don't declare with __attribute_const__.
15103         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15104         * manual/startup.texi: Document that getauxval sets errno.
15106 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15108         * math/auto-libm-test-in: Add tests of jn and yn.
15109         * math/auto-libm-test-out: Regenerated.
15110         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15111         (yn_test_data): Likewise.
15112         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15113         mpfr_if_f.
15114         (func_calc_desc): Add mpfr_if_f union field.
15115         (FUNC_mpfr_if_f): New macro.
15116         (test_functions): Add jn and yn.
15117         (calc_generic_results): Assert type of second input for
15118         mpfr_ff_f.  Handle mpfr_if_f.
15119         (output_for_one_input_case): Disable all checking for arguments
15120         fitting floating-point types in case of an integer argument.
15121         * sysdeps/i386/fpu/libm-test-ulps: Update.
15122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15125         Don't expect fegetround reference in libm.so.
15127 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15129         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15130         $(config-cflags-nofma).
15132 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15134         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15135         * math/auto-libm-test-out: Regenerated.
15137         [BZ #16338]
15138         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15139         to determine exponent and adjust argument to have exponent of -1.
15140         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15141         log2.
15142         * math/auto-libm-test-out: Regenerated.
15143         * sysdeps/i386/fpu/libm-test-ulps: Update.
15144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15146 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
15148         * manual/probes.texi: Remove cases when per-thread arenas are
15149         disabled.
15151 2013-12-18  Andreas Schwab  <schwab@suse.de>
15153         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15154         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15155         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15156         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15157         * sysdeps/i386/i686/multiarch/Makefile: Update.
15158         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15160 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15162         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15163         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15165 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
15167         [BZ #15968]
15168         Support TZ transition times < 00:00:00.
15169         This is needed for version-3 tz-format files; it supports time
15170         stamps past 2037 for America/Godthab (the only entry in the tz
15171         database for which this change is relevant).
15172         * manual/time.texi (TZ Variable): Document transition times
15173         from -167:59:59 through -00:00:01.
15174         * time/tzset.c (tz_rule): Time of day is now signed.
15175         (__tzset_parse_tz): Parse negative time of day.
15177         Document TZ transition times >= 25:00:00.
15178         * manual/time.texi (TZ Variable): Document transition times from
15179         25:00:00 through 167:59:59.  These are already supported, and this
15180         support will help with version-3 tz-format files.
15182         * manual/time.texi (TZ Variable): Modernize North America example
15183         to reflect current (i.e., 2007-and-later) daylight saving rules.
15185         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15187 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15189         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15190         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15191         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15192         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15193         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15194         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15195         * sysdeps/unix/bsd/clock.c: Likewise.
15196         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15197         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15198         * sysdeps/unix/bsd/init-posix.c: Likewise.
15199         * sysdeps/unix/bsd/poll.c: Likewise.
15200         * sysdeps/unix/bsd/ptsname.c: Likewise.
15201         * sysdeps/unix/bsd/seekdir.c: Likewise.
15202         * sysdeps/unix/bsd/setegid.c: Likewise.
15203         * sysdeps/unix/bsd/seteuid.c: Likewise.
15204         * sysdeps/unix/bsd/setgid.c: Likewise.
15205         * sysdeps/unix/bsd/setrgid.c: Likewise.
15206         * sysdeps/unix/bsd/setruid.c: Likewise.
15207         * sysdeps/unix/bsd/setsid.c: Likewise.
15208         * sysdeps/unix/bsd/setuid.c: Likewise.
15209         * sysdeps/unix/bsd/sigaction.c: Likewise.
15210         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15211         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15212         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15213         * sysdeps/unix/bsd/telldir.c: Likewise.
15214         * sysdeps/unix/bsd/times.c: Likewise.
15215         * sysdeps/unix/bsd/usleep.c: Likewise.
15217         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15218         ($(objpfx)libbsd-compat.a): Remove rule.
15220         * include/features.h (__FAVOR_BSD): Do not define.
15221         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15222         features conflicting with POSIX.
15223         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15224         (_BSD_SOURCE): Remove description of not being a subset of other
15225         feature test macros.
15226         * manual/job.texi (getpgrp): Do not document BSD version.
15227         (getpgid): Do not document by reference to BSD getpgrp.
15228         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15229         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15230         * signal/signal.h [__FAVOR_BSD]: Likewise.
15231         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15232         instead of making contents conditional on [__FAVOR_BSD].
15233         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15235 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15239 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15241         [BZ #16314]
15242         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15243         values below 2**-450, not 2**-500.
15244         * math/auto-libm-test-in: Don't allow spurious underflow from
15245         hypot.
15246         * math/auto-libm-test-out: Regenerated.
15248         [BZ #16316]
15249         [BZ #16330]
15250         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15251         values of ha and hb and sort them after adjusting subnormal
15252         arguments.
15253         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15254         Likewise.
15255         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15256         values of ea and eb and sort them after adjusting subnormal
15257         arguments.
15258         * math/auto-libm-test-in: Do not expect some hypot tests of
15259         subnormals to fail.  Add more hypot tests.
15260         * math/auto-libm-test-out: Regenerated.
15262 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15264         [BZ #13304]
15265         * sysdeps/sh/s_fma.c: New file.
15266         * sysdeps/sh/s_fmaf.c: New file.
15267         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15268         version.
15269         * sysdeps/sh/Implies: Add sh/soft-fp.
15271 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15273         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15274         level of indirection to members `objname', `errstring', `malloced'.
15275         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15276         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15277         it as the __longjmp argument (just pass 1 instead).
15278         (_dl_catch_error): Initialize C with argument pointers and address of
15279         volatile local ERRCODE rather than copying values out of C at return.
15281 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15283         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15284         * math/auto-libm-test-out: Regenerated.
15285         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15286         (hypot_test_data): Likewise.
15287         (pow_test_data): Likewise.
15288         (pow_tonearest_test_data): Likewise.
15289         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15290         mpfr_ff_f.
15291         (func_calc_desc): Add mpfr_ff_f union field.
15292         (FUNC_mpfr_ff_f): New macro.
15293         (test_functions): Add atan2, hypot and pow.
15294         (special_fill_min): New function.
15295         (special_fill_minus_min): Likewise.
15296         (special_fill_min_subnorm): Likewise.
15297         (special_fill_minus_min_subnorm): Likewise.
15298         (special_real_inputs): Add min, -min, min_subnorm and
15299         -min_subnorm.
15300         (calc_generic_results): Handle mpfr_ff_f.
15301         * sysdeps/i386/fpu/libm-test-ulps: Update.
15302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15304 2013-12-16  Will Newton  <will.newton@linaro.org>
15306         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15307         (Aligned Memory Blocks): Add documentation for aligned_alloc
15308         and suggest it as an alternative to posix_memalign.
15309         (Hooks for Malloc): Document __memalign_hook is also called
15310         for aligned_alloc.  (Summary of Malloc): Add summary for
15311         aligned alloc.  Document __memalign_hook is also called
15312         for aligned_alloc.
15314 2013-12-16  Will Newton  <will.newton@linaro.org>
15316         * manual/memory.texi (Malloc Examples): Clarify default
15317         alignment documentation.  Suggest posix_memalign rather
15318         than memalign or valloc.
15319         (Aligned Memory Blocks): Remove suggestion to use memalign
15320         or valloc.  Remove obsolete comment about BSD.
15321         Document memalign errno values and mark the function obsolete.
15322         Document posix_memalign returned error codes.  Mark valloc
15323         as obsolete.  (Hooks for Malloc): __memalign_hook is also
15324         called for posix_memalign and valloc.
15325         (Summary of Malloc): Add posix_memalign to function summary.
15326         __memalign_hook is also called for posix_memalign and valloc.
15328 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15330         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15331         TAYLOR_SIN.
15332         (__sin): Adjust.
15333         (__cos): Likewise.
15334         (sloww): Use mynumber union.  Expand ternary operator into
15335         if-else statements.
15336         (cslow): use mynumber union.
15338 2013-12-16  Allan McRae  <allan@archlinux.org>
15340         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15341         * configure: Regenerated.
15343         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15345         [BZ #14120]
15346         * configure.ac: Added --enable-maintainer-mode. Check for
15347         autoconf when enabled.
15348         * configure: Regenerated.
15350         * nscd/nscd.service: New file.
15351         * nscd/nscd.tmpfiles: New file.
15353 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
15355         [BZ #12100]
15356         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15357         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15358         * sysdeps/x86_64/multiarch/strstr.c: ... here.
15359         (strstr): Add __strstr_sse2_unaligned ifunc.
15360         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15361         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15362         (strcasestr): Remove __strcasestr_sse42 ifunc.
15363         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15367 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15369         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15370         * sysdeps/sh/bits/fenv.h: ... here.
15371         * sysdeps/sh/sh4/fpu/bits: Remove directory.
15373 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15375         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15378         hypotf multiarch implementations.
15379         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15380         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15381         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15382         multiarch hypot for PPC64.
15383         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15384         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15385         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15386         multiarch hypotf for PPC64.
15388         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15389         modff multiarch implementations.
15390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15393         multiarch modf for PPC64.
15394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15397         multiarch modff for PPC64.
15399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15400         and logl multiarch implementations.
15401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15404         multiarch logb for PPC64.
15405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15408         multiarch logb for PPC64.
15409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15412         multiarch logb for PPC64.
15414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15415         isinff multiarch implementation.
15416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15417         file.
15418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15420         multiarch isinf for PPC64.
15421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15422         file.
15423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15424         multiarch isinff for PPC64.
15426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15427         finitef multiarch implementation.
15428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15429         file.
15430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15432         multiarch finite for PPC64.
15433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15434         file.
15435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15436         multiarch finitef for PPC64.
15438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15439         lrint multiarch implementation.
15440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15441         file.
15442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15444         multiarch llrint for PPC64.
15445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15446         multiarch lrint for PPC64.
15448         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15449         copysignf multiarch implementation.
15450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15451         file.
15452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15453         file.
15454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15455         multiarch copysign for PPC64.
15456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15457         multiarch copysignf for PPC64.
15459         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15460         multiarch implementation.
15461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15462         file.
15463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15464         file.
15465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15466         file.
15467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15468         file.
15469         multiarch llround for PPC64.
15470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15471         multiarch trunc for PPC64.
15472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15473         multiarch truncf for PPC64.
15475         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15476         multiarch implementation.
15477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15478         file.
15479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15480         file.
15481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15482         file.
15483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15484         file.
15485         multiarch llround for PPC64.
15486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15487         multiarch round for PPC64.
15488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15489         multiarch roundf for PPC64.
15491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15492         multiarch implementation.
15493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15494         file.
15495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15496         file.
15497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15498         file.
15499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15500         file.
15501         multiarch llround for PPC64.
15502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15503         multiarch floor for PPC64.
15504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15505         multiarch floorf for PPC64.
15507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15508         multiarch implementation.
15509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15510         file.
15511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15512         file.
15513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15514         file.
15515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15516         file.
15517         multiarch llround for PPC64.
15518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15519         multiarch ceil for PPC64.
15520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15521         multiarch ceilf for PPC64.
15523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15524         multiarch implementation.
15525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15526         file.
15527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15528         file.
15529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15530         file.
15531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15532         multiarch llround for PPC64.
15533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15534         multiarch lround for PPC64.
15536         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15537         multiarch implementation.
15538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15541         file.
15542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15545         multiarch isnan for PPC64.
15546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15547         multiarch isnanf for PPC64.
15549         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15550         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15551         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15552         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15553         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15556         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15557         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15558         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15559         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15562         multiarch implementations.
15563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15564         (__libc_ifunc_impl_list): Likewise.
15565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15566         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15567         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15568         multiarch stpcpy for PPC64.
15570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15571         multiarch implementations.
15572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15573         (__libc_ifunc_impl_list): Likewise.
15574         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15575         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15576         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15577         multiarch strcpy for PPC64.
15579         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15580         redefine function name.
15581         (_wordcopy_fwd_dest_aligned): Likewise.
15582         (_wordcopy_bwd_aligned): Likewise.
15583         (_wordcopy_bwd_dest_aligned): Likewise.
15584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15585         multiarch implementations.
15586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15587         (__libc_ifunc_impl_list): Likewise.
15588         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15589         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15590         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15591         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15592         multiarch wcscpy for PPC64.
15594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15595         multiarch implementations.
15596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15597         (__libc_ifunc_impl_list): Likewise.
15598         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15599         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15600         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15601         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15602         multiarch wcscpy for PPC64.
15604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15605         multiarch implementations.
15606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15607         (__libc_ifunc_impl_list): Likewise.
15608         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15609         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15610         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15611         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15612         multiarch wcsrchr for PPC64.
15614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15615         multiarch implementations.
15616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15617         (__libc_ifunc_impl_list): Likewise.
15618         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15619         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15620         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15621         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15622         multiarch wcschr for PPC64.
15624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15625         multiarch implementations.
15626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15627         (__libc_ifunc_impl_list): Likewise.
15628         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15629         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15630         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15631         multiarch strchrnul for PPC64.
15633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15634         implementations.
15635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15636         (__libc_ifunc_impl_list): Likewise.
15637         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15638         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15639         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15640         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15641         strchr for PPC64.
15643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15644         implementations.
15645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15646         (__libc_ifunc_impl_list): Likewise.
15647         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15648         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15649         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15650         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15651         strncmp for PPC64.
15653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15654         multiarch implementations.
15655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15656         (__libc_ifunc_impl_list): Likewise.
15657         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15658         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15659         strncasecmp for PPC64.
15660         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15661         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15662         multiarch strncasecmp_l for PPC64.
15664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15665         multiarch implementations.
15666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15667         (__libc_ifunc_impl_list): Likewise.
15668         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15669         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15670         multiarch strcasecmp for PPC64.
15671         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15672         file.
15673         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15674         multiarch strcasecmp_l for PPC64.
15676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15677         implementations.
15678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15679         (__libc_ifunc_impl_list): Likewise.
15680         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15681         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15682         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15683         strnlen for PPC64.
15685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15686         implementations.
15687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15688         (__libc_ifunc_impl_list): Likewise.
15689         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15690         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15691         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15692         strlen for PPC64.
15694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15695         implementations.
15696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15697         (__libc_ifunc_impl_list): Likewise.
15698         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15699         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15700         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15701         rawmemrchr for PPC64.
15703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15704         implementation.
15705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15706         (__libc_ifunc_impl_list): Likewise.
15707         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15708         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15709         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15710         memrchr for PPC64.
15712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15713         implementation.
15714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15715         (__libc_ifunc_impl_list): Likewise.
15716         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15717         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15718         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15719         memchr for PPC64.
15721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15722         implementation.
15723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15724         (__libc_ifunc_impl_list): Likewise.
15725         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15726         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15727         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15728         mempcpy for PPC64.
15730         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15731         avoid cretion of __bzero symbol.
15732         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15733         Likewise.
15734         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15735         Likewise.
15736         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15737         Likewise.
15738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15739         multiarch implementations.
15740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15741         (__libc_ifunc_impl_list): Likewise.
15742         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15743         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15744         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15745         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15746         bzero for PPC32.
15747         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15748         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15749         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15750         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15751         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15752         memset for PPC64.
15753         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15755         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15757         implementations.
15758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15759         (__libc_ifunc_impl_list): Likewise.
15760         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15761         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15762         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15763         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15764         memcmp for PPC64.
15766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15767         multiarch for POWER/PPC64.
15768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15769         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15770         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15771         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15772         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15773         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15774         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15775         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15776         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15777         memcpy for PPC64.
15779         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15780         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15781         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15782         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15783         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15784         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15785         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15786         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15787         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15788         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15789         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15790         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15791         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15792         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15793         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15802 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15804         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15806 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15808         * benchtests/Makefile (bench): Add exp2 and log2.
15809         (LDLIBS-bench-exp2): Add -lm.
15810         (LDLIBS-bench-log2): Likewise.
15811         * benchtests/exp2-inputs: New inputs file.
15812         * benchtests/log2-inputs: New inputs file.
15813         * benchtests/log-inputs: Add new inputs.
15814         * benchtests/tan-inputs: Likewise.
15816 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15818         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15819         definition...
15820         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15821         (csloww2): ... from here.
15823         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15824         instead of structures.
15825         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15826         (POLYNOMIAL): Likewise.
15827         (TAYLOR_SLOW): Likewise.
15828         (__sin): Likewise.
15829         (__cos): Likewise.
15830         (slow1): Likewise.
15831         (slow2): Likewise.
15832         (sloww): Likewise.
15833         (sloww1); Likewise.
15834         (sloww2): Likewise.
15835         (bsloww1): Likewise.
15836         (bsloww2): Likewise.
15837         (cslow2): Likewise.
15838         (csloww): Likewise.
15839         (csloww1): Likewise.
15840         (csloww2): Likewise.
15842 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15844         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15845         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15846         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15847         * malloc/hooks.c (realloc_check): Likewise.
15849         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15850         * malloc/arena.c: Remove PER_THREAD conditional.
15851         [!PER_THREAD]: Remove code.
15852         (ptmalloc_unlock_all2): Likewise.
15853         (ptmalloc_init): Likewise.
15854         (_int_new_arena): Likewise.
15855         (arena_get2): Likewise.
15856         * malloc/hooks.c (__malloc_get_state): Likewise.
15857         (__malloc_set_state): Likewise.
15858         * malloc/malloc.c: Likewise.
15859         (struct malloc_state): Likewise.
15860         (struct malloc_par): Likewise.
15861         (__libc_realloc): Likewise.
15862         (__libc_mallopt): Likewise.
15864 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15866         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15868 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15870         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15871         macro to a function.  Check for zero perturb_byte.
15872         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15874         * malloc/malloc.c: (force_reg): Remove.
15875         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15876         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15877         force_reg by atomic_forced_read.
15878         * malloc/arena.c (ptmalloc_init): Likewise.
15879         * malloc/hooks.c (top_check): Likewise.
15881 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15885 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15889 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15891         * math/auto-libm-test-in: Add tests of lgamma.
15892         * math/auto-libm-test-out: Regenerated.
15893         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15894         (M_LOG_2_SQRT_PIl): Likewise.
15895         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15896         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15897         mpfr_f_f1.
15898         (func_calc_desc): Add mpfr_f_f1 union field.
15899         (ARGS1): New macro.
15900         (ARGS2): Likewise.
15901         (ARGS3): Likewise.
15902         (ARGS4): Likewise.
15903         (RET1): Likewise.
15904         (RET2): Likewise.
15905         (CALC): Likewise.
15906         (FUNC): Likewise.
15907         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15908         (test_functions): Add lgamma.
15909         (calc_generic_results): Handle mpfr_f_f1.
15910         * sysdeps/i386/fpu/libm-test-ulps: Update.
15911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15913 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15915         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15916         __mpn_add_n for PowerPC64/POWER7.
15917         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15918         __mpn_sub_n for PowerPC64/POWER7.
15920         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15921         __mpn_addmul_1 for PowerPC64.
15922         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15923         __mpn_submul_1 for PowerPC64.
15924         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15925         for PowerPC64.
15926         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15927         for PowerPC64.
15929 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15931         [BZ #15089]
15932         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15934 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15936         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15938         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15939         add multiarch folders.
15940         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15941         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15942         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15943         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15944         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15945         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15946         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15947         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15948         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15949         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15950         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15959         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15961         New file.
15962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15963         New file.
15964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15965         multiarch __ieee754_hypot for PowerPC32.
15966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15967         New file.
15968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15969         New file.
15970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15971         multiarch __ieee754_hypotf for PowerPC32.
15973         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15974         long_double_symbol only if __logbl is defined.
15975         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15976         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15977         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15978         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15979         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15980         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15981         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15982         path for implementation.
15983         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15984         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15986         logb, and logbl multiarch implementations for PowerPC32.
15987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15988         file.
15989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15990         file.
15991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15992         multiarch logb for PowerPC32.
15993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15994         file.
15995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15996         file.
15997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15998         multiarch logbf for PowerPC32.
15999         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16001         file.
16002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16003         multiarch logbl implementation for PowerPC32.
16005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16006         and modff multiarch implementations.
16007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16008         New file.
16009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16010         New file.
16011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16012         multiarch modf for PowerPC32.
16013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16014         New file.
16015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16016         New file.
16017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16018         multiarch modff for PowerPC32.
16020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16021         and lrintf multiarch implementations.
16022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16023         New file.
16024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16025         New file.
16026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16027         multiarch lrint for PowerPC32.
16028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16029         file: multiarch lrintf for PowerPC32.
16031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16032         and lroundf multiarch implementations.
16033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16034         New file.
16035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16036         New file.
16037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16038         New file.
16039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16040         multiarch lround for PowerPC32.
16041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16042         file: multiarch lroundf for PowerPC32.
16044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16045         copysign and copysignf multiarch implementations.
16046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16047         New file.
16048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16049         New file.
16050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16051         file: multiarch copysign for PowerPC32.
16052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16053         file: multiarch copysignf for PowerPC32.
16055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16056         and truncf multiarch implementations.
16057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16058         New file.
16059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16060         file.
16061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16062         multiarch trunc for PowerPC32.
16063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16064         New file.
16065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16066         New file.
16067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16068         multiarch truncf for PowerPC32.
16070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16071         and roundf multiarch implementations.
16072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16073         New file.
16074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16075         file.
16076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16077         multiarch round for PowerPC32.
16078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16079         New file.
16080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16081         New file.
16082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16083         multiarch roundf for PowerPC32.
16085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16086         and floorf multiarch implementations.
16087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16088         New file.
16089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16090         file.
16091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16092         multiarch floor for PowerPC32.
16093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16094         New file.
16095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16096         New file.
16097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16098         multiarch floorf for PowerPC32.
16100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16101         and ceilf multiarch implementations.
16102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16103         New file.
16104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16105         file.
16106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16107         multiarch ceil for PowerPC32.
16108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16109         New file.
16110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16111         file.
16112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16113         multiarch ceilf for PowerPC32.
16115         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16116         is defined.
16117         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16118         FINITEF is defined.
16119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16120         and finitef multiarch implementations.
16121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16122         New file.
16123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16124         file.
16125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16126         multiarch finite for PowerPC32.
16127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16128         New file.
16129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16130         file: multiarch finitef for PowerPC32.
16132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16133         and isinff multiarch implementations.
16134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16135         file.
16136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16137         file.
16138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16139         multiarch isinf for PowerPC32.
16140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16141         New file.
16142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16143         multiarch isinff for PowerPC32.
16145         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16146         alias when __isnan is defined.
16147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16148         and isnanf multiarch implementations.
16149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16150         file.
16151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16152         file.
16153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16154         file.
16155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16156         file.
16157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16158         multiarch isnan for PowerPC32.
16159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16160         New file.
16161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16162         New file.
16163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16164         multiarch isnanf for PowerPC32.
16166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16167         and sqrtf multiarch implementations.
16168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16169         file.
16170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16171         file.
16172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16173         multiarch sqrt for PowerPC32.
16174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16175         file.
16176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16177         file.
16178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16179         multiarch sqrtf for PowerPC32.
16181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16182         and llroundf multiarch implementations.
16183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16184         New file.
16185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16186         New file.
16187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16188         New file.
16189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16190         file: multiarch llround for PowerPC32.
16191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16192         file: multiarch llroundf for PowerPC32.
16194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16195         multiarch PowerPC32 fpu implementations.
16196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16197         New file.
16198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16199         New file.
16200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16201         multiarch llrint for PowerPC32.
16202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16203         New file.
16204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16205         New file.
16206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16207         file.
16209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16211         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16212         file.
16213         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16214         file.
16215         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16216         file.
16217         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16218         multiarch wordcopy for PPC32.
16219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16220         wordcopy objects.
16221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16222         (__libc_ifunc_impl_list): Likewise.
16223         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16224         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16225         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16226         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16227         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16228         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16230         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16232         file.
16233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16234         file.
16235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16236         file.
16237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16238         multiarch wcscpy for PPC32.
16239         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16240         multiarch objects.
16241         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16242         (__libc_ifunc_impl_list): Likewise.
16243         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16244         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16245         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16246         sysdeps/powerpc/power6/wcscpy.c.
16248         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16249         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16250         file.
16251         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16252         file.
16253         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16254         file.
16255         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16256         multiarch wcsrchr for PPC32.
16257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16258         multiarch objects.
16259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16260         (__libc_ifunc_impl_list): Likewise.
16261         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16262         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16263         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16264         sysdeps/powerpc/power6/wcsrchr.c.
16266         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16267         file.
16268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16269         file.
16270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16272         multiarch wcschr for PPc32.
16273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16274         multiarch objects.
16275         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16276         (__libc_ifunc_impl_list): Likewise.
16277         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16278         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16279         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16280         sysdeps/powerpc/power6/wcschr.c.
16282         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16283         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16284         file.
16285         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16286         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16287         file: multiarch strchr for PPC32.
16288         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16289         multiarch objects.
16290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16291         (__libc_ifunc_impl_list): Likewise.
16293         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16294         name.
16295         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16296         file.
16297         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16298         file.
16299         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16300         multiarch strchrnul for PPC32.
16301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16302         multiarch objects.
16303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16304         (__libc_ifunc_impl_list): Likewise.
16306         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16307         file.
16308         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16309         multiarch strncasecmp for PPC32.
16310         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16311         file.
16312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16313         multiarch strncasecmp_l for PPC32.
16314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16315         strncasecmp multiarch objects.
16316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16317         (__libc_ifunc_impl_list): Likewise.
16319         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16320         file.
16321         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16322         multiarch strncasecmp for PPC32.
16323         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16324         New file.
16325         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16326         multiarch strcasecmp_l for PPC32.
16327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16328         multiarch objects.
16329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16330         (__libc_ifunc_impl_list): Likewise.
16332         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16333         file.
16334         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16335         file.
16336         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16337         multiarch strncmp for PPC32.
16338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16339         multiarch objects.
16340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16341         (__libc_ifunc_impl_list): Likewise.
16343         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16344         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16345         file.
16346         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16347         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16348         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16349         multiarch objects.
16350         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16351         (__libc_ifunc_impl_list): Likewise.
16353         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16354         file.
16355         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16356         file.
16357         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16359         multiarch objects.
16360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16361         (__libc_ifunc_impl_list): Likewise.
16363         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16364         file.
16365         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16366         file.
16367         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16368         multiarch rawmemchr for PPC32.
16369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16370         multiarch objects.
16371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16372         (__libc_ifunc_impl_list): Likewise.
16374         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16375         file.
16376         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16377         file.
16378         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16379         file: memrchr multiarch for PPC32.
16380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16381         multiarch objects.
16382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16383         (__libc_ifunc_impl_list): Likewise.
16385         * string/memchr.c (__memchr): Using macro to redefine symbol name.
16386         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16387         file.
16388         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16389         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16390         multiarch memchr for PPC32.
16391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16392         multiarch objects.
16393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16394         (__libc_ifunc_impl_list): Likewise.
16396         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16397         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16398         file.
16399         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16400         file.
16401         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16402         file: multiarch mempcpy for PPC32.
16403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16404         multiarch objects.
16405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16406         (__libc_ifunc_impl_list): Likewise.
16408         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16409         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16410         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16411         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16412         multiarch bzero for PPC32.
16413         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16414         file.
16415         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16416         file.
16417         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16418         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16419         file: multiarch memset for PPC32.
16420         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16422         memset multiarch objects.
16423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16424         (__libc_ifunc_impl_list): Likewise.
16426         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16427         file.
16428         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16429         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16430         memcmp for PPC32.
16431         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16433         multiarch objects.
16434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16435         (__libc_ifunc_impl_list): Likewise.
16437         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16438         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16439         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16440         file.
16441         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16442         file.
16443         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16444         file.
16445         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16446         multiarch memcpy for PPC32.
16447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16448         multiarch objects.
16449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16450         (__libc_ifunc_impl_list): Likewise.
16452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16453         support multiarch for POWER/PPC32.
16454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16455         Likewise.
16456         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16458         Implies file to make multiarch folder appers before the fpu and
16459         default folder for power4 configuration.
16461 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16463         * scripts/bench.pl: Append volatile keyword to type.
16465 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16467         * sysdeps/sh/sotruss-lib.c: New file.
16468         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16470 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16474 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
16476         [BZ #6810]
16477         * math/w_tgamma.c: Include <errno.h>.
16478         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
16479         * math/w_tgammaf.c: Include <errno.h>.
16480         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
16481         * math/w_tgammal.c: Include <errno.h>.
16482         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
16483         * math/auto-libm-test-in: Do not allow missing errno on tgamma
16484         underflow.  Add more tgamma tests.
16485         * math/auto-libm-test-out: Regenerated.
16486         * sysdeps/i386/fpu/libm-test-ulps: Update.
16487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16489         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16490         sin, sinh, tan, tanh, tgamma, y0 and y1.
16491         * math/auto-libm-test-out: Regenerated.
16492         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16493         (TEST_COND_x86): Likewise.
16494         (M_E2l): Remove macro.
16495         (M_E3l): Likewise.
16496         (M_2_SQRT_PIl): Likewise.
16497         (M_SQRT_PIl): Likewise.
16498         (M_1_DIV_El): Likewise.
16499         (log_test_data): Use AUTO_TESTS_f_f.
16500         (log10_test_data): Likewise.
16501         (log1p_test_data): Likewise.
16502         (log2_test_data): Likewise.
16503         (sin_test_data): Likewise.
16504         (sin_tonearest_test_data): Likewise.
16505         (sin_towardzero_test_data): Likewise.
16506         (sin_downward_test_data): Likewise.
16507         (sin_upward_test_data): Likewise.
16508         (sinh_test_data): Likewise.
16509         (sinh_tonearest_test_data): Likewise.
16510         (sinh_towardzero_test_data): Likewise.
16511         (sinh_downward_test_data): Likewise.
16512         (sinh_upward_test_data): Likewise.
16513         (tan_test_data): Likewise.
16514         (tan_tonearest_test_data): Likewise.
16515         (tan_towardzero_test_data): Likewise.
16516         (tan_downward_test_data): Likewise.
16517         (tan_upward_test_data): Likewise.
16518         (tanh_test_data): Likewise.
16519         (tgamma_test_data): Likewise.
16520         (y0_test_data): Likewise.
16521         (y1_test_data): Likewise.
16522         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16523         (special_real_inputs): Add pi/4.
16524         * sysdeps/i386/fpu/libm-test-ulps: Update.
16525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16527 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16529         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16530         "longjmp_target" static probes.
16531         (__longjmp): Rename to __longjmp_symbol.
16532         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16533         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16534         on which longjmp to generate.
16535         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16536         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16537         probe.
16538         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16539         (__sigjmp_save): Rename to __sigjmp_save_symbol.
16540         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16541         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16542         and __sigjmp_save_symbol based on which sigsetjmp to generated.
16543         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16545         __longjmp_symbol based on which __longjmp to generate.
16546         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16547         probe.
16548         (setjmp): Rename to setjmp_symbol.
16549         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16550         (_setjmp): Rename to _setjmp_symbol.
16551         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16552         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16553         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16554         which setjmp to generate.
16555         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16556         "longjmp_target" static probes.
16558 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16560         * benchtests/README: Add note about output arguments.
16561         * benchtests/bench-sincos.c: Remove file.
16562         * benchtests/sincos-inputs: New file.
16563         * scripts/bench.pl: Identify output arguments and define
16564         static variables for them.
16566         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16568         [BZ #15941]
16569         * Makefile (INSTALL): Add install-plain.texi as the primary
16570         dependency.
16571         * manual/install-plain.texi: New file.
16572         * manual/install.texi: Include node directive only for
16573         non-plaintext output.
16575 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
16577         * stdlib/longlong.h: Update from GCC.
16579         [BZ #6807]
16580         [BZ #15901]
16581         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16582         * math/w_j0f.c (y0f): Likewise.
16583         * math/w_j0l.c (__y0l): Likewise.
16584         * math/w_j1.c (y1): Likewise.
16585         * math/w_j1f.c (y1f): Likewise.
16586         * math/w_j1l.c (__y1l): Likewise
16587         * math/w_jn.c (yn): Likewise.
16588         * math/w_jnf.c (ynf): Likewise.
16589         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16590         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
16591         value for Bessel function domain errors outside _SVID_ mode.
16592         Adjust sign of return value for yn (negative integer, 0).
16593         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16594         by zero in return for negative x and set sign appropriately for
16595         negative n.
16596         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16597         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16598         * math/libm-test.inc (y0_test_data): Add more tests and adjust
16599         expectations in error cases.
16600         (y1_test_data): Likewise.
16601         (yn_test_data): Likewise.
16602         * sysdeps/i386/fpu/libm-test-ulps: Update.
16603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16605 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16607         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16608         "64" to "64-v1".  Add "64-v2".
16609         (abi-64-options): Rename to ...
16610         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
16611         (abi-64-condition): Rename to ...
16612         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
16613         (abi-64-ld-soname): Rename to ...
16614         (abi-64-v1-ld-soname): ... this.
16615         (abi-64-v2-options): Define.
16616         (abi-64-v2-condition): Likewise.
16617         (abi-64-v2-ld-soname): Likewise.
16618         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16619         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16624 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16625             Alan Modra  <amodra@gmail.com>
16627         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16628         New versions for use with the ELFv2 ABI.
16629         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16630         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16631         declaration.
16632         (struct La_ppc64v2_retval): Likewise.
16633         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16634         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16635         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16636         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16637         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16638         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16639         Do not save or restore CR.
16640         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16641         (_dl_profile_resolve): Do no save or restore CR.  Support extended
16642         return values for ELFv2 ABI.  Fix location of FPR return registers.
16643         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16644         updated values for _CALL_ELF == 2.
16645         (La_regs, La_retval, int_retval): Likewise.
16647 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16649         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16650         (FRAME_MIN_SIZE_PARM): Likewise.
16651         (FRAME_BACKCHAIN): Likewise.
16652         (FRAME_CR_SAVE): Likewise.
16653         (FRAME_LR_SAVE): Likewise.
16654         (FRAME_TOC_SAVE): Likewise.
16655         (FRAME_PARM_SAVE): Likewise.
16656         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16657         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16658         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16659         (call_mcount_parm_offset): New macro.
16660         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16661         (PROF): Use symbolic stack frame offsets.
16662         (TAIL_CALL_SYSCALL_ERROR): Likewise.
16663         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16664         Redefine in terms of FRAME_MIN_SIZE.
16665         (_dl_runtime_resolve): Use symbolic stack frame offsets.
16666         (_dl_profile_resolve): Likewise.  Update comment.
16667         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16668         symbols stack frame offsets.
16669         (__sigsetjmp): Likewise.
16670         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16671         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16672         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16673         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16676         (FRAME_BACKCHAIN): Remove.
16677         (FRAME_CR_SAVE): Likewise.
16678         (FRAME_LR_SAVE): Likewise.
16679         (FRAME_COMPILER_DW): Likewise.
16680         (FRAME_LINKER_DW): Likewise.
16681         (FRAME_TOC_SAVE): Likewise.
16682         (FRAME_PARM_SAVE): Likewise.
16683         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16684         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16685         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16687         (CHECK_SP): Use symbolic stack frame offsets.
16688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16689         zone" instead of caller's parameter save area for temp storage.
16690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16691         Likewise.  Also, use symbolic stack frame offsets.
16692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16693         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16694         our own stack frame instead of the caller's.
16695         (__socket): Use symbolic stack frame offsets.
16697 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16698             Alan Modra  <amodra@gmail.com>
16700         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16701         Define.
16702         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16703         (PPC64_LOCAL_ENTRY_OFFSET): Define.
16704         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16705         New function.
16706         (elf_machine_fixup_plt): Call it.
16707         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
16708         reloc arguments.
16709         (elf_machine_rela): Update call to elf_machine_plt_conflict.
16710         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16711         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16712         r2 before calling target.
16714 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16715             Alan Modra  <amodra@gmail.com>
16717         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16718         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16719         versions of macros to support ELFv2 ABI.
16720         (LOCALENTRY): New macro.
16721         (ENTRY, EALIGN): Use it.
16722         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16723         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16724         fall through into ENTRY entry point.
16725         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16726         Only define if _CALL_ELF != 2.
16728         (elf_machine_matches_host): Verify ABI version matches.
16729         (RTLD_START): Use LOCALENTRY.
16730         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16731         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16732         (PLT_ENTRY_WORDS): New macro.
16733         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16734         (elf_machine_runtime_setup): Support ELFv2 ABI.
16735         (elf_machine_fixup_plt): Likewise.
16736         (elf_machine_plt_conflict): Likewise.
16737         (resolve_ifunc): Likewise.
16738         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16739         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16740         Likewise.
16741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16742         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16744         (makecontext): Support ELFv2 ABI.
16745         * elf/elf.h (EF_PPC64_ABI): Define.
16747 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16749         * sysdeps/powerpc/powerpc64/sysdep.h
16750         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16751         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16752         (ENTRY) [ASSEMBLER]: ... but instead here ...
16753         (EALIGN) [ASSEMBLER]: ... and here.
16754         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16755         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16756         (ENTRY_2) [!ASSEMBLER]: Use it.
16757         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16758         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
16759         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16760         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16761         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16763         Use PPC64_LOAD_FUNCPTR.
16765         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16767 2013-12-04  Alan Modra  <amodra@gmail.com>
16769         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16770         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16771         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16772         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16774         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16775         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16776         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16777         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16778         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16779         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16781 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16784         (__makecontext): Fix incorrect CFI when backtracing out of
16785         context created via makecontext.
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16787         (__setcontext): Fix incorrect CFI during switch to new context.
16788         (__novec_setcontext): Likewise.
16790 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16792         [BZ #4772]
16793         * time/strptime_l.c (__strptime_internal): Allow modifiers
16794         in strptime.
16795         * time/tst-strptime.c (day_tests): Add testcase.
16797 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16799         * scripts/bench.pl: Skip over blank lines.
16801 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16803         [BZ #926]
16804         * manual/time.texi (Calendar Time): Clarify what timezone functions
16805         use.
16807 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16811 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16813         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16814         implementation.
16815         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16816         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16817         * debug/memset_chk.c (__memset_chk): Likewise.
16818         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16819         * debug/strncpy_chk.c: Likewise.
16821 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16823         [BZ #15268]
16824         [BZ #15425]
16825         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16826         (__ieee754_exp): For possibly underflowing results, check size of
16827         result and force underflow exception if required.
16828         * math/auto-libm-test-in: Add more tests of exp.
16829         * math/auto-libm-test-out: Regenerated.
16830         * sysdeps/i386/fpu/libm-test-ulps: Update.
16831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16833         [BZ #16283]
16834         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16835         * math/w_exp2f.c (__exp2f): Likewise.
16836         * math/w_exp2l.c (__exp2l): Likewise.
16837         * math/auto-libm-test-in: Do not allow missing errno on exp2
16838         underflow.
16839         * math/auto-libm-test-out: Regenerated.
16841 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16843         [BZ #16274]
16844         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16845         handle filename validation.
16846         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16847         (do_open): Delete.
16849 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16851         [BZ #6786]
16852         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16853         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16854         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16855         <float.h>.
16856         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16857         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16858         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16859         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16860         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16861         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16862         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16863         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16864         Add more erfc tests.
16865         * math/auto-libm-test-out: Regenerated.
16866         * sysdeps/i386/fpu/libm-test-ulps: Update.
16867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16869         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16870         exp2, expm1, j0 and j1.
16871         * math/auto-libm-test-out: Regenerated.
16872         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16873         (erfc_test_data): Likewise.
16874         (exp_test_data): Likewise.
16875         (exp_tonearest_test_data): Likewise.
16876         (exp_towardzero_test_data): Likewise.
16877         (exp_downward_test_data): Likewise.
16878         (exp_upward_test_data): Likewise.
16879         (exp10_test_data): Likewise.
16880         (exp2_test_data): Likewise.
16881         (expm1_test_data): Likewise.
16882         (j0_test_data): Likewise.
16883         (j1_test_data): Likewise.
16884         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16885         (input_flag_type): Add flag_xfail_rounding.
16886         (input_flags): Add xfail-rounding.
16887         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16888         (output_for_one_input_case): Handle flag_xfail_rounding.
16889         * sysdeps/i386/fpu/libm-test-ulps: Update.
16890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16892 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16894         [BZ #16289]
16895         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16896         division by 0.
16898 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16900         [BZ #16195]
16901         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16902         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16903         (STAP_PROBE0): New macro.
16904         (STAP_PROBE1): Likewise.
16905         (STAP_PROBE2): Likewise.
16906         (STAP_PROBE3): Likewise.
16907         (STAP_PROBE4): Likewise.
16909 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16911         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16913 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16915         * benchtests/Makefile (bench): Add sqrt.
16916         (LDLIBS-bench-sqrt): New.
16917         * benchtests/sqrt-input: New.
16919 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16921         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16922         (GAIH_EAI): Likewise.
16923         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16924         (gaih_inet): Likewise.
16925         (getaddrinfo): Don't use GAIH_EAI.
16927         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16928         (struct gaih): Remove definition.
16930 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16932         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16933         Use HERRNOP directly.
16935 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16939 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16941         * math/gen-auto-libm-tests.c (test_functions): Add more
16942         single-argument functions.
16943         (special_fill_pi_2): New function.
16944         (special_fill_minus_pi_2): Likewise.
16945         (special_fill_pi_6): Likewise.
16946         (special_fill_minus_pi_6): Likewise.
16947         (special_fill_pi_3): Likewise.
16948         (special_fill_2pi_3): Likewise.
16949         (special_fill_e): Likewise.
16950         (special_fill_1_e): Likewise.
16951         (special_fill_e_minus_1): Likewise.
16952         (special_real_inputs): Add more special inputs.
16953         (output_for_one_input_case): Do not require ERANGE on underflow to
16954         zero if round-to-nearest result does not underflow to zero, unless
16955         exact results required.
16956         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16957         atan, atanh, cbrt, cos and cosh.
16958         * math/auto-libm-test-out: Regenerated.
16959         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16960         (acos_tonearest_test_data): Likewise.
16961         (acos_towardzero_test_data): Likewise.
16962         (acos_downward_test_data): Likewise.
16963         (acos_upward_test_data): Likewise.
16964         (acosh_test_data): Likewise.
16965         (asin_test_data): Likewise.
16966         (asin_tonearest_test_data): Likewise.
16967         (asin_towardzero_test_data): Likewise.
16968         (asin_upward_test_data): Likewise.
16969         (asinh_test_data): Likewise.
16970         (atan_test_data): Likewise.
16971         (atanh_test_data): Likewise.
16972         (cbrt_test_data): Likewise.
16973         (cos_test_data): Likewise.
16974         (cos_tonearest_test_data): Likewise.
16975         (cos_towardzero_test_data): Likewise.
16976         (cos_downward_test_data): Likewise.
16977         (cos_upward_test_data): Likewise.
16978         (cosh_test_data): Likewise.
16979         (cosh_tonearest_test_data): Likewise.
16980         (cosh_towardzero_test_data): Likewise.
16981         (cosh_downward_test_data): Likewise.
16982         (cosh_upward_test_data): Likewise.
16983         * sysdeps/i386/fpu/libm-test-ulps: Update.
16984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16986 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16988         [BZ #6787]
16989         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16990         * math/w_exp10f.c (__exp10f): Likewise.
16991         * math/w_exp10l.c (__exp10l): Likewise.
16992         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16993         errno settings in existing tests.
16995         [BZ #14032]
16996         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16997         precision control set to double precision.
16998         * sysdeps/i386/fpu/w_sqrt.c: New file.
16999         * math/auto-libm-test-in: Add more tests.
17000         * math/auto-libm-test-out: Update.
17002         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17003         (sqrt_test_tonearest): New function.
17004         (sqrt_towardzero_test_data): New variable.
17005         (sqrt_test_towardzero): New function.
17006         (sqrt_downward_test_data): New variable.
17007         (sqrt_test_downward): New function.
17008         (sqrt_upward_test_data): New variable.
17009         (sqrt_test_upward): New function.
17010         (main): Call the new functions.
17012         * math/gen-auto-libm-tests.c: New file.
17013         * math/auto-libm-test-in: Likewise.
17014         * math/auto-libm-test-out: New generated file.
17015         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17016         variables.
17017         (%beautify): Add generated representations of zero.
17018         (top level): Set $auto_input and call parse_auto_input.
17019         (beautify): Remove trailing "f" from hex float constants.
17020         (parse_args): Handle XFAIL_TEST.
17021         (convert_condition): New function.
17022         (or_value): Likewise.
17023         (or_cond_value): Likewise.
17024         (generate_testfile): Handle AUTO_TESTS_* lines.
17025         (parse_auto_input): New function.
17026         * math/libm-test.inc (XFAIL_TEST): New macro.
17027         (ERRNO_UNCHANGED): Update value.
17028         (ERRNO_EDOM): Likewise.
17029         (ERRNO_ERANGE): Likewise.
17030         (IGNORE_RESULT): Likewise.
17031         (TEST_COND_flt_32): New macro.
17032         (TEST_COND_dbl_64): Likewise.
17033         (TEST_COND_ldbl_96_intel): Likewise.
17034         (TEST_COND_ldbl_96_m68k): Likewise.
17035         (TEST_COND_ldbl_128): Likewise.
17036         (TEST_COND_ldbl_128ibm): Likewise.
17037         (TEST_COND_long32): Likewise.
17038         (TEST_COND_long64): Likewise.
17039         (TEST_COND_before_rounding): Likewise.
17040         (TEST_COND_after_rounding): Likewise.
17041         (enable_test): Handle XFAIL_TEST flag.
17042         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17043         with finite results.
17044         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17045         auto-libm-test-out.
17047 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17048             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17050         [BZ #16214]
17051         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17052         __tls_get_addr_internal instead of __tls_get_offset in order to
17053         avoid GOT pointer dependency.  Make rtld export
17054         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17055         __tls_get_addr since we are a __tls_get_offset platform.
17056         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17057         GOT pointer being set up before.
17058         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17060 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
17062         * manual/math.texi (Errors in Math Functions): Document accuracy
17063         goals.
17065         [BZ #15004]
17066         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17067         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17068         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17069         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17070         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17071         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17072         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17073         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17074         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17075         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17076         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17077         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17078         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17079         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17080         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17081         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17083         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17084         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17085         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17086         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17087         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17088         Likewise.
17089         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17090         Likewise.
17091         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17092         Likewise.
17093         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17094         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17095         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17096         atomic-feupdateenv and flt-rounds.
17097         * sysdeps/powerpc/nofpu/Versions (libc): Add
17098         __atomic_feholdexcept, __atomic_feclearexcept,
17099         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17100         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17101         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17102         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17103         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17104         here.
17105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17106         Update.
17108         * manual/arith.texi (FP Exceptions): Document that exceptions may
17109         not be raised when matherr is used.
17110         (Math Error Reporting): Document overflow in directed rounding
17111         modes.  Document that errno may not be set when finite values are
17112         returned on overflow.  Document intent to set errno on underflow
17113         only for underflow to zero.
17115         [BZ #16271]
17116         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17117         round-to-nearest then adjust result for other rounding modes.
17118         * include/fenv.h (fegetround): Use libm_hidden_proto.
17119         * math/fegetround.c (fegetround): Use libm_hidden_def.
17120         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17121         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17122         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17123         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17124         Likewise.
17125         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17126         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17127         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17128         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17130 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17132         [BZ #16077]
17133         * nss/Versions (libnss_files): Add
17134         _nss_files_gethostbyname3_r.
17135         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17136         New function.
17137         (HOST_DB_LOOKUP): Remove macro.
17138         (_nss_files_gethostbyname_r): Implement function without the
17139         HOST_DB_LOOKUP macro.
17140         (_nss_files_gethostbyname2_r): Likewise.
17142 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
17144         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17146 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
17148         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17149         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17150         warning.
17152 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17154         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17155         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17156         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17157         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17158         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17159         __fe_nomask_env_priv and attribute_hidden.
17160         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17161         (libc_feupdateenv_test_ppc): Likewise.
17162         (libc_feresetround_ppc): Likewise.
17163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17164         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17165         compat_symbol macro.
17166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17167         (__fe_nomask_env): Likewise.
17168         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17170 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17172         * string/Makefile: Remove ifunc tests.
17173         * string/test-string.h: Define TEST_IFUNC.
17174         * string/test-bcopy-ifunc.c: Remove.
17175         * string/test-bzero-ifunc.c: Likewise.
17176         * string/test-memccpy-ifunc.c: Likewise.
17177         * string/test-memchr-ifunc.c: Likewise.
17178         * string/test-memcmp-ifunc.c: Likewise.
17179         * string/test-memcpy-ifunc.c: Likewise.
17180         * string/test-memmem-ifunc.c: Likewise.
17181         * string/test-memmove-ifunc.c: Likewise.
17182         * string/test-mempcpy-ifunc.c: Likewise.
17183         * string/test-memrchr-ifunc.c: Likewise.
17184         * string/test-memset-ifunc.c: Likewise.
17185         * string/test-rawmemchr-ifunc.c: Likewise.
17186         * string/test-stpcpy-ifunc.c: Likewise.
17187         * string/test-stpncpy-ifunc.c: Likewise.
17188         * string/test-strcasecmp-ifunc.c: Likewise.
17189         * string/test-strcasestr-ifunc.c: Likewise.
17190         * string/test-strcat-ifunc.c: Likewise.
17191         * string/test-strchr-ifunc.c: Likewise.
17192         * string/test-strchrnul-ifunc.c: Likewise.
17193         * string/test-strcmp-ifunc.c: Likewise.
17194         * string/test-strcpy-ifunc.c: Likewise.
17195         * string/test-strcspn-ifunc.c: Likewise.
17196         * string/test-strlen-ifunc.c: Likewise.
17197         * string/test-strncasecmp-ifunc.c: Likewise.
17198         * string/test-strncat-ifunc.c: Likewise.
17199         * string/test-strncmp-ifunc.c: Likewise.
17200         * string/test-strncpy-ifunc.c: Likewise.
17201         * string/test-strnlen-ifunc.c: Likewise.
17202         * string/test-strpbrk-ifunc.c: Likewise.
17203         * string/test-strrchr-ifunc.c: Likewise.
17204         * string/test-strspn-ifunc.c: Likewise.
17205         * string/test-strstr-ifunc.c: Likewise.
17207 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17209         * benchtests/Makefile: Remove ifunc tests.
17210         * benchtests/bench-string.h: Define TEST_IFUNC.
17211         * benchtests/bench-bcopy-ifunc.c: Remove.
17212         * benchtests/bench-bzero-ifunc.c: Likewise.
17213         * benchtests/bench-memccpy-ifunc.c: Likewise.
17214         * benchtests/bench-memchr-ifunc.c: Likewise.
17215         * benchtests/bench-memcmp-ifunc.c: Likewise.
17216         * benchtests/bench-memcpy-ifunc.c: Likewise.
17217         * benchtests/bench-memmem-ifunc.c: Likewise.
17218         * benchtests/bench-memmove-ifunc.c: Likewise.
17219         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17220         * benchtests/bench-memrchr-ifunc.c: Likewise.
17221         * benchtests/bench-memset-ifunc.c: Likewise.
17222         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17223         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17224         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17225         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17226         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17227         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17228         * benchtests/bench-strcat-ifunc.c: Likewise.
17229         * benchtests/bench-strchr-ifunc.c: Likewise.
17230         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17231         * benchtests/bench-strcmp-ifunc.c: Likewise.
17232         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17233         * benchtests/bench-strcpy-ifunc.c: Likewise.
17234         * benchtests/bench-strcspn-ifunc.c: Likewise.
17235         * benchtests/bench-strlen-ifunc.c: Likewise.
17236         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17237         * benchtests/bench-strncat-ifunc.c: Likewise.
17238         * benchtests/bench-strncmp-ifunc.c: Likewise.
17239         * benchtests/bench-strncpy-ifunc.c: Likewise.
17240         * benchtests/bench-strnlen-ifunc.c: Likewise.
17241         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17242         * benchtests/bench-strrchr-ifunc.c: Likewise.
17243         * benchtests/bench-strsep-ifunc.c: Likewise.
17244         * benchtests/bench-strspn-ifunc.c: Likewise.
17245         * benchtests/bench-strstr-ifunc.c: Likewise.
17247 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17249         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17251 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17253         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17254         * rt/aio.h: Likewise.
17255         * sysdeps/gnu/bits/utmp.h: Likewise.
17256         * sysdeps/gnu/bits/utmpx.h: Likewise.
17257         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17258         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17259         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17260         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17261         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17262         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17263         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17264         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17265         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17266         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17267         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17268         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17269         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17271         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17272         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17273         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17274         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17275         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17276         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17277         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17278         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17279         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17280         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17281         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17282         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17283         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17284         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17285         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17286         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17287         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17288         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17289         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17290         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17291         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17292         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17293         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17294         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17295         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17296         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17297         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17298         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17300 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
17302         [BZ #16245]
17303         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17304         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17306 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
17308         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17309         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17310         Likewise.
17312 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17314         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17315         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17316         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17317         (__fesetround): Remove define.
17318         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17319         rounding and exceptions handling.
17320         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17321         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17322         (__fe_nomask_env): Likewise.
17323         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17324         __fegetround instead of fegetround.
17325         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17326         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17328 2013-11-21  Roland McGrath  <roland@hack.frob.com>
17330         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17331         it's there.
17333         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17335 2013-11-21  Meador Inge  <meadori@codesourcery.com>
17337         [BZ #11157]
17338         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17339         (encrypt_r): Likewise.
17340         * malloc/obstack.h (obstack_free): Likewise.
17341         * posix/unistd.h (encrypt): Likewise.
17343 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
17345         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17346         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17347         DL_CALL_DT_FINI() that call the functions directly.
17348         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17349         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17350         * elf/dl-fini.c: Likewise.
17352 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
17354         * malloc/hooks.c (memalign_check): Add alignment rounding.
17355         * malloc/malloc.c (_mid_memalign): New function.
17356         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17357         Implement by calling _mid_memalign.
17358         * manual/probes.texi (Memory Allocation Probes): Remove
17359         memory_valloc_retry and memory_pvalloc_retry.
17361 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17363         * locale/programs/locarchive.c (open_archive): Add const
17364         qualifier to ARCHIVEFNAME and copy default fname to
17365         DEFAULT_FNAME.
17367         [BZ #15601]
17368         * libio/tst-widetext.input: Rename Oriya to Odia.
17369         * locale/iso-639.def: Likewise.
17371         * manual/probes.texi (Mathematical Function Probes): Add
17372         documentation for sin, cos, asin and acos probes.
17373         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17374         (__sin32): Add slowasin probe.
17375         (__cos32): Add slowacos probe.
17376         (__mpsin): Add slowsin probe.
17377         (__mpcos): Add slowcos probe.
17379 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
17381         [BZ #15483]
17382         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17383         thread-local __sim_exceptions_thread and global
17384         __sim_exceptions_global.
17385         (__sim_disabled_exceptions): Change to thread-local
17386         __sim_disabled_exceptions_thread and global
17387         __sim_disabled_exceptions_global.
17388         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17389         and global __sim_round_mode_global.
17390         (__simulate_exceptions): Use thread-local floating-point state and
17391         set global state from it as needed.
17392         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17393         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17394         __sim_round_mode_thread.
17395         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17396         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17397         and global __sim_exceptions_global.
17398         (__sim_disabled_exceptions): Change to thread-local
17399         __sim_disabled_exceptions_thread and global
17400         __sim_disabled_exceptions_global.
17401         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17402         and global __sim_round_mode_global.
17403         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17404         (SIM_SET_GLOBAL): Likewise.
17405         * sysdeps/powerpc/soft-fp/sfp-machine.h
17406         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17407         __sim_round_mode_thread.
17408         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17409         __sim_disabled_exceptions_thread.
17410         (__sim_exceptions): Change to __sim_exceptions_thread.
17411         (__sim_disabled_exceptions): Change to
17412         __sim_disabled_exceptions_thread.
17413         (__sim_round_mode): Change to __sim_round_mode_thread.
17414         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17415         thread-local floating-point state and set global state from it as
17416         needed.
17417         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17418         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17419         (__sim_disabled_exceptions): Remove extern declaration.
17420         (feenableexcept): Use thread-local floating-point state and set
17421         global state from it as needed.
17422         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17423         extern declaration.
17424         (__sim_disabled_exceptions): Likewise.
17425         (__sim_round_mode): Likewise.
17426         (__fegetenv): Use thread-local floating-point state.
17427         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17428         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17429         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17430         floating-point state and set global state from it as needed.
17431         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17432         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17433         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17434         Likewise.
17435         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17436         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17437         Likewise.
17438         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17439         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17440         Use __sim_round_mode_thread.
17441         * math/test-fenv-tls.c: New file.
17442         * math/Makefile (tests): Add test-fenv-tls.
17443         ($(objpfx)test-fenv-tls): Depend on
17444         $(common-objpfx)nptl/libpthread.so.
17446 2013-11-19  Andreas Schwab  <schwab@suse.de>
17448         * locale/programs/locale.c (show_info): Decode wordarray elements.
17449         * locale/categories.def (LC_MONETARY): Add element for
17450         _NL_MONETARY_CRNCYSTR.
17451         * locale/C-monetary.c (conversion_rate): New variable.
17452         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17453         element.
17455 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
17457         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17458         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17460 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17462         * elf/Makefile (tst-auxv): New test.
17463         * elf/tst-auxv.c: New
17464         * elf/rtld.c (dl_main): Adjust AT_EXECFN
17466 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
17468         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17469         (hidden_proto): Caller changed.
17470         (hidden_tls_proto): New macro.
17471         (libc_hidden_tls_proto): Likewise.
17472         (rtld_hidden_tls_proto): Likewise.
17473         (libm_hidden_tls_proto): Likewise.
17474         (libresolv_hidden_tls_proto): Likewise.
17475         (librt_hidden_tls_proto): Likewise.
17476         (libdl_hidden_tls_proto): Likewise.
17477         (libnss_files_hidden_tls_proto): Likewise.
17478         (libnsl_hidden_tls_proto): Likewise.
17479         (libnss_nisplus_hidden_tls_proto): Likewise.
17480         (libutil_hidden_tls_proto): Likewise.
17482 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
17484         [BZ #10253]
17485         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17486         (decompose_rpath): Defer expansion to fillin_rpath.
17487         (_dl_init_paths): Pass linkmap to fillin_rpath.
17489 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17491         * benchtests/Makefile: Add strsep.
17492         * benchtests/bench-strsep.c: New file: strsep benchtest.
17493         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17495 2013-11-18  Andreas Schwab  <schwab@suse.de>
17497         * locale/programs/locale.c (show_info) [case byte]: Check for
17498         '\377' instead of '\177'.
17499         * locale/C-monetary.c (not_available): Always use "\377".
17500         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17501         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
17502         detect unavailable sign_posn locale elements.
17503         * locale/localeconv.c (__localeconv): For grouping and
17504         mon_grouping handle "\177" and "\377" like no grouping.
17505         (INT_ELEM): New macro.  Use it to set all numeric members.
17506         * locale/programs/ld-monetary.c (monetary_read)
17507         <tok_mon_grouping>: Normalize single -1 to the empty string.
17508         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17509         Likewise.
17511 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17513         [BZ #16055]
17514         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17515         when we match (nil).
17516         * stdio-common/tst-sscanf.c (struct test): Add testcase.
17518 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
17520         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17521         (NO_TEST_INLINE): Update value.
17522         (ERRNO_UNCHANGED): Likewise.
17523         (ERRNO_EDOM): Likewise.
17524         (ERRNO_ERANGE): Likewise.
17525         (IGNORE_RESULT): Likewise.
17526         (check_float_internal): Check signs of NaN results if
17527         TEST_NAN_SIGN used.
17528         (check_complex): Pass TEST_NAN_SIGN flag through to second
17529         check_float_internal call.
17530         (copysign_test_data): Add tests with quiet NaNs as second
17531         argument.  Use TEST_NAN_SIGN.
17532         (fabs_test_data): Add test of negative quiet NaN argument.  Use
17533         TEST_NAN_SIGN.
17534         (signbit_test_data): Add tests of quiet NaN argument.
17535         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17537         * math/gen-libm-test.pl (show_exceptions): Take extra argument
17538         $ignore_result.
17539         (parse_args): Handle function results specified as IGNORE.
17540         * math/libm-test.inc (IGNORE_RESULT): New macro.
17541         (check_float_internal): Do not check numerical result if flag
17542         IGNORE_RESULT set.
17543         (check_complex): Pass through IGNORE_RESULT to second
17544         check_float_internal call.
17545         (check_int): Do not check numerical result if flag IGNORE_RESULT
17546         set.
17547         (check_long): Likewise.
17548         (check_bool): Likewise.
17549         (check_longlong): Likewise.
17550         (lrint_test_data): Add tests of infinite and NaN arguments.
17551         (lrint_tonearest_test_data): Likewise.
17552         (lrint_towardzero_test_data): Likewise.
17553         (lrint_downward_test_data): Likewise.
17554         (lrint_upward_test_data): Likewise.
17555         (llrint_test_data): Likewise.
17556         (llrint_tonearest_test_data): Likewise.
17557         (llrint_towardzero_test_data): Likewise.
17558         (llrint_downward_test_data): Likewise.
17559         (llrint_upward_test_data): Likewise.
17560         (lround_test_data): Likewise.
17561         (llround_test_data): Likewise.
17563         * math/libm-test.inc (NO_TEST_INLINE): New macro.
17564         (ERRNO_UNCHANGED): Update value.
17565         (ERRNO_EDOM): Likewise.
17566         (ERRNO_ERANGE): Likewise.
17567         (NO_TEST_INLINE_FLOAT): New macro.
17568         (NO_TEST_INLINE_DOUBLE): Likewise.
17569         (enable_test): New function.
17570         (RUN_TEST_f_f): Check enable_test before running test.
17571         (RUN_TEST_2_f): Likewise.
17572         (RUN_TEST_fff_f): Likewise.
17573         (RUN_TEST_c_f): Likewise.
17574         (RUN_TEST_f_f1): Likewise.
17575         (RUN_TEST_fF_f1): Likewise.
17576         (RUN_TEST_fI_f1): Likewise.
17577         (RUN_TEST_ffI_f1): Likewise.
17578         (RUN_TEST_c_c): Likewise.
17579         (RUN_TEST_cc_c): Likewise.
17580         (RUN_TEST_f_i): Likewise.
17581         (RUN_TEST_f_i_tg): Likewise.
17582         (RUN_TEST_ff_i_tg): Likewise.
17583         (RUN_TEST_f_b): Likewise.
17584         (RUN_TEST_f_b_tg): Likewise.
17585         (RUN_TEST_f_l): Likewise.
17586         (RUN_TEST_f_L): Likewise.
17587         (RUN_TEST_fFF_11): Likewise.
17588         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17589         conditionals.
17590         (cosh_test_data): Likewise.
17591         (exp_test_data): Likewise.
17592         (expm1_test_data): Likewise.
17593         (hypot_test_data): Likewise.
17594         (pow_test_data): Likewise.
17595         (sinh_test_data): Likewise.
17596         (tanh_test_data): Likewise.
17597         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17598         flags argument.
17600         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17601         tests with quiet NaN input and output.
17602         (acosh_test_data): Likewise.
17603         (asin_test_data): Likewise.
17604         (asinh_test_data): Likewise.
17605         (atan_test_data): Likewise.
17606         (atanh_test_data): Likewise.
17607         (atan2_test_data): Likewise.
17608         (cbrt_test_data): Likewise.
17609         (cos_test_data): Likewise.
17610         (cosh_test_data): Likewise.
17611         (erf_test_data): Likewise.
17612         (erfc_test_data): Likewise.
17613         (exp_test_data): Likewise.
17614         (exp10_test_data): Likewise.
17615         (exp2_test_data): Likewise.
17616         (expm1_test_data): Likewise.
17617         (hypot_test_data): Likewise.
17618         (j0_test_data): Likewise.
17619         (j1_test_data): Likewise.
17620         (jn_test_data): Likewise.
17621         (lgamma_test_data): Likewise.
17622         (log_test_data): Likewise.
17623         (log10_test_data): Likewise.
17624         (log1p_test_data): Likewise.
17625         (log2_test_data): Likewise.
17626         (pow_test_data): Likewise.
17627         (scalb_test_data): Likewise.
17628         (sin_test_data): Likewise.
17629         (sincos_test_data): Likewise.
17630         (sinh_test_data): Likewise.
17631         (tan_test_data): Likewise.
17632         (tanh_test_data): Likewise.
17633         (tgamma_test_data): Likewise.
17634         (y0_test_data): Likewise.
17635         (y1_test_data): Likewise.
17636         (yn_test_data): Likewise.
17638         [BZ #16167]
17639         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17640         argument being NaN and avoid computations with second argument in
17641         that case.
17642         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17643         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17644         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17646 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
17648         * locale/iso-639.def: Add Chitwani Tharu (the).
17650 2013-11-14  Andreas Schwab  <schwab@suse.de>
17652         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17653         word instead of empty string.
17655 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17658         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17660         (__fe_nomask_env): Likewise.
17662 2013-11-13  Steve Ellcey  <sellcey@mips.com>
17664         * benchtests/bench-timing.h: Include time.h.
17666 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
17668         [BZ #15997]
17669         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17670         to 3.4.0 for x32.
17671         * sysdeps/unix/sysv/linux/configure: Regenerated.
17673 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
17675         [BZ #16151]
17676         * stdlib/strtod_l.c (round_and_return): Do not consider
17677         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17678         exponent one less than half the least subnormal exponent.
17679         * stdlib/test-strtod-round-data: Add more tests.
17680         * stdlib/tst-strtod-round.c (tests): Regenerated.
17682 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17684         [BZ #14143]
17685         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17686         (__fe_mask_env): Likewise.
17687         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17688         libm_hidden_proto and add function prototype.
17689         (__fe_mask_env): Add function prototype.
17690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17691         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17693         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17695         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17697 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17699         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17700         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17702 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17704         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17705         of htab_find_slot().
17707 2013-11-11  David S. Miller  <davem@davemloft.net>
17709         [BZ #16150]
17710         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17711         symbol in the non-vis3 case in static builds.
17712         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17713         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17714         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17715         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17717 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17719         [BZ #387]
17720         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17721         it is empty.
17723 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17725         * benchtests/Makefile: Add bench-strtod.
17726         * benchtests/bench-strtod.c: New file: strtod benchtest
17728 2013-11-11  Andreas Schwab  <schwab@suse.de>
17730         [BZ #16153]
17731         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17732         terminating NUL in key length.
17734 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17736         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17737         Add artificial ODP entry for vDSO symbol for PPC64.
17738         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17739         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17741 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17743         [BZ #15374]
17744         * nss/getent.c (services_keys): Recognize services starting with digit.
17746 2013-11-06  David S. Miller  <davem@davemloft.net>
17748         [BZ #15985]
17749         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17750         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17752 2013-11-06  Will Newton  <will.newton@linaro.org>
17754         * manual/memory.texi (Malloc Examples): Remove register
17755         keyword from examples.
17757 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
17759         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17761 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
17763         [BZ #6981]
17764         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17765         depending on [__GCC_IEC_559 > 0].
17766         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17767         depending on [__GCC_IEC_559_COMPLEX > 0].
17769 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
17771         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17772         to iso-639.def.
17774 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
17776         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17778 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
17780         [BZ #16112]
17781         * malloc/malloc (malloc_info): Do not handle first bin as
17782         special case.
17784 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
17786         * locale/iso-639.def: Add Central Nahuatl (nhn).
17788 2013-11-01  Bruno Haible  <bruno@clisp.org>
17790         [BZ #7003]
17791         * manual/math.texi (BSD Random): Specify range upper bound as
17792         in POSIX.
17794 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17796         * locale/iso-639.def: Add Meadow Mari (mhr).
17798 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17800         [BZ #14752], [BZ #15763]
17801         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17802         Validate name.
17803         * rt/tst_shm.c: Add test for escaping directory.
17805 2013-10-31  Andreas Schwab  <schwab@suse.de>
17807         [BZ #15917]
17808         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17809         followed by 'x' as part of digit sequence.
17810         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17812 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17814         [BZ #16037]
17815         * configure.ac: allow GNU Make 4.0 and greater.
17816         * configure: Regenerated.
17818 2013-10-30  Will Newton  <will.newton@linaro.org>
17820         [BZ #16038]
17821         * malloc/hooks.c (memalign_check): Limit alignment to the
17822         maximum representable power of two.
17823         * malloc/malloc.c (__libc_memalign): Likewise.
17824         * malloc/tst-memalign.c (do_test): Add test for very
17825         large alignment values.
17826         * malloc/tst-posix_memalign.c (do_test): Likewise.
17828 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17830         [BZ #11087]
17831         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17832         (munmap_chunk): Likewise.
17833         (mremap_chunk): Likewise.
17835 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17837         [BZ #15799]
17838         * stdlib/div.c (div): Remove obsolete code.
17839         * stdlib/ldiv.c (ldiv): Likewise.
17840         * stdlib/lldiv.c (lldiv): Likewise.
17842 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17844         [BZ #16071]
17845         * nss/nss_files/files-XXX.c (get_contents_ret): New
17846         enumerator.
17847         (get_contents): New function.
17848         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17850 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17852         * configure.in: Moved to ...
17853         * configure.ac: ... here. Change reference to configure.in
17854         to configure.ac.
17855         * sysdeps/arm/preconfigure.ac: ... here.
17856         configure.in to configure.ac.
17857         * sysdeps/gnu/configure.in: Moved to ...
17858         * sysdeps/gnu/configure.ac: ... here.
17859         * sysdeps/i386/configure.in: Moved to ...
17860         * sysdeps/i386/configure.ac: ... here.
17861         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17862         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17863         * sysdeps/mach/configure.in: Moved to ...
17864         * sysdeps/mach/configure.ac: ... here.
17865         * sysdeps/mach/hurd/configure.in: Moved to ...
17866         * sysdeps/mach/hurd/configure.ac: ... here.
17867         * sysdeps/powerpc/configure.in: Moved to ...
17868         * sysdeps/powerpc/configure.ac: ... here.
17869         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17870         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17871         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17872         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17873         * sysdeps/s390/s390-32/configure.in: Moved to ...
17874         * sysdeps/s390/s390-32/configure.ac: ... here.
17875         * sysdeps/s390/s390-64/configure.in: Moved to ...
17876         * sysdeps/s390/s390-64/configure.ac: ... here.
17877         * sysdeps/sh/configure.in: Moved to ...
17878         * sysdeps/sh/configure.ac: ... here.
17879         * sysdeps/sparc/configure.in: Moved to ...
17880         * sysdeps/sparc/configure.ac: ... here.
17881         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17882         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17883         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17884         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17885         * sysdeps/x86_64/configure.in: Moved to ...
17886         * sysdeps/x86_64/configure.ac: ... here.
17887         * sysdeps/x86_64/preconfigure.in: Moved to ...
17888         * sysdeps/x86_64/preconfigure.ac: ... here.
17889         * aclocal.m4: Change reference to configure.in to configure.ac.
17890         * config.h.in: Likewise.
17891         * manual/install.texi: Likewise.
17892         * manual/maint.texi: Likewise.
17893         * Makefile: Likewise.
17894         * malloc/Makefile: Likewise.
17895         * nscd/Makefile: Likewise.
17896         * Makeconfig: Change reference to configure.in and
17897         preconfigure.in to configure.ac and preconfigure.ac
17898         respectively.
17899         * INSTALL: Regenerated.
17900         * configure: Likewise.
17901         * sysdeps/gnu/configure: Likewise.
17902         * sysdeps/i386/configure: Likewise.
17903         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17904         * sysdeps/mach/configure: Likewise.
17905         * sysdeps/mach/hurd/configure: Likewise.
17906         * sysdeps/powerpc/configure: Likewise.
17907         * sysdeps/powerpc/powerpc32/configure: Likewise.
17908         * sysdeps/powerpc/powerpc64/configure: Likewise.
17909         * sysdeps/s390/s390-32/configure: Likewise.
17910         * sysdeps/s390/s390-64/configure: Likewise.
17911         * sysdeps/sh/configure: Likewise.
17912         * sysdeps/sparc/configure: Likewise.
17913         * sysdeps/unix/sysv/linux/configure: Likewise.
17914         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17915         * sysdeps/x86_64/configure: Likewise.
17916         * sysdeps/x86_64/preconfigure: Likewise.
17918 2013-10-29  Andreas Schwab  <schwab@suse.de>
17920         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17922 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17924         * benchtests/pow-inputs: Add new inputs.
17926         * benchtests/exp-inputs: Add new inputs.
17928         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17929         conditional check for return value.
17930         (__cos32): Likewise.
17932 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17934         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17935         to provide a boost for large inputs with word alignment.
17936         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17937         implementation based on optimized PPC64 strcpy.
17938         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17939         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17940         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17941         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17943 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17945         [BZ #2801]
17946         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17948 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17950         [BZ #14876]
17951         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17952         * time/tst-strptime.c (day_tests): Add testcase.
17954 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17956         [BZ #14029]
17957         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17959 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17961         [BZ #16074]
17962         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17963         MAP_FAILED on error.
17965 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17967         [BZ #16072]
17968         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17969         heap for large requests.
17971 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17973         [BZ #9954]
17974         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17975         result if the result has no associated interface.
17976         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17977         interface for all 127.X.Y.Z addresses.
17979 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17981         * locale/iso-639.def: Add Ligurian (lij)
17983 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17985         [BZ #15825]
17986         * sunrpc/rpc_main.c: Document rpcgen -5.
17988 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17990         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17992 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17994         [BZ #10278]
17995         * posix/glob.c: Match only directories when trailing slash is present.
17996         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17997         (main): Add testcase.
17999 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18001         [BZ #15670]
18002         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18004 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
18006         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18007         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18008         AUTH_DES and cindex for FIPS 140-2.
18009         (DES Encryption): Add cindex FIPS 46-3.
18011         * locale/locarchive.h (struct locarhandle): Add fname.
18012         * locale/programs/localedef.c (main): Pass ARGV[remaining]
18013         if an optional argument was specified to --list-archive,
18014         otherwise NULL.
18015         * locale/programs/locarchive.c (show_archive_content): Take new
18016         argument fname and pass it via ah.fname to open_archive.
18017         * locale/programs/localedef.h: Update decl.
18018         (open_archive): If AH->fname is non-null, open that file
18019         rather than the default file name, and don't ignore ENOENT.
18020         (create_archive): Set AH.fname to NULL.
18021         (delete_locales_from_archive): Likewise.
18022         (add_locales_to_archive): Likewise.
18023         * locale/programs/locfile.c (write_all_categories): Likewise.
18025 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
18026             Aldy Hernandez  <aldyh@redhat.com>
18028         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18029         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18030         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18031         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18032         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18033         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18034         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18035         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18036         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18037         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18038         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18039         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18040         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18041         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18042         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18043         Likewise.
18044         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18045         Likewise.
18046         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18047         Likewise.
18048         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18049         Likewise.
18050         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18051         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18052         Likewise.
18053         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18054         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18055         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18056         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18057         Likewise.
18058         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18059         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18060         * sysdeps/powerpc/preconfigure: Likewise.
18061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18062         Likewise.
18063         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18064         Replace contents of file by #include of <fenv_libc.h>.
18065         * sysdeps/powerpc/soft-fp/sfp-machine.h
18066         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18067         and <sys/prctl.h>.
18068         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18069         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18070         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18071         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18072         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18073         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18075         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18076         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18077         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18078         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18079         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18081         Allow copysignl PLT reference to be missing.
18083 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
18084             Joseph Myers  <joseph@codesourcery.com
18086         [BZ #15948]
18087         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18088         single character.
18089         (add_to_tablewc): Assert sequence of wide characters is nonempty.
18091 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18093         * elf/tst-tls-dlinfo.c: Don't include tls.h.
18094         * elf/tst-tls1.c: Likewise.
18095         * elf/tst-tls10.h: Likewise.
18096         * elf/tst-tls14.c: Likewise.
18097         * elf/tst-tls2.c: Likewise.
18098         * elf/tst-tls3.c: Likewise.
18099         * elf/tst-tls4.c: Likewise.
18100         * elf/tst-tls5.c: Likewise.
18101         * elf/tst-tls6.c: Likewise.
18102         * elf/tst-tls7.c: Likewise.
18103         * elf/tst-tls8.c: Likewise.
18104         * elf/tst-tls9.c: Likewise.
18105         * elf/tst-tlsmod1.c: Likewise.
18106         * elf/tst-tlsmod13.c: Likewise.
18107         * elf/tst-tlsmod13a.c: Likewise.
18108         * elf/tst-tlsmod14a.c: Likewise.
18109         * elf/tst-tlsmod16a.c: Likewise.
18110         * elf/tst-tlsmod16b.c: Likewise.
18111         * elf/tst-tlsmod2.c: Likewise.
18112         * elf/tst-tlsmod3.c: Likewise.
18113         * elf/tst-tlsmod4.c: Likewise.
18114         * elf/tst-tlsmod5.c: Likewise.
18115         * elf/tst-tlsmod6.c: Likewise.
18117 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
18119         [BZ #12486]
18120         * malloc/malloc.c: remove checks for statistics.
18122 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18124         [BZ #15277]
18125         * inet/inet_net.c (inet_network): Detect additional invalid strings.
18126         * inet/tst-network.c: Add testcase.
18128 2013-10-17  Andreas Schwab  <schwab@suse.de>
18130         [BZ #15218]
18131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18132         to determine canonical name.
18134 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18136         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18137         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18138         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18139         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18140         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18141         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18142         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18143         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18144         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18145         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18146         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18147         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18148         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18149         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18150         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18151         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18152         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18153         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18154         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18155         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18156         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18157         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18158         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18159         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18160         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18161         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18162         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18163         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18164         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18165         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18166         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18167         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18168         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18169         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18170         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18171         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18172         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18173         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18174         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18175         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18176         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18177         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18178         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18179         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18180         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18181         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18182         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18183         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18184         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18185         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18186         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18187         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18188         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18189         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18190         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18191         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18192         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18193         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18195 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18197         [BZ #16041]
18198         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18199         make result into a quiet NaN.
18201 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18203         * soft-fp/adddf3.c: Fix horizontal whitespace.
18204         * soft-fp/addsf3.c: Likewise.
18205         * soft-fp/addtf3.c: Likewise.
18206         * soft-fp/divdf3.c: Likewise.
18207         * soft-fp/divsf3.c: Likewise.
18208         * soft-fp/divtf3.c: Likewise.
18209         * soft-fp/double.h: Likewise.
18210         * soft-fp/eqdf2.c: Likewise.
18211         * soft-fp/eqsf2.c: Likewise.
18212         * soft-fp/eqtf2.c: Likewise.
18213         * soft-fp/extenddftf2.c: Likewise.
18214         * soft-fp/extended.h: Likewise.
18215         * soft-fp/extendsfdf2.c: Likewise.
18216         * soft-fp/extendsftf2.c: Likewise.
18217         * soft-fp/extendxftf2.c: Likewise.
18218         * soft-fp/fixdfdi.c: Likewise.
18219         * soft-fp/fixdfsi.c: Likewise.
18220         * soft-fp/fixdfti.c: Likewise.
18221         * soft-fp/fixsfdi.c: Likewise.
18222         * soft-fp/fixsfsi.c: Likewise.
18223         * soft-fp/fixsfti.c: Likewise.
18224         * soft-fp/fixtfdi.c: Likewise.
18225         * soft-fp/fixtfsi.c: Likewise.
18226         * soft-fp/fixtfti.c: Likewise.
18227         * soft-fp/fixunsdfdi.c: Likewise.
18228         * soft-fp/fixunsdfsi.c: Likewise.
18229         * soft-fp/fixunsdfti.c: Likewise.
18230         * soft-fp/fixunssfdi.c: Likewise.
18231         * soft-fp/fixunssfsi.c: Likewise.
18232         * soft-fp/fixunssfti.c: Likewise.
18233         * soft-fp/fixunstfdi.c: Likewise.
18234         * soft-fp/fixunstfsi.c: Likewise.
18235         * soft-fp/fixunstfti.c: Likewise.
18236         * soft-fp/floatdidf.c: Likewise.
18237         * soft-fp/floatdisf.c: Likewise.
18238         * soft-fp/floatditf.c: Likewise.
18239         * soft-fp/floatsidf.c: Likewise.
18240         * soft-fp/floatsisf.c: Likewise.
18241         * soft-fp/floatsitf.c: Likewise.
18242         * soft-fp/floattidf.c: Likewise.
18243         * soft-fp/floattisf.c: Likewise.
18244         * soft-fp/floattitf.c: Likewise.
18245         * soft-fp/floatundidf.c: Likewise.
18246         * soft-fp/floatundisf.c: Likewise.
18247         * soft-fp/floatunditf.c: Likewise.
18248         * soft-fp/floatunsidf.c: Likewise.
18249         * soft-fp/floatunsisf.c: Likewise.
18250         * soft-fp/floatunsitf.c: Likewise.
18251         * soft-fp/floatuntidf.c: Likewise.
18252         * soft-fp/floatuntisf.c: Likewise.
18253         * soft-fp/floatuntitf.c: Likewise.
18254         * soft-fp/fmadf4.c: Likewise.
18255         * soft-fp/fmasf4.c: Likewise.
18256         * soft-fp/fmatf4.c: Likewise.
18257         * soft-fp/gedf2.c: Likewise.
18258         * soft-fp/gesf2.c: Likewise.
18259         * soft-fp/getf2.c: Likewise.
18260         * soft-fp/ledf2.c: Likewise.
18261         * soft-fp/lesf2.c: Likewise.
18262         * soft-fp/letf2.c: Likewise.
18263         * soft-fp/muldf3.c: Likewise.
18264         * soft-fp/mulsf3.c: Likewise.
18265         * soft-fp/multf3.c: Likewise.
18266         * soft-fp/negdf2.c: Likewise.
18267         * soft-fp/negsf2.c: Likewise.
18268         * soft-fp/negtf2.c: Likewise.
18269         * soft-fp/op-1.h: Likewise.
18270         * soft-fp/op-2.h: Likewise.
18271         * soft-fp/op-4.h: Likewise.
18272         * soft-fp/op-8.h: Likewise.
18273         * soft-fp/op-common.h: Likewise.
18274         * soft-fp/quad.h: Likewise.
18275         * soft-fp/single.h: Likewise.
18276         * soft-fp/soft-fp.h: Likewise.
18277         * soft-fp/sqrtdf2.c: Likewise.
18278         * soft-fp/sqrtsf2.c: Likewise.
18279         * soft-fp/sqrttf2.c: Likewise.
18280         * soft-fp/subdf3.c: Likewise.
18281         * soft-fp/subsf3.c: Likewise.
18282         * soft-fp/subtf3.c: Likewise.
18283         * soft-fp/truncdfsf2.c: Likewise.
18284         * soft-fp/trunctfdf2.c: Likewise.
18285         * soft-fp/trunctfsf2.c: Likewise.
18286         * soft-fp/trunctfxf2.c: Likewise.
18287         * soft-fp/unorddf2.c: Likewise.
18288         * soft-fp/unordsf2.c: Likewise.
18289         * soft-fp/unordtf2.c: Likewise.
18291 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
18293         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18294         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18296 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
18298         * elf/dl-libc.c: Clear initfini list after freeing.
18300 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
18302         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18303         * soft-fp/addsf3.c: Likewise.
18304         * soft-fp/addtf3.c: Likewise.
18305         * soft-fp/divdf3.c: Likewise.
18306         * soft-fp/divsf3.c: Likewise.
18307         * soft-fp/divtf3.c: Likewise.
18308         * soft-fp/double.h: Likewise.
18309         * soft-fp/eqdf2.c: Likewise.
18310         * soft-fp/eqsf2.c: Likewise.
18311         * soft-fp/eqtf2.c: Likewise.
18312         * soft-fp/extenddftf2.c: Likewise.
18313         * soft-fp/extended.h: Likewise.
18314         * soft-fp/extendsfdf2.c: Likewise.
18315         * soft-fp/extendsftf2.c: Likewise.
18316         * soft-fp/extendxftf2.c: Likewise.
18317         * soft-fp/fixdfdi.c: Likewise.
18318         * soft-fp/fixdfsi.c: Likewise.
18319         * soft-fp/fixdfti.c: Likewise.
18320         * soft-fp/fixsfdi.c: Likewise.
18321         * soft-fp/fixsfsi.c: Likewise.
18322         * soft-fp/fixsfti.c: Likewise.
18323         * soft-fp/fixtfdi.c: Likewise.
18324         * soft-fp/fixtfsi.c: Likewise.
18325         * soft-fp/fixtfti.c: Likewise.
18326         * soft-fp/fixunsdfdi.c: Likewise.
18327         * soft-fp/fixunsdfsi.c: Likewise.
18328         * soft-fp/fixunsdfti.c: Likewise.
18329         * soft-fp/fixunssfdi.c: Likewise.
18330         * soft-fp/fixunssfsi.c: Likewise.
18331         * soft-fp/fixunssfti.c: Likewise.
18332         * soft-fp/fixunstfdi.c: Likewise.
18333         * soft-fp/fixunstfsi.c: Likewise.
18334         * soft-fp/fixunstfti.c: Likewise.
18335         * soft-fp/floatdidf.c: Likewise.
18336         * soft-fp/floatdisf.c: Likewise.
18337         * soft-fp/floatditf.c: Likewise.
18338         * soft-fp/floatsidf.c: Likewise.
18339         * soft-fp/floatsisf.c: Likewise.
18340         * soft-fp/floatsitf.c: Likewise.
18341         * soft-fp/floattidf.c: Likewise.
18342         * soft-fp/floattisf.c: Likewise.
18343         * soft-fp/floattitf.c: Likewise.
18344         * soft-fp/floatundidf.c: Likewise.
18345         * soft-fp/floatundisf.c: Likewise.
18346         * soft-fp/floatunsidf.c: Likewise.
18347         * soft-fp/floatunsisf.c: Likewise.
18348         * soft-fp/floatuntidf.c: Likewise.
18349         * soft-fp/floatuntisf.c: Likewise.
18350         * soft-fp/floatuntitf.c: Likewise.
18351         * soft-fp/fmadf4.c: Likewise.
18352         * soft-fp/fmasf4.c: Likewise.
18353         * soft-fp/fmatf4.c: Likewise.
18354         * soft-fp/gedf2.c: Likewise.
18355         * soft-fp/gesf2.c: Likewise.
18356         * soft-fp/getf2.c: Likewise.
18357         * soft-fp/ledf2.c: Likewise.
18358         * soft-fp/lesf2.c: Likewise.
18359         * soft-fp/letf2.c: Likewise.
18360         * soft-fp/muldf3.c: Likewise.
18361         * soft-fp/mulsf3.c: Likewise.
18362         * soft-fp/multf3.c: Likewise.
18363         * soft-fp/negdf2.c: Likewise.
18364         * soft-fp/negsf2.c: Likewise.
18365         * soft-fp/negtf2.c: Likewise.
18366         * soft-fp/op-1.h: Likewise.
18367         * soft-fp/op-2.h: Likewise.
18368         * soft-fp/op-4.h: Likewise.
18369         * soft-fp/op-8.h: Likewise.
18370         * soft-fp/op-common.h: Likewise.
18371         * soft-fp/quad.h: Likewise.
18372         * soft-fp/single.h: Likewise.
18373         * soft-fp/soft-fp.h: Likewise.
18374         * soft-fp/sqrtdf2.c: Likewise.
18375         * soft-fp/sqrtsf2.c: Likewise.
18376         * soft-fp/sqrttf2.c: Likewise.
18377         * soft-fp/subdf3.c: Likewise.
18378         * soft-fp/subsf3.c: Likewise.
18379         * soft-fp/subtf3.c: Likewise.
18380         * soft-fp/truncdfsf2.c: Likewise.
18381         * soft-fp/trunctfdf2.c: Likewise.
18382         * soft-fp/trunctfsf2.c: Likewise.
18383         * soft-fp/trunctfxf2.c: Likewise.
18384         * soft-fp/unorddf2.c: Likewise.
18385         * soft-fp/unordsf2.c: Likewise.
18386         * soft-fp/unordtf2.c: Likewise.
18388 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
18390         [BZ #15672]
18391         * misc/error.c (error_tail): Fix possible buffer overflow.
18393 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
18395         [BZ #13028]
18396         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18397         address.
18399 2013-10-14  P. J. McDermott  <pj@pehjota.net>
18401         [BZ #832]
18402         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
18403         testing pipefail option.
18405 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18407         * soft-fp/double.h: Indent preprocessor directives inside #if.
18408         * soft-fp/extended.h: Likewise.
18409         * soft-fp/op-2.h: Likewise.
18410         * soft-fp/op-4.h: Likewise.
18411         * soft-fp/op-common.h: Likewise.
18412         * soft-fp/quad.h: Likewise.
18413         * soft-fp/single.h: Likewise.
18414         * soft-fp/soft-fp.h: Likewise.
18416 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
18418         * iconv/iconv_prog.c: Fix typos.
18419         * stdio-common/psiginfo-data.h: Likewise.
18421 2013-10-12   Reuben Thomas <rrt@sc3d.org>
18423         [BZ #15764]
18424         * locale/setlocale.c: Fix typo.
18426 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18428         [BZ #16036]
18429         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18430         signaling NaN arguments.
18431         * soft-fp/unordsf2.c (__unordsf2): Likewise.
18432         * soft-fp/unordtf2.c (__unordtf2): Likewise.
18434         [BZ #14910]
18435         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18436         unordered operands.
18437         * soft-fp/gesf2.c (__gesf2): Likewise.
18438         * soft-fp/getf2.c (__getf2): Likewise.
18439         * soft-fp/ledf2.c (__ledf2): Likewise.
18440         * soft-fp/lesf2.c (__lesf2): Likewise.
18441         * soft-fp/letf2.c (__letf2): Likewise.
18443         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18444         * soft-fp/eqsf2.c (__eqsf2): Likewise.
18445         * soft-fp/eqtf2.c (__eqtf2): Likewise.
18446         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18447         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18448         * soft-fp/fixdfti.c (__fixdfti): Likewise.
18449         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18450         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18451         * soft-fp/fixsfti.c (__fixsfti): Likewise.
18452         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18453         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18454         * soft-fp/fixtfti.c (__fixtfti): Likewise.
18455         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18456         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18457         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18458         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18459         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18460         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18461         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18462         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18463         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18464         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18465         * soft-fp/floatdisf.c (__floatdisf): Likewise.
18466         * soft-fp/floatsisf.c (__floatsisf): Likewise.
18467         * soft-fp/floattidf.c (__floattidf): Likewise.
18468         * soft-fp/floattisf.c (__floattisf): Likewise.
18469         * soft-fp/floattitf.c (__floattitf): Likewise.
18470         * soft-fp/floatundidf.c (__floatundidf): Likewise.
18471         * soft-fp/floatundisf.c (__floatundisf): Likewise.
18472         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18473         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18474         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18475         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18476         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18477         * soft-fp/gesf2.c (__gesf2): Likewise.
18478         * soft-fp/getf2.c (__getf2): Likewise.
18479         * soft-fp/ledf2.c (__ledf2): Likewise.
18480         * soft-fp/lesf2.c (__lesf2): Likewise.
18481         * soft-fp/letf2.c (__letf2): Likewise.
18483         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18484         Undefine and redefine.
18485         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18486         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18487         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18488         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18489         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18490         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18491         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18492         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18493         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18494         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18495         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18496         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18497         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18498         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18499         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18501         [BZ #16032]
18502         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18503         without decrementing exponent if mantissa >= that for the
18504         denominator, not >.
18505         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18506         denominator, not >.  Decrement exponent in < case instead of
18507         incrementing in >= case.
18508         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18509         without decrementing exponent if mantissa >= that for the
18510         denominator, not >.
18512         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18513         computing saturated result for unsigned overflow.
18515 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18516             Jeff Law  <law@redhat.com>
18518         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18519         (atan2Mp): Add systemtap probe marker.
18520         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18521         (__ieee754_log): Add systemtap probe marker.
18522         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18523         (atanMp): Add systemtap probe marker.
18524         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18525         (tanMp): Add systemtap probe marker.
18526         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18527         (__slowexp): Add systemtap probe marker.
18528         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18529         (__slowpow): Add systemtap probe marker.
18530         * manual/probes.texi: Document probes.
18532 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
18534         [BZ #15362]
18535         * libio/fileops.c (_IO_new_file_write): Return count of bytes
18536         written.
18537         (_IO_new_file_xsputn): Don't return EOF if nothing has been
18538         written.
18539         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18540         written to buffer but not flushed.
18541         * libio/iofwrite_u.c:  Likewise.
18542         * libio/iopadn.c:  Return bytes returned even if EOF was
18543         encountered.
18544         * libio/iowpadn.c:  Likewise.
18545         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18546         if _IO_padn does not write the whole buffer.
18547         [!COMPILE_WPRINTF] (PAD): Likewise.
18549 2013-10-10  David S. Miller  <davem@davemloft.net>
18551         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18552         directory block.
18554 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18556         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
18557         instead of FSF address.
18558         * soft-fp/fixdfti.c: Likewise.
18559         * soft-fp/fixsfti.c: Likewise.
18560         * soft-fp/fixtfti.c: Likewise.
18561         * soft-fp/fixunsdfti.c: Likewise.
18562         * soft-fp/fixunssfti.c: Likewise.
18563         * soft-fp/fixunstfti.c: Likewise.
18564         * soft-fp/floattidf.c: Likewise.
18565         * soft-fp/floattisf.c: Likewise.
18566         * soft-fp/floattitf.c: Likewise.
18567         * soft-fp/floatuntidf.c: Likewise.
18568         * soft-fp/floatuntisf.c: Likewise.
18569         * soft-fp/floatuntitf.c: Likewise.
18570         * soft-fp/trunctfxf2.c: Likewise.
18572         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
18573         * soft-fp/fixdfti.c: Likewise.
18574         * soft-fp/fixsfti.c: Likewise.
18575         * soft-fp/fixtfti.c: Likewise.
18576         * soft-fp/fixunsdfti.c: Likewise.
18577         * soft-fp/fixunssfti.c: Likewise.
18578         * soft-fp/fixunstfti.c: Likewise.
18579         * soft-fp/floattidf.c: Likewise.
18580         * soft-fp/floattisf.c: Likewise.
18581         * soft-fp/floattitf.c: Likewise.
18582         * soft-fp/floatuntidf.c: Likewise.
18583         * soft-fp/floatuntisf.c: Likewise.
18584         * soft-fp/floatuntitf.c: Likewise.
18585         * soft-fp/trunctfxf2.c: Likewise.
18587 2013-10-10  David S. Miller  <davem@davemloft.net>
18589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18591 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
18593         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18594         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18595         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18596         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18597         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18598         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18599         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18601         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18602         for NaNs before doing comparisons on argument.
18603         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18604         Likewise.
18606 2013-10-10  Will Newton  <will.newton@linaro.org>
18608         * malloc/hooks.c (memalign_check): Ensure the value of bytes
18609         passed to _int_memalign does not overflow.
18611 2013-10-10  Torvald Riegel  <triegel@redhat.com>
18613         * scripts/bench.pl: Add include-sources directive.
18614         * benchtests/README: Update documentation.
18616 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18618         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18619         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18620         instead of FP_INIT_ROUNDMODE.
18621         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18622         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18624         [BZ #16034]
18625         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
18626         copy class of input value.
18627         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
18628         not handle exceptions.
18629         * soft-fp/negsf2.c (__negsf2): Likewise.
18630         * soft-fp/negtf2.c (__negtf2): Likewise.
18631         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18633 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
18635         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18636         semicolon.  From Linux kernel.
18638 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
18640         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18642 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
18644         [BZ #156]
18645         * manual/socket.texi: Added statement about buffer
18646         for gethostbyname2_r.
18648 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
18650         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18651         Use .p2align directive instead, throughout.
18652         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18653         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18654         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18655         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18656         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18657         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18658         * sysdeps/x86_64/strchr.S: Likewise.
18659         * sysdeps/x86_64/strrchr.S: Likewise.
18661 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18663         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18665         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18667         * sysdeps/generic/math_private.h (__mpsin1): Remove
18668         declaration.
18669         (__mpcos1): Likewise.
18670         (__mpsin): New argument __range_reduce.
18671         (__mpcos): Likewise.
18672         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18673         (slow): Use __mpsin and __mpcos.
18674         (slow1): Likewise.
18675         (slow2): Likewise.
18676         (sloww): Likewise.
18677         (sloww1): Likewise.
18678         (sloww2): Likewise.
18679         (bsloww): Likewise.
18680         (bsloww1): Likewise.
18681         (bsloww2): Likewise.
18682         (cslow2): Likewise.
18683         (csloww): Likewise.
18684         (csloww1): Likewise.
18685         (csloww2): Likewise.
18686         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18687         range_reduce.  Merge in __mpsin1.
18688         (__mpcos): Likewise.
18689         (__mpsin1): Remove.
18690         (__mpcos1): Likewise.
18692 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
18694         * locale/loadlocale.c (_nl_intern_locale_data): Use
18695         LOCFILE_ALIGNED_P.
18696         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18697         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18698         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18699         obstack data is appropriately aligned.
18700         (obstack_int32_grow_fast): Likewise.
18701         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18702         * locale/programs/locfile.c (add_locale_uint32): Likewise.
18703         (add_locale_uint32_array): Likewise.
18705 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18707         * benchtests/Makefile: Remove ARGLIST and RET variables.
18708         ($(objpfx)bench-%.c): Pass only function name to the script.
18709         * benchtests/README: Update documentation.
18710         * benchtests/acos-inputs: Add new directives.
18711         * benchtests/acosh-inputs: Likewise.
18712         * benchtests/asin-inputs: Likewise.
18713         * benchtests/asinh-inputs: Likewise.
18714         * benchtests/atan-inputs: Likewise.
18715         * benchtests/atanh-inputs: Likewise.
18716         * benchtests/cos-inputs: Likewise.
18717         * benchtests/cosh-inputs: Likewise.
18718         * benchtests/exp-inputs: Likewise.
18719         * benchtests/log-inputs: Likewise.
18720         * benchtests/pow-inputs: Likewise.
18721         * benchtests/rint-inputs: Likewise.
18722         * benchtests/sin-inputs: Likewise.
18723         * benchtests/sinh-inputs: Likewise.
18724         * benchtests/tan-inputs: Likewise.
18725         * benchtests/tanh-inputs: Likewise.
18726         * scripts/bench.pl: Add support for new directives.
18728 2013-10-07  Alan Modra  <amodra@gmail.com>
18730         * README: Fix careless merge.
18732 2013-10-05  Alan Modra  <amodra@gmail.com>
18734         * NEWS: Mention powerpc64le support and bugs fixed.
18735         * README: Both big-endian and little-endian powerpc64 supported.
18737 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18739         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18740         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18741         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18742         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18744 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
18746         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18747         match prototype.
18749 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
18751         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18752         Move -mhard-float appending from
18753         ports/sysdeps/powerpc/powerpc32/Makefile.
18754         [$(with-fp) = yes] (ASFLAGS): Likewise.
18755         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18756         * sysdeps/powerpc/nofpu: Move directory from
18757         ports/sysdeps/powerpc/nofpu.
18758         * sysdeps/powerpc/soft-fp: Move directory from
18759         ports/sysdeps/powerpc/soft-fp.
18760         * sysdeps/powerpc/powerpc32/405: Move directory from
18761         ports/sysdeps/powerpc/powerpc32/405.
18762         * sysdeps/powerpc/powerpc32/440: Move directory from
18763         ports/sysdeps/powerpc/powerpc32/440.
18764         * sysdeps/powerpc/powerpc32/464: Move directory from
18765         ports/sysdeps/powerpc/powerpc32/464.
18766         * sysdeps/powerpc/powerpc32/476: Move directory from
18767         ports/sysdeps/powerpc/powerpc32/476.
18768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18769         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18771         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18773         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18775         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18777         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18778         * README: Update for powerpc-*-linux-gnu software floating point
18779         support in libc.
18781         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18782         case to powerpc/powerpc32*.
18783         * sysdeps/unix/sysv/linux/configure: Regenerated.
18785         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18786         (_FPU_MASK_OM): Define as 0x04.
18787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18789         0x00c10080.
18790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18791         0x0000003c.
18792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18795         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18796         getcontext_e500.
18797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18798         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18799         setcontext_e500.
18800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18801         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18802         and setcontext_e500.
18804 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18806         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18808 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18810         * manual/threads.texi (Default Thread Attributes): Fix typo.
18812 2013-10-04  Will Newton  <will.newton@linaro.org>
18814         * malloc/Makefile: Add tst-memalign.
18815         * malloc/tst-memalign.c: New file.
18817         * malloc/tst-posix_memalign.c: Add comments.
18818         (do_test): Add comments and call free on all potentially
18819         allocated pointers. Add space after cast.
18821         * malloc/tst-pvalloc.c: Add comments.
18822         (do_test): Add comments and call free on all potentially
18823         allocated pointers. Remove duplicate check for NULL pointer.
18824         Add space after cast.
18826         * malloc/tst-valloc.c: Add comments.
18827         (do_test): Add comments and call free on all potentially
18828         allocated pointers. Remove duplicate check for NULL pointer.
18829         Add space after cast.
18831 2013-10-04  Alan Modra  <amodra@gmail.com>
18833         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18834         Use stdint types in rather than __attribute__((mode())).
18835         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18837 2013-10-04  Alan Modra  <amodra@gmail.com>
18839         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18840         Correct handling of unaligned relocs for little-endian.
18841         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18843 2013-10-04  Alan Modra  <amodra@gmail.com>
18845         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18846         * configure: Regenerate.
18847         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18848         * shlib-versions: Likewise.
18850 2013-10-04  Alan Modra  <amodra@gmail.com>
18852         * string/tester.c (test_memrchr): Increment reported test cycle.
18854 2013-10-04  Alan Modra  <amodra@gmail.com>
18856         * string/test-memcpy.c (do_one_test): When reporting errors, print
18857         string address and don't overrun end of string.
18859 2013-10-04  Alan Modra  <amodra@gmail.com>
18861         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18862         insrdi.  Make better use of reg selection to speed exit slightly.
18863         Schedule entry path a little better.  Remove useless "are we done"
18864         checks on entry to main loop.  Handle wrapping around zero address.
18865         Correct main loop count.  Handle single left-over word from main
18866         loop inline rather than by using loop_small.  Remove extra word
18867         case in loop_small caused by wrong loop count.  Add little-endian
18868         support.
18869         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18870         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18871         cache hint.
18872         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18873         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18874         support.  Avoid rlwimi.
18875         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18877 2013-10-04  Alan Modra  <amodra@gmail.com>
18879         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18880         insrdi.  Formatting.
18881         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18882         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18883         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18884         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18885         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18886         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18888 2013-10-04  Alan Modra  <amodra@gmail.com>
18890         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18891         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18892         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18893         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18894         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18895         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18896         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18897         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18898         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18899         use of regs.  Use power7 mtocrf.  Tidy function tails.
18901 2013-10-04  Alan Modra  <amodra@gmail.com>
18903         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18904         Formatting.  Consistently use rXXX register defines or rN defines.
18905         Use early exit labels that avoid restoring unused non-volatile regs.
18906         Make cr field use more consistent with rWORDn compares.  Rename
18907         regs used as shift registers for unaligned loop, using rN defines
18908         for short lifetime/multiple use regs.
18909         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18910         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18911         addi 1,1,64 to pop stack frame.  Simplify return value code.
18912         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18914 2013-10-04  Alan Modra  <amodra@gmail.com>
18916         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18917         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18918         rather than rlwimi.
18919         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18920         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18921         little-endian support.  Correct typos.
18922         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18923         rather than rlwimi.
18924         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18925         in loop and entry code to keep "and." results.
18926         (strchr): Add little-endian support.  Comment.  Move cntlzd
18927         earlier in tail.
18928         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18930 2013-10-04  Alan Modra  <amodra@gmail.com>
18932         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18933         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18934         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18935         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18937 2013-10-04  Alan Modra  <amodra@gmail.com>
18939         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18940         (rTMP): Define as r11.
18941         (strcmp): Add little-endian support.  Optimise tail.
18942         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18943         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18944         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18945         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18946         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18947         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18948         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18950 2013-10-04  Alan Modra  <amodra@gmail.com>
18952         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18953         little-endian support.  Remove unnecessary "are we done" tests.
18954         Handle "s" wrapping around zero and extremely large "size".
18955         Correct main loop count.  Handle single left-over word from main
18956         loop inline rather than by using small_loop.  Correct comments.
18957         Delete "zero" tail, use "end_max" instead.
18958         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18960 2013-10-04  Alan Modra  <amodra@gmail.com>
18962         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18963         support.  Don't branch over align.
18964         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18965         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18966         support.  Rearrange tmp reg use to suit.  Comment.
18967         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18969 2013-10-04  Alan Modra  <amodra@gmail.com>
18971         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18973 2013-10-04  Alan Modra  <amodra@gmail.com>
18975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18976         conditional form of branch and link when obtaining pc.
18977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18979 2013-10-04  Alan Modra  <amodra@gmail.com>
18981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18982         HIWORD/LOWORD.
18983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18986 2013-10-04  Alan Modra  <amodra@gmail.com>
18988         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18989         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18990         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18991         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18992         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18993         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18994         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18995         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18996         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18997         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18999 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19000             Alistair Popple <alistair@ozlabs.au.ibm.com>
19001             Alan Modra <amodra@gmail.com>
19003         [BZ #15723]
19004         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19005         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19006         _dl_hwcap access for little-endian.
19007         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
19008         destroy vmx regs when saving unaligned.
19009         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19010         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
19011         destroy vmx regs when saving unaligned.
19013 2013-10-04  Alan Modra  <amodra@gmail.com>
19015         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19016         Don't use a union to pack hi/low value.
19018 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19020         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19021         for little-endian.
19022         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19023         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19024         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19025         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19026         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19028 2013-10-04  Alan Modra  <amodra@gmail.com>
19030         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19031         constants to usual value for .cst8 section, and remove redundant
19032         high address load.
19033         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19034         constant for 0x1p52.  Load little-endian words of double from
19035         correct stack offsets.
19037 2013-10-04  Alan Modra  <amodra@gmail.com>
19039         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19040         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19041         words of double from correct stack offsets.
19042         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19043         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19044         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19045         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19046         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19047         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19048         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19049         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19050         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19051         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19052         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19053         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19054         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19055         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19056         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19057         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19058         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19060 2013-10-04  Alan Modra  <amodra@gmail.com>
19062         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19063         64-bit int/double union.
19064         (_FPU_SETCW): Likewise.
19065         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19066         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19068 2013-10-04  Alan Modra  <amodra@gmail.com>
19070         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19071         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19073 2013-10-04  Alan Modra  <amodra@gmail.com>
19075         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19076         use vector int constants.
19077         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19079 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19081         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19082         array with long long.
19083         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19084         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19085         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19086         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19087         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19088         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19089         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19090         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19091         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19092         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19093         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19094         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19095         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19097 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19099         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19100         (__signbit): Likewise.  Correct for little-endian.
19101         (__signbitl): Call __signbit.
19102         (lrint): Correct for little-endian.
19103         (lrintf): Call lrint.
19105 2013-10-04  Alan Modra  <amodra@gmail.com>
19107         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19108         union 32-bit int array member with 64-bit int array.
19109         (t515, tm256): Double rather than long double.
19110         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19112 2013-10-04  Alan Modra  <amodra@gmail.com>
19114         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19115         Delete.
19116         (IEEE854_LONG_DOUBLE_BIAS): Delete.
19117         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19118         version of math_ldbl.h.
19120 2013-10-04  Alan Modra  <amodra@gmail.com>
19122         [BZ #15734], [BZ #15735]
19123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19124         all uses of ieee875 long double macros and unions.  Simplify test
19125         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
19126         ldbl_extract_mantissa value for ix,iy exponents.  Properly
19127         normalize after ldbl_extract_mantissa, and don't add hidden bit
19128         already handled.  Don't treat low word of ieee854 mantissa like
19129         low word of IBM long double and mask off bit when testing for
19130         zero.
19131         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19132         all uses of ieee875 long double macros and unions.  Simplify tests
19133         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
19134         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
19135         two1022, instead use their values.  Recognise that tests for large
19136         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
19137         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19138         Rewrite all uses of ieee875 long double macros and unions.  Simplify
19139         test for 0.0L and nan.  Correct negation.
19140         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19141         ieee875 long double macros and unions.  Correct output for large
19142         magnitude x.  Correct absolute value calculation.
19143         (__erfcl): Likewise.
19144         * math/libm-test.inc: Add tests for errors discovered in IBM long
19145         double versions of fmodl, remainderl, erfl and erfcl.
19147 2013-10-04  Alan Modra  <amodra@gmail.com>
19149         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19150         all uses of ieee854 long double macros and unions.  Simplify tests
19151         for long doubles that are fully specified by the high double.
19152         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19153         Likewise.
19154         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19155         Remove dead code too.
19156         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19157         (__ieee754_ynl): Likewise.
19158         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19159         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19160         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19161         Remove dead code too.
19162         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19163         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19164         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19165         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19166         Simplify.
19167         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19168         Simplify.
19169         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19170         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19171         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19172         Comment on variable precision.
19173         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19174         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19175         Likewise.
19176         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19177         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19178         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19179         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19180         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19182 2013-10-04  Alan Modra  <amodra@gmail.com>
19184         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19185         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19186         all uses of ieee854 long double macros and unions.
19187         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19188         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19189         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19190         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19191         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19192         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19193         Likewise.
19194         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19195         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19196         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19197         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19198         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19199         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19200         Simplify sign and nan test too.
19201         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19202         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19203         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19204         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19205         Likewise.
19206         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19207         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19208         Likewise.
19209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19210         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19211         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19212         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19213         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19214         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19216 2013-10-04  Alan Modra  <amodra@gmail.com>
19218         * stdio-common/printf_size.c (__printf_size): Don't use
19219         union ieee854_long_double in fpnum union.
19220         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19221         signbit macro to retrieve sign from long double.
19222         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19223         retrieve sign from long double.
19224         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19225         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19226         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19227         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19228         * math/test-misc.c (main): Don't use union ieee854_long_double.
19230 2013-10-04  Alan Modra  <amodra@gmail.com>
19232         [BZ #15680]
19233         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19234         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19235         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19236         calculation.  Remove unnecessary test for denormal exponent.
19237         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19238         Correct handling of denormals.  Avoid undefined shift behaviour.
19239         Correct normalisation of low mantissa when low double is denormal.
19240         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19241         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19242         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19243         Correct normalisation of low mantissa.  Test for overflow of high
19244         mantissa and normalise.
19245         (ldbl_nearbyint): Use more readable constant for two52.
19246         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19247         (__mpn_construct_long_double): Fix test for overflow of high
19248         mantissa and correct normalisation.  Avoid undefined shift.
19250 2013-10-04  Alan Modra  <amodra@gmail.com>
19252         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19253         (union ibm_extended_long_double): Define as an array of ieee754_double.
19254         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19255         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19256         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19257         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19258         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19259         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19260         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19261         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19262         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19263         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19264         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19266 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19268         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19269         page size instead of calling getpagesize.
19271         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19272         (LOCFILE_ALIGN_MASK): Likewise.
19273         (LOCFILE_ALIGN_UP): Likewise.
19274         (LOCFILE_ALIGNED_P): Likewise.
19275         * locale/programs/ld-collate.c (collate_output): Use the new
19276         macros instead of __alignof__ (int32_t).
19277         * locale/weight.h (findidx): Likewise.
19279 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19281         [BZ #431]
19282         * manual/string.texi: Fix strncat and wcsncat.
19284 2013-10-03  Brooks Moses  <bmoses@google.com>
19286         [BZ #15915]
19287         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19288         * Makerules: ...here, and adjust associated comments.
19290 2013-10-02  Will Newton  <will.newton@linaro.org>
19292         * malloc/Makefile: Add tst-pvalloc.
19293         * malloc/tst-pvalloc.c: New file.
19295 2013-10-02  Will Newton  <will.newton@linaro.org>
19297         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19298         improve test coverage.
19300 2013-10-02  Will Newton  <will.newton@linaro.org>
19302         * malloc/Makefile: Add tst-posix_memalign.
19303         * malloc/tst-posix_memalign.c: New file.
19305 2013-10-01  Eric Blake  <eblake@redhat.com>
19307         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19308         Use __THROWNL rather than __THROW on static functions.
19310 2013-09-30  Petr Machata  <pmachata@redhat.com>
19312         * elf/elf.h (R_AARCH64_ABS16): New macro.
19313         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19314         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19315         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19316         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19317         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19318         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19319         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19320         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19321         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19322         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19323         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19324         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19325         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19326         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19327         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19328         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19329         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19330         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19331         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19332         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19333         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19334         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19335         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19336         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19337         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19338         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19339         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19340         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19341         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19342         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19343         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19344         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19345         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19346         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19347         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19348         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19349         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19350         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19351         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19352         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19353         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19354         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19355         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19356         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19357         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19358         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19359         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19360         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19361         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19362         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19363         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19364         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19365         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19366         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19367         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19368         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19369         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19370         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19371         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19372         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19373         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19374         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19375         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19376         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19377         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19378         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19379         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19380         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19381         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19382         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19383         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19384         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19385         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19386         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19387         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19388         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19389         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19390         (R_AARCH64_TLSDESC_LDR): Likewise.
19391         (R_AARCH64_TLSDESC_ADD): Likewise.
19392         (R_AARCH64_TLSDESC_CALL): Likewise.
19394 2013-09-30  Andreas Schwab  <schwab@suse.de>
19396         [BZ #15048]
19397         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19398         the nss database lookup.
19399         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19402 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
19404         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19406 2013-09-28  P. J. McDermott  <pj@pehjota.net>
19408         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19409         ${Bash-specific parameter/pattern/string} parameter expansion.
19410         * sysdeps/unix/make-syscalls.sh: Likewise.
19412 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19414         * sysdeps/sh/stackguard-macros.h: New file.
19416 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
19418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19419         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19420         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19421         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19422         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19423         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19425 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19427         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19428         Fix thread ID register.
19430 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
19432         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19433         [POSIX || UNIX98]: Require rather than permitting all symbols from
19434         <time.h>.
19435         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19436         element of struct sched_param.
19437         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19438         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19439         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19440         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19441         constant.
19443 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
19445         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19446         argument calculation.
19448 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19450         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19451         Expect macro.
19452         [POSIX] (pthread_attr_t): Do not require type.
19453         [POSIX] (pthread_cond_t): Likewise.
19454         [POSIX] (pthread_condattr_t): Likewise.
19455         [POSIX] (pthread_key_t): Likewise.
19456         [POSIX] (pthread_mutex_t): Likewise.
19457         [POSIX] (pthread_mutexattr_t): Likewise.
19458         [POSIX] (pthread_once_t): Likewise.
19459         [POSIX] (pthread_t): Likewise.
19460         [POSIX-based standards] (pthread_atfork): Expect function.
19462 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19463             Richard Sandiford  <richard@codesourcery.com>
19465         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19466         (swap_endianness_p): New extern variable.
19467         (set_big_endian): New inline function.
19468         (maybe_swap_uint32): Likewise.
19469         (maybe_swap_uint32_array): Likewise.
19470         (maybe_swap_uint32_obstack): Likewise.
19471         * locale/programs/locfile.c: Include <stdbool.h>.
19472         (swap_endianness_p): New variable.
19473         (add_locale_uint32): Call maybe_swap_uint32.
19474         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19475         (write_locale_data): Call maybe_swap_uint32_array.
19476         * locale/programs/ld-collate.c (obstack_int32_grow): Call
19477         maybe_swap_uint32.
19478         (obstack_int32_grow_fast): Likewise.
19479         (output_weightwc): Call maybe_swap_uint32_obstack.
19480         (collate_output): Likewise.
19481         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19482         (OPT_LITTLE_ENDIAN): Likewise.
19483         (options): Add --little-endian and --big-endian options.
19484         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19485         * locale/programs/locarchive.c: Include "locfile.h".
19486         (GET): New macro.
19487         (SET): Likewise.
19488         (INC): Likewise.
19489         (create_archive): Use the new macros to access fields of
19490         structures directly mapped from or written to locale archives.
19491         (oldlocrecentcmp): Likewise.
19492         (enlarge_archive): Likewise.
19493         (insert_name): Likewise.
19494         (add_alias): Likewise.
19495         (add_locale): Likewise.
19496         (delete_locales_from_archive): Likewise.
19497         (show_archive_content): Likewise.
19498         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
19499         locale data.
19501 2013-09-24  Roland McGrath  <roland@hack.frob.com>
19503         * manual/freemanuals.texi: Updated from (newly) canonical copy at
19504         http://www.gnu.org/doc/freemanuals.texi.
19505         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19507 2013-09-24  Will Newton  <will.newton@linaro.org>
19509         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19510         macro.
19512 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
19514         * locale/hashval.h (compute_hashval): Interpret bytes of key as
19515         unsigned char.
19517 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
19519         * manual/threads.texi (POSIX Threads): Fix a typo.
19521 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19523         [BZ #14547]
19524         * string/tst-strcoll-overflow.c: New test case.
19525         * string/Makefile (xtests): Add tst-strcoll-overflow.
19526         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19527         cache if string sizes may cause integer overflow.
19529         [BZ #14547]
19530         * string/strcoll_l.c (coll_seq): New members rule, idx,
19531         save_idx and back_us.
19532         (get_next_seq_nocache): New function.
19533         (do_compare_nocache): New function.
19534         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19535         when malloc fails.
19537 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
19539         [BZ #15754]
19540         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19541         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19542         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19544         [BZ #15754]
19545         * elf/Makefile (tests): Add tst-ptrguard1.
19546         (tests-static): Add tst-ptrguard1-static.
19547         (tst-ptrguard1-ARGS): Define.
19548         (tst-ptrguard1-static-ARGS): Define.
19549         * elf/tst-ptrguard1.c: New file.
19550         * elf/tst-ptrguard1-static.c: New file.
19551         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19552         * sysdeps/i386/stackguard-macros.h: Likewise.
19553         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19554         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19555         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19556         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19557         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19558         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19560 2013-09-23  Hector Marco  <hecmargi@upv.es>
19561             Ismael Ripoll  <iripoll@disca.upv.es>
19562             Carlos O'Donell  <carlos@redhat.com>
19564         [BZ #15754]
19565         * sysdeps/generic/stackguard-macros.h: Define
19566         __pointer_chk_guard_local and POINTER_CHK_GUARD.
19567         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19568         Define __pointer_chk_guard_local.
19569         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19570         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19572 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
19574         [BZ #15859]
19575         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19577 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
19579         * include/string.h (__ffs): Declare as hidden.
19580         * string/ffs.c (__ffs): Define as hidden.
19581         * sysdeps/i386/ffs.c (__ffs): Likewise.
19582         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19583         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19584         * sysdeps/s390/ffs.c (__ffs): Likewise.
19585         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19587 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
19589         * NEWS: Mention malloc probes.
19591         * malloc/arena.c (new_heap): New memory_heap_new probe.
19592         (grow_heap): New memory_heap_more probe.
19593         (shrink_heap): New memory_heap_less probe.
19594         (heap_trim): New memory_heap_free probe.
19595         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19596         (systrim): New memory_sbrk_less probe.
19597         * manual/probes.texi: Document them.
19599         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19600         * manual/probes.texi: Document it.
19602         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19603         (__libc_realloc): Add memory_realloc_retry probe.
19604         (__libc_memalign): Add memory_memalign_retry probe.
19605         (__libc_valloc): Add memory_valloc_retry probe.
19606         (__libc_pvalloc): Add memory_pvalloc_retry probe.
19607         (__libc_calloc): Add memory_calloc_retry probe.
19608         * manual/probes.texi: Document them.
19610         * malloc/arena.c (get_free_list): Add probe
19611         memory_arena_reuse_free_list.
19612         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19613         and memory_arena_reuse.
19614         (arena_get2) [!PER_THREAD]: Likewise.
19615         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19616         memory_arena_reuse_realloc.
19617         * manual/probes.texi: Document them.
19619         * malloc/malloc.c (__libc_free): Add
19620         memory_mallopt_free_dyn_thresholds probe.
19621         (__libc_mallopt): Add multiple memory_mallopt probes.
19622         * manual/probes.texi: Document them.
19624         * malloc/malloc.c: Include stap-probe.h.
19625         (__libc_mallopt): Add memory_mallopt probe.
19626         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19627         * manual/probes.texi: New.
19628         * manual/Makefile (chapters): Add probes.
19629         * manual/threads.texi: Set next node.
19631 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
19633         [BZ #15963, #13985]
19634         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19635         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19636         Add `Chinese' to `nan' entry name.
19638 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19640         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19641         (POLYNOMIAL): Likewise.
19642         (TAYLOR_SINCOS): Likewise.
19643         (TAYLOR_SLOW): Likewise.
19644         (__sin): Use TAYLOR_SINCOS.
19645         (__cos): Likewise.
19646         (slow): Use TAYLOR_SLOW.
19647         (sloww): Likewise.
19648         (bsloww): Likewise.
19649         (csloww): Likewise.
19651 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19653         * stdlib/strtod_l.c: Fix buffer overrun.
19655 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19657         * benchtests/Makefile (bench): Add sincos.
19658         * benchtests/bench-sincos.c: New file.
19660         * math/libm-test.inc (cos_test_data): New test inputs.
19661         (sin_test_data): Likewise.
19663         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19664         macro.
19665         (__sin): Use it.
19666         (__cos): Likewise.
19667         (slow1): Likewise.
19668         (slow2): Likewise.
19669         (sloww1): Likewise.
19670         (sloww2): Likewise.
19671         (bsloww1): Likewise.
19672         (bsloww2): Likewise.
19673         (cslow2): Likewise.
19674         (csloww1): Likewise.
19675         (csloww2): Likewise.
19677         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19678         function.
19679         (__sin): Use it.
19680         (__cos): Likewise.
19682         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19683         gotos.
19684         (__cos): Likewise.
19686 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
19688         * config.h.in (HAVE_MIPS_NAN2008): New macro.
19689         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19690         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19691         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19692         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19693         * elf/cache.c (print_entry): Handle the new cache flags.
19695 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19696             Aldy Hernandez  <aldyh@redhat.com>
19698         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19699         Change condition to [_SOFT_FLOAT].
19700         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19703         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19712         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19715         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19716         declaration.
19718 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19720         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19721         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19722         (__longjmp): Use LOAD_GP to load saved GPRs.
19723         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19724         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19725         (__sigsetjmp): Use SAVE_GP to save GPRs.
19727         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19728         Do not append -msoft-float.
19729         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19731 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19733         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19735 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
19737         [BZ #15966]
19738         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19739         (_FPU_GETCW): Use initial "__" on variable and field names but not
19740         on macro parameter name.
19741         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
19742         parentheses around reference to macro parameter.
19744 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
19746         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19747         prototype.
19748         (ctype_startup): Use uint32_t in cast and sizeof for
19749         ctype->charnames.
19751 2013-09-11  Jia Liu  <proljc@gmail.com>
19753         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19754         __daddr_t_defined.
19755         [__FreeBSD__]: Likewise.
19757 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
19759         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19760         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19761         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19762         (strchr): Remove __strchr_sse42 ifunc selection.
19763         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19764         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19766 2013-09-11  Will Newton  <will.newton@linaro.org>
19768         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19769         parameter to RES. Remove hardcoded 1000 value.
19770         * benchtests/bench-skeleton.c (main): Pass RES parameter
19771         to TIMING_INIT and multiply result by 1000.
19773 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19777 2013-09-11  Andreas Schwab  <schwab@suse.de>
19779         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19780         if not defined.
19781         (O_TMPFILE) [__USE_GNU]: Define.
19782         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19783         Define.
19785 2013-09-11  Will Newton  <will.newton@linaro.org>
19787         [BZ #15857]
19788         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19789         does not overflow.
19791 2013-09-11  Will Newton  <will.newton@linaro.org>
19793         [BZ #15856]
19794         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19795         does not overflow.
19797 2013-09-11  Will Newton  <will.newton@linaro.org>
19799         [BZ #15855]
19800         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19801         does not overflow.
19803 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19805         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19806         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19807         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19808         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19809         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19811 2013-09-10  Allan McRae  <allan@archlinux.org>
19813         [BZ #15748]
19814         * manual/arith.texi (Parsing of Floats): Clarify
19815         cross-reference.
19817         [BZ #15849]
19818         * manual/install.texi (Running make install): Mention
19819         --enable-pt-chown.
19820         * INSTALL: Regenerated.
19822 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19824         * csu/init-first.c (_init): Remove the !SHARED condition around
19825         FPU control word initialization.
19826         * elf/dl-support.c (_dl_fpu_control): New variable.
19827         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19828         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19829         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19830         * math/test-fpucw-static.c: New file.
19831         * math/test-fpucw-ieee.c: New file.
19832         * math/test-fpucw-ieee-static.c: New file.
19833         * math/Makefile (tests): Add `test-fpucw-ieee' and
19834         `$(tests-static)'.
19835         (tests-static): New variable.
19836         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19837         dependency to...
19838         [($(build-shared),yes)]
19839         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19840         ... this.
19841         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19842         New dependency.
19844 2013-09-09  Allan McRae  <allan@archlinux.org>
19846         [BZ #15939]
19847         * manual/string.texi (Collation Functions): Fix typo in
19848         strcoll example.
19849         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19851         [BZ #15893]
19852         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19854         [BZ #15892]
19855         * libio/memstream.c (open_memstream): Fix memory leak.
19856         * libio/wmemstream.c (open_wmemstream): Likewise.
19858         [BZ #15895]
19859         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19861 2013-09-09  Will Newton  <will.newton@linaro.org>
19863         * malloc/Makefile: Add tst-realloc to tests.
19864         * malloc/tst-realloc.c: New file.
19866 2013-09-09  Allan McRae  <allan@archlinux.org>
19868         [BZ #15844]
19869         * COPYING: Update from GNU website to fix FSF address.
19870         * COPYING.LIB: Likewise.
19872 2013-09-06  David S. Miller  <davem@davemloft.net>
19874         * po/zh_TW.po: Update Chinese (traditional) translation from
19875         translation project.
19877 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19878             Joseph Myers  <joseph@codesourcery.com>
19880         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19881         "localeinfo.h".
19882         (obstack_chunk_alloc): New macro.
19883         (obstack_chunk_free): Likewise.
19884         (record_offset): New function.
19885         (init_locale_data): Likewise.
19886         (align_locale_data): Likewise.
19887         (add_locale_empty): Likewise.
19888         (add_locale_raw_data): Likewise.
19889         (add_locale_raw_obstack): Likewise.
19890         (add_locale_string): Likewise.
19891         (add_locale_wstring): Likewise.
19892         (add_locale_uint32): Likewise.
19893         (add_locale_uint32_array): Likewise.
19894         (add_locale_char): Likewise.
19895         (start_locale_structure): Likewise.
19896         (end_locale_structure): Likewise.
19897         (start_locale_prelude): Likewise.
19898         (end_locale_prelude): Likewise.
19899         (write_locale_data): Take locale_file structure rather than an
19900         iovec.
19901         * locale/programs/locfile.h: Include "obstack.h".
19902         (struct locale_file): Change to store locale file contents instead
19903         of header.
19904         (init_locale_data): New prototype.
19905         (align_locale_data): Likewise.
19906         (add_locale_empty): Likewise.
19907         (add_locale_raw_data): Likewise.
19908         (add_locale_raw_obstack): Likewise.
19909         (add_locale_string): Likewise.
19910         (add_locale_wstring): Likewise.
19911         (add_locale_uint32): Likewise.
19912         (add_locale_uint32_array): Likewise.
19913         (add_locale_char): Likewise.
19914         (start_locale_structure): Likewise.
19915         (end_locale_structure): Likewise.
19916         (start_locale_prelude): Likewise.
19917         (end_locale_prelude): Likewise.
19918         (write_locale_data): Update prototype.
19919         * locale/programs/3level.h (struct TABLE): Remove result field.
19920         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19921         Use new locale_file interface.
19922         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19923         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19924         * locale/programs/ld-address.c (address_output): Use new
19925         locale_file interface.
19926         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19927         NO_ADD_LOCALE.
19928         (collate_finish): Don't call collseq_table_finalize.
19929         (collate_output): Use new locale_file interface.
19930         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19931         in file.
19932         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19933         (TABLE): Move defines earlier in file.
19934         (ELEMENT): Likewise.
19935         (DEFAULT): Likewise.
19936         (wctrans_table_add): Move macro and inline function earlier in
19937         file.
19938         (struct wctype_table): Move type earlier in file.
19939         (add_locale_wctype_table): New static prototype.
19940         (struct locale_ctype_t): Use logical types instead of struct iovec
19941         pointers for members.
19942         (ctype_output): Use new locale_file interface.
19943         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19944         new locale_file interface.
19945         (allocate_arrays): Update for use of new locale_file interface.
19946         * locale/programs/ld-identification.c (identification_output): Use
19947         new locale_file interface.
19948         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19949         * locale/programs/ld-messages.c (messages_output): Likewise.
19950         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19951         * locale/programs/ld-name.c (name_output): Likewise.
19952         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19953         * locale/programs/ld-paper.c (paper_output): Likewise.
19954         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19955         * locale/programs/ld-time.c (time_output): Likewise.
19957 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19959         * benchtests/Makefile: Add memrchr benchmark.
19960         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19961         benchmark as memrchr.
19962         * benchtests/bench-memrchr-ifunc.c: New file.
19963         * benchtests/bench-memrchr.c: New file.
19965 2013-09-06   Will Newton  <will.newton@linaro.org>
19967         * benchtests/Makefile (string-bench): Add memcpy.
19969 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19970             Cong Wang  <amwang@redhat.com>
19972         [BZ #15850]
19973         * sysdeps/unix/sysv/linux/bits/in.h
19974         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19975         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19976         before __USE_KERNEL_IPV6_DEFS uses.
19977         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19978         IPPROTO_BEETPH.
19979         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19980         sockaddr_in6, or ipv6_mreq.
19982 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19984         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19985         memory access for final bytes in some large inputs.
19986         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19988 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19990         * string/test-memrchr.c: New file.
19991         * string/test-memrchr-ifunc.c: New file.
19992         * string/Makefile: Add new memrchr testcase.
19994 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19996         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19997         fanotify_init returns EPERM.
19999 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20001         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20002         errors.
20003         (top level): Treat second token from macro or constant entries for
20004         allowed headers as allowed.
20005         * include/complex.h: Condition internal declarations on
20006         [!_ISOMAC].
20007         * include/fenv.h: Condition include of <stdbool.h> and internal
20008         declarations on [!_ISOMAC].
20010 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
20012         [BZ #15923]
20013         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20015 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20017         * configure.in (--enable-versioning): Remove configure option.
20018         (libc_cv_asm_symver_directive): Remove configure test.
20019         (libc_cv_ld_version_script_option): Likewise.
20020         (VERSIONING): Remove variable and AC_SUBST.
20021         (DO_VERSIONING): Remove AC_DEFINE.
20022         * configure: Regenerated.
20023         * config.h.in (DO_VERSIONING): Remove macro.
20024         * Makerules [$(versioning) = yes]: Change conditionals to
20025         [$(build-shared) = yes].
20026         * config.make.in (versioning): Remove variable.
20027         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20028         [$(build-shared) = yes].
20029         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20030         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20031         * elf/Makefile [$(versioning) = yes]: Change conditionals to
20032         [$(build-shared) = yes].
20033         * extra-lib.mk [$(versioning) = yes]: Likewise.
20034         * hurd/Makefile [$(versioning) = yes]: Likewise.
20035         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20036         [SHARED].
20037         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20038         [SHARED].
20039         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20040         [SHARED && !NO_HIDDEN].
20041         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20042         [SHARED].
20043         [SHARED && DO_VERSIONING]: Likewise..
20044         * libio/Makefile [$(versioning) = yes]: Change conditionals to
20045         [$(build-shared) = yes].
20046         * manual/install.texi (--disable-versioning): Remove
20047         documentation.
20048         * INSTALL: Regenerated.
20049         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20050         to [SHARED].
20051         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20052         [$(build-shared) = yes].
20053         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20054         * sysdeps/i386/i686/multiarch/strstr-c.c
20055         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20056         [SHARED && !NO_HIDDEN].
20057         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20058         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20059         * sysdeps/powerpc/powerpc32/dl-machine.c
20060         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20061         * sysdeps/powerpc/powerpc32/sysdep.h
20062         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20063         to [SHARED && PIC && !NO_HIDDEN].
20064         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20065         conditional to [SHARED].
20067 2013-09-04   Will Newton  <will.newton@linaro.org>
20069         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20070         * benchtests/bench-string.h: Include bench-timing.h instead
20071         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20072         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20073         call to HP_TIMING_DIFF_INIT.
20074         * benchtests/bench-memccpy.c: Use bench-timing.h macros
20075         instead of hp-timing.h macros.
20076         * benchtests/bench-memchr.c: Likewise.
20077         * benchtests/bench-memcmp.c: Likewise.
20078         * benchtests/bench-memcpy.c: Likewise.
20079         * benchtests/bench-memmem.c: Likewise.
20080         * benchtests/bench-memmove.c: Likewise.
20081         * benchtests/bench-memset.c: Likewise.
20082         * benchtests/bench-rawmemchr.c: Likewise.
20083         * benchtests/bench-strcasecmp.c: Likewise.
20084         * benchtests/bench-strcasestr.c: Likewise.
20085         * benchtests/bench-strcat.c: Likewise.
20086         * benchtests/bench-strchr.c: Likewise.
20087         * benchtests/bench-strcmp.c: Likewise.
20088         * benchtests/bench-strcpy.c: Likewise.
20089         * benchtests/bench-strcpy_chk.c: Likewise.
20090         * benchtests/bench-strlen.c: Likewise.
20091         * benchtests/bench-strncasecmp.c: Likewise.
20092         * benchtests/bench-strncat.c: Likewise.
20093         * benchtests/bench-strncmp.c: Likewise.
20094         * benchtests/bench-strncpy.c: Likewise.
20095         * benchtests/bench-strnlen.c: Likewise.
20096         * benchtests/bench-strpbrk.c: Likewise.
20097         * benchtests/bench-strrchr.c: Likewise.
20098         * benchtests/bench-strspn.c: Likewise.
20099         * benchtests/bench-strstr.c: Likewise.
20101 2013-09-04  Will Newton  <will.newton@linaro.org>
20103         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20105 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
20107         [BZ #15427]
20108         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20109         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20110         * math/libm-test.inc (lgamma_test_data): Add more tests.
20111         * sysdeps/i386/fpu/libm-test-ulps: Update.
20112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20114 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
20116         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20117         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20118         Add ifunc.
20119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20120         Add strcmp-sse2-unaligned
20121         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20123 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20125         * Versions.def (libc): Add GLIBC_2.19.
20127 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20129         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20130         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20132 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
20134         [BZ #14155]
20135         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20136         intermediate calculations in recurrence.
20137         (__ieee754_ynf): Likewise.
20138         * math/libm-test.inc (jn_test_data): Do not allow spurious
20139         underflow exception.  Add more tests.
20140         (yn_test_data): Add more tests.
20141         * sysdeps/i386/fpu/libm-test-ulps: Update.
20142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20144 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
20146         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20148 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20150         * csu/init-first.c: Fix then/than typos.
20151         * locale/programs/ld-collate.c: Likewise.
20152         * locale/programs/linereader.h: Likewise.
20153         * manual/charset.texi: Likewise.
20154         * manual/filesys.texi: Likewise.
20155         * manual/stdio.texi: Likewise.
20156         * manual/string.texi: Likewise.
20157         * stdlib/fmtmsg.c: Likewise.
20158         * sysdeps/i386/stpncpy.S: Likewise.
20159         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20160         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20161         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20162         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20164 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20166         * elf/dl-open.c: Fix typos.
20167         * iconvdata/gbbig5.c: Likewise.
20168         * iconvdata/iso-2022-jp.c: Likewise.
20169         * iconv/gconv_int.h: Likewise.
20170         * iconv/loop.c: Likewise.
20171         * nis/rpcsvc/nis.h: Likewise.
20172         * resolv/ns_name.c: Likewise.
20173         * stdio-common/vfscanf.c: Likewise.
20174         * streams/stropts.h: Likewise.
20175         * sunrpc/rpc_thread.c: Likewise.
20176         * sysdeps/i386/strpbrk.S: Likewise.
20177         * sysdeps/ieee754/k_standard.c: Likewise.
20178         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20179         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20180         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20181         * sysdeps/mach/hurd/profil.c: Likewise.
20182         * sysdeps/s390/dl-procinfo.h: Likewise.
20183         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20184         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20185         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20186         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20187         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20189 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20191         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20194 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20196         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20197         aix specific files.
20198         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20199         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20200         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20201         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20202         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20203         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20204         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20205         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20207 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20208             Roland McGrath  <roland@hack.frob.com>
20210         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20211         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20213 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20215         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20216         __executable_start symbol instead of _start.
20218 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20220         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20221         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20222         Move macros to...
20223         * sysdeps/gnu/ldsodefs.h: ... this new file.
20225         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20226         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20227         instead of ELFOSABI_LINUX.
20229         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20230         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20231         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20232         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20233         Likewise.
20234         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20235         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20236         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20237         Likewise.
20238         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20239         (ibm_extended_long_double): Add ieee_nan member.
20240         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20241         (do_test): New function.
20243         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20244         TEST_TRUNC.
20245         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20246         functions, renamed from truncdfsf_test, trunctfsf_test,
20247         trunctfdf_test.
20248         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20249         functions.
20250         (do_test): Run all these.
20252 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20254         * argp/argp-help.c: Fix typos.
20255         * argp/argp-parse.c: Likewise.
20256         * debug/backtracesyms.c: Likewise.
20257         * elf/elf.h: Likewise.
20258         * malloc/malloc.c: Likewise.
20259         * nis/nis_print.c: Likewise.
20260         * resolv/res_comp.c: Likewise.
20261         * stdlib/stdlib.h: Likewise.
20262         * sunrpc/clnt_tcp.c: Likewise.
20263         * sunrpc/clnt_udp.c: Likewise.
20264         * sunrpc/clnt_unix.c: Likewise.
20265         * sysdeps/unix/bsd/ptsname.c: Likewise.
20266         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20267         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20269         Likewise.
20270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20271         Likewise.
20272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20273         Likewise.
20274         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20276 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20278         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20279         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20281 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20283         [BZ #15897]
20284         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20285         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20286         ($(objpfx)bug-dl-leaf): New rule.
20287         ($(objpfx)bug-dl-leaf.so): Likewise.
20288         ($(objpfx)bug-dl-leaf.out): Likewise.
20289         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20290         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20291         * dlfcn/bug-dl-leaf.c: New test.
20292         * dlfcn/bug-dl-leaf-lib.c: Likewise.
20293         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20294         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20295         (dlclose): Likewise.
20296         (dlmopen): Likewise.
20298 2013-08-27  Roland McGrath  <roland@hack.frob.com>
20300         * include/netdb.h [!_ISOMAC]:
20301         Don't include <tls.h>.
20302         (h_errno, __libc_h_errno): Move declaration and macros out of
20303         [_LIBC_REENTRANT].
20305         * include/resolv.h [_RESOLV_H_]:
20306         Don't include <tls.h>.
20307         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20308         * resolv/res_libc.c: Don't include <tls.h>.
20309         (_res): Use __attribute__ ((nocommon)) in place of
20310         __attribute__ ((section (".bss"))).
20312         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20313         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20315         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20317         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20318         only under [SIOCGIFCONF && SIOCGIFNETMASK].
20320         * resolv/res_mkquery.c: Include <sys/time.h>.
20322         * inet/ifreq.c: Moved to ...
20323         * sysdeps/unix/ifreq.c: ... here.
20324         * inet/ifreq.c: New file, true stub version.
20326         * socket/sa_len.c: New file.
20327         * socket/Makefile (aux): Add it.
20328         * sysdeps/unix/sysv/linux/Makefile
20329         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20330         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20331         and #include <socket/sa_len.c>.
20332         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20333         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20335         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20336         * bits/socket.h: ... here.
20338         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20339         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20340         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20342 2013-08-27  Andreas Schwab  <schwab@suse.de>
20344         [BZ #15736]
20345         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20346         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20347         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20348         * string/test-strcasecmp.c (test_main): Run tests in several
20349         locales.
20350         * string/test-strncasecmp.c (test_main): Likewise.
20352         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20353         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20354         to __strcasecmp_nonascii and __strncasecmp_nonascii.
20355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20356         (__strncasecmp_ssse3) [PIC]: Likewise.
20358 2013-08-26  Roland McGrath  <roland@hack.frob.com>
20360         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20362         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20363         instead of explicitly declaring xdecrypt.
20364         * nis/nss_nis/nis-publickey.c: Likewise.
20366 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20368         [BZ #15890]
20369         * nscd/aicache.c: Include res_hconf.h.
20370         (addhstaiX): Initialize res_hconf.
20372 2013-08-26  Andreas Schwab  <schwab@suse.de>
20374         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20375         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20377 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20379         * nscd/aicache.c (addhstaiX): Fix indentation.
20381 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
20383         * configure.ac: Quote $build_pt_chown test.
20384         * configure: Regenerated.
20386 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
20388         [BZ #15532]
20389         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20390         * math/s_cexpf.c (__cexpf): Likewise.
20391         * math/s_cexpl.c (__cexpl): Likewise.
20392         * math/libm-test.inc (cexp_test_data): Correct expected return
20393         value for NaN + i0.  Add another test.
20395 2013-08-22  David S. Miller  <davem@davemloft.net>
20397         * po/ca.po: Update Catalan translation from translation project.
20398         * po/uk.po: Add Ukrainian translations from translation project.
20400 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
20402         [BZ #15797]
20403         * math/s_fdim.c (__fdim): Check for infinite arguments if result
20404         is infinite, not alongside NaN test.
20405         * math/s_fdimf.c (__fdimf): Likewise.
20406         * math/s_fdiml.c (__fdiml): Likewise.
20407         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
20408         errno is unchanged.
20410 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
20412         * argp/argp-help.c: Fix typos.
20413         * crypt/speeds.c: Likewise.
20414         * csu/check_fds.c: Likewise.
20415         * elf/dl-load.c: Likewise.
20416         * elf/dl-open.c: Likewise.
20417         * elf/reldep3.c: Likewise.
20418         * elf/reldep.c: Likewise.
20419         * elf/sprof.c: Likewise.
20420         * iconv/iconv_charmap.c: Likewise.
20421         * iconv/skeleton.c: Likewise.
20422         * iconv/strtab.c: Likewise.
20423         * io/lockf64.c: Likewise.
20424         * libio/libioP.h: Likewise.
20425         * resolv/gai_notify.c: Likewise.
20426         * resolv/ns_name.c: Likewise.
20427         * resolv/ns_samedomain.c: Likewise.
20428         * resolv/res_send.c: Likewise.
20429         * stdlib/random.c: Likewise.
20430         * sunrpc/rpc/xdr.h: Likewise.
20431         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20432         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20433         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20434         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20435         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20436         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20437         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20438         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20439         * sysdeps/mach/hurd/check_fds.c: Likewise.
20440         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20441         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20442         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20443         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20444         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20445         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20446         * sysdeps/pthread/aio_notify.c: Likewise.
20447         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20448         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20449         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20450         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20451         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20453 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20455         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20456         version if bit_Slow_SSE4_2 is set.
20457         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20458         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20460 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20462         [BZ #15867]
20463         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20464         trampoline stack frame information.
20465         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20466         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20467         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20468         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20469         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20470         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20471         (_libc_vdso_platform_setup): Initialize the signal trampolines.
20472         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20473         sa_flags value.
20474         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20475         interrupting a syscall and set with option SA_SIGINFO.
20477 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20479         [BZ #15531]
20480         * math/s_cproj.c (__cproj): Only return an infinity if one part of
20481         argument is infinite.
20482         * math/s_cprojf.c (__cprojf): Likewise.
20483         * math/s_cprojl.c (__cprojl): Likewise.
20484         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20485         * math/libm-test.inc (cproj_test_data): Add more tests.
20487         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20489         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20490         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20491         size.  Use __ffs to determine corresponding shift.
20493 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20494             Roland McGrath  <roland@hack.frob.com>
20496         * Makefile (INSTALL): Remove trailing blank lines from output of
20497         makeinfo.
20499 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20501         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20502         Align 32 bit compat elf_greg to 8 bytes.
20504 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
20506         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20508 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20510         * string/strcoll_l.c (coll_seq): New structure.
20511         (get_next_seq_cached): New function.
20512         (get_next_seq): New function.
20513         (do_compare): New function.
20514         (STRCOLL): Use GNU style definition.  Simplify implementation
20515         by using get_next_seq, get_next_seq_cached and do_compare.
20517 2013-08-16  Florian Weimer  <fweimer@redhat.com>
20519         [BZ #14699]
20520         CVE-2013-4237
20521         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20522         member.
20523         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20524         member.
20525         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20526         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20527         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
20528         conditional.
20529         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20530         GETDENTS_64BIT_ALIGNED.
20531         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20532         * manual/filesys.texi (Reading/Closing Directory): Document
20533         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
20534         strongly.
20535         * manual/conf.texi (Limits for Files): Add portability note to
20536         NAME_MAX, PATH_MAX.
20537         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20539 2013-08-13  Andreas Schwab  <schwab@suse.de>
20541         [BZ #15749]
20542         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20543         of fabs.
20544         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20545         LDBL_MAX_EXP >= 16384]: Add tests for it.
20547 2013-08-12  David S. Miller  <davem@davemloft.net>
20549         * version.h (RELEASE): Set to "development".
20550         (VERSION): Set to "2.18.90".
20551         * NEWS: Add 2.19 section.
20553 2013-08-03  David S. Miller  <davem@davemloft.net>
20555         * po/ko.po: Update Korean translation from translation project.
20557 2013-08-01  David S. Miller  <davem@davemloft.net>
20559         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
20560         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20561         Bilka.
20563 2013-07-30  David S. Miller  <davem@davemloft.net>
20565         * po/fr.po: Update French translation from translation project.
20567 2013-07-28  David S. Miller  <davem@davemloft.net>
20569         * po/cs.po: Update Czech translation from translation project.
20571         * po/sv.po: Update Swedish translation from translation project.
20573 2013-07-27  David S. Miller  <davem@davemloft.net>
20575         * po/eo.po: Update Esperanto translation from translation project.
20577         * po/vi.po: Update Vietnamese translation from translation project.
20579         * po/de.po: Update German translation from translation project.
20581 2013-07-26  David S. Miller  <davem@davemloft.net>
20583         * po/bg.po: Update Bulgarian translation from translation project.
20585         * po/nl.po: Update Dutch translation from translation project.
20586         * po/pl.po: Update Polish translation from translation project.
20587         * po/ru.po: Update Russian translation from translation project.
20589 2013-07-24  David S. Miller  <davem@davemloft.net>
20591         * po/libc.pot: Update.
20593 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20595         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20596         variable page size.
20597         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20598         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20599         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20601 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20603         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20605 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20606             Andreas Schwab  <schwab@suse.de>
20607             Roland McGrath  <roland@hack.frob.com>
20608             Joseph Myers  <joseph@codesourcery.com>
20609             Carlos O'Donell  <carlos@redhat.com>
20611         [BZ #15755]
20612         * config.h.in: Define HAVE_PT_CHOWN.
20613         * config.make.in (build-pt-chown): New variable.
20614         * configure.in (--enable-pt_chown): New configure option.
20615         * configure: Regenerate.
20616         * login/Makefile: Include Makeconfig.  Build pt_chown only if
20617         build-pt-chown is enabled.
20618         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20619         pt_chown to fix pty ownership.
20620         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20621         CLOSE_ALL_FDS.
20622         * manual/install.texi (Configuring and compiling): Mention
20623         --enable-pt_chown. Add @findex for grantpt.
20624         * INSTALL: Regenerate.
20626 2013-07-20  David S. Miller  <davem@davemloft.net>
20628         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20629         difference between 32-bit and 64-bit.
20631 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
20633         [BZ #15711]
20634         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20635         Avoid system header dependency with -ffreestanding.
20636         ($(objpfx)bits/syscall%d): Likewise.
20638 2013-07-13  David S. Miller  <davem@davemloft.net>
20640         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20641         underflows from atanl/atan2l due to bug 15319.
20642         (casinh_test_data): Likewise.
20644 2013-07-07  David S. Miller  <davem@davemloft.net>
20646         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20648 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
20650         * sysdeps/i386/fpu/libm-test-ulps: Update.
20651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20653 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20655         * configure.in (--enable-lock-elision): Fix message text.
20656         * INSTALL: Regenerate.
20657         * configure: Regenerate.
20659 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20663 2013-07-03  Andreas Jaeger  <aj@suse.de>
20665         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20666         define.
20667         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20668         (ptrace_peeksiginfo_args): Add.
20669         (__ptrace_peeksiginfo_flags): Add.
20670         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20671         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20672         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20674 2013-07-03  Allan McRae  <allan@archlinux.org>
20676         * sysdeps/i386/fpu/libm-test-ulps: Update.
20678 2013-07-02  David S. Miller  <davem@davemloft.net>
20680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20682 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
20684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20686 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20688         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20691 2013-07-02  Andi Kleen <ak@linux.intel.com>
20693         * config.h.in (ENABLE_LOCK_ELISION): Add.
20694         * configure.in (--enable-lock-elision): Add option.
20695         * manual/install.texi: Document --enable lock elision.
20696         * configure: Regenerate
20697         * INSTALL: Regenerate.
20699 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
20701         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20702         SSE4.2 strcasecmp for libc.a.
20703         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20705 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20707         [BZ #13304]
20708         * soft-fp/op-common.h (_FP_FMA): New macro.
20709         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20710         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
20711         (_FP_MUL_MEAT_1_imm): ... here.
20712         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
20713         (_FP_MUL_MEAT_1_wide): ... here.
20714         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
20715         (_FP_MUL_MEAT_1_hard): ... here.
20716         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20717         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
20718         (_FP_MUL_MEAT_2_wide): ... here.
20719         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
20720         (_FP_MUL_MEAT_2_wide_3mul): ... here.
20721         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
20722         (_FP_MUL_MEAT_2_gmp): ... here.
20723         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20724         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
20725         (_FP_MUL_MEAT_4_wide): ... here.
20726         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
20727         (_FP_MUL_MEAT_4_gmp): ... here.
20728         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20729         (_FP_WFRACBITS_DW_S): Likewise.
20730         (_FP_WFRACXBITS_DW_S): Likewise.
20731         (_FP_HIGHBIT_DW_S): Likewise.
20732         (FP_FMA_S): Likewise.
20733         (_FP_FRAC_HIGH_DW_S): Likewise.
20734         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20735         (_FP_WFRACBITS_DW_D): Likewise.
20736         (_FP_WFRACXBITS_DW_D): Likewise.
20737         (_FP_HIGHBIT_DW_D): Likewise.
20738         (FP_FMA_D): Likewise.
20739         (_FP_FRAC_HIGH_DW_D): Likewise.
20740         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20741         (_FP_WFRACBITS_DW_E): Likewise.
20742         (_FP_WFRACXBITS_DW_E): Likewise.
20743         (_FP_HIGHBIT_DW_E): Likewise.
20744         (FP_FMA_E): Likewise.
20745         (_FP_FRAC_HIGH_DW_E): Likewise.
20746         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20747         (_FP_WFRACBITS_DW_Q): Likewise.
20748         (_FP_WFRACXBITS_DW_Q): Likewise.
20749         (_FP_HIGHBIT_DW_Q): Likewise.
20750         (FP_FMA_Q): Likewise.
20751         (_FP_FRAC_HIGH_DW_Q): Likewise.
20752         * soft-fp/fmasf4.c: New file.
20753         * soft-fp/fmadf4.c: Likewise.
20754         * soft-fp/fmatf4.c: Likewise.
20756 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20759         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20760         Silvermont.
20761         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20762         macro.
20763         (index_Slow_SSE4_2): Likewise.
20764         (index_Prefer_PMINUB_for_stringop): Likewise.
20765         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20766         bit_Slow_SSE4_2 is set.
20767         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20768         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20770 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20772         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20773         rtld_global._dl_hwcap2.
20774         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20775         POWER8.
20776         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20777         POWER8 feature descriptions defined in _dl_hwcap2.
20778         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20779         string handling for POWER8 feature bits.
20780         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20781         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20782         _dl_powerpc_cap_flags.
20783         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20784         * sysdeps/powerpc/rtld-global-offsets.sym
20785         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20786         _dl_hwcap2 in the rtld_global_ro structure.
20788 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20790         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20791         hardware capabilities in support of AT_HWCAP2.
20792         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20793         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20794         GLRO(dl_hwcap2).
20795         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20796         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20797         explicitly the unknown a_type display mechanism is used.
20798         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20799         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20800         struct member.
20801         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20802         to macro prototype for AT_HWCAP2 support.
20803         * sysdeps/i386/dl-procinfo.h: Likewise.
20804         * sysdeps/s390/dl-procinfo.h: Likewise.
20805         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20806         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20807         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20808         return -1 for unknown a_type display fallback.
20809         * sysdeps/sparc/dl-procinfo.h: Likewise.
20810         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20811         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20813 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20815         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20816         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20818 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20820         [BZ #12492]
20821         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20822         mprotect making __stack_prot writable.
20824 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20825             Joseph Myers  <joseph@codesourcery.com>
20827         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20828         as being properly aligned.
20830 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20832         * dlfcn/modstatic5.c: New file.
20833         * dlfcn/tststatic5.c: New file.
20834         * dlfcn/Makefile (tests): Add tststatic5.
20835         (tests-static): Likewise.
20836         (modules-names): Add modstatic5.
20837         (tststatic5-ENV): New variable.
20838         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20840         [BZ #15022]
20841         * elf/dl-support.c (_dl_main_map): New variable.
20842         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20843         (_dl_nns, _dl_load_adds): Set to 1.
20844         (_dl_initial_searchlist): Refer to _dl_main_map.
20845         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20846         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20847         call to _dl_get_origin.
20848         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20849         around call_map.
20850         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20851         * dlfcn/modstatic3.c: New file.
20852         * dlfcn/tststatic3.c: New file.
20853         * dlfcn/tststatic4.c: New file.
20854         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20855         (tests-static): Likewise.
20856         (modules-names): Add modstatic3.
20857         (tststatic3-ENV, tststatic4-ENV): New variables.
20858         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20859         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20861 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20863         * configure.in (CC): Require GCC version 4.4 or later.
20864         * configure: Regenerated.
20865         * manual/install.texi (Tools for Compilation): Update GCC version
20866         requirement.
20867         * INSTALL: Regenerated.
20869 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20871         [BZ #15674]
20872         * string/test-memcmp.c (check2): New.
20873         (main): Call check2.
20875         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20877 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20879         [BZ #15022]
20880         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20881         over to...
20882         (dl_open_worker) [!SHARED]: ... here.
20884 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20886         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20888 2013-06-25  Richard Henderson  <rth@redhat.com>
20890         * locale/programs/locarchive.c: Include <libc-internal.h>
20892 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20894         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20895         trailing whitespace removed.
20897 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20899         [BZ #10283]
20900         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20901         * locale/programs/locarchive.c: Include libc-mmap.h.
20902         (prepare_address_space): Take two new outputs (the mmap base and len).
20903         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20904         values.
20905         (create_archive): Declare new mmap base and len values for
20906         prepare_address_space, and store the result in ah.
20907         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20908         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20909         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20910         Declare new mmap base and len values for
20911         prepare_address_space, and store the result in new_ah.
20912         (open_archive): Declare new mmap base and len values for
20913         prepare_address_space, and store the result in ah.
20914         (close_archive): If ah->mmap_base is not NULL, use that and
20915         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20916         * sysdeps/generic/libc-mmap.h: New file.
20918 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20920         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20921         (ALIGN_UP): Likewise.
20922         (PTR_ALIGN_DOWN): Likewise.
20923         (PTR_ALIGN_UP): Likewise.
20925 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20927         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20928         entry mapped to PPC_PLATFORM_POWER8.
20929         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20930         POWER8.
20931         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20932         (_dl_string_platform): Add case for exporting platform position for
20933         POWER8.
20934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20935         search path to sysdeps/powerpc/powerpc32/power8 directory.
20936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20937         search path to sysdeps/powerpc/powerpc64/power8 directory.
20938         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20939         power7 directories.
20940         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20941         power7 directories.
20943 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20945         * INSTALL: Regenerate.
20947         * nscd/connections.c (nscd_init): Fix comment.
20949 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20951         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20953         [BZ #15667]
20954         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20955         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20957 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20959         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20960         DL_DST_REQ_STATIC.
20961         (DL_DST_REQ_STATIC): Remove macro.
20963 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20965         [BZ #7006]
20966         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20967         with a shift of 0 bits.
20969 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20971         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20972         $(tststatic-ENV).
20974 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20976         [BZ #15655]
20977         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20979 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20981         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20982         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20983         accepts -fno-tree-loop-distribute-patterns.
20984         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20985         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20986         recursive call.
20987         * string/memset.c (memset): Likewise.
20988         * string/test-memmove.c (simple_memmove): Disable loop transformation
20989         to library calls.
20990         * string/test-memset.c (simple_memset): Likewise.
20991         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20992         * benchtests/bench-memset.c (simple_memset): Likewise.
20993         * configure: Regenerated.
20995 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20997         * math/test-misc.c (main): Ignore fesetround failure when failures
20998         of subsequent rounding tests would be ignored.
21000         [BZ #15654]
21001         * math/fedisblxcpt.c (fedisableexcept): Return 0.
21002         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21003         * math/fegetenv.c (__fegetenv): Return 0.
21004         * math/fegetexcept.c (fegetexcept): Return 0.
21005         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21006         FE_TONEAREST.
21007         * math/feholdexcpt.c (feholdexcept): Return 0.
21008         * math/fesetenv.c (__fesetenv): Return 0.
21009         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21010         argument FE_TONEAREST.
21011         * math/feupdateenv.c (__feupdateenv): Return 0.
21012         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21014 2013-06-18  Roland McGrath  <roland@hack.frob.com>
21016         * elf/rtld-Rules (rtld-compile-command.S): New variable.
21017         (rtld-compile-command.s, rtld-compile-command.c): New variables.
21018         ($(objpfx)rtld-%.os rules): Use them.
21020 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21022         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21023         fields.
21025 2013-06-17  Roland McGrath  <roland@hack.frob.com>
21027         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21028         length of target pattern, then descending length of dependency pattern.
21029         * configure.in (AWK): Require gawk 3.1.2 or newer.
21030         * manual/install.texi (Tools for Compilation): Say that we do.
21031         * configure: Regenerated.
21033         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21034         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21035         * scripts/sysd-rules.awk: ... this new script.
21036         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21037         than a glob-style pattern.
21039 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
21041         * math/test-misc.c (main): Do not treat incorrectly rounded
21042         conversions as failure unless ROUNDING_TESTS passes.
21044 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
21046         [BZ #15631]
21047         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21048         restore exception state around main square root computation, then
21049         check for inexactness explicitly.
21051         * math/libm-test.inc (fma_test_data): Add another test.
21053 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21055         * manual/threads.texi (Non-POSIX Extensions): New document
21056         node.  Document pthread_getattr_default_np and
21057         pthread_setattr_default_np.
21059         * Versions.def (libpthread): Add GLIBC_2.18.
21060         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21062         Likewise.
21063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21064         Likewise.
21065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21066         Likewise.
21067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21068         Likewise.
21069         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21070         Likewise.
21071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21072         Likewise.
21073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21074         Likewise.
21075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21076         Likewise.
21077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21078         Likewise.
21080 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21083         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21085 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21086             H.J. Lu  <hjl.tools@gmail.com>
21088         [BZ #15627]
21089         * sysdeps/x86_64/rtld-memset.c: Remove file.
21090         * sysdeps/x86_64/rtld-memset.S: New file.
21092 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
21094         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21095         (test_in_one_mode): Take arguments for whether the rounding mode
21096         is supported for each floating-point type.
21097         (do_test): Pass new arguments to test_in_one_mode using
21098         ROUNDING_TESTS.
21100 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21102         * posix/tst-waitid.c (do_test): Distinguish different instances of
21103         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
21104         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21105         before entering the kernel for waitpid.
21107 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21109         * NEWS: Fix note on clock function precision.  Text by Roland
21110         McGrath.
21112 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21114         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21115         it into place only when and if the sanity check passes.
21117 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
21119         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21120         output for whether conversion result is exact.  Take argument
21121         indicating whether type is IBM long double.
21122         (round_for_all): Change need_exact field to ibm_ld.
21123         * stdlib/tst-strtod-round.c (struct exactness): New type.
21124         (struct test): Change bool ld_ok field to struct exactness exact.
21125         (TEST): Update all definitions for change to field.
21126         (tests): Regenerate array contents.
21127         (test_in_one_mode): Take pointer to new field instead of old ld_ok
21128         field value.  Check for IBM long double here.
21129         (do_test): Update calls to test_in_one_mode.
21131 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21133         [BZ #12515]
21134         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21135         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21137 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21139         [BZ #15605]
21140         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21141         generated by the compiler on loop optimizations.
21142         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21143         general definitions.
21145 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
21147         * math/bug-nextafter.c: Include <math-tests.h>.
21148         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21149         the relevant type.
21150         * math/bug-nexttoward.c: Include <math-tests.h>.
21151         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21152         the relevant type.
21153         * math/test-misc.c: Include <math-tests.h>.
21154         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21155         the relevant type.
21157 2013-06-12  Andreas Jaeger  <aj@suse.de>
21159         * po/ia.po: Update Interlingua translation from translation
21160         project.
21162 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21164         * include/fenv.h: Include stdbool.h.
21165         (struct rm_ctx): New structure.
21166         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21167         Define macro.
21168         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21169         (SET_RESTORE_ROUNDF): Likewise.
21170         (SET_RESTORE_ROUNDL): Likewise.
21171         (SET_RESTORE_ROUND_NOEX): Likewise.
21172         (SET_RESTORE_ROUND_NOEXF): Likewise.
21173         (SET_RESTORE_ROUND_NOEXL): Likewise.
21174         (SET_RESTORE_ROUND_53BIT): Likewise.
21175         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21176         (libc_feresetround_noexf_ctx): Likewise.
21177         (libc_feresetround_noexl_ctx): Likewise.
21178         (libc_feholdsetround_53bit_ctx): Likewise.
21179         (libc_feresetround_53bit_ctx): Likewise.
21180         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21181         (libc_feholdexcept_setround_sse_ctx): New function.
21182         (libc_fesetenv_sse_ctx): Likewise.
21183         (libc_feupdateenv_sse_ctx): Likewise.
21184         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21185         (libc_feholdexcept_setround_387_ctx): Likewise.
21186         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21187         (libc_feholdsetround_387_prec_ctx): Likewise.
21188         (libc_feholdsetround_387_ctx): Likewise.
21189         (libc_feholdsetround_387_53bit_ctx): Likewise.
21190         (libc_feholdsetround_sse_ctx): Likewise.
21191         (libc_feresetround_sse_ctx): Likewise.
21192         (libc_feresetround_387_ctx): Likewise.
21193         (libc_feupdateenv_387_ctx): Likewise.
21194         (libc_feholdexcept_setroundf_ctx): Define macro.
21195         (libc_fesetenvf_ctx): Likewise.
21196         (libc_feupdateenvf_ctx): Likewise.
21197         (libc_feholdsetroundf_ctx): Likewise.
21198         (libc_feresetroundf_ctx): Likewise.
21199         (libc_feholdexcept_setround_ctx): Likewise.
21200         (libc_fesetenv_ctx): Likewise.
21201         (libc_feupdateenv_ctx): Likewise.
21202         (libc_feholdsetround_ctx): Likewise.
21203         (libc_feresetround_ctx): Likewise.
21204         (libc_feholdexcept_setroundl_ctx): Likewise.
21205         (libc_feupdateenvl_ctx): Likewise.
21206         (libc_feholdsetroundl_ctx): Likewise.
21207         (libc_feresetroundl_ctx): Likewise.
21208         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21209         (libc_feresetround_53bit_ctx): Likewise.
21211 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21213         * locale/iso-639.def: Convert to UTF-8.
21215 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21217         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21218         (EXCEPTION_TESTS_double): Likewise.
21219         (EXCEPTION_TESTS_long_double): Likewise.
21220         (EXCEPTION_TESTS): Likewise.
21221         * math/libm-test.inc (test_exceptions): Only test exceptions if
21222         EXCEPTION_TESTS (FLOAT).
21224 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21226         * benchtests/Makefile (string-bench): Add strcpy_chk and
21227         stpcpy_chk.
21228         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21229         * benchtests/bench-stpcpy_chk.c: New file.
21230         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21231         * benchtests/bench-strcpy_chk.c: New file.
21232         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21233         code.
21234         (do_test): Likewise.
21236 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21238         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21239         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21240         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21241         with tabs where appropriate.
21242         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21243         dl-procinfo.h.
21244         [PPC_PLATFORM_PPC440]: Likewise.
21245         [PPC_PLATFORM_PPC464]: Likewise.
21246         [PPC_PLATFORM_PPC476]: Likewise.
21247         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21248         ppc464, and ppc476 platform strings merging from ports/
21249         dl-procinfo.h.
21251 2013-06-11  Andreas Schwab  <schwab@suse.de>
21253         [BZ #14991]
21254         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21255         (from_ucs4_idx): Regenerate.
21256         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21257         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21258         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21259         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21260         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21261         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21262         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21263         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21264         from FROM_LOOP and TO_LOOP specific macros.
21265         (BODY): Handle combining characters.
21266         * iconvdata/BIG5HKSCS.irreversible: Update.
21267         * iconvdata/BIG5HKSCS.precomposed: New file.
21268         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21269         characters.
21270         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21272 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21274         * include/sys/time.h: Fix indentation and add copyright header.
21276         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21277         (do_test): Likewise.
21278         * string/test-memchr.c (do_one_test): Likewise.
21279         (do_test): Likewise.
21280         * string/test-memcmp.c (do_one_test): Likewise.
21281         (do_test): Likewise.
21282         * string/test-memcpy.c (do_one_test): Likewise.
21283         (do_test): Likewise.
21284         * string/test-memmem.c (do_one_test): Likewise.
21285         (do_test): Likewise.
21286         (do_random_tests): Likewise.
21287         * string/test-memmove.c (do_one_test): Likewise.
21288         (do_test): Likewise.
21289         * string/test-memset.c (do_one_test): Likewise.
21290         (do_test): Likewise.
21291         * string/test-rawmemchr.c (do_one_test): Likewise.
21292         (do_test): Likewise.
21293         * string/test-strcasecmp.c (do_one_test): Likewise.
21294         (do_test): Likewise.
21295         * string/test-strcasestr.c (do_one_test): Likewise.
21296         (do_test): Likewise.
21297         * string/test-strcat.c (do_one_test): Likewise.
21298         (do_test): Likewise.
21299         * string/test-strchr.c (do_one_test): Likewise.
21300         (do_test): Likewise.
21301         * string/test-strcmp.c (do_one_test): Likewise.
21302         (do_test): Likewise.
21303         * string/test-strcpy.c (do_one_test): Likewise.
21304         (do_test): Likewise.
21305         * string/test-string.h: Likewise.
21306         (test_init): Likewise.
21307         * string/test-strlen.c (do_one_test): Likewise.
21308         (do_test): Likewise.
21309         * string/test-strncasecmp.c (do_one_test): Likewise.
21310         (do_test): Likewise.
21311         * string/test-strncat.c (do_one_test): Likewise.
21312         (do_test): Likewise.
21313         * string/test-strncmp.c (do_one_test): Likewise.
21314         (do_test_limit): Likewise.
21315         (do_test): Likewise.
21316         * string/test-strncpy.c (do_one_test): Likewise.
21317         (do_test): Likewise.
21318         * string/test-strnlen.c (do_one_test): Likewise.
21319         (do_test): Likewise.
21320         * string/test-strpbrk.c (do_one_test): Likewise.
21321         (do_test): Likewise.
21322         * string/test-strrchr.c (do_one_test): Likewise.
21323         (do_test): Likewise.
21324         * string/test-strspn.c (do_one_test): Likewise.
21325         (do_test): Likewise.
21326         * string/test-strstr.c (do_one_test): Likewise.
21327         (do_test): Likewise.
21329         * benchtests/Makefile (string-bench): Add string benchmarks.
21330         * benchtests/bench-bcopy-ifunc.c: New file.
21331         * benchtests/bench-bcopy.c: New file.
21332         * benchtests/bench-bzero-ifunc.c: New file.
21333         * benchtests/bench-bzero.c: New file.
21334         * benchtests/bench-memccpy-ifunc.c: New file.
21335         * benchtests/bench-memccpy.c: New file.
21336         * benchtests/bench-memchr-ifunc.c: New file.
21337         * benchtests/bench-memchr.c: New file.
21338         * benchtests/bench-memcmp-ifunc.c: New file.
21339         * benchtests/bench-memcmp.c: New file.
21340         * benchtests/bench-memmem-ifunc.c: New file.
21341         * benchtests/bench-memmem.c: New file.
21342         * benchtests/bench-memmove-ifunc.c: New file.
21343         * benchtests/bench-memmove.c: New file.
21344         * benchtests/bench-mempcpy-ifunc.c: New file.
21345         * benchtests/bench-mempcpy.c: New file.
21346         * benchtests/bench-memset-ifunc.c: New file.
21347         * benchtests/bench-memset.c: New file.
21348         * benchtests/bench-rawmemchr-ifunc.c: New file.
21349         * benchtests/bench-rawmemchr.c: New file.
21350         * benchtests/bench-stpcpy-ifunc.c: New file.
21351         * benchtests/bench-stpcpy.c: New file.
21352         * benchtests/bench-stpncpy-ifunc.c: New file.
21353         * benchtests/bench-stpncpy.c: New file.
21354         * benchtests/bench-strcasecmp-ifunc.c: New file.
21355         * benchtests/bench-strcasecmp.c: New file.
21356         * benchtests/bench-strcasestr-ifunc.c: New file.
21357         * benchtests/bench-strcasestr.c: New file.
21358         * benchtests/bench-strcat-ifunc.c: New file.
21359         * benchtests/bench-strcat.c: New file.
21360         * benchtests/bench-strchr-ifunc.c: New file.
21361         * benchtests/bench-strchr.c: New file.
21362         * benchtests/bench-strchrnul-ifunc.c: New file.
21363         * benchtests/bench-strchrnul.c: New file.
21364         * benchtests/bench-strcmp-ifunc.c: New file.
21365         * benchtests/bench-strcmp.c: New file.
21366         * benchtests/bench-strcpy-ifunc.c: New file.
21367         * benchtests/bench-strcpy.c: New file.
21368         * benchtests/bench-strcspn-ifunc.c: New file.
21369         * benchtests/bench-strcspn.c: New file.
21370         * benchtests/bench-strlen-ifunc.c: New file.
21371         * benchtests/bench-strlen.c: New file.
21372         * benchtests/bench-strncasecmp-ifunc.c: New file.
21373         * benchtests/bench-strncasecmp.c: New file.
21374         * benchtests/bench-strncat-ifunc.c: New file.
21375         * benchtests/bench-strncat.c: New file.
21376         * benchtests/bench-strncmp-ifunc.c: New file.
21377         * benchtests/bench-strncmp.c: New file.
21378         * benchtests/bench-strncpy-ifunc.c: New file.
21379         * benchtests/bench-strncpy.c: New file.
21380         * benchtests/bench-strnlen-ifunc.c: New file.
21381         * benchtests/bench-strnlen.c: New file.
21382         * benchtests/bench-strpbrk-ifunc.c: New file.
21383         * benchtests/bench-strpbrk.c: New file.
21384         * benchtests/bench-strrchr-ifunc.c: New file.
21385         * benchtests/bench-strrchr.c: New file.
21386         * benchtests/bench-strspn-ifunc.c: New file.
21387         * benchtests/bench-strspn.c: New file.
21388         * benchtests/bench-strstr-ifunc.c: New file.
21389         * benchtests/bench-strstr.c: New file.
21391         * benchtests/Makefile: Disable parallel execution of targets.
21392         (string-bench): Add memcpy.
21393         (benchset): New variable to store a list of benchmark sets.
21394         (bench-func): Renamed from bench.
21395         (bench-set): New target.
21396         (bench): Depend on bench-func and bench-set.
21397         * benchtests/README: Add section on benchmark sets.
21398         * benchtests/bench-memcpy-ifunc.c: New file.
21399         * benchtests/bench-memcpy.c: New file.
21400         * benchtests/bench-string.h: New file.
21402 2013-06-11  Andreas Schwab  <schwab@suse.de>
21404         [BZ #15577]
21405         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21406         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21407         values in the triple.
21408         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21409         terminator in the group key.
21411 2013-06-11  Andreas Jaeger  <aj@suse.de>
21413         * po/zh_TW.po: Update Chinese (traditional) translation from
21414         translation project.
21416 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21418         * include/time.h (__clock_gettime): Add libc_hidden_proto.
21419         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21420         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
21421         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21422         (clock_getcpuclockid): Likewise.
21423         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21424         Add weak_alias and libc_hidden_def.
21425         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21426         * rt/clock_gettime.c (clock_gettime): Rename to
21427         __clock_gettime.  Add weak_alias and libc_hidden_def.
21428         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21429         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21430         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
21431         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21432         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21433         Likewise.
21434         * rt/clock_settime.c (clock_settime): Rename to
21435         __clock_settime.  Add weak_alias and libc_hidden_def.
21436         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21438 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
21440         * mach/err_boot.sub: Remove trailing whitespace.
21441         * mach/err_ipc.sub: Likewise.
21442         * mach/err_mach.sub: Likewise.
21444         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21445         (ROUNDING_TESTS_double): Likewise.
21446         (ROUNDING_TESTS_long_double): Likewise.
21447         (ROUNDING_TESTS): Likewise.
21448         * math/libm-test.inc: Include <math-tests.h>.
21449         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21450         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21451         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21452         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21454 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21456         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21457         of assigning.
21459 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
21461         * sysdeps/gnu/errlist.awk: Do not generate space at end of
21462         otherwise empty TRANS lines.
21463         * sysdeps/gnu/errlist.c: Regenerated.
21465         * catgets/gencat.c (error_print): Use (void) in function
21466         definition.
21467         * crypt/crypt_util.c (__init_des): Likewise.
21468         * crypt/speeds.c (Stop): Likewise.
21469         (main): Likewise.
21470         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21471         * inet/ruserpass.c (token): Likewise.
21472         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21473         * intl/localealias.c (extend_alias_table): Likewise.
21474         * intl/plural-exp.c (init_germanic_plural): Likewise.
21475         * libio/fcloseall.c (__fcloseall): Likewise.
21476         * libio/genops.c (_IO_flush_all): Likewise.
21477         (_IO_flush_all_linebuffered): Likewise.
21478         (_IO_cleanup): Likewise.
21479         (_IO_iter_begin): Likewise.
21480         (_IO_iter_end): Likewise.
21481         (_IO_list_lock): Likewise.
21482         (_IO_list_unlock): Likewise.
21483         (_IO_list_resetlock): Likewise.
21484         * libio/getchar.c (getchar): Likewise.
21485         * libio/getchar_u.c (getchar_unlocked): Likewise.
21486         * libio/getwchar.c (getwchar): Likewise.
21487         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21488         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21489         * login/getpt.c (__getpt): Likewise.
21490         * login/tst-utmp.c (main): Likewise.
21491         * malloc/hooks.c (__malloc_check_init): Likewise.
21492         * malloc/malloc.c (__malloc_stats): Likewise.
21493         * malloc/mtrace.c (tr_break): Likewise.
21494         (mtrace): Likewise.
21495         (muntrace): Likewise.
21496         * misc/fstab.c (endfsent): Likewise.
21497         * misc/getclktck.c (__getclktck): Likewise.
21498         * misc/getdtsz.c (__getdtablesize): Likewise.
21499         * misc/gethostid.c (gethostid): Likewise.
21500         * misc/getpagesize.c (__getpagesize): Likewise.
21501         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21502         (__get_nprocs): Likewise.
21503         (__get_phys_pages): Likewise.
21504         (__get_avphys_pages): Likewise.
21505         * misc/getttyent.c (getttyent): Likewise.
21506         (setttyent): Likewise.
21507         (endttyent): Likewise.
21508         * misc/getusershell.c (getusershell): Likewise.
21509         (endusershell): Likewise.
21510         (setusershell): Likewise.
21511         (initshells): Likewise.
21512         * misc/hsearch.c (__hdestroy): Likewise.
21513         * misc/sync.c (sync): Likewise.
21514         * misc/syslog.c (closelog_internal): Likewise.
21515         (closelog): Likewise.
21516         * misc/ttyslot.c (ttyslot): Likewise.
21517         * misc/vhangup.c (vhangup): Likewise.
21518         * posix/fork.c (__fork): Likewise.
21519         * posix/getegid.c (__getegid): Likewise.
21520         * posix/geteuid.c (__geteuid): Likewise.
21521         * posix/getgid.c (__getgid): Likewise.
21522         * posix/getpid.c (__getpid): Likewise.
21523         * posix/getppid.c (__getppid): Likewise.
21524         * posix/getuid.c (__getuid): Likewise.
21525         * posix/pause.c (pause): Likewise.
21526         * posix/setpgrp.c (setpgrp): Likewise.
21527         * posix/setsid.c (__setsid): Likewise.
21528         * posix/test-vfork.c (noop): Likewise.
21529         * resolv/gethnamaddr.c (_endhtent): Likewise.
21530         (_gethtent): Likewise.
21531         (ht_endhostent): Likewise.
21532         (gethostent): Likewise.
21533         (dns_service): Likewise.
21534         * stdlib/drand48.c (drand48): Likewise.
21535         * stdlib/lrand48.c (lrand48): Likewise.
21536         * stdlib/mrand48.c (mrand48): Likewise.
21537         * stdlib/rand.c (rand): Likewise.
21538         * stdlib/random.c (__random): Likewise.
21539         * stdlib/setenv.c (clearenv): Likewise.
21540         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21541         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21542         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21543         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21544         (__get_nprocs): Likewise.
21545         (__get_phys_pages): Likewise.
21546         (__get_avphys_pages): Likewise.
21547         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21548         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21549         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21550         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21551         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21552         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21553         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21554         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21555         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21556         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21557         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21558         * sysdeps/mach/hurd/sync.c (sync): Likewise.
21559         * sysdeps/posix/clock.c (clock): Likewise.
21560         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21561         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21562         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21563         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21564         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21565         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21566         (__get_nprocs_conf): Likewise.
21567         (__get_phys_pages): Likewise.
21568         (__get_avphys_pages): Likewise.
21569         * time/clock.c (clock): Likewise.
21570         * time/tzset.c (__tzname_max): Likewise.
21572 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
21574         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21575         (__bswap_32): Do not use "register".
21576         * crypt/crypt.c (_ufc_doit_r): Likewise.
21577         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21578         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21579         * gmon/gmon.c (__monstartup): Likewise.
21580         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21581         * hurd/hurdmalloc.c (more_memory): Likewise.
21582         (malloc): Likewise.
21583         (free): Likewise.
21584         (realloc): Likewise.
21585         (malloc_fork_prepare): Likewise.
21586         (malloc_fork_parent): Likewise.
21587         (malloc_fork_child): Likewise.
21588         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21589         (_svcauth_des): Likewise.
21590         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21591         * inet/inet_net.c (inet_network): Likewise.
21592         * inet/inet_netof.c (inet_netof): Likewise.
21593         * inet/rcmd.c (__validuser2_sa): Likewise.
21594         * io/fts.c (fts_open): Likewise.
21595         (fts_load): Likewise.
21596         (fts_close): Likewise.
21597         (fts_read): Likewise.
21598         (fts_children): Likewise.
21599         (fts_build): Likewise.
21600         (fts_stat): Likewise.
21601         (fts_sort): Likewise.
21602         (fts_alloc): Likewise.
21603         (fts_lfree): Likewise.
21604         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21605         (_IO_file_xsgetn): Likewise.
21606         (_IO_file_xsgetn_mmap): Likewise.
21607         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21608         (_IO_cookie_write): Likewise.
21609         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21610         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21611         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21612         * malloc/obstack.c (_obstack_begin): Likewise.
21613         (_obstack_begin_1): Likewise.
21614         (_obstack_newchunk): Likewise.
21615         (_obstack_allocated_p): Likewise.
21616         (obstack_free): Likewise.
21617         (_obstack_memory_used): Likewise.
21618         * misc/getttyent.c (getttynam): Likewise.
21619         (getttyent): Likewise.
21620         (skip): Likewise.
21621         (value): Likewise.
21622         * misc/getusershell.c (initshells): Likewise.
21623         * misc/syslog.c (__vsyslog_chk): Likewise.
21624         * misc/ttyslot.c (ttyslot): Likewise.
21625         * nis/nis_hash.c (__nis_hash): Likewise.
21626         * posix/fnmatch_loop.c (FCT): Likewise.
21627         * posix/getconf.c (print_all): Likewise.
21628         (main): Likewise.
21629         * posix/getopt.c (exchange): Likewise.
21630         * posix/glob.c (globfree): Likewise.
21631         (prefix_array): Likewise.
21632         (__glob_pattern_type): Likewise.
21633         * resolv/arpa/nameser.h (NS_GET16): Likewise.
21634         (NS_GET32): Likewise.
21635         (NS_PUT16): Likewise.
21636         (NS_PUT32): Likewise.
21637         * resolv/gethnamaddr.c (getanswer): Likewise.
21638         (gethostbyname2): Likewise.
21639         (gethostbyaddr): Likewise.
21640         (_gethtent): Likewise.
21641         (_gethtbyname2): Likewise.
21642         (_gethtbyaddr): Likewise.
21643         * resolv/ns_print.c (dst_s_get_int16): Likewise.
21644         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21645         * resolv/res_init.c (__res_vinit): Likewise.
21646         (net_mask): Likewise.
21647         * resolv/res_mkquery.c (outchar): Likewise.
21648         (PRINT): Likewise.
21649         * stdio-common/printf_fp.c (outchar): Likewise.
21650         (PRINT): Likewise.
21651         * stdio-common/printf_fphex.c (outchar): Likewise.
21652         (PRINT): Likewise.
21653         * stdio-common/printf_size.c (outchar): Likewise.
21654         (PRINT): Likewise.
21655         * stdio-common/test_rdwr.c (main): Likewise.
21656         * stdio-common/tfformat.c (matches): Likewise.
21657         * stdio-common/vfprintf.c (outchar): Likewise.
21658         (printf_unknown): Likewise.
21659         (buffered_vfprintf): Likewise.
21660         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21661         * stdio-common/xbug.c (AppendToBuffer): Likewise.
21662         (ReadFile): Likewise.
21663         * stdlib/qsort.c (SWAP): Likewise.
21664         (_quicksort): Likewise.
21665         * stdlib/setenv.c (__add_to_environ): Likewise.
21666         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21667         * stdlib/strtol_l.c (__strtol_l): Likewise.
21668         * stdlib/tst-strtod.c (main): Likewise.
21669         * stdlib/tst-strtol.c (main): Likewise.
21670         * stdlib/tst-strtoll.c (main): Likewise.
21671         * string/bits/string2.h (__strcmp_cc): Likewise.
21672         (__strcmp_cg): Likewise.
21673         (__strcspn_c1): Likewise.
21674         (__strcspn_c2): Likewise.
21675         (__strcspn_c3): Likewise.
21676         (__strspn_c1): Likewise.
21677         (__strspn_c2): Likewise.
21678         (__strspn_c3): Likewise.
21679         (__strsep_1c): Likewise.
21680         (__strsep_2c): Likewise.
21681         (__strsep_3c): Likewise.
21682         * string/memccpy.c (__memccpy): Likewise.
21683         * string/stpcpy.c (__stpcpy): Likewise.
21684         * string/strcmp.c (strcmp): Likewise.
21685         * string/strrchr.c (strrchr): Likewise.
21686         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21687         Likewise.
21688         * sysdeps/mach/hurd/getcwd.c
21689         (_hurd_canonicalize_directory_name_internal): Likewise.
21690         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21691         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21692         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21693         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21694         Likewise, in both definitions.
21695         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21696         definitions.
21697         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21698         64] (__bswap_64): Likewise.
21699         * time/test_time.c (main): Likewise.
21700         * time/tzfile.c (__tzfile_read): Likewise.
21701         (__tzfile_compute): Likewise.
21702         * time/tzset.c (__tzset_parse_tz): Likewise.
21703         (tzset_internal): Likewise.
21704         (compute_change): Likewise.
21705         * wcsmbs/wcscat.c (__wcscat): Likewise.
21706         * wcsmbs/wcschr.c (wcschr): Likewise.
21707         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21708         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21709         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21710         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21711         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21712         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21713         * wcsmbs/wmemchr.c (wmemchr): Likewise.
21714         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21715         * wcsmbs/wmemset.c (wmemset): Likewise.
21717 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
21719         * scripts/config.guess: Update to version 2013-05-16.
21720         * scripts/config.sub: Update to version 2013-04-24.
21721         * scripts/install-sh: Update to version 2011-11-20.07.
21722         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21723         * scripts/move-if-change: Update to version 2012-01-06 07:23.
21725 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
21727         * debug/fgetws_u_chk.c: Fix leading whitespaces.
21728         * elf/sln.c: Likewise.
21729         * hurd/hurd/ioctl.h: Likewise.
21730         * hurd/hurdmalloc.c: Likewise.
21731         * hurd/xattr.c: Likewise.
21732         * include/shlib-compat.h: Likewise.
21733         * inet/ruserpass.c: Likewise.
21734         * libio/iofgets_u.c: Likewise.
21735         * libio/iofgetws_u.c: Likewise.
21736         * locale/programs/ld-identification.c: Likewise.
21737         * locale/programs/ld-time.c: Likewise.
21738         * mach/msg-destroy.c: Likewise.
21739         * nss/nss_files/files-netgrp.c: Likewise.
21740         * resolv/res_data.c: Likewise.
21741         * soft-fp/op-1.h: Likewise.
21742         * soft-fp/op-2.h: Likewise.
21743         * soft-fp/op-4.h: Likewise.
21744         * soft-fp/op-common.h: Likewise.
21745         * stdio-common/printf_fphex.c: Likewise.
21746         * stdlib/strtod_l.c: Likewise.
21747         * sunrpc/rpc/clnt.h: Likewise.
21748         * sysdeps/generic/framestate.c: Likewise.
21749         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21750         * sysdeps/i386/bsd-setjmp.S: Likewise.
21751         * sysdeps/i386/__longjmp.S: Likewise.
21752         * sysdeps/i386/setjmp.S: Likewise.
21753         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21754         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21755         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21756         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21757         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21758         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21759         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21760         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21761         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21762         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21763         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21764         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21765         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21766         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21767         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21768         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21769         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21770         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21771         * sysdeps/ieee754/support.c: Likewise.
21772         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21773         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21774         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21775         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21776         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21777         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21778         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21779         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21780         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21781         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21782         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21783         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21784         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21785         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21786         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21787         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21788         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21791 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21793         * posix/transbug.c: Remove executable mode.
21795 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21797         * crypt/speeds.c: Remove trailing whitespace.
21798         * dlfcn/default.c: Likewise.
21799         * elf/ifuncdep2.c: Likewise.
21800         * elf/ifuncmain1.c: Likewise.
21801         * elf/ifuncmain1vis.c: Likewise.
21802         * elf/testobj.h: Likewise.
21803         * elf/tst-stackguard1.c: Likewise.
21804         * gmon/sys/gmon.h: Likewise.
21805         * hurd/hurdmsg.c: Likewise.
21806         * hurd/new-fd.c: Likewise.
21807         * hurd/ports-get.c: Likewise.
21808         * iconvdata/ibm1008_420.c: Likewise.
21809         * inet/tst-getni1.c: Likewise.
21810         * inet/tst-getni2.c: Likewise.
21811         * libio/ioungetc.c: Likewise.
21812         * libio/wfiledoalloc.c: Likewise.
21813         * manual/libm-err-tab.pl: Likewise.
21814         * math/w_dremf.c: Likewise.
21815         * misc/ftruncate.c: Likewise.
21816         * posix/bug-glob2.c: Likewise.
21817         * posix/tst-pcre.c: Likewise.
21818         * posix/wait4.c: Likewise.
21819         * resolv/README: Likewise.
21820         * resolv/res_debug.h: Likewise.
21821         * resolv/tst-inet_ntop.c: Likewise.
21822         * setjmp/bug269-setjmp.c: Likewise.
21823         * soft-fp/extended.h: Likewise.
21824         * soft-fp/op-1.h: Likewise.
21825         * soft-fp/op-2.h: Likewise.
21826         * soft-fp/op-4.h: Likewise.
21827         * soft-fp/op-8.h: Likewise.
21828         * soft-fp/testit.c: Likewise.
21829         * stdio-common/bug16.c: Likewise.
21830         * stdlib/random.c: Likewise.
21831         * sunrpc/rpcsvc/rquota.x: Likewise.
21832         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21833         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21834         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21835         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21836         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21837         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21838         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21839         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21840         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21841         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21842         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21843         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21844         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21845         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21846         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21847         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21848         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21849         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21850         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21851         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21852         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21853         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21854         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21855         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21856         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21857         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21858         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21859         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21860         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21861         * sysdeps/ieee754/s_lib_version.c: Likewise.
21862         * sysdeps/mach/hurd/check_fds.c: Likewise.
21863         * sysdeps/mach/hurd/getsockname.c: Likewise.
21864         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21865         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21866         * sysdeps/powerpc/bits/link.h: Likewise.
21867         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21868         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21869         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21870         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21871         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21872         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21873         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21874         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21875         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21876         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21877         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21878         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21879         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21880         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21881         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21882         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21883         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21884         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21885         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21886         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21887         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21888         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21889         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21890         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21891         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21892         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21893         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21894         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21895         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21896         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21897         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21898         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21899         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21900         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21901         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21902         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21903         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21904         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21905         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21906         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21907         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21908         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21909         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21910         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21911         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21912         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21913         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21914         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21915         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21916         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21917         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21918         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21919         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21920         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21921         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21922         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21923         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21924         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21925         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21926         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21927         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21928         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21929         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21930         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21931         * sysdeps/powerpc/sysdep.h: Likewise.
21932         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21933         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21934         * sysdeps/sh/dl-trampoline.S: Likewise.
21935         * sysdeps/sh/memset.S: Likewise.
21936         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21937         * sysdeps/sh/strlen.S: Likewise.
21938         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21939         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21940         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21941         * sysdeps/sparc/sparc32/rem.S: Likewise.
21942         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21943         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21944         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21945         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21946         * sysdeps/sparc/sparc32/urem.S: Likewise.
21947         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21948         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21949         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21950         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21951         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21952         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21953         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21954         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21955         * sysdeps/unix/bsd/times.c: Likewise.
21956         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21957         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21961         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21962         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21963         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21964         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21965         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21966         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21967         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21968         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21969         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21970         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21971         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21972         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21973         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21974         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21975         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21976         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21977         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21978         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21979         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21980         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21981         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21982         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21983         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21984         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21985         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21986         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21987         * sysdeps/x86_64/strcspn.S: Likewise.
21989 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21991         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21992         generated file.  Regenerate properly from gen-translit.pl.
21993         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21994         locale/C-translit.h.
21996 2013-06-05  Andreas Schwab  <schwab@suse.de>
21998         [BZ #15100]
21999         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22000         week as 6 instead of -1.
22001         * time/tst-strptime.c (day_tests): Add test case.
22003 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22005         * sysdeps/generic/math_private.h
22006         (libc_feholdexcept_setround_53bit): Replace with
22007         libc_feholdsetround_53bit.
22008         (libc_feupdateenv_53bit): Replace with
22009         libc_feresetround_53bit.
22010         (SET_RESTORE_ROUND_53BIT): Adjust.
22012 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22014         * string/test-strchrnul.c: Add copyright header.
22016         * posix/tst-getaddrinfo4.c: Increase test timeout.
22018 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
22020         [BZ #15536]
22021         * math/libm-test.inc (MAX_EXP): Remove
22022         (MIN_EXP): Define.
22023         (ulp): Use MIN_EXP - MANT_DIG.
22024         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22026 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
22028         * po/be.po: Revert last change.
22029         * po/zh_CN.po: Likewise.
22030         * po/header.pot: Likewise.
22032 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
22034         * Makefile ($(common-objpfx)linkobj/libc.so): Define
22035         link-libc-deps to empty as target-specific variable.
22036         * Makerules (link-libc-args): New variable.
22037         (libc-for-link): Likewise.
22038         (link-libc-deps): Likewise.
22039         (lib%.so): Depend on $(link-libc-deps).  Link with
22040         $(link-libc-args).
22041         (build-module): Link with $(link-libc-args).
22042         (build-module-asneeded): Likewise.
22043         (build-module-helper-objlist): Filter out $(link-libc-deps) from
22044         list of objects.
22045         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22046         target-specific variable.
22047         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22048         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22049         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22050         libc.
22051         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22052         libc and ld.so.
22053         ($(objpfx)libpcprofile.so): Likewise.
22054         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22055         libc_nonshared.a.
22056         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22057         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22058         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22059         $(link-libc-deps).
22060         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22061         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22062         * login/Makefile ($(objpfx)libutil.so): Likewise.
22063         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22064         * math/Makefile ($(objpfx)libm.so): Likewise.
22065         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22066         $(objpfx)libnsl.so): Define libc-for-link as target-specific
22067         variable instead of depending directly on libc.
22068         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22069         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22070         $(link-libc-deps).
22071         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22072         libc.
22073         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22074         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22075         ($(objpfx)libanl.so): Likewise.
22076         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22077         ld.so.
22078         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22079         $(link-libc-deps).
22080         * sysdeps/i386/fpu/Makefile: Remove file.
22081         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22082         ($(objpfx)libm.so): Remove dependency on ld.so.
22084 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
22086         [BZ # 15553]
22087         * nis/yp_xdr.c (XDRMAXNAME): Define.
22088         (XDRMAXRECORD): Define.
22089         (xdr_domainname): Use XDRMAXNAME.
22090         (xdr_mapname): Likewise.
22091         (xdr_peername): Likewise.
22092         (xdr_keydat): Use XDRMAXRECORD.
22093         (xdr_valdat): Likewise.
22095 2013-05-30  Jeff Law  <law@redhat.com>
22097         [BZ #14256]
22098         * manual/errno.texi (ESTALE): Update to account for more than
22099         just NFS file systems.
22100         * sysdeps/gnu/errlist.c: Regenerated.
22102 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22104         [BZ #15465]
22105         * elf/Makefile (tests): Add tst-null-argv.
22106         (modules-names):  Add tst-null-argv-lib.
22107         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22108         (tst-null-argv-ENV): Set environment for tst-null-argv.
22109         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22110         (RTLD_PROGNAME): New macro.
22111         * elf/tst-null-argv.c: New test case.
22112         * elf/tst-null-argv-lib.c: Library for test case.
22113         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22114         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22115         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22116         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22117         * elf/dl-init.c (call_init): Likewise.
22118         (_dl_init): Likewise.
22119         * elf/dl-load.c (print_search_path): Likewise.
22120         (_dl_map_object): Likewise.
22121         * elf/dl-lookup.c (do_lookup_x): Likewise.
22122         (add_dependency): Likewise.
22123         (_dl_lookup_symbol_x): Likewise.
22124         (_dl_debug_bindings): Likewise.
22125         * elf/dl-open.c (_dl_show_scope): Likewise.
22126         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22127         * elf/dl-version.c (match_symbol): Likewise.
22128         (_dl_check_map_versions): Likewise.
22129         * elf/rtld.c (dl_main): Likewise.
22130         (print_unresolved): Use RTLD_PROGNAME.
22131         (print_missing_version): Likewise.
22132         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22133         (elf_machine_rela): Likewise.
22134         * sysdeps/powerpc/powerpc32/dl-machine.c
22135         (__process_machine_rela): Likewise.
22136         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22137         Likewise.
22138         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22139         Likewise.
22140         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22141         Likewise.
22142         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22143         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22144         Likewise.
22145         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22146         Likewise.
22147         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22149 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
22151         * po/be.po: Add descriptive title.
22152         * po/zh_CN.po: Likewise.
22153         * po/header.pot: Likewise.
22155 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
22157         * locale/programs/locarchive.c (create_archive): Inlucde fname in
22158         error message.
22159         (enlarge_archive): Likewise.
22161 2013-05-28  Ben North  <ben@redfrontdoor.org>
22163         * manual/arith.texi (frexp): It is the magnitude of the return
22164         value which lies in [0.5, 1), not the return value itself.
22166 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22170 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
22172         * stdio-common/bug26.c (main): Correct fscanf template.
22174         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22175         declare _dl_skip_args.
22177         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22178         Don't declare.
22180         * manual/platform.texi: Add missing @end deftypefun.
22182 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22184         [BZ #15529]
22185         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22186         bit of mantissa of 2^16382.
22187         * math/libm-test.inc (hypot_test_data): Add more tests.
22189         * math/libm-test.inc: Add drem and pow10 to list of tested
22190         functions.
22191         (pow10_test): New function.
22192         (drem_test): Likewise.
22193         (drem_test_tonearest): Likewise.
22194         (drem_test_towardzero): Likewise.
22195         (drem_test_downward): Likewise.
22196         (drem_test_upward): Likewise.
22197         (main): Call the new functions.
22199         * math/libm-test.inc (finite_test_data): Remove.
22200         (finite_test): Run tests from isfinite_test_data.
22201         (gamma_test_data): Remove.
22202         (gamma_test): Run tests from lgamma_test_data.
22203         * sysdeps/i386/fpu/libm-test-ulps: Update.
22204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22206 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22208         * manual/platform.texi: Add PowerPC PPR function set documentation.
22209         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22210         implementation.
22212 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22214         * math/libm-test.inc (MAX_EXP): Define.
22215         (ULPDIFF): Define.
22216         (ulp): New function.
22217         (check_float_internal): Use ULPDIFF.
22218         (cpow_test): Disable failing test.
22219         (check_ulp): Test ulp() implemetnation.
22220         (main): Call check_ulp before starting tests.
22222 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22224         * math/gen-libm-test.pl (generate_testfile): Do not handle
22225         START_DATA and END_DATA.
22226         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22227         END_DATA.
22228         (acos_tonearest_test_data): Likewise.
22229         (acos_towardzero_test_data): Likewise.
22230         (acos_downward_test_data): Likewise.
22231         (acos_upward_test_data): Likewise.
22232         (acosh_test_data): Likewise.
22233         (asin_test_data): Likewise.
22234         (asin_tonearest_test_data): Likewise.
22235         (asin_towardzero_test_data): Likewise.
22236         (asin_downward_test_data): Likewise.
22237         (asin_upward_test_data): Likewise.
22238         (asinh_test_data): Likewise.
22239         (atan_test_data): Likewise.
22240         (atanh_test_data): Likewise.
22241         (atan2_test_data): Likewise.
22242         (cabs_test_data): Likewise.
22243         (cacos_test_data): Likewise.
22244         (cacosh_test_data): Likewise.
22245         (carg_test_data): Likewise.
22246         (casin_test_data): Likewise.
22247         (casinh_test_data): Likewise.
22248         (catan_test_data): Likewise.
22249         (catanh_test_data): Likewise.
22250         (cbrt_test_data): Likewise.
22251         (ccos_test_data): Likewise.
22252         (ccosh_test_data): Likewise.
22253         (ceil_test_data): Likewise.
22254         (cexp_test_data): Likewise.
22255         (cimag_test_data): Likewise.
22256         (clog_test_data): Likewise.
22257         (clog10_test_data): Likewise.
22258         (conj_test_data): Likewise.
22259         (copysign_test_data): Likewise.
22260         (cos_test_data): Likewise.
22261         (cos_tonearest_test_data): Likewise.
22262         (cos_towardzero_test_data): Likewise.
22263         (cos_downward_test_data): Likewise.
22264         (cos_upward_test_data): Likewise.
22265         (cosh_test_data): Likewise.
22266         (cosh_tonearest_test_data): Likewise.
22267         (cosh_towardzero_test_data): Likewise.
22268         (cosh_downward_test_data): Likewise.
22269         (cosh_upward_test_data): Likewise.
22270         (cpow_test_data): Likewise.
22271         (cproj_test_data): Likewise.
22272         (creal_test_data): Likewise.
22273         (csin_test_data): Likewise.
22274         (csinh_test_data): Likewise.
22275         (csqrt_test_data): Likewise.
22276         (ctan_test_data): Likewise.
22277         (ctan_tonearest_test_data): Likewise.
22278         (ctan_towardzero_test_data): Likewise.
22279         (ctan_downward_test_data): Likewise.
22280         (ctan_upward_test_data): Likewise.
22281         (ctanh_test_data): Likewise.
22282         (ctanh_tonearest_test_data): Likewise.
22283         (ctanh_towardzero_test_data): Likewise.
22284         (ctanh_downward_test_data): Likewise.
22285         (ctanh_upward_test_data): Likewise.
22286         (erf_test_data): Likewise.
22287         (erfc_test_data): Likewise.
22288         (exp_test_data): Likewise.
22289         (exp_tonearest_test_data): Likewise.
22290         (exp_towardzero_test_data): Likewise.
22291         (exp_downward_test_data): Likewise.
22292         (exp_upward_test_data): Likewise.
22293         (exp10_test_data): Likewise.
22294         (exp2_test_data): Likewise.
22295         (expm1_test_data): Likewise.
22296         (fabs_test_data): Likewise.
22297         (fdim_test_data): Likewise.
22298         (finite_test_data): Likewise.
22299         (floor_test_data): Likewise.
22300         (fma_test_data): Likewise.
22301         (fma_towardzero_test_data): Likewise.
22302         (fma_downward_test_data): Likewise.
22303         (fma_upward_test_data): Likewise.
22304         (fmax_test_data): Likewise.
22305         (fmin_test_data): Likewise.
22306         (fmod_test_data): Likewise.
22307         (fpclassify_test_data): Likewise.
22308         (frexp_test_data): Likewise.
22309         (gamma_test_data): Likewise.
22310         (hypot_test_data): Likewise.
22311         (ilogb_test_data): Likewise.
22312         (isfinite_test_data): Likewise.
22313         (isgreater_test_data): Likewise.
22314         (isgreaterequal_test_data): Likewise.
22315         (isinf_test_data): Likewise.
22316         (isless_test_data): Likewise.
22317         (islessequal_test_data): Likewise.
22318         (islessgreater_test_data): Likewise.
22319         (isnan_test_data): Likewise.
22320         (isnormal_test_data): Likewise.
22321         (issignaling_test_data): Likewise.
22322         (isunordered_test_data): Likewise.
22323         (j0_test_data): Likewise.
22324         (j1_test_data): Likewise.
22325         (jn_test_data): Likewise.
22326         (ldexp_test_data): Likewise.
22327         (lgamma_test_data): Likewise.
22328         (lrint_test_data): Likewise.
22329         (lrint_tonearest_test_data): Likewise.
22330         (lrint_towardzero_test_data): Likewise.
22331         (lrint_downward_test_data): Likewise.
22332         (lrint_upward_test_data): Likewise.
22333         (llrint_test_data): Likewise.
22334         (llrint_tonearest_test_data): Likewise.
22335         (llrint_towardzero_test_data): Likewise.
22336         (llrint_downward_test_data): Likewise.
22337         (llrint_upward_test_data): Likewise.
22338         (log_test_data): Likewise.
22339         (log10_test_data): Likewise.
22340         (log1p_test_data): Likewise.
22341         (log2_test_data): Likewise.
22342         (logb_test_data): Likewise.
22343         (logb_downward_test_data): Likewise.
22344         (lround_test_data): Likewise.
22345         (llround_test_data): Likewise.
22346         (modf_test_data): Likewise.
22347         (nearbyint_test_data): Likewise.
22348         (nextafter_test_data): Likewise.
22349         (nexttoward_test_data): Likewise.
22350         (pow_test_data): Likewise.
22351         (pow_tonearest_test_data): Likewise.
22352         (pow_towardzero_test_data): Likewise.
22353         (pow_downward_test_data): Likewise.
22354         (pow_upward_test_data): Likewise.
22355         (remainder_test_data): Likewise.
22356         (remainder_tonearest_test_data): Likewise.
22357         (remainder_towardzero_test_data): Likewise.
22358         (remainder_downward_test_data): Likewise.
22359         (remainder_upward_test_data): Likewise.
22360         (remquo_test_data): Likewise.
22361         (rint_test_data): Likewise.
22362         (rint_tonearest_test_data): Likewise.
22363         (rint_towardzero_test_data): Likewise.
22364         (rint_downward_test_data): Likewise.
22365         (rint_upward_test_data): Likewise.
22366         (round_test_data): Likewise.
22367         (scalb_test_data): Likewise.
22368         (scalbn_test_data): Likewise.
22369         (scalbln_test_data): Likewise.
22370         (signbit_test_data): Likewise.
22371         (sin_test_data): Likewise.
22372         (sin_tonearest_test_data): Likewise.
22373         (sin_towardzero_test_data): Likewise.
22374         (sin_downward_test_data): Likewise.
22375         (sin_upward_test_data): Likewise.
22376         (sincos_test_data): Likewise.
22377         (sinh_test_data): Likewise.
22378         (sinh_tonearest_test_data): Likewise.
22379         (sinh_towardzero_test_data): Likewise.
22380         (sinh_downward_test_data): Likewise.
22381         (sinh_upward_test_data): Likewise.
22382         (sqrt_test_data): Likewise.
22383         (tan_test_data): Likewise.
22384         (tan_tonearest_test_data): Likewise.
22385         (tan_towardzero_test_data): Likewise.
22386         (tan_downward_test_data): Likewise.
22387         (tan_upward_test_data): Likewise.
22388         (tanh_test_data): Likewise.
22389         (tgamma_test_data): Likewise.
22390         (trunc_test_data): Likewise.
22391         (y0_test_data): Likewise.
22392         (y1_test_data): Likewise.
22393         (yn_test_data): Likewise.
22394         (significand_test_data): Likewise.
22396         * math/gen-libm-test.pl (@functions): Remove variable.
22397         (generate_testfile): Don't handle START and END lines.
22398         * math/libm-test.inc (START): New macro.
22399         (END): Likewise.
22400         (END_COMPLEX): Likewise.
22401         (acos_test): Use END macro without arguments.
22402         (acos_test_tonearest): Likewise.
22403         (acos_test_towardzero): Likewise.
22404         (acos_test_downward): Likewise.
22405         (acos_test_upward): Likewise.
22406         (acosh_test): Likewise.
22407         (asin_test): Likewise.
22408         (asin_test_tonearest): Likewise.
22409         (asin_test_towardzero): Likewise.
22410         (asin_test_downward): Likewise.
22411         (asin_test_upward): Likewise.
22412         (asinh_test): Likewise.
22413         (atan_test): Likewise.
22414         (atanh_test): Likewise.
22415         (atan2_test): Likewise.
22416         (cabs_test): Likewise.
22417         (cacos_test): Use END_COMPLEX macro without arguments.
22418         (cacosh_test): Likewise.
22419         (carg_test): Use END macro without arguments.
22420         (casin_test): Use END_COMPLEX macro without arguments.
22421         (casinh_test): Likewise.
22422         (catan_test): Likewise.
22423         (catanh_test): Likewise.
22424         (cbrt_test): Use END macro without arguments.
22425         (ccos_test): Use END_COMPLEX macro without arguments.
22426         (ccosh_test): Likewise.
22427         (ceil_test): Use END macro without arguments.
22428         (cexp_test): Use END_COMPLEX macro without arguments.
22429         (cimag_test): Use END macro without arguments.
22430         (clog_test): Use END_COMPLEX macro without arguments.
22431         (clog10_test): Likewise.
22432         (conj_test): Likewise.
22433         (copysign_test): Use END macro without arguments.
22434         (cos_test): Likewise.
22435         (cos_test_tonearest): Likewise.
22436         (cos_test_towardzero): Likewise.
22437         (cos_test_downward): Likewise.
22438         (cos_test_upward): Likewise.
22439         (cosh_test): Likewise.
22440         (cosh_test_tonearest): Likewise.
22441         (cosh_test_towardzero): Likewise.
22442         (cosh_test_downward): Likewise.
22443         (cosh_test_upward): Likewise.
22444         (cpow_test): Use END_COMPLEX macro without arguments.
22445         (cproj_test): Likewise.
22446         (creal_test): Use END macro without arguments.
22447         (csin_test): Use END_COMPLEX macro without arguments.
22448         (csinh_test): Likewise.
22449         (csqrt_test): Likewise.
22450         (ctan_test): Likewise.
22451         (ctan_test_tonearest): Likewise.
22452         (ctan_test_towardzero): Likewise.
22453         (ctan_test_downward): Likewise.
22454         (ctan_test_upward): Likewise.
22455         (ctanh_test): Likewise.
22456         (ctanh_test_tonearest): Likewise.
22457         (ctanh_test_towardzero): Likewise.
22458         (ctanh_test_downward): Likewise.
22459         (ctanh_test_upward): Likewise.
22460         (erf_test): Use END macro without arguments.
22461         (erfc_test): Likewise.
22462         (exp_test): Likewise.
22463         (exp_test_tonearest): Likewise.
22464         (exp_test_towardzero): Likewise.
22465         (exp_test_downward): Likewise.
22466         (exp_test_upward): Likewise.
22467         (exp10_test): Likewise.
22468         (exp2_test): Likewise.
22469         (expm1_test): Likewise.
22470         (fabs_test): Likewise.
22471         (fdim_test): Likewise.
22472         (finite_test): Likewise.
22473         (floor_test): Likewise.
22474         (fma_test): Likewise.
22475         (fma_test_towardzero): Likewise.
22476         (fma_test_downward): Likewise.
22477         (fma_test_upward): Likewise.
22478         (fmax_test): Likewise.
22479         (fmin_test): Likewise.
22480         (fmod_test): Likewise.
22481         (fpclassify_test): Likewise.
22482         (frexp_test): Likewise.
22483         (gamma_test): Likewise.
22484         (hypot_test): Likewise.
22485         (ilogb_test): Likewise.
22486         (isfinite_test): Likewise.
22487         (isgreater_test): Likewise.
22488         (isgreaterequal_test): Likewise.
22489         (isinf_test): Likewise.
22490         (isless_test): Likewise.
22491         (islessequal_test): Likewise.
22492         (islessgreater_test): Likewise.
22493         (isnan_test): Likewise.
22494         (isnormal_test): Likewise.
22495         (issignaling_test): Likewise.
22496         (isunordered_test): Likewise.
22497         (j0_test): Likewise.
22498         (j1_test): Likewise.
22499         (jn_test): Likewise.
22500         (ldexp_test): Likewise.
22501         (lgamma_test): Likewise.
22502         (lrint_test): Likewise.
22503         (lrint_test_tonearest): Likewise.
22504         (lrint_test_towardzero): Likewise.
22505         (lrint_test_downward): Likewise.
22506         (lrint_test_upward): Likewise.
22507         (llrint_test): Likewise.
22508         (llrint_test_tonearest): Likewise.
22509         (llrint_test_towardzero): Likewise.
22510         (llrint_test_downward): Likewise.
22511         (llrint_test_upward): Likewise.
22512         (log_test): Likewise.
22513         (log10_test): Likewise.
22514         (log1p_test): Likewise.
22515         (log2_test): Likewise.
22516         (logb_test): Likewise.
22517         (logb_test_downward): Likewise.
22518         (lround_test): Likewise.
22519         (llround_test): Likewise.
22520         (modf_test): Likewise.
22521         (nearbyint_test): Likewise.
22522         (nextafter_test): Likewise.
22523         (nexttoward_test): Likewise.
22524         (pow_test): Likewise.
22525         (pow_test_tonearest): Likewise.
22526         (pow_test_towardzero): Likewise.
22527         (pow_test_downward): Likewise.
22528         (pow_test_upward): Likewise.
22529         (remainder_test): Likewise.
22530         (remainder_test_tonearest): Likewise.
22531         (remainder_test_towardzero): Likewise.
22532         (remainder_test_downward): Likewise.
22533         (remainder_test_upward): Likewise.
22534         (remquo_test): Likewise.
22535         (rint_test): Likewise.
22536         (rint_test_tonearest): Likewise.
22537         (rint_test_towardzero): Likewise.
22538         (rint_test_downward): Likewise.
22539         (rint_test_upward): Likewise.
22540         (round_test): Likewise.
22541         (scalb_test): Likewise.
22542         (scalbn_test): Likewise.
22543         (scalbln_test): Likewise.
22544         (signbit_test): Likewise.
22545         (sin_test): Likewise.
22546         (sin_test_tonearest): Likewise.
22547         (sin_test_towardzero): Likewise.
22548         (sin_test_downward): Likewise.
22549         (sin_test_upward): Likewise.
22550         (sincos_test): Likewise.
22551         (sinh_test): Likewise.
22552         (sinh_test_tonearest): Likewise.
22553         (sinh_test_towardzero): Likewise.
22554         (sinh_test_downward): Likewise.
22555         (sinh_test_upward): Likewise.
22556         (sqrt_test): Likewise.
22557         (tan_test): Likewise.
22558         (tan_test_tonearest): Likewise.
22559         (tan_test_towardzero): Likewise.
22560         (tan_test_downward): Likewise.
22561         (tan_test_upward): Likewise.
22562         (tanh_test): Likewise.
22563         (tgamma_test): Likewise.
22564         (trunc_test): Likewise.
22565         (y0_test): Likewise.
22566         (y1_test): Likewise.
22567         (yn_test): Likewise.
22568         (significand_test): Likewise.
22570 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
22572         [BZ #15381]
22573         * libio/genops.c (_IO_no_init): Initialize wide struct info.
22575 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22577         [BZ #14894]
22578         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22579         __ppc_mdoio and __ppc_mdoom.
22580         * manual/platform.texi: Document new functions __ppc_yield,
22581         __ppc_mdoio and __ppc_mdoom.
22583 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
22585         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22586         (main): Mention "tls" pseudo-hwcap is legacy.
22587         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22589 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22591         * math/gen-libm-test.pl (parse_args): Output only string of
22592         arguments as text for test name, not full call or descriptions of
22593         tests for extra outputs.
22594         (generate_testfile): Do not pass function name to parse_args.
22595         Generate this_func variable from START.
22596         * math/libm-test.inc (struct test_f_f_data): Rename test_name
22597         field to arg_str.
22598         (struct test_ff_f_data): Likewise.
22599         (test_ff_f_data_nexttoward): Likewise.
22600         (struct test_fi_f_data): Likewise.
22601         (struct test_fl_f_data): Likewise.
22602         (struct test_if_f_data): Likewise.
22603         (struct test_fff_f_data): Likewise.
22604         (struct test_c_f_data): Likewise.
22605         (struct test_f_f1_data): Likewise.  Remove field extra_name.
22606         (struct test_fF_f1_data): Likewise.
22607         (struct test_ffI_f1_data): Likewise.
22608         (struct test_c_c_data): Rename test_name field to arg_str.
22609         (struct test_cc_c_data): Likewise.
22610         (struct test_f_i_data): Likewise.
22611         (struct test_ff_i_data): Likewise.
22612         (struct test_f_l_data): Likewise.
22613         (struct test_f_L_data): Likewise.
22614         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
22615         and extra2_name.
22616         (COMMON_TEST_SETUP): New macro.
22617         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22618         (COMMON_TEST_CLEANUP): Likewise.
22619         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22620         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
22621         macros.
22622         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22623         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
22624         macros.
22625         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22626         (RUN_TEST_fff_f): Take argument string.  Call new setup and
22627         cleanup macros.
22628         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22629         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
22630         macros.
22631         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22632         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
22633         macros.
22634         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22635         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
22636         cleanup macros.
22637         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22638         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
22639         cleanup macros.
22640         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22641         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
22642         cleanup macros.
22643         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22644         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
22645         macros.
22646         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22647         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
22648         macros.
22649         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22650         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
22651         macros.
22652         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22653         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
22654         cleanup macros.
22655         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22656         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
22657         cleanup macros.
22658         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22659         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
22660         macros.
22661         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22662         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
22663         cleanup macros.
22664         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22665         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
22666         macros.
22667         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22668         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
22669         macros.
22670         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22671         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
22672         cleanup macros.
22673         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22675 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
22677         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22678         to _sifields.sigfault.
22679         (si_addr_lsb): Define new macro.
22680         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22681         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22682         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22684 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
22686         [BZ #15441]
22687         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22688         returns -1.
22689         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22690         null return -1.
22691         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22692         loading the domain.
22694 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22696         * math/gen-libm-test.pl (parse_args): Do not include expected
22697         result in test name.
22698         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22699         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22700         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22701         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22702         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22705 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22707         * benchtests/Makefile: Sort function entries.
22709         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22710         tanh, asinh, acosh, atanh.
22711         * benchtests/acos-inputs: New file.
22712         * benchtests/acosh-inputs: New file.
22713         * benchtests/asin-inputs: New file.
22714         * benchtests/asinh-inputs: New file.
22715         * benchtests/atanh-inputs: New file.
22716         * benchtests/cosh-inputs: New file.
22717         * benchtests/log-inputs: New file.
22718         * benchtests/sinh-inputs: New file.
22719         * benchtests/tanh-inputs: New file.
22721 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
22723         [BZ #15339]
22724         * posix/tst-getaddrinfo4.c: New test.
22725         * posix/Makefile (tests): Add it.
22727 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22729         [BZ #15339]
22730         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22731         when no services were used.
22732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22733         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22735 2013-05-21  Andreas Schwab  <schwab@suse.de>
22737         [BZ #15014]
22738         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22739         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22740         successful.
22741         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22742         redundant variable declarations and reallocation of buffer when
22743         parsing as IPv6 address.  Always set NSS status when called from
22744         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
22745         buffer too small.  Correct computation of needed size.
22746         * nss/Makefile (tests): Add test-digits-dots.
22747         * nss/test-digits-dots.c: New test.
22749 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22751         * benchtests/Makefile: Remove instructions for adding
22752         benchmark tests.
22753         * benchtests/README: New file to explain how to execute and
22754         enhance the benchmark tests.
22756 2013-05-21  Andreas Schwab  <schwab@suse.de>
22758         [BZ #15493]
22759         * setjmp/Makefile (tests): Add tst-sigsetjmp.
22760         * setjmp/tst-sigsetjmp.c: New test.
22762 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22764         * sysdeps/x86_64/memset.S (memset): New implementation.
22765         (__bzero): Likewise.
22766         (__memset_tail): New function.
22768 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22770         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22771         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22772         __memcpy_sse2_unaligned ifunc selection.
22773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22774         Add memcpy-sse2-unaligned.S.
22775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22776         Add: __memcpy_sse2_unaligned.
22778 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
22780         [BZ #15490]
22781         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22782         math_force_eval before restoring floating-point envrionment.
22783         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22784         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22785         Likewise.
22786         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22787         <math_private.h>.
22788         (__nearbyintl): Use math_force_eval before restoring
22789         floating-point environment.
22790         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22792         * math/gen-libm-test.pl (special_functions): Remove.
22793         (parse_args): Don't handle TEST_extra.  Handle functions with no
22794         return value.
22795         * math/libm-test.inc (struct test_sincos_data): Replace with
22796         struct test_fFF_11_data.
22797         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22798         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22799         (sincos_test_data): Change element type to struct
22800         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22801         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22802         RUN_TEST_LOOP_sincos.
22803         * math/README.libm-test: Don't mention special handling of
22804         individual functions.
22805         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22806         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22807         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22808         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22809         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22812         * math/gen-libm-test.pl (get_variable): Remove function.
22813         (parse_args): Don't show pointer parameters to call in test
22814         names.  Use "extra output N" in test names for extra outputs
22815         rather than naming variables.
22817 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22819         [BZ #15488]
22820         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22821         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22822         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22823         double tests.
22824         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22825         disable.
22826         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22827         check_long_double.
22829         * math/gen-libm-test.pl (@tests): Remove variable.
22830         ($count): Likewise.
22831         (new_test): Remove function.
22832         (show_exceptions): New function.
22833         (special_functions): Use show_exceptions instead of new_test.
22834         (parse_args): Likewise.
22835         (generate_testfile): Pass only function name in generated call to
22836         print_max_error or print_complex_max_error.
22837         (get_ulps): Do not handle complex tests specially.
22838         (output_test): Rename to ...
22839         (get_all_ulps_for_test): ... this.  Return a string rather than
22840         printing to a file.  Require ulps to be present.
22841         (output_ulps): Generate arrays rather than #defines.
22842         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22843         (struct ulp_data): New type.
22844         (BUILD_COMPLEX_ULP): Remove macro.
22845         (compare_ulp_data): New function.
22846         (find_ulps): Likewise.
22847         (find_test_ulps): Likewise.
22848         (find_function_ulps): Likewise.
22849         (find_complex_function_ulps): Likewise.
22850         (print_max_error): Determine allowed ulps using
22851         find_function_ulps.
22852         (print_complex_max_error): Determine allowed ulps using
22853         find_complex_function_ulps.
22854         (check_float_internal): Determine max ulps using find_test_ulps.
22855         (check_float): Do not take max_ulp parameter.  Update call to
22856         check_float_internal.
22857         (check_complex): Likewise.
22858         (check_int): Do not take max_ulp parameter.
22859         (check_long): Likewise.
22860         (check_bool): Likewise.
22861         (check_longlong): Likewise.
22862         (struct test_f_f_data): Remove max_ulp field.
22863         (struct test_ff_f_data): Likewise.
22864         (struct test_ff_f_data_nexttoward): Likewise.
22865         (struct test_fi_f_data): Likewise.
22866         (struct test_fl_f_data): Likewise.
22867         (struct test_if_f_data): Likewise.
22868         (struct test_fff_f_data): Likewise.
22869         (struct test_c_f_data): Likewise.
22870         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22871         (struct test_fF_f1_data): Likewise.
22872         (struct test_ffI_f1_data): Likewise.
22873         (struct test_c_c_data): Remove max_ulp field.
22874         (struct test_cc_c_data): Likewise.
22875         (struct test_f_i_data): Likewise.
22876         (struct test_ff_i_data): Likewise.
22877         (struct test_f_l_data): Likewise.
22878         (struct test_f_L_data): Likewise.
22879         (struct test_sincos_data): Likewise.
22880         (RUN_TEST_f_f): Do not handle ulps.
22881         (RUN_TEST_LOOP_f_f): Likewise.
22882         (RUN_TEST_2_f): Likewise.
22883         (RUN_TEST_LOOP_2_f): Likewise.
22884         (RUN_TEST_fff_f): Likewise.
22885         (RUN_TEST_LOOP_fff_f): Likewise.
22886         (RUN_TEST_c_f): Likewise.
22887         (RUN_TEST_LOOP_c_f): Likewise.
22888         (RUN_TEST_f_f1): Likewise.
22889         (RUN_TEST_LOOP_f_f1): Likewise.
22890         (RUN_TEST_fF_f1): Likewise.
22891         (RUN_TEST_LOOP_fF_f1): Likewise.
22892         (RUN_TEST_fI_f1): Likewise.
22893         (RUN_TEST_LOOP_fI_f1): Likewise.
22894         (RUN_TEST_ffI_f1): Likewise.
22895         (RUN_TEST_LOOP_ffI_f1): Likewise.
22896         (RUN_TEST_c_c): Likewise.
22897         (RUN_TEST_LOOP_c_c): Likewise.
22898         (RUN_TEST_cc_c): Likewise.
22899         (RUN_TEST_LOOP_cc_c): Likewise.
22900         (RUN_TEST_f_i): Likewise.
22901         (RUN_TEST_LOOP_f_i): Likewise.
22902         (RUN_TEST_f_i_tg): Likewise.
22903         (RUN_TEST_LOOP_f_i_tg): Likewise.
22904         (RUN_TEST_ff_i_tg): Likewise.
22905         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22906         (RUN_TEST_f_b): Likewise.
22907         (RUN_TEST_LOOP_f_b): Likewise.
22908         (RUN_TEST_f_b_tg): Likewise.
22909         (RUN_TEST_LOOP_f_b_tg): Likewise.
22910         (RUN_TEST_f_l): Likewise.
22911         (RUN_TEST_LOOP_f_l): Likewise.
22912         (RUN_TEST_f_L): Likewise.
22913         (RUN_TEST_LOOP_f_L): Likewise.
22914         (RUN_TEST_sincos): Likewise.
22915         (RUN_TEST_LOOP_sincos): Likewise.
22917 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22919         [BZ #15480]
22920         [BZ #15485]
22921         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22922         main case of finite arguments, set rounding mode to FE_TONEAREST
22923         and discard exceptions.
22924         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22925         exceptions.
22926         (remainder_tonearest_test_data): New variable.
22927         (remainder_test_tonearest): New function.
22928         (remainder_towardzero_test_data): New variable.
22929         (remainder_test_towardzero): New function.
22930         (remainder_downward_test_data): New variable.
22931         (remainder_test_downward): New function.
22932         (remainder_upward_test_data): New variable.
22933         (remainder_test_upward): New function.
22934         (main): Call the new test functions.
22936         * math/libm-test.inc (struct test_f_f1_data): Remove field
22937         extra_init.
22938         (struct test_fF_f1_data): Likewise.
22939         (struct test_ffI_f1_data): Likewise.
22940         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22941         based on value of EXTRA_EXPECTED.
22942         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22943         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22944         EXTRA_VAR based on value of EXTRA_EXPECTED.
22945         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22946         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22947         EXTRA_VAR based on value of EXTRA_EXPECTED.
22948         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22949         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22950         EXTRA_VAR based on value of EXTRA_EXPECTED.
22951         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22952         * math/gen-libm-test.pl (parse_args): Don't output initializers
22953         for extra output values.
22955         * math/libm-test.inc (check_int): Expect result to be exactly
22956         equal to expected value and do not handle ulps.
22957         (check_long): Likewise.
22958         (check_longlong): Likewise.
22960         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22961         exceptions.
22962         (cimag_test_data): Likewise.
22963         (conj_test_data): Likewise.
22964         (copysign_test_data): Likewise.
22965         (cproj_test_data): Likewise.
22966         (creal_test_data): Likewise.
22967         (fabs_test_data): Likewise.
22968         (fdim_test_data): Likewise.
22969         (finite_test_data): Likewise.
22970         (floor_test_data): Likewise.
22971         (fmax_test_data): Likewise.
22972         (fmin_test_data): Likewise.
22973         (fmod_test_data): Likewise.
22974         (fpclassify_test_data): Likewise.
22975         (frexp_test_data): Likewise.
22976         (ilogb_test_data): Likewise.
22977         (isfinite_test_data): Likewise.
22978         (isgreater_test_data): Likewise.
22979         (isgreaterequal_test_data): Likewise.
22980         (isinf_test_data): Likewise.
22981         (isless_test_data): Likewise.
22982         (islessequal_test_data): Likewise.
22983         (islessgreater_test_data): Likewise.
22984         (isnan_test_data): Likewise.
22985         (isnormal_test_data): Likewise.
22986         (issignaling_test_data): Likewise.
22987         (isunordered_test_data): Likewise.
22988         (ldexp_test_data): Likewise.
22989         (lrint_test_data): Likewise.
22990         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22991         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22992         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22993         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22994         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22995         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22996         test input.
22997         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22998         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22999         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23000         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23001         that test input.
23002         (lrint_downward_test_data): Test for "inexact" exceptions.
23003         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23004         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23005         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23006         test input.
23007         (lrint_upward_test_data): Test for "inexact" exceptions.
23008         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23009         test input.
23010         (llrint_test_data): Test for "inexact" exceptions.
23011         (llrint_test_data) [TEST_FLOAT]: Disable one test.
23012         (llrint_tonearest_test_data): Test for "inexact" exceptions.
23013         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23014         (llrint_towardzero_test_data): Test for "inexact" exceptions.
23015         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23016         (llrint_downward_test_data): Test for "inexact" exceptions.
23017         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23018         (llrint_upward_test_data): Test for "inexact" exceptions.
23019         (logb_test_data): Likewise.
23020         (logb_downward_test_data): Likewise.
23021         (nextafter_test_data): Likewise.
23022         (nexttoward_test_data): Likewise.
23023         (remainder_test_data): Likewise.
23024         (remquo_test_data): Likewise.
23025         (scalbn_test_data): Likewise.
23026         (scalbln_test_data): Likewise.
23027         (signbit_test_data): Likewise.
23028         (sqrt_test_data): Likewise.
23029         (significand_test_data): Likewise.
23031 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23033         [BZ #15424]
23034         * benchtests/bench-modf.c (struct args): Mark arg0 as
23035         volatile.
23036         * scripts/bench.pl: Mark members of struct args as volatile.
23038 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23040         [BZ # 15497]
23041         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23042         negative infinity on POWER6 or lower.
23043         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23045 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
23047         [BZ #15442]
23048         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23049         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23050         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23051         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23052         (_FP_SETQNAN): New macro.
23053         (_FP_SETQNAN_SEMIRAW): Likewise.
23054         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23055         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23056         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23057         (FP_EXTEND): Use _FP_FRAC_SNANP.
23058         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23059         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23060         into account.
23061         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23062         New macro.
23063         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23064         Likewise.
23066 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23068         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23069         with DIVIDE_BY_ZERO_EXCEPTION.
23070         (gamma_test_data): Likewise.
23071         (lgamma_test_data): Likewise.
23072         (log_test_data): Likewise.
23073         (log10_test_data): Likewise.
23074         (log2_test_data): Likewise.
23075         (tgamma_test_data): Likewise.
23077         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23078         (acos_test_tonearest): Likewise.
23079         (acos_test_towardzero): Likewise.
23080         (acos_test_downward): Likewise.
23081         (acos_test_upward): Likewise.
23082         (acosh_test): Likewise.
23083         (asin_test): Likewise.
23084         (asin_test_tonearest): Likewise.
23085         (asin_test_towardzero): Likewise.
23086         (asin_test_downward): Likewise.
23087         (asin_test_upward): Likewise.
23088         (asinh_test): Likewise.
23089         (atan_test): Likewise.
23090         (atanh_test): Likewise.
23091         (atan2_test): Likewise.
23092         (cabs_test): Likewise.
23093         (cacos_test): Likewise.
23094         (cacosh_test): Likewise.
23095         (casin_test): Likewise.
23096         (casinh_test): Likewise.
23097         (catan_test): Likewise.
23098         (catanh_test): Likewise.
23099         (cbrt_test): Likewise.
23100         (ccos_test): Likewise.
23101         (ccosh_test): Likewise.
23102         (cexp_test): Likewise.
23103         (clog_test): Likewise.
23104         (clog10_test): Likewise.
23105         (cos_test): Likewise.
23106         (cos_test_tonearest): Likewise.
23107         (cos_test_towardzero): Likewise.
23108         (cos_test_downward): Likewise.
23109         (cos_test_upward): Likewise.
23110         (cosh_test): Likewise.
23111         (cosh_test_tonearest): Likewise.
23112         (cosh_test_towardzero): Likewise.
23113         (cosh_test_downward): Likewise.
23114         (cosh_test_upward): Likewise.
23115         (cpow_test): Likewise.
23116         (csin_test): Likewise.
23117         (csinh_test): Likewise.
23118         (csqrt_test): Likewise.
23119         (ctan_test): Likewise.
23120         (ctan_test_tonearest): Likewise.
23121         (ctan_test_towardzero): Likewise.
23122         (ctan_test_downward): Likewise.
23123         (ctan_test_upward): Likewise.
23124         (ctanh_test): Likewise.
23125         (ctanh_test_tonearest): Likewise.
23126         (ctanh_test_towardzero): Likewise.
23127         (ctanh_test_downward): Likewise.
23128         (ctanh_test_upward): Likewise.
23129         (erf_test): Likewise.
23130         (erfc_test): Likewise.
23131         (exp_test): Likewise.
23132         (exp_test_tonearest): Likewise.
23133         (exp_test_towardzero): Likewise.
23134         (exp_test_downward): Likewise.
23135         (exp_test_upward): Likewise.
23136         (exp10_test): Likewise.
23137         (exp2_test): Likewise.
23138         (expm1_test): Likewise.
23139         (fmod_test): Likewise.
23140         (gamma_test): Likewise.
23141         (hypot_test): Likewise.
23142         (j0_test): Likewise.
23143         (j1_test): Likewise.
23144         (jn_test): Likewise.
23145         (lgamma_test): Likewise.
23146         (log_test): Likewise.
23147         (log10_test): Likewise.
23148         (log1p_test): Likewise.
23149         (log2_test): Likewise.
23150         (logb_test_downward): Likewise.
23151         (pow_test): Likewise.
23152         (pow_test_tonearest): Likewise.
23153         (pow_test_towardzero): Likewise.
23154         (pow_test_downward): Likewise.
23155         (pow_test_upward): Likewise.
23156         (remainder_test): Likewise.
23157         (remquo_test): Likewise.
23158         (sin_test): Likewise.
23159         (sin_test_tonearest): Likewise.
23160         (sin_test_towardzero): Likewise.
23161         (sin_test_downward): Likewise.
23162         (sin_test_upward): Likewise.
23163         (sincos_test): Likewise.
23164         (sinh_test): Likewise.
23165         (sinh_test_tonearest): Likewise.
23166         (sinh_test_towardzero): Likewise.
23167         (sinh_test_downward): Likewise.
23168         (sinh_test_upward): Likewise.
23169         (sqrt_test): Likewise.
23170         (tan_test): Likewise.
23171         (tan_test_tonearest): Likewise.
23172         (tan_test_towardzero): Likewise.
23173         (tan_test_downward): Likewise.
23174         (tan_test_upward): Likewise.
23175         (tanh_test): Likewise.
23176         (tgamma_test): Likewise.
23177         (y0_test): Likewise.
23178         (y1_test): Likewise.
23179         (yn_test): Likewise.
23181         * math/gen-libm-test.pl (adjust_arg): Remove function.
23182         (special_function): Remove argument $in_func.  Only handle
23183         generating output for tables of tests, not inside functions.
23184         (parse_args): Likewise.
23185         (generate_testfile): Remove variable $in_func.  Update call to
23186         parse_args.
23187         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23188         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23189         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23190         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23191         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23192         (MAX_VALUE_INIT): Rename macro to max_value.
23193         (MIN_VALUE_INIT): Rename macro to min_value.
23194         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23195         (plus_zero): Remove variable.
23196         (minus_zero): Likewise.
23197         (plus_infty): Likewise.
23198         (minus_infty): Likewise.
23199         (qnan_value): Likewise.
23200         (max_value): Likewise.
23201         (min_value): Likewise.
23202         (min_subnorm_value): Likewise.
23204 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23206         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23207         uint64_t or uint32_t usage.
23208         * crypt/sha256-block.c: Likewise.
23209         * crypt/sha256-crypt.c: Likewise.
23210         * crypt/sha256.c: Likewise.
23211         * crypt/sha512-block.c: Likewise.
23212         * crypt/sha512-crypt.c: Likewise.
23213         * crypt/sha512.c: Likewise.
23214         * debug/backtrace-tst.c: Likewise.
23215         * debug/pcprofiledump.c: Likewise.
23216         * elf/cache.c: Likewise.
23217         * elf/dl-cache.c: Likewise.
23218         * elf/dl-misc.c: Likewise.
23219         * elf/dl-profile.c: Likewise.
23220         * elf/dl-support.c: Likewise.
23221         * elf/ldconfig.c: Likewise.
23222         * elf/sprof.c: Likewise.
23223         * iconv/dummy-repertoire.c: Likewise.
23224         * iconv/iconv_charmap.c: Likewise.
23225         * iconv/skeleton.c: Likewise.
23226         * iconvdata/8bit-generic.c: Likewise.
23227         * iconvdata/cp737.h: Likewise.
23228         * iconvdata/cp775.h: Likewise.
23229         * iconvdata/ibm1008.h: Likewise.
23230         * iconvdata/ibm1025.h: Likewise.
23231         * iconvdata/ibm1046.h: Likewise.
23232         * iconvdata/ibm1097.h: Likewise.
23233         * iconvdata/ibm1112.h: Likewise.
23234         * iconvdata/ibm1122.h: Likewise.
23235         * iconvdata/ibm1123.h: Likewise.
23236         * iconvdata/ibm1124.h: Likewise.
23237         * iconvdata/ibm1129.h: Likewise.
23238         * iconvdata/ibm1130.h: Likewise.
23239         * iconvdata/ibm1132.h: Likewise.
23240         * iconvdata/ibm1133.h: Likewise.
23241         * iconvdata/ibm1137.h: Likewise.
23242         * iconvdata/ibm1140.h: Likewise.
23243         * iconvdata/ibm1141.h: Likewise.
23244         * iconvdata/ibm1142.h: Likewise.
23245         * iconvdata/ibm1143.h: Likewise.
23246         * iconvdata/ibm1144.h: Likewise.
23247         * iconvdata/ibm1145.h: Likewise.
23248         * iconvdata/ibm1146.h: Likewise.
23249         * iconvdata/ibm1147.h: Likewise.
23250         * iconvdata/ibm1148.h: Likewise.
23251         * iconvdata/ibm1149.h: Likewise.
23252         * iconvdata/ibm1153.h: Likewise.
23253         * iconvdata/ibm1154.h: Likewise.
23254         * iconvdata/ibm1155.h: Likewise.
23255         * iconvdata/ibm1156.h: Likewise.
23256         * iconvdata/ibm1157.h: Likewise.
23257         * iconvdata/ibm1158.h: Likewise.
23258         * iconvdata/ibm1160.h: Likewise.
23259         * iconvdata/ibm1161.h: Likewise.
23260         * iconvdata/ibm1162.h: Likewise.
23261         * iconvdata/ibm1163.h: Likewise.
23262         * iconvdata/ibm1164.h: Likewise.
23263         * iconvdata/ibm1166.h: Likewise.
23264         * iconvdata/ibm1167.h: Likewise.
23265         * iconvdata/ibm12712.h: Likewise.
23266         * iconvdata/ibm1390.h: Likewise.
23267         * iconvdata/ibm1399.h: Likewise.
23268         * iconvdata/ibm16804.h: Likewise.
23269         * iconvdata/ibm4517.h: Likewise.
23270         * iconvdata/ibm4899.h: Likewise.
23271         * iconvdata/ibm4909.h: Likewise.
23272         * iconvdata/ibm4971.h: Likewise.
23273         * iconvdata/ibm5347.h: Likewise.
23274         * iconvdata/ibm803.h: Likewise.
23275         * iconvdata/ibm856.h: Likewise.
23276         * iconvdata/ibm901.h: Likewise.
23277         * iconvdata/ibm902.h: Likewise.
23278         * iconvdata/ibm9030.h: Likewise.
23279         * iconvdata/ibm9066.h: Likewise.
23280         * iconvdata/ibm921.h: Likewise.
23281         * iconvdata/ibm922.h: Likewise.
23282         * iconvdata/ibm9448.h: Likewise.
23283         * iconvdata/isiri-3342.h: Likewise.
23284         * iconvdata/jis0201.h: Likewise.
23285         * include/link.h: Likewise.
23286         * include/netdb.h: Likewise.
23287         * inet/check_native.c: Likewise.
23288         * inet/check_pf.c: Likewise.
23289         * inet/getipv4sourcefilter.c: Likewise.
23290         * inet/getnameinfo.c: Likewise.
23291         * inet/getsourcefilter.c: Likewise.
23292         * inet/htonl.c: Likewise.
23293         * inet/setipv4sourcefilter.c: Likewise.
23294         * inet/setsourcefilter.c: Likewise.
23295         * inet/test-inet6_opt.c: Likewise.
23296         * inet/tst-network.c: Likewise.
23297         * locale/C-collate.c: Likewise.
23298         * locale/C-ctype.c: Likewise.
23299         * locale/C-time.c: Likewise.
23300         * locale/C-translit.h: Likewise.
23301         * locale/loadarchive.c: Likewise.
23302         * locale/programs/3level.h: Likewise.
23303         * locale/programs/charmap.c: Likewise.
23304         * locale/programs/charmap.h: Likewise.
23305         * locale/programs/ld-address.c: Likewise.
23306         * locale/programs/ld-collate.c: Likewise.
23307         * locale/programs/ld-ctype.c: Likewise.
23308         * locale/programs/ld-identification.c: Likewise.
23309         * locale/programs/ld-measurement.c: Likewise.
23310         * locale/programs/ld-messages.c: Likewise.
23311         * locale/programs/ld-monetary.c: Likewise.
23312         * locale/programs/ld-name.c: Likewise.
23313         * locale/programs/ld-numeric.c: Likewise.
23314         * locale/programs/ld-paper.c: Likewise.
23315         * locale/programs/ld-telephone.c: Likewise.
23316         * locale/programs/ld-time.c: Likewise.
23317         * locale/programs/linereader.c: Likewise.
23318         * locale/programs/locale.c: Likewise.
23319         * locale/programs/locarchive.c: Likewise.
23320         * locale/programs/locfile.h: Likewise.
23321         * locale/programs/repertoire.c: Likewise.
23322         * locale/programs/simple-hash.c: Likewise.
23323         * locale/programs/simple-hash.h: Likewise.
23324         * malloc/memusage.c: Likewise.
23325         * malloc/memusagestat.c: Likewise.
23326         * nis/nis_defaults.c: Likewise.
23327         * nis/nis_hash.c: Likewise.
23328         * nis/nis_print.c: Likewise.
23329         * nis/nis_xdr.c: Likewise.
23330         * nscd/connections.c: Likewise.
23331         * nscd/hstcache.c: Likewise.
23332         * nscd/nscd_gethst_r.c: Likewise.
23333         * nscd/nscd_getserv_r.c: Likewise.
23334         * nscd/nscd_helper.c: Likewise.
23335         * nscd/servicescache.c: Likewise.
23336         * nss/makedb.c: Likewise.
23337         * nss/nss_db/db-XXX.c: Likewise.
23338         * nss/nss_db/db-initgroups.c: Likewise.
23339         * nss/nss_db/db-netgrp.c: Likewise.
23340         * nss/nss_files/files-network.c: Likewise.
23341         * nss/nss_files/files-parse.c: Likewise.
23342         * posix/bug-regex5.c: Likewise.
23343         * posix/fnmatch_loop.c: Likewise.
23344         * posix/regcomp.c: Likewise.
23345         * posix/regexec.c: Likewise.
23346         * posix/tst-rfc3484-2.c: Likewise.
23347         * posix/tst-rfc3484-3.c: Likewise.
23348         * posix/tst-rfc3484.c: Likewise.
23349         * resolv/nss_dns/dns-canon.c: Likewise.
23350         * resolv/nss_dns/dns-network.c: Likewise.
23351         * resolv/res_init.c: Likewise.
23352         * resolv/res_mkquery.c: Likewise.
23353         * resolv/tst-aton.c: Likewise.
23354         * stdlib/cxa_atexit.c: Likewise.
23355         * stdlib/cxa_finalize.c: Likewise.
23356         * stdlib/gen-fpioconst.c: Likewise.
23357         * stdlib/strtol_l.c: Likewise.
23358         * string/tst-endian.c: Likewise.
23359         * sunrpc/auth_des.c: Likewise.
23360         * sunrpc/clnt_udp.c: Likewise.
23361         * sunrpc/rtime.c: Likewise.
23362         * sunrpc/svcauth_des.c: Likewise.
23363         * sunrpc/xdr.c: Likewise.
23364         * sunrpc/xdr_intXX_t.c: Likewise.
23365         * sunrpc/xdr_rec.c: Likewise.
23366         * sysdeps/generic/ldconfig.h: Likewise.
23367         * sysdeps/generic/ldsodefs.h: Likewise.
23368         * sysdeps/generic/memusage.h: Likewise.
23369         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23370         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23371         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23372         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23373         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23374         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23375         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23376         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23377         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23378         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23379         * sysdeps/posix/getaddrinfo.c: Likewise.
23380         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23381         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23382         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23383         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23384         * sysdeps/powerpc/test-gettimebase.c: Likewise.
23385         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23386         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23387         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23388         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23389         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23390         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23391         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23392         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23393         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23394         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23395         * sysdeps/x86_64/dl-tls.h: Likewise.
23396         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23397         * time/alt_digit.c: Likewise.
23398         * time/era.c: Likewise.
23399         * wcsmbs/tst-c16c32-1.c: Likewise.
23401 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23403         * math/libm-test.inc (struct test_sincos_data): New type.
23404         (RUN_TEST_LOOP_sincos): New macro.
23405         (sincos_test_data): New variable.
23406         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23408 2013-05-16  Richard Henderson  <rth@redhat.com>
23410         * math/atest-exp2.c (LIMB64): New macro.
23411         (CONSTSZ): New macro.
23412         (mp_exp1, mp_exp_m1, mp_log2): New variables.
23413         (hexdig): Move ...
23414         (print_mpn_fp): ... to function scope.
23415         (read_mpn_hex): Remove.
23416         (get_log2): Remove.
23417         (exp2_mpn): Use mp_log2.
23418         (main): Use mp_exp1.
23420 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23422         * math/libm-test.inc: Remove comment about not testing "inexact"
23423         exceptions.
23424         (INEXACT_EXCEPTION): New macro.
23425         (NO_INEXACT_EXCEPTION): Likewise.
23426         (INVALID_EXCEPTION_OK): Update value.
23427         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23428         (OVERFLOW_EXCEPTION_OK): Likewise.
23429         (UNDERFLOW_EXCEPTION_OK): Likewise.
23430         (IGNORE_ZERO_INF_SIGN): Likewise.
23431         (ERRNO_UNCHANGED): Likewise.
23432         (ERRNO_EDOM): Likewise.
23433         (ERRNO_ERANGE): Likewise.
23434         (test_exceptions): Handle testing "inexact" exceptions.
23435         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23436         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23437         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23438         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23439         INEXACT_EXCEPTION.
23440         (rint_towardzero_test_data): Likewise.
23441         (rint_downward_test_data): Likewise.
23442         (rint_upward_test_data): Likewise.
23444         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23445         with OVERFLOW_EXCEPTION.
23446         (exp10_test_data): Likewise.
23447         (exp2_test_data): Likewise.
23448         (expm1_test_data): Likewise.
23449         (lgamma_test_data): Likewise.
23450         (pow_test_data): Likewise.
23451         (tgamma_test_data): Likewise.
23452         (yn_test_data): Remove duplicate test of overflow.
23454         * math/libm-test.inc (struct test_cc_c_data): New type.
23455         (RUN_TEST_LOOP_cc_c): New macro.
23456         (cpow_test_data): New variable.
23457         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23459         * math/libm-test.inc (struct test_f_L_data): New type.
23460         (RUN_TEST_LOOP_f_L): New macro.
23461         (llrint_test_data): New variable.
23462         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23463         (llrint_tonearest_test_data): New variable.
23464         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23465         (llrint_towardzero_test_data): New variable.
23466         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23467         (llrint_downward_test_data): New variable.
23468         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23469         (llrint_upward_test_data): New variable.
23470         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23471         (llround_test_data): New variable.
23472         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23474 2013-05-13  Peter Collingbourne  <pcc@google.com>
23476         * math/atest-exp2.c (get_log2): Remove const attribute.
23478 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23480         * math/libm-test.inc (struct test_f_l_data): New type.
23481         (RUN_TEST_LOOP_f_l): New macro.
23482         (lrint_test_data): New variable.
23483         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23484         (lrint_tonearest_test_data): New variable.
23485         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23486         (lrint_towardzero_test_data): New variable.
23487         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23488         (lrint_downward_test_data): New variable.
23489         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23490         (lrint_upward_test_data): New variable.
23491         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23492         (lround_test_data): New variable.
23493         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23495 2013-05-15  Peter Collingbourne  <pcc@google.com>
23497         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23498         (EXTRACT_WORDS64) Use where appropriate.
23499         (INSERT_WORDS64) Likewise.
23501         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23502         constraints with x constraints.
23503         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23505         * malloc/obstack.c (_obstack_compat): Add initializer.
23507 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23509         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23510         si_trapno and add si_addr_lsb to _sifields.sigfault.
23511         (si_trapno): Remove macro.
23512         (si_addr_lsb): Define new macro.
23513         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23515 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23517         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23518         instead of TEST_f_l.
23519         (llrint_test_tonearest): Likewise.
23520         (llrint_test_towardzero): Likewise.
23521         (llrint_test_downward): Likewise.
23522         (llrint_test_upward): Likewise.
23523         (llround_test): Likewise.
23525         * math/libm-test.inc (struct test_f_i_data): Add comment.
23526         (RUN_TEST_LOOP_f_b): New macro.
23527         (RUN_TEST_LOOP_f_b_tg): Likewise.
23528         (finite_test_data): New variable.
23529         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23530         (isfinite_test_data): New variable.
23531         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23532         (isinf_test_data): New variable.
23533         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23534         (isnan_test_data): New variable.
23535         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23536         (isnormal_test_data): New variable.
23537         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23538         (issignaling_test_data): New variable.
23539         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23540         (signbit_test_data): New variable.
23541         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23543         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23544         with INVALID_EXCEPTION.
23545         (acosh_test_data): Likewise.
23546         (asin_test_data): Likewise.
23547         (atanh_test_data): Likewise.
23548         (fmod_test_data): Likewise.
23549         (log_test_data): Likewise.
23550         (log10_test_data): Likewise.
23551         (log2_test_data): Likewise.
23552         (pow_test_data): Likewise.
23553         (sqrt_test_data): Likewise.
23554         (y0_test_data): Likewise.
23555         (y1_test_data): Likewise.
23556         (yn_test_data): Likewise.
23558         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23559         function contents.
23561         * math/libm-test.inc (struct test_ff_i_data): New type.
23562         (RUN_TEST_LOOP_ff_i_tg): New macro.
23563         (isgreater_test_data): New variable.
23564         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23565         (isgreaterequal_test_data): New variable.
23566         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23567         (isless_test_data): New variable.
23568         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23569         (islessequal_test_data): New variable.
23570         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23571         (islessgreater_test_data): New variable.
23572         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23573         (isunordered_test_data): New variable.
23574         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23576 2013-05-14  David S. Miller  <davem@davemloft.net>
23578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23580 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
23582         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23584         * math/libm-test.inc (struct test_fF_f1_data): Change type of
23585         extra_test to int.
23586         (struct test_f_i_data): Change type of max_ulp to int.
23588         * math/libm-test.inc (test_ffI_f1_data): New type.
23589         (RUN_TEST_LOOP_ffI_f1): New macro.
23590         (remquo_test_data): New variable.
23591         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23593         * setjmp/tst-setjmp-fp.c: New file.
23594         * setjmp/Makefile (tests): Add tst-setjmp-fp.
23595         (link-libm): New variable.
23596         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23598         * math/libm-test.inc (struct test_f_i_data): New type.
23599         (RUN_TEST_LOOP_f_i): New macro.
23600         (RUN_TEST_LOOP_f_i_tg): Likewise.
23601         (fpclassify_test_data): New variable.
23602         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23603         (ilogb_test_data): New variable.
23604         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23606         * math/libm-test.inc (scalbln_test): Correct function name in END
23607         call.
23609         * math/libm-test.inc (struct test_f_f1_data): Add comment.
23610         (RUN_TEST_LOOP_fI_f1): New macro.
23611         (frexp_test_data): New variable.
23612         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23614         * math/libm-test.inc (struct test_fF_f1_data): New type.
23615         (RUN_TEST_LOOP_fF_f1): New macro.
23616         (modf_test_data): New variable.
23617         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23619         * math/libm-test.inc (struct test_f_f1_data): New type.
23620         (RUN_TEST_LOOP_f_f1): New macro.
23621         (gamma_test_data): New variable.
23622         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23623         (lgamma_test_data): New variable.
23624         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23626 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
23628         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23629         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23630         (main): Comment "tls" pseudo-hwcap.
23632 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
23634         * math/libm-test.inc (struct test_fl_f_data): New type.
23635         (RUN_TEST_LOOP_fl_f): New variable.
23636         (scalbln_test_data): New variable.
23637         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23639         * math/libm-test.inc (struct test_fi_f_data): New type.
23640         (RUN_TEST_LOOP_fi_f): New macro.
23641         (ldexp_test_data): New variable.
23642         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23643         (scalbn_test_data): New variable.
23644         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23646         * math/libm-test.inc (struct test_c_f_data): New type.
23647         (RUN_TEST_LOOP_c_f): New macro.
23648         (cabs_test_data): New variable.
23649         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23650         (carg_test_data): New variable.
23651         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23652         (cimag_test_data): New variable.
23653         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23654         (creal_test_data): New variable.
23655         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23657         * math/libm-test.inc (struct test_if_f_data): New type.
23658         (RUN_TEST_LOOP_if_f): New macro.
23659         (jn_test_data): New variable.
23660         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23661         (yn_test_data): New variable.
23662         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23664         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23666 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23668         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23669         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23671 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23673         * benchtests/Makefile (CPPFLAGS-nonlib): Add
23674         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23675         (bench-deps): Add bench-timing.h.
23676         * benchtests-bench-skeleton.c: Include bench-timing.h.
23677         (main): Use TIMING_* macros instead of clock_gettime.
23678         * benchtests/bench-timing.h: New file.
23680         [BZ #14582]
23681         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23682         Renamed from _LIB_VERSION.
23683         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23685 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
23687         * math/libm-test.inc (struct test_fff_f_data): New type.
23688         (RUN_TEST_LOOP_fff_f): New macro.
23689         (fma_test_data): New variable.
23690         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23691         (fma_towardzero_test_data): New variable.
23692         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23693         (fma_downward_test_data): New variable.
23694         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23695         (fma_upward_test_data): New variable.
23696         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23698         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23699         (struct test_c_c_data): New type.
23700         (RUN_TEST_LOOP_c_c): New macro.
23701         (cacos_test_data): New variable.
23702         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23703         (cacosh_test_data): New variable.
23704         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23705         (casin_test_data): New variable.
23706         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23707         (casinh_test_data): New variable.
23708         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23709         (catan_test_data): New variable.
23710         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23711         (catanh_test_data): New variable.
23712         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23713         (ccos_test_data): New variable.
23714         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23715         (ccosh_test_data): New variable.
23716         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23717         (cexp_test_data): New variable.
23718         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23719         (clog_test_data): New variable.
23720         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23721         (clog10_test_data): New variable.
23722         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23723         (conj_test_data): New variable.
23724         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23725         (cproj_test_data): New variable.
23726         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23727         (csin_test_data): New variable.
23728         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23729         (csinh_test_data): New variable.
23730         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23731         (csqrt_test_data): New variable.
23732         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23733         (ctan_test_data): New variable.
23734         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23735         (ctan_tonearest_test_data): New variable.
23736         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23737         (ctan_towardzero_test_data): New variable.
23738         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23739         (ctan_downward_test_data): New variable.
23740         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23741         (ctan_upward_test_data): New variable.
23742         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23743         (ctanh_test_data): New variable.
23744         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23745         (ctanh_tonearest_test_data): New variable.
23746         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23747         (ctanh_towardzero_test_data): New variable.
23748         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23749         (ctanh_downward_test_data): New variable.
23750         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23751         (ctanh_upward_test_data): New variable.
23752         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23753         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23754         of BUILD_COMPLEX.
23756         * math/libm-test.inc (struct test_ff_f_data): New type.
23757         (struct test_ff_f_data_nexttoward): Likewise.
23758         (RUN_TEST_LOOP_2_f): New macro.
23759         (RUN_TEST_LOOP_ff_f): Likewise.
23760         (atan2_test_data): New variable.
23761         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23762         (copysign_test_data): New variable.
23763         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23764         (fdim_test_data): New variable.
23765         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23766         (fmax_test_data): New variable.
23767         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23768         (fmin_test_data): New variable.
23769         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23770         (fmod_test_data): New variable.
23771         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23772         (hypot_test_data): New variable.
23773         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23774         (nextafter_test_data): New variable.
23775         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23776         (nexttoward_test_data): New variable.
23777         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23778         (pow_test_data): New variable.
23779         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23780         (pow_tonearest_test_data): New variable.
23781         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23782         (pow_towardzero_test_data): New variable.
23783         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23784         (pow_downward_test_data): New variable.
23785         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23786         (pow_upward_test_data): New variable.
23787         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23788         (remainder_test_data): New variable.
23789         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23790         (scalb_test_data): New variable.
23791         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23792         * sysdeps/i386/fpu/libm-test-ulps: Update.
23794 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23796         * math/libm-test.inc (fma_test): Use max_value instead of local
23797         variable fltmax.
23798         (nextafter_test): Likewise.
23800         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23801         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23802         (acos_downward_test_data): New variable.
23803         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23804         (acos_upward_test_data): New variable.
23805         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23806         (acosh_test_data): New variable.
23807         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23808         (asin_test_data): New variable.
23809         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23810         (asin_tonearest_test_data): New variable.
23811         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23812         (asin_towardzero_test_data): New variable.
23813         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23814         (asin_downward_test_data): New variable.
23815         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23816         (asin_upward_test_data): New variable.
23817         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23818         (asinh_test_data): New variable.
23819         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23820         (atan_test_data): New variable.
23821         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23822         (atanh_test_data): New variable.
23823         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23824         (cbrt_test_data): New variable.
23825         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23826         (ceil_test_data): New variable.
23827         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23828         (cos_test_data): New variable.
23829         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23830         (cos_tonearest_test_data): New variable.
23831         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23832         (cos_towardzero_test_data): New variable.
23833         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23834         (cos_downward_test_data): New variable.
23835         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23836         (cos_upward_test_data): New variable.
23837         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23838         (cosh_test_data): New variable.
23839         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23840         (cosh_tonearest_test_data): New variable.
23841         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23842         (cosh_towardzero_test_data): New variable.
23843         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23844         (cosh_downward_test_data): New variable.
23845         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23846         (cosh_upward_test_data): New variable.
23847         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23848         (erf_test_data): New variable.
23849         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23850         (erfc_test_data): New variable.
23851         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23852         (exp_test_data): New variable.
23853         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23854         (exp_tonearest_test_data): New variable.
23855         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23856         (exp_towardzero_test_data): New variable.
23857         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23858         (exp_downward_test_data): New variable.
23859         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23860         (exp_upward_test_data): New variable.
23861         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23862         (exp10_test_data): New variable.
23863         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23864         (exp2_test_data): New variable.
23865         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23866         (expm1_test_data): New variable.
23867         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23868         (fabs_test_data): New variable.
23869         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23870         (floor_test_data): New variable.
23871         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23872         (j0_test_data): New variable.
23873         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23874         (j1_test_data): New variable.
23875         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23876         (log_test_data): New variable.
23877         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23878         (log10_test_data): New variable.
23879         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23880         (log1p_test_data): New variable.
23881         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23882         (log2_test_data): New variable.
23883         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23884         (logb_test_data): New variable.
23885         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23886         (logb_downward_test_data): New variable.
23887         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23888         (nearbyint_test_data): New variable.
23889         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23890         (rint_test_data): New variable.
23891         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23892         (rint_tonearest_test_data): New variable.
23893         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23894         (rint_towardzero_test_data): New variable.
23895         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23896         (rint_downward_test_data): New variable.
23897         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23898         (rint_upward_test_data): New variable.
23899         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23900         (round_test_data): New variable.
23901         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23902         (sin_test_data): New variable.
23903         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23904         (sin_tonearest_test_data): New variable.
23905         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23906         (sin_towardzero_test_data): New variable.
23907         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23908         (sin_downward_test_data): New variable.
23909         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23910         (sin_upward_test_data): New variable.
23911         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23912         (sinh_test_data): New variable.
23913         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23914         (sinh_tonearest_test_data): New variable.
23915         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23916         (sinh_towardzero_test_data): New variable.
23917         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23918         (sinh_downward_test_data): New variable.
23919         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23920         (sinh_upward_test_data): New variable.
23921         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23922         (sqrt_test_data): New variable.
23923         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23924         (tan_test_data): New variable.
23925         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23926         (tan_tonearest_test_data): New variable.
23927         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23928         (tan_towardzero_test_data): New variable.
23929         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23930         (tan_downward_test_data): New variable.
23931         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23932         (tan_upward_test_data): New variable.
23933         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23934         (tanh_test_data): New variable.
23935         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23936         (tgamma_test_data): New variable.
23937         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23938         (trunc_test_data): New variable.
23939         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23940         (y0_test_data): New variable.
23941         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23942         (y1_test_data): New variable.
23943         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23944         (significand_test_data): New variable.
23945         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23947 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23949         [BZ #12387]
23950         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23952 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23954         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23956 2013-05-10  Andreas Jaeger  <aj@suse.de>
23958         [BZ #15448]
23959         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23960         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23962 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23964         * math/gen-libm-test.pl (adjust_arg): New function.
23965         (special_functions): Handle generating output in both functions
23966         and arrays.
23967         (parse_args): Likewise.
23968         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23969         $in_func argument to parse_args.
23970         * math/libm-test.inc (struct test_f_f_data): New type.
23971         (IF_ROUND_INIT_): New macro.
23972         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23973         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23974         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23975         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23976         (ROUND_RESTORE_): Likewise.
23977         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23978         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23979         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23980         (ROUND_RESTORE_FE_UPWARD): Likewise.
23981         (RUN_TEST_LOOP_f_f): New macro.
23982         (acos_test_data): New variable.
23983         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23984         (acos_tonearest_test_data): New variable.
23985         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23987 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23989         * benchtests/bench-skeleton.c (startup): Fix coding style.
23991 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23993         [BZ #6809]
23994         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23995         negative infinity argument.
23996         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23997         negative infinity argument.
23998         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23999         negative infinity argument.
24000         * math/libm-test.inc (tgamma_test): Expect errno to be set for
24001         domain errors.
24003 2013-05-10  Florian Weimer  <fweimer@redhat.com>
24005         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24006         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24007         * iconv/iconv_prog.c (main): Likewise.
24008         * locale/programs/charmap-dir.c (charmap_readdir)
24009         (fopen_uncompressed): Likewise.
24010         * locale/programs/locfile.c (siblings_uncached)
24011         (write_locale_data): Use lstat64 instead of lstat.
24012         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24013         stat.
24015 2013-05-10  Andreas Jaeger  <aj@suse.de>
24017         [BZ #15395]
24018         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24019         localization.
24020         Include <locale.h>.
24022 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
24024         * elf/dl-close.c (_dl_close_worker): Add comments.
24026 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
24028         [BZ #15359]
24029         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24030         high part of pi/2.
24031         (__ieee754_rem_pio2l): Update comments.
24033         [BZ #15429]
24034         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24035         high part of pi/2.
24036         (__ieee754_rem_pio2l): Update comments.
24038         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24039         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24041         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24042         M_PI_4l.
24044         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24045         (M_PI_34_LOG10El): Likewise.
24046         (M_PI2_LOG10El): Likewise.
24047         (M_PI4_LOG10El): Likewise.
24048         (M_PI_LOG10El): Likewise.
24050 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24054 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
24056         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24057         (MINUS_ZERO_INIT): Likewise.
24058         (PLUS_INFTY_INIT): Likewise.
24059         (MINUS_INFTY_INIT): Likewise.
24060         (QNAN_VALUE_INIT): Likewise.
24061         (MAX_VALUE_INIT): Likewise.
24062         (MIN_VALUE_INIT): Likewise.
24063         (MIN_SUBNORM_VALUE_INIT): Likewise.
24064         (plus_zero): Initialize with PLUS_ZERO_INIT.
24065         (minus_zero): Initialize with MINUS_ZERO_INIT.
24066         (plus_infty): Initialize with PLUS_INFTY_INIT.
24067         (minus_infty): Initialize with MINUS_INFTY_INIT.
24068         (qnan_value): Initialize with QNAN_VALUE_INIT.
24069         (max_value): Initialize with MAX_VALUE_INIT.
24070         (min_value): Initialize with MIN_VALUE_INIT.
24071         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24073         * math/libm-test.inc (RUN_TEST_if_f): New macro.
24074         (jn_test): Use TEST_if_f instead of TEST_ff_f.
24075         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24076         (yn_test): Use TEST_if_f instead of TEST_ff_f.
24078         * math/libm-test.inc (RUN_TEST_f_f): New macro.
24079         (RUN_TEST_2_f): Likewise.
24080         (RUN_TEST_ff_f): Likewise.
24081         (RUN_TEST_fi_f): Likewise.
24082         (RUN_TEST_fl_f): Likewise.
24083         (RUN_TEST_fff_f): Likewise.
24084         (RUN_TEST_c_f): Likewise.
24085         (RUN_TEST_f_f1): Likewise.
24086         (RUN_TEST_fF_f1): Likewise.
24087         (RUN_TEST_fI_f1): Likewise.
24088         (RUN_TEST_ffI_f1): Likewise.
24089         (RUN_TEST_c_c): Likewise.
24090         (RUN_TEST_cc_c): Likewise.
24091         (RUN_TEST_f_i): Likewise.
24092         (RUN_TEST_f_i_tg): Likewise.
24093         (RUN_TEST_ff_i_tg): Likewise.
24094         (RUN_TEST_f_b): Likewise.
24095         (RUN_TEST_f_b_tg): Likewise.
24096         (RUN_TEST_f_l): Likewise.
24097         (RUN_TEST_f_L): Likewise.
24098         (RUN_TEST_sincos): Likewise.
24099         * math/gen-libm-test.pl (new_test): Take new argument to indicate
24100         whether to show exceptions.  Do not include ");\n" in return
24101         value.
24102         (special_functions): Output call to RUN_TEST_sincos instead of
24103         check_float calls.  Update calls to new_test.
24104         (parse_args): Output call to single RUN_TEST_* macro instead of
24105         check_* calls and other assignments.  Update calls to new_test.
24107         [BZ #2546]
24108         [BZ #2560]
24109         [BZ #5159]
24110         [BZ #15426]
24111         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24112         input to result for tgamma overflow.
24113         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24114         (gamma_coeff): New variable.
24115         (NCOEFF): New macro.
24116         (gamma_positive): New function.
24117         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24118         underflow here.  Use gamma_positive instead of exp (lgamma) for
24119         other arguments.
24120         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24121         (gamma_coeff): New variable.
24122         (NCOEFF): New macro.
24123         (gammaf_positive): New function.
24124         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24125         underflow here.  Use gamma_positive instead of exp (lgamma) for
24126         other arguments.
24127         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24128         (gamma_coeff): New variable.
24129         (NCOEFF): New macro.
24130         (gammal_positive): New function.
24131         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24132         underflow here.  Use gamma_positive instead of exp (lgamma) for
24133         other arguments.
24134         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24135         (gamma_coeff): New variable.
24136         (NCOEFF): New macro.
24137         (gammal_positive): New function.
24138         (__ieee754_gammal_r): Handle positive infinity, overflow and
24139         underflow here.  Handle NaN the same as positive infinity.  Remove
24140         check x < 0xffffffff for negative integers.  Use gamma_positive
24141         instead of exp (lgamma) for other arguments.
24142         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24143         (gamma_coeff): New variable.
24144         (NCOEFF): New macro.
24145         (gammal_positive): New function.
24146         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24147         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24148         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24149         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24150         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24151         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24152         * sysdeps/generic/math_private.h (__gamma_productf): New
24153         prototype.
24154         (__gamma_product): Likewise.
24155         (__gamma_productl): Likewise.
24156         * math/Makefile (libm-calls): Add gamma_product.
24157         * math/libm-test.inc (tgamma_test): Add more tests.
24158         * sysdeps/i386/fpu/libm-test-ulps: Update.
24159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24161 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
24163         * benchtests/bench-skeleton.c (main): Preheat CPU.
24165 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
24167         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24169 2013-05-07  Roland McGrath  <roland@hack.frob.com>
24171         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24172         and _dl_skip_args_internal.
24174 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24176         * manual/message.texi (Message Translation): Talk about users.
24177         Message to key mapping impacts design.
24179 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24181         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24183         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24185         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24186         * sysdeps/wordsize-64/glob64.c: ... here.
24188         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24189         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24190         New macros.
24192         * debug/getlogin_r_chk.c: Moved to ...
24193         * login/getlogin_r_chk.c: ... here.
24194         * debug/Makefile (routines): Move getlogin_r_chk to ...
24195         * login/Makefile (routines): ... here.
24196         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24197         * login/Versions (libc: GLIBC_2.4): ... here.
24199         * io/poll.c (__poll): Renamed from poll.
24200         Add libc_hidden_def.
24201         (poll): Define as weak alias.
24203         * debug/ptsname_r_chk.c: Moved to ...
24204         * login/ptsname_r_chk.c: ... here.
24205         * debug/Makefile (routines): Move ptsname_r_chk to ...
24206         * login/Makefile (routines): ... here.
24207         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24208         * login/Versions (libc: GLIBC_2.4): ... here.
24210         * posix/getlogin.c: Moved to ...
24211         * login/getlogin.c: ... here.
24212         * posix/getlogin_r.c: Moved to ...
24213         * login/getlogin_r.c: ... here.
24214         * posix/getlogin_r.c: Moved to ...
24215         * login/getlogin_r.c: ... here.
24216         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24217         * login/Makefile (routines): ... here.
24218         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24219         * login/Versions (libc: GLIBC_2.0): ... here.
24221         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24222         (setrlimit): Define as weak alias.
24224         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24225         Call __ names for open, ftruncate, and close.
24226         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24227         (truncate): Define as weak alias.
24229 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24231         * math/gen-libm-test.pl (parse_args): Initialize x before each
24232         test of frexp, modf and remquo.
24234         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24235         test signgam value.
24237 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24239         [BZ #15418]
24240         [BZ #15419]
24241         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24242         internal tests.
24243         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24245 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24247         * elf/dl-writev.h: New file.
24248         * elf/dl-misc.c: Include it.
24249         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24250         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24252 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24254         * math/libm-test.inc (noXFails): Remove variable.
24255         (noXPasses): Likewise.
24256         (BUILD_COMPLEX_INT): Remove macro.
24257         (print_screen): Remove xfail argument.
24258         (print_screen_max_error): Likewise.
24259         (update_stats): Likewise.
24260         (print_max_error): Likewise.  Update calls to other affected
24261         functions.
24262         (print_complex_max_error): Likewise.
24263         (test_single_exception): Update calls to print_screen.
24264         (test_single_errno): Likewise.
24265         (check_float_internal): Remove xfail argument.  Update calls to
24266         other affected functions.
24267         (check_float): Likewise.
24268         (check_complex): Likewise.
24269         (check_int): Likewise.
24270         (check_long): Likewise.
24271         (check_bool): Likewise.
24272         (check_longlong): Likewise.
24273         (main): Don't print noXFails and noXPasses.
24274         * math/gen-libm-test.pl (top level): Don't mention expected
24275         failure handling in comment.
24276         (new_test): Don't handle expected failures.
24277         (parse_args): Don't mention expected failure handling in comment.
24278         (generate_testfile): Don't handle expected failures.
24279         (parse_ulps): Likewise.
24280         (print_ulps_file): Likewise.
24281         (get_failure): Remove function.
24282         (output_test): Don't handle expected failures.
24283         * make/README.libm-test: Don't mention expected failure handling.
24285         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24286         (minus_zero): Likewise.
24287         (plus_infty): Likewise.
24288         (minus_infty): Likewise.
24289         (qnan_value): Likewise.
24290         (max_value): Likewise.
24291         (min_value): Likewise.
24292         (min_subnorm_value): Likewise.
24293         (initialize): Do not initialize those variables dynamically.
24295 2013-05-03  Roland McGrath  <roland@hack.frob.com>
24297         * io/open.c (__open_2): Moved to ...
24298         * io/open_2.c: ... this new file.
24299         * io/open64.c (__open64_2): Moved to ...
24300         * io/open64_2.c: ... this new file.
24301         * io/openat.c (__openat_2): Moved to ...
24302         * io/openat_2.c: ... this new file.
24303         * io/openat64.c (__openat64_2): Moved to ...
24304         * io/openat64_2.c: ... this new file.
24305         * io/Makefile (routines): Add them.
24306         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24307         * sysdeps/unix/sysv/linux/open_2.c: File removed.
24308         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24309         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24310         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24311         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24312         (__openat64): Add hidden_ver.
24313         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24314         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24316         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24317         Separately conditionalize setting of GLRO(dl_sysinfo) so
24318         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24319         as well, but the actual setting is only under [NEED_DL_SYSINFO].
24321 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24323         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24324         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24325         definition.
24326         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24327         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24328         (_libc_vdso_platform_setup): Add __vdso_time initialization.
24329         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24330         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24332 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
24334         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24335         test signgam value.
24337         * math/libm-test.inc (hypot_test): Do not use
24338         IGNORE_ZERO_INF_SIGN.
24340 2013-05-03  Andreas Jaeger  <aj@suse.de>
24342         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24343         Linux 3.9.
24344         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24345         (PF_MAX): Adjust for VSOCK change.
24347 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24351 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
24353         [BZ #15264]
24354         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24355         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24356         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24358 2013-05-02  David S. Miller  <davem@davemloft.net>
24360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24362 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
24364         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24366 2013-05-01  Roland McGrath  <roland@hack.frob.com>
24368         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24370 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
24372         [BZ #14952]
24373         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24374         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24375         Use __attribute__ ((__gnu_inline__)).
24376         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24377         Don't use __attribute__ ((__gnu_inline__)).
24379 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
24381         [BZ #15423]
24382         * math/s_catan.c (__catan): Handle small real or imaginary part of
24383         input specially to avoid spurious underflow.
24384         * math/s_catanf.c (__catanf): Likewise.
24385         * math/s_catanh.c (__catanh): Likewise.
24386         * math/s_catanhf.c (__catanhf): Likewise.
24387         * math/s_catanhl.c (__catanhl): Likewise.
24388         * math/s_catanl.c (__catanl): Likewise.
24389         * math/libm-test.inc (catan_test): Add more tests.
24390         (catanh_test): Likewise.
24391         * sysdeps/i386/fpu/libm-test-ulps: Update.
24392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24394 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24398 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
24400         [BZ #15416]
24401         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24402         accurately for denominator in atan2.
24403         * math/s_catanf.c (__catanf): Likewise.
24404         * math/s_catanh.c (__catanh): Likewise.
24405         * math/s_catanhf.c (__catanhf): Likewise.
24406         * math/s_catanhl.c (__catanhl): Likewise.
24407         * math/s_catanl.c (__catanl): Likewise.
24408         * math/libm-test.inc (catan_test): Add more tests.
24409         (catanh_test): Likewise.
24410         * sysdeps/i386/fpu/libm-test-ulps: Update.
24411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24413 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24415         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24417         * benchtests/Makefile (bench): Remove slow benchmarks.
24418         * benchtests/atan-inputs: Add slow benchmark inputs.
24419         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24420         (BENCH_FUNC): Accept variant offset.
24421         (VARIANT): Define.
24422         * benchtests/bench-skeleton.c (main): Run benchmark for each
24423         variant.
24424         * benchtests/cos-inputs: Add slow benchmark inputs.
24425         * benchtests/exp-inputs: Likewise.
24426         * benchtests/pow-inputs: Likewise.
24427         * benchtests/sin-inputs: Likewise.
24428         * benchtests/slowatan-inputs: Remove.
24429         * benchtests/slowatan.c: Remove.
24430         * benchtests/slowcos-inputs: Remove.
24431         * benchtests/slowcos.c: Remove.
24432         * benchtests/slowexp-inputs: Remove.
24433         * benchtests/slowexp.c: Remove.
24434         * benchtests/slowpow-inputs: Remove.
24435         * benchtests/slowpow.c: Remove.
24436         * benchtests/slowsin-inputs: Remove.
24437         * benchtests/slowsin.c: Remove.
24438         * benchtests/slowtan-inputs: Remove.
24439         * benchtests/slowtan.c: Remove.
24440         * benchtests/tan-inputs: Add slow benchmark inputs.
24441         * scripts/bench.pl: Parse comments and directives.
24443         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
24444         in CPPFLAGS.
24445         ($(objpfx)bench-%.c): Remove *-ITER.
24446         * benchtests/bench-modf.c: Remove definition of ITER.
24447         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24448         (main): Loop for DURATION seconds instead of fixed number of
24449         iterations.
24450         * scripts/bench.pl: Don't expect iterations in parameters.
24452 2013-04-29  Roland McGrath  <roland@hack.frob.com>
24454         * io/fchdir.c (__fchdir): Renamed from fchdir.
24455         (fchdir): Define as weak alias.
24457 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24459         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24460         (ERRNO_EDOM): Likewise.
24461         (ERRNO_ERANGE): Likewise.
24462         (noErrnoTests): New variable.
24463         (init_max_error): Set errno to 0.
24464         (test_single_errno): New function.
24465         (test_errno): Likewise.
24466         (check_float_internal): Call test_errno.  Set errno to 0.
24467         (check_complex): Refer to errno tests in comment.
24468         (check_int): Call test_errno.  Set errno to 0.
24469         (check_long): Likewise.
24470         (check_bool): Likewise.
24471         (check_longlong): Likewise.
24472         (cos_test): Use ERRNO_* flags for errno tests instead of
24473         check_int.
24474         (expm1_test): Likewise.
24475         (fmod_test): Likewise.
24476         (ilogb_test): Likewise.
24477         (lgamma_test): Likewise.
24478         (pow_test): Likewise.
24479         (remainder_test): Likewise.
24480         (sin_test): Likewise.
24481         (tan_test): Likewise.
24482         (yn_test): Likewise.
24483         (initialize): Set errno to 0.
24484         (main): Print number of errno tests.
24485         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24487 2013-04-29  Andreas Jaeger  <aj@suse.de>
24489         [BZ #15084]
24490         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24491         and RES_USEVC.
24493         [BZ #15085]
24494         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24495         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24496         unimplemented.
24498         [BZ #15380]
24499         * stdlib/random.c (__initstate): Return NULL if
24500         __initstate fails.
24502         [BZ #15086]
24503         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24504         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24505         RES_SNGLKUPREOP.
24507 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24511 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24513         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24514         of individual tests.
24515         (casin_test): Likewise.
24516         (casinh_test): Likewise.
24518 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
24520         [BZ #15409]
24521         * math/s_catan.c (__catan): Handle arguments with large real or
24522         imaginary part separately without squaring.
24523         * math/s_catanf.c (__catanf): Likewise.
24524         * math/s_catanh.c (__catanh): Likewise.
24525         * math/s_catanhf.c (__catanhf): Likewise.
24526         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24527         and redefine.
24528         (__catanhl): Handle arguments with large real or imaginary part
24529         separately without squaring.
24530         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24531         and redefine.
24532         (__catanl): Handle arguments with large real or imaginary part
24533         separately without squaring.
24534         * math/libm-test.inc (catan_test): Add more tests.
24535         (catanh_test): Likewise.
24536         * sysdeps/i386/fpu/libm-test-ulps: Update.
24537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24539 2013-04-27  Andreas Jaeger  <aj@suse.de>
24541         [BZ #15007]
24542         * stdlib/stdlib.h: Update guards for qecvt.
24543         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24544         <stdlib.h>.
24546 2013-04-27  Allan McRae  <allan@archlinux.org>
24548         * sysdeps/i386/fpu/libm-test-ulps: Update.
24550 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
24552         [BZ #15406]
24553         * math/s_catan.c: Include <float.h>.
24554         (__catan): Ensure underflow exception occurs for underflowed
24555         result.
24556         * math/s_catanf.c: Include <float.h>.
24557         (__catanf): Ensure underflow exception occurs for underflowed
24558         result.
24559         * math/s_catanh.c: Include <float.h>.
24560         (__catanh): Ensure underflow exception occurs for underflowed
24561         result.
24562         * math/s_catanhf.c: Include <float.h>.
24563         (__catanhf): Ensure underflow exception occurs for underflowed
24564         result.
24565         * math/s_catanhl.c: Include <float.h>.
24566         (__catanhl): Ensure underflow exception occurs for underflowed
24567         result.
24568         * math/s_catanl.c: Include <float.h>.
24569         (__catanl): Ensure underflow exception occurs for underflowed
24570         result.
24571         * math/libm-test.inc (catan_test): Add more tests.
24572         (catanh_test): Likewise.
24574         [BZ #15405]
24575         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24576         underflowed result.
24577         * math/s_ccoshf.c (__ccoshf): Likewise.
24578         * math/s_ccoshl.c (__ccoshl): Likewise.
24579         * math/s_csin.c (__csin): Likewise.
24580         * math/s_csinf.c (__csinf): Likewise.
24581         * math/s_csinh.c (__csinh): Likewise.
24582         * math/s_csinhf.c (__csinhf): Likewise.
24583         * math/s_csinhl.c (__csinhl): Likewise.
24584         * math/s_csinl.c (__csinl): Likewise.
24585         * math/libm-test.inc (ccos_test): Add more tests.
24586         (ccosh_test): Likewise.
24587         (csin_test): Likewise.
24588         (csinh_test): Likewise.
24590 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24592         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24593         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24594         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24595         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24596         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24597         powerpc/power5+/fpu folders.
24598         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24601 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24605 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
24607         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24608         additions to variable.
24609         [$(config-machine) = x86_64] (modules-names): Likewise.
24610         ($(objpfx)tst-audit3): Remove dependency.
24611         ($(objpfx)tst-audit3.out): Likewise.
24612         ($(objpfx)tst-audit4): Likewise.
24613         ($(objpfx)tst-audit4.out): Likewise.
24614         ($(objpfx)tst-audit5): Likewise.
24615         ($(objpfx)tst-audit5.out): Likewise.
24616         ($(objpfx)tst-audit6): Likewise.
24617         ($(objpfx)tst-audit6.out): Likewise.
24618         ($(objpfx)tst-audit7): Likewise.
24619         ($(objpfx)tst-audit7.out): Likewise.
24620         (tst-audit3-ENV): Remove variable.
24621         (tst-audit4-ENV): Likewise.
24622         (tst-audit5-ENV): Likewise.
24623         (tst-audit6-ENV): Likewise.
24624         (tst-audit7-ENV): Likewise.
24625         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24626         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24627         addition to variable.
24628         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24629         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24630         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24631         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24632         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24633         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24634         tst-audit3, tst-audit4 and tst-audit5.
24635         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24636         tst-audit6 and tst-audit7.
24637         [$(subdir) = elf] (modules-names): Add audit modules for those
24638         tests.
24639         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24640         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24641         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24642         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24643         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24644         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24645         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24646         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24647         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24648         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24649         [$(subdir) = elf] (tst-audit3-ENV): New variable.
24650         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24651         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24652         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24653         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24654         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24655         Likewise.
24656         [$(subdir) = elf && $(config-cflags-avx) = yes]
24657         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24658         [$(subdir) = elf && $(config-cflags-avx) = yes]
24659         (CFLAGS-tst-auditmod4a.c): Likewise.
24660         [$(subdir) = elf && $(config-cflags-avx) = yes]
24661         (CFLAGS-tst-auditmod4b.c): Likewise.
24662         [$(subdir) = elf && $(config-cflags-avx) = yes]
24663         (CFLAGS-tst-auditmod6b.c): Likewise.
24664         [$(subdir) = elf && $(config-cflags-avx) = yes]
24665         (CFLAGS-tst-auditmod6c.c): Likewise.
24666         [$(subdir) = elf && $(config-cflags-avx) = yes]
24667         (CFLAGS-tst-auditmod7b.c): Likewise.
24668         * elf/tst-audit3.c: Move to ...
24669         * sysdeps/x86_64/tst-audit3.c: ... here.
24670         * elf/tst-audit4.c: Move to ...
24671         * sysdeps/x86_64/tst-audit4.c: ... here.
24672         * elf/tst-audit5.c: Move to ...
24673         * sysdeps/x86_64/tst-audit5.c: ... here.
24674         * elf/tst-audit6.c: Move to ...
24675         * sysdeps/x86_64/tst-audit6.c: ... here.
24676         * elf/tst-audit7.c: Move to ...
24677         * sysdeps/x86_64/tst-audit7.c: ... here.
24678         * elf/tst-auditmod3a.c: Move to ...
24679         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24680         * elf/tst-auditmod3b.c: Move to ...
24681         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24682         * elf/tst-auditmod4a.c: Move to ...
24683         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24684         * elf/tst-auditmod4b.c: Move to ...
24685         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24686         * elf/tst-auditmod5a.c: Move to ...
24687         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24688         * elf/tst-auditmod5b.c: Move to ...
24689         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24690         * elf/tst-auditmod6a.c: Move to ...
24691         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24692         * elf/tst-auditmod6b.c: Move to ...
24693         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24694         * elf/tst-auditmod6c.c: Move to ...
24695         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24696         * elf/tst-auditmod7a.c: Move to ...
24697         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24698         * elf/tst-auditmod7b.c: Move to ...
24699         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24701 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
24703         [BZ #15366]
24704         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24705         define unconditionally.
24706         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24707         define unconditionally.
24708         (INT8_C, INT16_C, etc.): Likewise.
24710 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
24712         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24713         __ehdr_start with hidden visibility.
24715         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24717 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
24719         * math/libm-test.inc (cos_test): Use accurate hex constants.
24720         (sincost_test): Likewise.
24722 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
24724         * math/libm-test.inc (catan_test): Add more tests.
24725         (catanh_test): Likewise.
24727         * math/s_catanf.c (__catanf): Use suffixed floating-point
24728         constants.
24729         * math/s_catanhf.c (__catanhf): Likewise.
24730         * math/s_catanhl.c (__catanhl): Likewise.
24731         * math/s_catanl.c (__catanl): Likewise.
24733         [BZ #15394]
24734         * math/s_catan.c (__catan): Calculate imaginary part of result
24735         with log1p not log unless computing log of number close to 0.
24736         * math/s_catanf.c (__catanf): Likewise.
24737         * math/s_catanl.c (__catanl): Likewise.
24738         * math/s_catanh.c (__catanh): Calculate real part of result with
24739         log1p not log unless computing log of number close to 0.
24740         * math/s_catanhf.c (__catanhf): Likewise.
24741         * math/s_catanhl.c (__catanhl): Likewise.
24742         * math/libm-test.inc (catan_test): Add more tests.
24743         (catanh_test): Likewise.
24744         * sysdeps/i386/fpu/libm-test-ulps: Update.
24745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24747 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24749         * benchtests/Makefile: Mention files in which fast and slow
24750         paths of math functions are implemented.
24752 2013-04-23  Roland McGrath  <roland@hack.frob.com>
24754         * sysdeps/posix/timespec_get.c: New file.
24756 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24758         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24759         POWER.
24760         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24761         for POWER.
24762         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24763         powerpc/power5/fpu folders.
24764         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24765         * benchtests/Makefile: Add modf testcase.
24766         * benchtests/bench-modf.c: New file: Benchmark test for mo
24768 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24770         [BZ #14888]
24771         * time/Makefile (tests): Add tst-strptime-whitespace.
24772         * time/strptime_l.c (get_number): Use ISSPACE.
24773         (__strptime_internal): Likewise.
24774         * time/tst-strptime-whitespace.c: New test case.
24776 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
24778         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24779         member.
24780         (_nss_files_init): Set it here.
24782 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
24784         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24785         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24786         unsigned.
24788 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24790         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24792 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24794         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24795         size just once.
24797 2013-04-21  David S. Miller  <davem@davemloft.net>
24799         * po/ru.po: Update Russion translation from translation project.
24801 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24803         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24804         and setfsgid.
24806 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24808         * configure.in: Remove i386 configure warning. Remove i386 case.
24809         * configure: Regenerate.
24810         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24811         Add example to error message.
24812         * sysdeps/i386/configure: Regenerate.
24814 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24816         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24817         slowtan.
24818         * benchtests/cos-inputs: New file.
24819         * benchtests/slowcos-inputs: New file.
24820         * benchtests/slowcos.c: New file.
24821         * benchtests/slowtan-inputs: New file.
24822         * benchtests/slowtan.c: New file.
24823         * benchtests/tan-inputs: New file.
24825 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24827         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24828         considered kosher.
24830 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24832         * benchtests/Makefile: Include cppflags-iterator.mk to add
24833         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24835         * Makefile.in (bench-clean): New target.
24836         * benchtests/Makefile (bench-clean): Likewise.
24838 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24840         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24842 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24844         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24846 2013-04-15  Andreas Schwab  <schwab@suse.de>
24848         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24849         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24850         * nscd/pwdcache.c (cache_addpw): Likewise.
24851         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24852         more than recsize.
24854 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24856         * benchtests/Makefile (bench): Write all output to
24857         bench-out.tmp together.
24859 2013-04-15  Andreas Schwab  <schwab@suse.de>
24861         * nscd/nscd.c (main): Don't fork again after closing files.
24863 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24865         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24867         * benchtests/Rules (bench-deps): Collect dependencies into a
24868         single variable.  Add Makefile to dependencies.
24869         ($(objpfx)bench-%.c): Depend on bench-deps.
24871 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24872             Xavier Roche  <roche+kml2@exalead.com>
24874         [BZ #15361]
24875         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24876         just that it's a file descriptor.
24877         * manual/llio.texi (Synchronizing AIO Operations): Update description
24878         for EBADF error from aio_fsync.
24880 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24882         * Rules (bench): Move target definition...
24883         * benchtests/Makefile: ... here.
24885 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24887         * math/libm-test.inc (cos_test): Fix PI/2 test.
24888         (sincos_test): Likewise.
24889         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24890         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24892 2013-04-11  Andreas Schwab  <schwab@suse.de>
24894         [BZ #13988]
24895         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24896         accept exponent character only when digits were seen.
24897         * stdio-common/Makefile (tests): Add bug26.
24898         * stdio-common/bug26.c: New file.
24900         [BZ #14293]
24901         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24902         non-freeable.
24904 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24906         * Makeconfig (rtld-prefix): Define built linker prefix.
24907         * Rules (run-bench): Use it.
24908         * math/Makefile (run-regen-ulps): Likewise.
24910         * Rules (bench): Remove eval.
24912 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24913             Roland McGrath  <roland@hack.frob.com>
24914             Ondrej Bilka  <neleai@seznam.cz>
24916         [BZ #15346]
24917         * time/getdate.c: Include ctype.h and alloca.h.
24918         (__getdate_r): Trim leading and trailing spaces of input.
24919         * time/tst-getdate.c (tests): Add tests with leading and
24920         trailing spaces.
24922 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24924         [BZ #14280]
24925         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24926         when computing value.
24928 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24930         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24931         Use testrun.sh to run libm tests.
24933         [BZ #15309]
24934         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24936 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24938         [BZ #15264]
24939         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24941 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24943         * Makefile.in (regen-ulps): New target.
24944         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24945         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24946         [ifneq (no,$(PERL)] (regen-ulps): New target.
24947         [ifeq (no,$(PERL)] (regen-ulps): New target.
24948         * math/libm-test.inc (ulps_file_name): Define.
24949         (output_dir): New variable.
24950         (options): Add "output-dir" option.
24951         (parse_opt): Handle 'o' case.
24952         (main): If output_dir is non-NULL use it as a prefix
24953         otherwise use "".
24954         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24956 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24958         [BZ #10060, #10062]
24959         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24960         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24961         fail configure if __sync_val_compare_and_swap is not inlined.
24962         * sysdeps/i386/configure: Regenerate.
24963         * configure.in: Build for i686 when configured for i386.
24964         * configure: Regenerate.
24965         * README: Remove i386 reference.
24967 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24969         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24970         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24972 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24974         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24975         (lmsnanval): New variables.
24976         (F): Add conversion tests.
24977         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24978         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24980         * stdio-common/tstdiomisc.c (F): Properly collect individual
24981         tests' results.
24983         [BZ #14686, #15336]
24984         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24985         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24986         Instead, use input NaN values or generate a qNaN by arithmetic
24987         operation.  Also fix bugs to comply with the standard.
24988         * math/libm-test.inc (remainder_test): Add more tests.
24990         [BZ #15335, #15342]
24991         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24992         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24993         input NaN values or generate a qNaN by arithmetic operation.
24995         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24996         unreachable code.
24998         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24999         definitions.
25001 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
25003         [BZ #14478]
25004         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25005         underflowed result.
25006         * math/s_cexpf.c (__cexpf): Likewise.
25007         * math/s_cexpl.c (__cexpl): Likewise.
25008         * math/libm-test.inc (cexp_test): Add more tests.
25010 2013-04-03  Andreas Schwab  <schwab@suse.de>
25012         [BZ #15330]
25013         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25014         order arrays from heap if bigger than alloca cutoff.
25016 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
25018         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25019         (SNAN_TESTS_double): Refer to GCC PR56831.
25020         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25021         GCC PR56828.
25023 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25025         * Rules (bench): Move bench.out after the run is complete.
25027         * Rules (bench): Echo currently running benchmark.
25029         * benchtests/Makefile (bench): Add atan and slowatan.
25030         * benchtests/atan-inputs: New file.
25031         * benchtests/slowatan-inputs: New file.
25032         * benchtests/slowatan.c: New file.
25034         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25035         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25036         its value.
25038         [BZ #15305]
25039         * sysdeps/unix/sysv/linux/kernel-features.h
25040         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25041         __ASSUME_XFS_RESTRICTED_CHOWN.
25042         * sysdeps/unix/sysv/linux/pathconf.c
25043         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25044         Save and restore errno.
25046 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
25048         [BZ #15327]
25049         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25050         arguments using __kernel_casinh.
25051         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25052         arguments using __kernel_casinhf.
25053         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25054         arguments using __kernel_casinhl.
25055         * math/libm-test.inc (cacosh_test): Add more tests.
25056         * sysdeps/i386/fpu/libm-test-ulps: Update.
25057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25059 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25061         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25062         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25064         * bench/Makefile (bench): Add sin and slowsin.
25065         * benchtests/sin-inputs: New file.
25066         * benchtests/slowsin-inputs: New file.
25067         * benchtests/slowsin.c: New file.
25069         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25070         (bench): Add slowexp and slowpow.
25071         (exp-ITER): Increase iterations.
25072         (pow-ITER): Likewise.
25073         * benchtests/exp-inputs: Change input.
25074         * benchtests/pow-inputs: Likewise.
25075         * benchtests/slowexp-inputs: New file.
25076         * benchtests/slowexp.c: New file.
25077         * benchtests/slowpow-inputs: New file.
25078         * benchtests/slowpow.c: New file.
25080 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25082         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25083         instructions.
25084         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25085         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25086         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25087         * benchtests/Makefile: Add rint benchtest.
25088         * benchtests/rint-inputs: Input for rint benchtest.
25090 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25092         * Versions.def (libm): Add GLIBC_2.18.
25093         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25094         hidden libm prototypes.
25095         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25096         * math/Makefile (libm-calls): Add s_issignaling.
25097         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25098         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
25099         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25100         declaration.
25101         * math/math.h [__USE_GNU] (issignaling): New macro.
25102         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25103         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25104         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25105         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25106         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25107         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25108         * manual/arith.texi (issignaling): New section.
25109         * manual/libm-err-tab.pl (@all_functions): Update comment.
25110         * math/gen-libm-test.pl (parse_args): Apply special handling for
25111         issignaling.
25112         * math/libm-test.inc (print_float, issignaling_test): New
25113         functions.
25114         (check_float_internal): Add issignaling checks.
25115         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25116         default definition.
25117         * sysdeps/powerpc/math-tests.h: New file.
25118         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25119         tests.
25120         * math/test-snan.c (TEST_FUNC): Likewise.
25122 2013-03-30  David S. Miller  <davem@davemloft.net>
25124         * po/de.po: Update from translation team.
25126 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
25128         [BZ #10357]
25129         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25130         imaginary part less than 1.0 and real part less than 0.5
25131         specially.
25132         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25133         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25134         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25135         (cacos_test): Add more tests.
25136         (casin_test): Likewise.
25137         (casinh_test): Likewise.
25138         * sysdeps/i386/fpu/libm-test-ulps: Update.
25139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25141 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25143         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25144         ONE with its value.
25146         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25147         (__pow_mp): Replace ONE and MONE with their values.
25148         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25149         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25150         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25151         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25152         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25153         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25155         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25157         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25158         (__pow_mp): Replace ZERO and MZERO with their values.
25159         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25160         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25161         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25162         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25163         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25164         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25165         (__sqr): Likewise.
25167         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25169         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25171 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25173         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25174         Declare with __attribute__ ((weak)).
25175         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25176         Call __call_tls_dtors only if it's not NULL.
25178 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25180         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25181         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25182         magic __ehdr_start linker symbol if it's defined.
25183         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25184         them up here if it was already done.
25186         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25187         (_dl_aux_init): Use const in cast when setting it.
25188         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25189         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25190         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25192         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25193         Declare them here.
25194         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25195         * csu/libc-tls.c: Nor here.
25196         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25198         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25199         (__libc_message): Never call vsyslog.
25201 2013-03-28  Alan Modra  <amodra@gmail.com>
25203         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25204         Define as empty.
25205         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25206         Likewise.
25208 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25210         [BZ #15214]
25211         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25212         underflow.
25213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25215 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25217         [BZ #15304]
25218         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25219         Don't add gid passed as argument.
25221         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25223 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25225         [BZ #15307]
25226         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25227         imaginary part between 1.0 and 1.5 and real part less than 0.5
25228         specially.
25229         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25230         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25231         * math/libm-test.inc (cacos_test): Add more tests.
25232         (casin_test): Likewise.
25233         (casinh_test): Likewise.
25234         * sysdeps/i386/fpu/libm-test-ulps: Update.
25235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25237 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25239         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25240         constants.
25241         (norm): Likewise.
25242         (denorm): Likewise.
25243         (__dbl_mp): Likewise.
25244         (add_magnitudes): Likewise.
25245         (sub_magnitudes): Likewise.
25246         (__add): Likewise.
25247         (__sub): Likewise.
25248         (__mul): Likewise.
25249         (__sqr): Likewise.
25250         (__inv): Likewise.
25251         (__dvd): Likewise.
25253         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25254         commented code.
25255         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25256         (__dubcos): Likewise.
25257         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25258         (__ieee754_acos): Likewise.
25259         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25260         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25261         (__exp1): Likewise.
25262         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25264         (log1): Likewise.
25265         (my_log2): Likewise.
25266         (checkint): Likewise.
25267         * sysdeps/ieee754/dbl-64/e_remainder.c
25268         (__ieee754_remainder): Likewise.
25269         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25270         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25271         (bsloww): Likewise.
25272         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25274         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25275         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25276         MANTISSA_STORE_T to store computations on mantissa.  Use
25277         macros for rounding and division.
25278         (denorm): Likewise.
25279         (__dbl_mp): Likewise.
25280         (add_magnitudes): Likewise.
25281         (sub_magnitudes): Likewise.
25282         (__mul): Likewise.
25283         (__sqr): Likewise.
25284         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25285         powers of two in terms of TWOPOW macro.
25286         (mp_no): Make type of mantissa as MANTISSA_T.
25287         [!RADIXI]: Define RADIXI.
25288         [!TWO52]: Define TWO52.
25289         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25291 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25293         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25294         llroundl symbol when building for PPC32.
25296 2013-03-24  Mark H Weaver  <mhw@netris.org>
25298         * manual/arith.texi (Normalization Functions): Fix prototypes for
25299         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25301 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25303         [BZ #13889]
25304         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25305         high value to check if expl overflow.
25306         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25307         to check for underflow and overflow.
25308         * math/libm-test.inc: Add exp test.
25310 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
25312         [BZ #11120]
25313         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25314         with NOT_IN_libc.
25316 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25318         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25319         symbol.
25321 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25323         * math/gen-libm-test.pl (parse_args, special_functions): Properly
25324         wrap blocks consisting of several statements.
25326         * sysdeps/generic/math-tests.h: New file.
25327         * sysdeps/i386/fpu/math-tests.h: Likewise.
25328         * math/test-snan.c: Include it.
25329         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25331 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25333         [BZ #15285]
25334         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25335         (__ieee754_j0l): Do not improve calculations using cos of twice
25336         input for inputs above LDBL_MAX / 2.0L.
25337         (__ieee754_y0l): Likewise.
25338         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25339         (__ieee754_j1l): Do not improve calculations using cos of twice
25340         input for inputs above LDBL_MAX / 2.0L.
25341         (__ieee754_y1l): Likewise.
25342         * math/libm-test.inc (j0_test): Add another test.
25343         (j1_test): Likewise.
25344         (y0_test): Likewise.
25345         (y1_test): Likewise.
25346         * sysdeps/i386/fpu/libm-test-ulps: Update.
25348 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25350         * Rules ($(objpfx)bench-%.c): Include code from a C source
25351         file.
25353 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25355         [BZ #15287]
25356         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25357         imaginary part 1.0 and real part less than 0.5 specially.
25358         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25359         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25360         * math/libm-test.inc (cacos_test): Add more tests.
25361         (casin_test): Likewise.
25362         (casinh_test): Likewise.
25363         * sysdeps/i386/fpu/libm-test-ulps: Update.
25364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25366 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25368         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25369         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25371 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
25373         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25374         * config.make.in (config-cflags-sse4): Remove variable.
25375         (config-cflags-avx): Likewise.
25376         (config-cflags-sse2avx): Likewise.
25377         (config-cflags-novzeroupper): Likewise.
25378         (config-asflags-i686): Likewise.
25379         (have-mfma4): Likewise.
25380         (have-as-vis3): Likewise.
25381         (MIG): Likewise.
25382         * configure.in (MIG): Do not AC_SUBST.
25383         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25384         (libc_cv_cc_sse4): Do not AC_SUBST.
25385         (libc_cv_cc_avx): Likewise.
25386         (libc_cv_cc_sse2avx): Likewise.
25387         (libc_cv_cc_novzeroupper): Likewise.
25388         (libc_cv_cc_fma4): Likewise.
25389         (libc_cv_as_i686): Likewise.
25390         (libc_cv_sparc_as_vis3): Likewise.
25391         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25392         LIBC_CONFIG_VAR.
25393         (config-asflags-i686): Likewise.
25394         (config-cflags-avx): Likewise.
25395         (config-cflags-sse2avx): Likewise.
25396         (have-mfma4): Likewise.
25397         (config-cflags-novzeroupper): Likewise.
25398         * sysdeps/mach/configure.in (MIG): Likewise.
25399         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25400         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25401         LIBC_CONFIG_VAR.
25402         (config-cflags-avx): Likewise.
25403         (config-cflags-sse2avx): Likewise.
25404         (have-mfma4): Likewise.
25405         (config-cflags-novzeroupper): Likewise.
25406         * configure: Regenerated.
25407         * sysdeps/i386/configure: Likewise.
25408         * sysdeps/mach/configure: Likewise.
25409         * sysdeps/sparc/configure: Likewise.
25410         * sysdeps/x86_64/configure: Likewise.
25412 2013-03-20  Roland McGrath  <roland@hack.frob.com>
25414         [BZ #14812]
25415         * locale/programs/localedef.c (options): Put N_ translation marker
25416         on argument names, not just descriptions.
25418 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25420         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25422 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
25424         [BZ #14176]
25425         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25427 2013-03-19  Roland McGrath  <roland@hack.frob.com>
25429         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25430         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25431         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25432         [!BEFORE_ABORT] (before_abort): New function.
25433         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25434         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25435         (writev_for_fatal): New function.
25436         (WRITEV_FOR_FATAL): New macro; call that.
25437         (backtrace_and_maps): New function.
25438         (BEFORE_ABORT): New macro; call that.
25439         (struct str_list): Type removed.
25440         (__libc_message, __libc_fatal): Functions removed.
25441         Include <sysdeps/posix/libc_fatal.c> instead.
25443 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
25445         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25446         constants.
25447         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25448         double constants.
25450 2013-03-19  Andreas Schwab  <schwab@suse.de>
25452         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25453         * sysdeps/gnu/configure: Regenerate.
25455         * configure.in: Substitute libc_cv_rtlddir.
25456         * configure: Regenerate.
25457         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25458         * Makeconfig (rtlddir, inst_rtlddir): New variables.
25459         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25460         * elf/Makefile (install-others, CFLAGS-interp.c)
25461         (ldso_install, common-ldd-rewrite): Likewise.
25462         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25463         $(inst_slibdir)/$(rtld-installed-name).
25464         * scripts/rellns-sh: Add -p option.
25465         * Makerules (make-shlib-link): Use rellns-sh to get relative name
25466         for source.
25468 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25470         * manual/nptl.texi: Renamed to ...
25471         * manual/threads.texi: ... this.
25472         * manual/Makefile (chapters): Update.
25474 2013-03-18  Roland McGrath  <roland@hack.frob.com>
25476         [BZ #14812]
25477         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25478         on argument names, not just descriptions.
25479         * malloc/memusagestat.c (options): Likewise.
25480         * nss/getent.c (options): Likewise.
25482 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
25484         [BZ #14812]
25485         * iconv/iconv_prog.c (options): Put N_ translation marker
25486         on argument names, not just descriptions.
25487         * iconv/iconvconfig.c (options): Likewise.
25489 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
25491         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25492         implementation which is faster on all x86_64 architectures.
25493         Tested on AMD, Intel Nehalem, SNB, IVB.
25494         * sysdeps/x86_64/strnlen.S: Likewise.
25496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25497         Remove all multiarch strlen and strnlen versions.
25498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25499         Remove strlen and strnlen related parts.
25501         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25502         Inline strlen part.
25503         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25505         * sysdeps/x86_64/multiarch/strlen.S: Remove.
25506         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25507         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25508         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25509         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25510         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25512 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
25514         * manual/memory.texi (Malloc Tunable Parameters):
25515         Sort parameters alphabetically. Add comments for missing entries.
25517 2013-03-17  David S. Miller  <davem@davemloft.net>
25519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25521 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
25523         [BZ #15283]
25524         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25525         for arguments at most half maximum finite value.
25526         * math/libm-test.inc (j0_test): Add more tests.
25527         (j1_test): Likewise.
25528         (y0_test): Likewise.
25529         (y1_test): Likewise.
25530         * sysdeps/i386/fpu/libm-test-ulps: Update.
25531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25533         [BZ #14155]
25534         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25535         1 / x and functions P and Q for arguments above 0x1p256L.
25536         (__ieee754_y0l): Likewise.
25537         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25538         (__ieee754_y1l): Likewise.
25539         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25540         (j1_test): Likewise.
25541         (y0_test): Likewise.
25542         (y1_test): Likewise.
25544 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
25546         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25547         variable.
25549 2013-03-15  Roland McGrath  <roland@hack.frob.com>
25551         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25552         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25553         zero since it's initialized to EXEC_PAGESIZE.
25555         * sysdeps/unix/sysv/linux/ldsodefs.h
25556         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25557         * sysdeps/generic/ldsodefs.h: ... here.
25559 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
25561         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25563         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25564         math/test-snan.c.
25565         * math/test-snan.c: Renamed from
25566         sysdeps/powerpc/fpu/test-powerpc-snan.c.
25567         * math/Makefile (tests): Add test-snan.
25568         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25569         test-powerpc-snan.
25571         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25572         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
25573         functions.
25574         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
25575         __builtin_nan family of functions.
25576         * math/libm-test.inc (initialize): Initialize qnan_value with
25577         __builtin_nan family of functions.
25578         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25579         Remove variables.
25580         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25581         Remove functions.
25582         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
25583         storage class.  Initialize qNaN_var and sNaN_var with
25584         __builtin_nan and __builtin_nans families of functions,
25585         respectively.
25587         * math/libm-test.inc (acosh_test): Also test with qNaN input.
25588         (sqrt_test): Remove duplicate test with qNaN input.
25589         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25590         (round_test, signbit_test, significand_test): Note missing +/-Inf
25591         as well as qNaN tests.
25593         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25594         qNaN_var.  Fix a few strings, too.
25595         * math/libm-test.inc (nan_value): Rename to qnan_value.
25596         * math/gen-libm-test.pl (%beautify): Adjust to that.
25597         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25598         * math/test-misc.c (main): Likewise.
25599         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25600         to __qnan_bytes, and __qnan_union, respectively.
25601         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25602         Likewise.
25603         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25604         and lqnanval, respectively.
25605         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25606         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25607         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25608         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25610         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25611         * math/test-misc.c (main) [__x86_64__]: Enable test for long
25612         doubles.
25614         * math/test-misc.c (main): Fix copy'n'pastos.
25615         * misc/tst-efgcvt.c (special): Likewise.
25617         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25618         Remove declarations.
25620 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25622         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25623         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25624         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25625         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25627 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25629         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25630         macro to return vdso values correctly in IFUNC implementations.
25631         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25632         Optimization by using IFUNC.
25634 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25635             Richard Henderson  <rth@redhat.com>
25636             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25638         * Makefile.in (bench): New target.
25639         * NEWS: Mention the benchmark framework.
25640         * Rules (bench): Likewise.
25641         (binaries-bench): Generate binaries for functions to
25642         benchmark.
25643         * benchtests/Makefile: New makefile for benchmark tests.
25644         * benchtests/bench-skeleton.c: New skeleton file for benchmark
25645         programs.
25646         * benchtests/exp-inputs: New input file for EXP function.
25647         * benchtests/pow-inputs: New input file for POW function.
25648         * scripts/bench.pl: New script to generate source files for
25649         benchmark programs.
25651 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25653         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25654         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25655         computations on mantissa.  Use macros for rounding and
25656         division.
25657         (denorm): Likewise.
25658         (__dbl_mp): Likewise.
25659         (add_magnitudes): Likewise.
25660         (sub_magnitudes): Likewise.
25661         (__mul): Likewise.
25662         (__sqr): Likewise.
25663         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25664         powers of two in terms of TWOPOW macro.
25665         (mp_no): Make type of mantissa as MANTISSA_T.
25666         [!RADIXI]: Define RADIXI.
25667         [!TWO52]: Define TWO52.
25668         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25670         * manual/nptl.texi (cindex): Modify threads to pthreads.
25672 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
25674         * sysdeps/x86_64/preconfigure: Regenerated.
25676 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
25678         [BZ #14155]
25679         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25680         0x1p28 and above.
25681         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25682         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25683         0x1p28 and above.
25684         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25685         * math/libm-test.inc (j0_test): Do not allow one spurious
25686         underflow exception.
25687         (y1_test): Likewise.
25689 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25691         * manual/Makefile (chapters): Add nptl.
25692         * manual/debug.texi (Debugging Support): Add link to Threads
25693         chapter.
25694         * manual/nptl.texi: New file.
25696         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25698 2013-03-14  Petr Baudis  <pasky@ucw.cz>
25700         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25701         for non-NULL pointer before the memory validity test. Pointed
25702         out by Holger Brunck <holger.brunck@keymile.com>.
25704 2013-03-13  Andreas Schwab  <schwab@suse.de>
25706         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25707         instead of .os.
25709 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
25711         * timezone/zic.c: Update from tzcode 2013b.
25713 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
25715         * manual/install.texi (Configuring and compiling):
25716         Mention i686 and i586.
25717         * INSTALL: Regenerate.
25719 2013-03-12  Roland McGrath  <roland@hack.frob.com>
25721         * sysdeps/init_array/elf-init.c: New file.
25722         * csu/elf-init.c
25723         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25724         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25726         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25727         __gmon_start__ as global, but as static with a .preinit_array pointer.
25728         * sysdeps/init_array/gmon-start.c: New file.  Use that.
25729         * sysdeps/init_array/crti.S: New file, empty except for comments.
25730         * sysdeps/init_array/crtn.S: Likewise.
25732 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
25734         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25735         definining bcopy.
25736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25737         Remove Prefer_SSE_for_memop.
25738         * sysdeps/x86_64/multiarch/init-arch.h: Remove
25739         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25740         HAS_PREFER_SSE_FOR_MEMOP.
25741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25742         memset-x86-64.
25743         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25744         Remove bzero, memset ifunc support.
25745         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25746         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25747         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25748         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25750 2013-03-11  Andreas Schwab  <schwab@suse.de>
25752         [BZ #15234]
25753         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25754         by SHLIB_COMPAT.
25755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25756         (GLIBC_2.16): Remove pthread_atfork.
25758 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25760         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25761         (ptestcases.h): Likewise.
25763 2013-03-08  Roland McGrath  <roland@hack.frob.com>
25765         * Makeconfig ($(common-objpfx)config.status): Depend on
25766         sysdeps/*/preconfigure{,.in} too.
25768 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
25770         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25771         (__free_hook): Use void * instead of __malloc_ptr_t.
25772         (__malloc_hook): Likewise.
25773         (__realloc_hook): Likewise.
25774         (__memalign_hook): Likewise.
25775         (__after_morecore_hook): Likewise.
25776         * malloc/arena.c (save_malloc_hook): Likewise.
25777         (save_free_hook): Likewise.
25778         * malloc/hooks.c (malloc_hook_ini): Likewise.
25779         (realloc_hook_ini): Likewise.
25780         (memalign_hook_ini): Likewise.
25781         * malloc/malloc.c (malloc_hook_ini): Likewise.
25782         (realloc_hook_ini): Likewise.
25783         (memalign_hook_ini): Likewise.
25784         (__free_hook): Likewise.
25785         (__malloc_hook): Likewise.
25786         (__realloc_hook): Likewise.
25787         (__memalign_hook): Likewise.
25788         (__libc_malloc): Likewise.
25789         (__libc_free): Likewise.
25790         (__libc_realloc): Likewise.
25791         (__libc_memalign): Likewise.
25792         (__libc_valloc): Likewise.
25793         (__libc_pvalloc): Likewise.
25794         (__libc_calloc): Likewise.
25795         (__posix_memalign): Likewise.
25796         * malloc/morecore.c (__sbrk): Likewise.
25797         (__default_morecore): Likewise.
25799         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25801         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25802         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25803         __malloc_ptrdiff_t.
25805         * malloc/malloc.h (__malloc_size_t): Remove macro.
25806         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25807         __malloc_size_t.
25808         (old_memalign_hook): Likewise.
25809         (old_realloc_hook): Likewise.
25810         (struct hdr): Likewise.
25811         (flood): Likewise.
25812         (mallochook): Likewise.
25813         (memalignhook): Likewise.
25814         (reallochook): Likewise.
25815         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25816         (tr_old_realloc_hook): Likewise.
25817         (tr_old_memalign_hook): Likewise.
25818         (tr_mallochook): Likewise.
25819         (tr_reallochook): Likewise.
25820         (tr_memalignhook): Likewise.
25822 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25824         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25825         default_ldbl_pack and using as default implementation.
25826         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25827         implementation.
25828         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25829         redundant definition.
25830         (ldbl_insert_mantissa): Likewise.
25831         (ldbl_canonicalize): Likewise.
25832         (ldbl_nearbyint): Likewise.
25833         (ldbl_pack): Rename to ldbl_pack_ppc.
25834         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25835         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25836         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25838 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25841         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25842         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25843         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25844         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25845         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25846         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25847         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25849 2013-03-07  Andreas Jaeger  <aj@suse.de>
25851         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25852         bits/mman-linux.h.
25854 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25856         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25857         Include mpa.h and declare __MPEXP.
25858         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25859         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25860         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25861         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25862         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25863         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25864         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25866         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25867         (__slowpow): Use long double EXPL and LOGL functions to
25868         compute POW.
25869         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25870         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25871         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25872         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25873         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25874         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25877         intermediate variable to calculate exponent.
25878         (__sqr): Likewise.
25879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25880         Likewise.
25881         (__sqr): Likewise.
25883         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25884         [!NO__SQR]: Define __sqr.
25885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25886         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25887         sysdeps/ieee754/dbl-64/mpa.c.
25888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25890         [BZ #12723]
25891         * posix/Makefile (tests): Add tst-pathconf.
25892         * posix/tst-pathconf.c: New test case.
25893         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25894         _PC_PIPE_BUF.
25895         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25897 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25899         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25901 2013-03-06  Andreas Jaeger  <aj@suse.de>
25903         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25904         definition via __MAP_ANONYMOUS.
25906         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25907         it's not part of Linux headers.
25909         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25910         (MAP_HUGE_MASK): Define.
25912         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25913         Define.
25914         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25915         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25916         Define.
25917         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25918         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25919         Define.
25920         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25921         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25922         Define.
25923         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25925         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25926         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25927         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25928         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25929         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25930         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25932         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25933         Handle f2fs.
25935         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25936         Handle f2fs and efivarfs.
25938         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25939         f2fs.
25941         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25942         (EFIVARFS_MAGIC): Add.
25943         (F2FS_LINK_MAX): Add.
25945 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25947         * stdio-common/vfprintf.c: Replace __builtin_expect with
25948         __glibc_unlikely.
25950 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25952         [BZ #13550]
25953         * sysdeps/generic/bp-sym.h: Remove file.
25954         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25955         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25956         <bp-sym.h> and <bp-asm.h>.
25957         (__longjmp): Don't use BP_SYM.
25958         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25959         and <bp-asm.h>.
25960         (memcpy): Don't use BP_SYM.
25961         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25962         <bp-sym.h> and <bp-asm.h>.
25963         (memcpy): Don't use BP_SYM.
25964         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25965         <bp-asm.h>.
25966         (memcpy): Don't use BP_SYM.
25967         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25968         <bp-asm.h>.
25969         (memset): Don't use BP_SYM.
25970         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25971         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25972         (__bzero): Don't use BP_SYM.
25973         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25974         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25975         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25976         <bp-sym.h> and <bp-asm.h>.
25977         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25978         pointers.
25979         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25980         <bp-sym.h> and <bp-asm.h>.
25981         (memcpy): Don't use BP_SYM.
25982         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25983         <bp-sym.h> and <bp-asm.h>.
25984         (memset): Don't use BP_SYM.
25985         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25986         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25987         (__bzero): Don't use BP_SYM.
25988         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25989         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25990         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25991         <bp-sym.h> and <bp-asm.h>.
25992         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25993         pointers.
25994         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25995         <bp-sym.h> and <bp-asm.h>.
25996         (memcpy): Don't use BP_SYM.
25997         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25998         <bp-sym.h> and <bp-asm.h>.
25999         (memset): Don't use BP_SYM.
26000         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26001         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26002         (__bzero): Don't use BP_SYM.
26003         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26004         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26005         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26006         <bp-sym.h> and <bp-asm.h>.
26007         (__memchr): Don't use BP_SYM.
26008         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26009         <bp-sym.h> and <bp-asm.h>.
26010         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26011         pointers.
26012         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26013         <bp-sym.h> and <bp-asm.h>.
26014         (memcpy): Don't use BP_SYM.
26015         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26016         <bp-sym.h> and <bp-asm.h>.
26017         (__mempcpy): Don't use BP_SYM.
26018         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26019         <bp-sym.h> and <bp-asm.h>.
26020         (__memrchr): Don't use BP_SYM.
26021         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26022         <bp-sym.h> and <bp-asm.h>.
26023         (memset): Don't use BP_SYM.
26024         (__bzero): Likewise.
26025         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26026         <bp-sym.h> and <bp-asm.h>.
26027         (__rawmemchr): Don't use BP_SYM.
26028         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26029         <bp-sym.h> and <bp-asm.h>.
26030         (__STRCMP): Don't use BP_SYM.
26031         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26032         <bp-sym.h> and <bp-asm.h>.
26033         (strchr): Don't use BP_SYM.
26034         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26035         <bp-sym.h> and <bp-asm.h>.
26036         (__strchrnul): Don't use BP_SYM.
26037         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26038         <bp-sym.h> and <bp-asm.h>.
26039         (strlen): Don't use BP_SYM.
26040         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26041         <bp-sym.h> and <bp-asm.h>.
26042         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26043         pointers.
26044         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26045         <bp-sym.h> and <bp-asm.h>.
26046         (__strnlen): Don't use BP_SYM.
26047         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26048         <bp-sym.h> and <bp-asm.h>.
26049         (__GI__setjmp): Don't use BP_SYM.
26050         (_setjmp): Likewise.
26051         (__sigsetjmp): Likewise.
26052         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26053         (L(start_addresses)): Don't use BP_SYM.
26054         (_start): Likewise.
26055         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26056         <bp-asm.h>.
26057         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26058         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26059         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26060         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26061         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26062         <bp-asm.h>.
26063         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26064         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
26065         about bounded pointers.
26066         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26067         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26068         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26069         <bp-asm.h>.
26070         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26071         about bounded pointers.  Remove GKM FIXME comments.
26072         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26073         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26074         <bp-asm.h>.
26075         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26076         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
26077         Remove GKM FIXME comments.
26078         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26079         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26080         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26081         <bp-asm.h>.
26082         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26083         about bounded pointers.  Remove GKM FIXME comment.
26084         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26085         and <bp-asm.h>.
26086         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26087         pointers.
26088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26089         <bp-sym.h> and <bp-asm.h>.
26090         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26092         <bp-sym.h> and <bp-asm.h>.
26093         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26094         comment.
26096 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26098         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26099         call free(NULL).
26101 2013-03-05  David S. Miller  <davem@davemloft.net>
26103         * po/es.po: Update from translation team.
26105 2013-03-05  Andreas Jaeger  <aj@suse.de>
26107         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26108         <bits/mman-linux.h>.
26109         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26110         is fine.
26111         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26112         <bits/mman-linux.h> to end of file.
26113         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26114         is fine.
26115         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26116         <bits/mman-linux.h> to end of file.
26117         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26118         is fine.
26119         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26120         <bits/mman-linux.h> to end of file.
26122         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26123         (MCL_CURRENT, MCL_FUTURE): Define here.
26125 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26127         [BZ #15232]
26128         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26129         attribute_hidden.
26130         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26132 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26134         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26135         fourth parameter needed for rt_sigprocmask syscall.
26136         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26137         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26138         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26139         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26140         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26141         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26143 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
26145         [BZ #13550]
26146         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26147         comment about bounded pointers.
26148         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26149         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26151 2013-03-04  Andreas Jaeger  <aj@suse.de>
26153         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26154         common definitions.
26156         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26157         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26158         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26159         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26160         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26161         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26163 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26165         [BZ #15055]
26166         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26167         __ieee754_sqrl instead of __sqrl.
26169 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
26171         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26172         * sysdeps/powerpc/fpu_control.h: ... here.
26173         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26174         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26175         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26176         * sysdeps/powerpc/bits/mathinline.h: ... here.
26178 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26180         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26181         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26182         to just [NEED_DL_SYSINFO_DSO].
26183         * elf/dl-support.c: Likewise.
26184         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26185         * elf/rtld.c (dl_main): Likewise.
26186         * elf/setup-vdso.h (setup_vdso): Likewise.
26187         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26188         * sysdeps/unix/sysv/linux/dl-sysdep.c
26189         (_dl_discover_osversion): Likewise.
26191 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26193         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26194         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26196 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26198         * NEWS: Mention libm performance improvements and non-x86 PI
26199         futex support.
26201         * csu/libc-start.c (__pthread_initialize_minimal): Change
26202         function arguments.
26203         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26205 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26207         [BZ #13550]
26208         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26209         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26210         <bp-sym.h> and <bp-asm.h>.
26211         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26212         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26213         and <bp-asm.h>.
26214         (memcpy): Don't use BP_SYM.
26215         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26216         <bp-asm.h>.
26217         (__mpn_add_n): Don't use BP_SYM.
26218         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26219         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26220         and <bp-asm.h>.
26221         (__mpn_addmul_1): Don't use BP_SYM.
26222         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26223         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26224         <bp-sym.h>.
26225         (_setjmp): Don't use BP_SYM.
26226         (__novmx_setjmp): Likewise.
26227         (__GI__setjmp): Likewise.
26228         (__vmx_setjmp): Likewise.
26229         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26230         <bp-sym.h>.
26231         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26232         (__bzero): Don't use BP_SYM.
26233         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26234         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26235         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26236         <bp-sym.h> and <bp-asm.h>.
26237         (memcpy): Don't use BP_SYM.
26238         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26239         <bp-sym.h> and <bp-asm.h>.
26240         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26241         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26242         <bp-sym.h> and <bp-asm.h>.
26243         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26244         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26245         <bp-asm.h>.
26246         (__mpn_lshift): Don't use BP_SYM.
26247         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26248         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26249         <bp-asm.h>.
26250         (memset): Don't use BP_SYM.
26251         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26252         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26253         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26254         <bp-asm.h>.
26255         (__mpn_mul_1): Don't use BP_SYM.
26256         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26257         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26258         <bp-sym.h> and <bp-asm.h>.
26259         (memcmp): Don't use BP_SYM.
26260         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26261         <bp-sym.h> and <bp-asm.h>.
26262         (memcpy): Don't use BP_SYM.
26263         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26264         <bp-sym.h> and <bp-asm.h>.
26265         (memset): Don't use BP_SYM.
26266         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26267         <bp-sym.h> and <bp-asm.h>.
26268         (strncmp): Don't use BP_SYM.
26269         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26270         <bp-sym.h> and <bp-asm.h>.
26271         (memcpy): Don't use BP_SYM.
26272         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26273         <bp-sym.h> and <bp-asm.h>.
26274         (memset): Don't use BP_SYM.
26275         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26276         <bp-sym.h> and <bp-asm.h>.
26277         (__memchr): Don't use BP_SYM.
26278         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26279         <bp-sym.h> and <bp-asm.h>.
26280         (memcmp): Don't use BP_SYM.
26281         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26282         <bp-sym.h> and <bp-asm.h>.
26283         (memcpy): Don't use BP_SYM.
26284         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26285         <bp-sym.h> and <bp-asm.h>.
26286         (__mempcpy): Don't use BP_SYM.
26287         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26288         <bp-sym.h> and <bp-asm.h>.
26289         (__memrchr): Don't use BP_SYM.
26290         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26291         <bp-sym.h> and <bp-asm.h>.
26292         (memset): Don't use BP_SYM.
26293         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26294         <bp-sym.h> and <bp-asm.h>.
26295         (__rawmemchr): Don't use BP_SYM.
26296         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26297         <bp-sym.h> and <bp-asm.h>.
26298         (__STRCMP): Don't use BP_SYM.
26299         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26300         <bp-sym.h> and <bp-asm.h>.
26301         (strchr): Don't use BP_SYM.
26302         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26303         <bp-sym.h> and <bp-asm.h>.
26304         (__strchrnul): Don't use BP_SYM.
26305         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26306         <bp-sym.h> and <bp-asm.h>.
26307         (strlen): Don't use BP_SYM.
26308         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26309         <bp-sym.h> and <bp-asm.h>.
26310         (strncmp): Don't use BP_SYM.
26311         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26312         <bp-sym.h> and <bp-asm.h>.
26313         (__strnlen): Don't use BP_SYM.
26314         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26315         <bp-asm.h>.
26316         (__mpn_rshift): Don't use BP_SYM.
26317         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26318         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26319         <bp-sym.h> and <bp-asm.h>.
26320         (__sigsetjmp): Don't use BP_SYM.
26321         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26322         (L(start_addresses)): Don't use BP_SYM.
26323         (_start): Likewise.
26324         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26325         <bp-asm.h>.
26326         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26327         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26328         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26329         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26330         <bp-asm.h>.
26331         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26332         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26333         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26334         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26335         <bp-asm.h>.
26336         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26337         comments.
26338         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26339         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26340         <bp-asm.h>.
26341         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
26342         FIXME comments.
26343         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26344         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26345         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26346         <bp-asm.h>.
26347         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26348         comment.
26349         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26350         and <bp-asm.h>.
26351         (strncmp): Don't use BP_SYM,
26352         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26353         <bp-asm.h>.
26354         (__mpn_sub_n): Don't use BP_SYM.
26355         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26356         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26357         and <bp-asm.h>.
26358         (__mpn_submul_1): Don't use BP_SYM.
26359         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26361         <bp-sym.h> and <bp-asm.h>.
26362         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26364         <bp-sym.h> and <bp-asm.h>.
26365         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26366         comment.
26368 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26371         Use ZK to minimize writes to Z.
26372         (sub_magnitudes): Simplify code a bit.
26373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26374         Use ZK to minimize writes to Z.
26375         (sub_magnitudes): Simplify code a bit.
26377 2013-02-27  Roland McGrath  <roland@hack.frob.com>
26379         * csu/gmon-start.c: Add special exception to license text.
26381 2013-02-27  Richard Henderson  <rth@redhat.com>
26383         * scripts/config.guess: Update from config.git.
26384         * scripts/config.sub: Likewise.
26386 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26388         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26390         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26392         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26394         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26396         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26398 2013-02-26  Roland McGrath  <roland@hack.frob.com>
26400         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26401         [$(build-shared = yes].
26403 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26405         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26406         (__mul): Reduce iterations for calculating mantissa.
26408         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26409         MPTWO.
26410         (__mpranred): Likewise.
26412         [BZ #15160]
26413         * malloc/memusagestat.c (main): Draw graphs for heap and stack
26414         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26416 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
26418         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26419         Define __attribute__.
26421 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26423         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26424         unused.
26425         * posix/regex_internal.h (__attribute): Remove.
26426         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26427         (re_string_context_at): Likewise.
26428         (bitset_not): Use __attribute__ and mark function as possibly
26429         unused.
26430         (bitset_merge): Likewise.
26431         (bitset_mask): Likewise.
26432         (re_string_char_size_at): Likewise.
26433         (re_string_wchar_at): Likewise.
26434         (re_string_elem_size_at): Likewise.
26436 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26438         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26439         code.
26440         (cc32): Likewise.
26442         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26443         (__acr): Likewise.
26444         (__cpy): Likewise.
26445         (norm): Likewise.
26446         (denorm): Likewise.
26447         (__dbl_mp): Likewise.
26448         (add_magnitudes): Likewise.
26449         (sub_magnitudes): Likewise.
26450         (__mul): Likewise.
26451         (__inv): Likewise.
26453         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26454         style.
26456         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26457         style.
26459         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26460         code.
26462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26463         up changes with default code.
26464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26465         Likewise.
26467 2013-02-24  Allan McRae  <allan@archlinux.org>
26469         * manual/socket.texi (The Internet Namespace): Order menu items
26470         to match that in the file.
26472         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26473         node listing of the info page menu.
26475 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
26477         [BZ #13550]
26478         * sysdeps/i386/bp-asm.h: Remove file.
26479         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26480         (PARMS): Do not use macros from bp-asm.h.
26481         (S1): Likewise.
26482         (S2): Likewise.
26483         (SIZE): Likewise.
26484         (__mpn_add_n): Do not use BP_SYM
26485         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26486         "bp-asm.h".
26487         (PARMS): Do not use macros from bp-asm.h.
26488         (S1): Likewise.
26489         (SIZE): Likewise.
26490         (__mpn_addmul_1): Do not use BP_SYM
26491         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26492         "bp-asm.h".
26493         (PARMS): Do not use macros from bp-asm.h.
26494         (SIGMSK): Likewise.
26495         (_setjmp): Likewise.  Do not use BP_SYM.
26496         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26497         "bp-asm.h".
26498         (PARMS): Do not use macros from bp-asm.h.
26499         (SIGMSK): Likewise.
26500         (setjmp): Likewise.  Do not use BP_SYM.
26501         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26502         "bp-asm.h".
26503         (PARMS): Do not use macros from bp-asm.h.
26504         (__frexp): Do not use BP_SYM.
26505         (frexp): Likewise.
26506         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26507         "bp-asm.h".
26508         (PARMS): Do not use macros from bp-asm.h.
26509         (__frexpf): Do not use BP_SYM.
26510         (frexpf): Likewise.
26511         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26512         "bp-asm.h".
26513         (PARMS): Do not use macros from bp-asm.h.
26514         (__frexpl): Do not use BP_SYM.
26515         (frexpl): Likewise.
26516         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26517         "bp-asm.h".
26518         (PARMS): Do not use macros from bp-asm.h.
26519         (__remquo): Do not use BP_SYM.
26520         (remquo): Likewise.
26521         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26522         "bp-asm.h".
26523         (PARMS): Do not use macros from bp-asm.h.
26524         (__remquof): Do not use BP_SYM.
26525         (remquof): Likewise.
26526         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26527         "bp-asm.h".
26528         (PARMS): Do not use macros from bp-asm.h.
26529         (__remquol): Do not use BP_SYM.
26530         (remquol): Likewise.
26531         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26532         "bp-asm.h".
26533         (PARMS): Do not use macros from bp-asm.h.
26534         (DEST): Likewise.
26535         (SRC): Likewise.
26536         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
26537         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26538         "bp-asm.h".
26539         (PARMS): Do not use macros from bp-asm.h.
26540         (strlen): Do not use BP_SYM.
26541         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26542         "bp-asm.h".
26543         (PARMS): Do not use macros from bp-asm.h.
26544         (S1): Likewise.
26545         (S2): Likewise.
26546         (SIZE): Likewise.
26547         (__mpn_add_n): Do not use BP_SYM.
26548         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26549         "bp-asm.h".
26550         (PARMS): Do not use macros from bp-asm.h.
26551         (S1): Likewise.
26552         (SIZE): Likewise.
26553         (__mpn_addmul_1): Do not use BP_SYM.
26554         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26555         weak_alias.
26556         (bzero): Likewise.
26557         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26558         "bp-asm.h".
26559         (PARMS): Do not use macros from bp-asm.h.
26560         (S): Likewise.
26561         (SIZE): Likewise.
26562         (__mpn_lshift): Do not use BP_SYM.
26563         * sysdeps/i386/i586/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/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26571         libc_hidden_def and weak_alias.
26572         (mempcpy): Do not use BP_SYM in weak_alias.
26573         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26574         "bp-asm.h".
26575         (PARMS): Do not use macros from bp-asm.h.
26576         (DEST): Likewise.
26577         (LEN): Likewise.
26578         [!BZERO_P] (CHR): Likewise.
26579         (memset): Likewise.  Do not use BP_SYM.
26580         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26581         "bp-asm.h".
26582         (PARMS): Do not use macros from bp-asm.h.
26583         (S1): Likewise.
26584         (SIZE): Likewise.
26585         (__mpn_mul_1): Do not use BP_SYM.
26586         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26587         "bp-asm.h".
26588         (PARMS): Do not use macros from bp-asm.h.
26589         (S): Likewise.
26590         (SIZE): Likewise.
26591         (__mpn_rshift): Do not use BP_SYM.
26592         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26593         "bp-asm.h".
26594         (PARMS): Do not use macros from bp-asm.h.
26595         (STR): Likewise.
26596         (CHR): Likewise.
26597         (strchr): Likewise.  Do not use BP_SYM.
26598         (index): Do not use BP_SYM in weak_alias.
26599         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26600         "bp-asm.h".
26601         (PARMS): Do not use macros from bp-asm.h.
26602         (DEST): Likewise.
26603         (SRC): Likewise.
26604         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
26605         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26606         "bp-asm.h".
26607         (PARMS): Do not use macros from bp-asm.h.
26608         (strlen): Do not use BP_SYM.
26609         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26610         "bp-asm.h".
26611         (PARMS): Do not use macros from bp-asm.h.
26612         (S1): Likewise.
26613         (S2): Likewise.
26614         (SIZE): Likewise.
26615         (__mpn_sub_n): Do not use BP_SYM.
26616         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26617         "bp-asm.h".
26618         (PARMS): Do not use macros from bp-asm.h.
26619         (S1): Likewise.
26620         (SIZE): Likewise.
26621         (__mpn_submul_1): Do not use BP_SYM.
26622         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26623         "bp-asm.h".
26624         (PARMS): Do not use macros from bp-asm.h.
26625         (S1): Likewise.
26626         (S2): Likewise.
26627         (SIZE): Likewise.
26628         (__mpn_add_n): Do not use BP_SYM.
26629         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26630         weak_alias.
26631         (bzero): Likewise.
26632         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26633         "bp-asm.h".
26634         (PARMS): Do not use macros from bp-asm.h.
26635         (BLK2): Likewise.
26636         (LEN): Likewise.
26637         (memcmp): Do not use BP_SYM.
26638         (bcmp): Do not use BP_SYM in weak_alias.
26639         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26640         "bp-asm.h".
26641         (PARMS): Do not use macros from bp-asm.h.
26642         (DEST): Likewise.
26643         (SRC): Likewise.
26644         (LEN): Likewise.
26645         (memcpy): Likewise.  Do not use BP_SYM.
26646         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26647         "bp-asm.h".
26648         (PARMS): Do not use macros from bp-asm.h.
26649         (DEST): Likewise.
26650         (SRC): Likewise.
26651         (LEN): Likewise.
26652         (memmove): Likewise.  Do not use BP_SYM.
26653         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26654         "bp-asm.h".
26655         (PARMS): Do not use macros from bp-asm.h.
26656         (DEST): Likewise.
26657         (SRC): Likewise.
26658         (LEN): Likewise.
26659         (__mempcpy): Likewise.  Do not use BP_SYM.
26660         (mempcpy): Do not use BP_SYM in weak_alias.
26661         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26662         "bp-asm.h".
26663         (PARMS): Do not use macros from bp-asm.h.
26664         (DEST): Likewise.
26665         (LEN): Likewise.
26666         [!BZERO_P] (CHR): Likewise.
26667         (memset): Likewise.  Do not use BP_SYM.
26668         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26669         "bp-asm.h".
26670         (PARMS): Do not use macros from bp-asm.h.
26671         (STR2): Likewise.
26672         (strcmp): Do not use BP_SYM.
26673         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26674         "bp-asm.h".
26675         (PARMS): Do not use macros from bp-asm.h.
26676         (STR): Likewise.
26677         (DELIM): Likewise.
26678         [USE_AS_STRTOK_R] (SAVE): Likewise.
26679         (FUNCTION): Likewise.  Do not use BP_SYM.
26680         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26681         aliases.
26682         (strtok_r): Likewise.
26683         (__GI___strtok_r): Likewise.
26684         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26685         (PARMS): Do not use macros from bp-asm.h.
26686         (S): Likewise.
26687         (SIZE): Likewise.
26688         (__mpn_lshift): Do not use BP_SYM.
26689         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26690         (PARMS): Do not use macros from bp-asm.h.
26691         (STR): Likewise.
26692         (CHR): Likewise.
26693         (__memchr): Do not use BP_SYM.
26694         (memchr): Do not use BP_SYM in weak_alias.
26695         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26696         (PARMS): Do not use macros from bp-asm.h.
26697         (BLK2): Likewise.
26698         (LEN): Likewise.
26699         (memcmp): Do not use BP_SYM.
26700         (bcmp): Do not use BP_SYM in weak_alias.
26701         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26702         (PARMS): Do not use macros from bp-asm.h.
26703         (S1): Likewise.
26704         (SIZE): Likewise.
26705         (__mpn_mul_1): Do not use BP_SYM.
26706         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26707         "bp-asm.h".
26708         (PARMS): Do not use macros from bp-asm.h.
26709         (STR): Likewise.
26710         (CHR): Likewise.
26711         (__rawmemchr): Do not use BP_SYM.
26712         (rawmemchr): Do not use BP_SYM in weak_alias.
26713         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26714         (PARMS): Do not use macros from bp-asm.h.
26715         (S): Likewise.
26716         (SIZE): Likewise.
26717         (__mpn_rshift): Do not use BP_SYM.
26718         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26719         (PARMS): Do not use macros from bp-asm.h.
26720         (SIGMSK): Likewise.
26721         (__sigsetjmp): Likewise.  Do not use BP_SYM.
26722         * sysdeps/i386/start.S: Do not include "bp-sym.h".
26723         (_start): Do not use BP_SYM.
26724         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26725         (PARMS): Do not use macros from bp-asm.h.
26726         (DEST): Likewise.
26727         (SRC): Likewise.
26728         (__stpcpy): Likewise.  Do not use BP_SYM.
26729         (stpcpy): Do not use BP_SYM in weak_alias.
26730         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26731         "bp-asm.h".
26732         (PARMS): Do not use macros from bp-asm.h.
26733         (DEST): Likewise.
26734         (SRC): Likewise.
26735         (LEN): Likewise.
26736         (__stpncpy): Likewise.  Do not use BP_SYM.
26737         (stpncpy): Do not use BP_SYM in weak_alias.
26738         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26739         (PARMS): Do not use macros from bp-asm.h.
26740         (STR): Likewise.
26741         (CHR): Likewise.
26742         (strchr): Likewise.  Do not use BP_SYM.
26743         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26744         "bp-asm.h".
26745         (PARMS): Do not use macros from bp-asm.h.
26746         (STR): Likewise.
26747         (CHR): Likewise.
26748         (__strchrnul): Likewise.  Do not use BP_SYM.
26749         (strchrnul): Do not use BP_SYM in weak_alias.
26750         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26751         "bp-asm.h".
26752         (PARMS): Do not use macros from bp-asm.h.
26753         (STOP): Likewise.
26754         (strcspn): Do not use BP_SYM.
26755         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26756         "bp-asm.h".
26757         (PARMS): Do not use macros from bp-asm.h.
26758         (STR): Likewise.
26759         (STOP): Likewise.
26760         (strpbrk): Likewise.  Do not use BP_SYM.
26761         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26762         "bp-asm.h".
26763         (PARMS): Do not use macros from bp-asm.h.
26764         (STR): Likewise.
26765         (CHR): Likewise.
26766         (strrchr): Likewise.  Do not use BP_SYM.
26767         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26768         (PARMS): Do not use macros from bp-asm.h.
26769         (SKIP): Likewise.
26770         (strspn): Do not use BP_SYM.
26771         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26772         (PARMS): Do not use macros from bp-asm.h.
26773         (STR): Likewise.
26774         (DELIM): Likewise.
26775         (SAVE): Likewise.
26776         (FUNCTION): Likewise.  Do not use BP_SYM.
26777         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26778         aliases.
26779         (strtok_r): Likewise.
26780         (__GI___strtok_r): Likewise.
26781         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26782         (PARMS): Do not use macros from bp-asm.h.
26783         (S1): Likewise.
26784         (S2): Likewise.
26785         (SIZE): Likewise.
26786         (__mpn_sub_n): Do not use BP_SYM.
26787         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26788         "bp-asm.h".
26789         (PARMS): Do not use macros from bp-asm.h.
26790         (S1): Likewise.
26791         (SIZE): Likewise.
26792         (__mpn_submul_1): Do not use BP_SYM.
26793         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26794         <bp-sym.h>.
26795         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26796         and <bp-asm.h>.
26797         (PARMS): Do not use macros from bp-asm.h.
26798         (FLAGS): Likewise.
26799         (PTID): Likewise.
26800         (TLS): Likewise.
26801         (CTID): Likewise.
26802         (__clone): Do not use BP_SYM.
26803         (clone): Do not use BP_SYM in weak_alias.
26804         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26805         and <bp-asm.h>.
26806         (PARMS): Do not use macros from bp-asm.h.
26807         (LEN): Likewise.
26808         (__mmap64): Do not use BP_SYM.
26809         (mmap64): Do not use BP_SYM in weak_alias.
26810         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26811         <bp-sym.h> and <bp-asm.h>.
26812         (PARMS): Do not use macros from bp-asm.h.
26813         (__posix_fadvise64_l64): Do not use BP_SYM.
26814         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26815         (PARMS): Do not use macros from bp-asm.h.
26816         (NSOPS): Likewise.
26817         (semtimedop): Do not use BP_SYM.
26818         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26819         and <bp-asm.h>.
26821 2013-02-21  Allan McRae  <allan@archlinux.org>
26823         * manual/message.texi (Charset conversion in gettext):
26824         Move @end statement to beginning of line.
26826 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26829         static.
26830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26831         Likewise.
26833         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26834         (denorm): Likewise.
26835         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26838 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26840         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26841         tail-call to the resolved function if pltexit isn't needed.
26843 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26846         or Y being zero as being unlikely.
26847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26848         Likewise.
26850 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26852         * manual/nss.texi (System Databases and Name Service Switch):
26853         Remove frobnicate @pxref.
26855 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26857         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26858         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26860 2013-02-20  Petr Machata  <pmachata@redhat.com>
26862         * elf/elf.h (R_ARM_TARGET1): New macro.
26863         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26864         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26865         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26866         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26867         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26868         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26869         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26870         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26871         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26872         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26873         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26874         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26875         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26876         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26877         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26878         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26879         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26880         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26881         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26882         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26883         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26884         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26885         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26886         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26887         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26888         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26889         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26890         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26891         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26892         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26893         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26894         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26895         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26896         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26897         (R_ARM_THM_GOT_BREL12): Likewise.
26898         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26899         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26900         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26901         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26902         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26903         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26904         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26905         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26906         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26908 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26910         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26911         __attribute_used__ to __attribute__ ((unused)).
26913 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26915         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26916         powerpc mpa.c.
26917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26918         comment formatting.
26919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26921 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26923         [BZ #13550]
26924         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26925         Remove macro.
26926         (ENTER): Remove both macro definitions.
26927         (LEAVE): Likewise.
26928         (CHECK_BOUNDS_LOW): Likewise.
26929         (CHECK_BOUNDS_HIGH): Likewise.
26930         (CHECK_BOUNDS_BOTH): Likewise.
26931         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26932         (RETURN_BOUNDED_POINTER): Likewise.
26933         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26934         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26935         (POP_ERRNO_LOCATION_RETURN): Likewise.
26936         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26937         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26938         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26939         macros.
26940         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26941         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26942         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26943         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26944         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26945         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26946         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26947         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26948         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26949         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26950         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26951         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26952         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26953         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26954         removed macros.
26955         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26956         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26957         macros.
26958         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26959         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26960         * sysdeps/i386/i586/memset.S (memset): Likewise.
26961         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26962         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26963         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26964         macros.
26965         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26966         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26967         Change uses of L(2) to L(out).
26968         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26969         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26970         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26971         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26972         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26973         removed macros.
26974         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26975         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26976         macros.
26977         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26978         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26979         (RETURN): Do not use macro LEAVE.
26980         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26981         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26982         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26983         * sysdeps/i386/i686/memset.S (memset): Likewise.
26984         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26985         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26986         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26987         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26988         Likewise.
26989         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26990         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26991         L(1_2) and L(1_3) into L(1).
26992         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26993         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26994         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26995         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26996         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26997         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26998         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26999         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27000         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27001         macros.
27002         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27003         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27004         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27005         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27006         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27007         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27008         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27009         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27010         * sysdeps/i386/strcspn.S (strcspn): Likewise.
27011         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27012         * sysdeps/i386/strrchr.S (strrchr): Likewise.
27013         * sysdeps/i386/strspn.S (strspn): Likewise.
27014         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27015         conditional code.
27016         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27017         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27018         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27019         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
27020         L(1_3) into L(1_1).
27021         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27022         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27023         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27024         macros.
27025         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27027 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
27029         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27030         macro.
27032 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27034         * math/atest-exp.c (exp_mpn): Remove ROUND.
27035         * math/atest-exp2.c (exp_mpn): Likewise.
27036         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27038         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27039         * stdlib/tst-tls-atexit-lib.c: Likewise.
27040         * stdlib/tst-tls-atexit.c: Likewise.
27042 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27044         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27045         and __attribute_alloc_size__.
27047 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27049         * include/programs/xmalloc.h: Change __attribute_alloc_size to
27050         __attribute_alloc_size__.
27051         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27052         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27054 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27056         * include/programs/xmalloc.h: New file.
27057         * catgets/gencat.c: Include it.
27058         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27059         * elf/pldd.c: Likewise.
27060         * iconv/iconv_charmap.c: Likewise.
27061         * iconv/iconvconfig.c: Likewise.
27062         * iconv/strtab.c: Likewise.
27063         * locale/programs/locale.c: Likewise.
27064         * locale/programs/localedef.h: Likewise.
27065         * locale/programs/simple-hash.c: Likewise.
27066         * nscd/nscd.h: Likewise.
27067         * nss/makedb.c: Likewise.
27068         * sysdeps/generic/ldconfig.h: Likewise.
27070 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27072         * Versions.def: Add GLIBC_2.18.
27073         * include/link.h (struct link_map): New member l_tls_dtor_count.
27074         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27075         (__call_tls_dtors): Likewise.
27076         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27077         __cxa_thread_atexit_impl.
27078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27079         Likewise.
27080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27081         Likewise.
27082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27083         Likewise.
27084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27085         Likewise.
27086         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27088         Likewise.
27089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27090         Likewise.
27091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27093         Likewise.
27094         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27095         (tests): Add test case tst-tls-atexit.
27096         (modules-names): Add shared library for tst-tls-atexit.
27097         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27098         (GLIBC_PRIVATE): Add __call_tls_dtors.
27099         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27100         for libstdc++.
27101         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27102         * stdlib/tst-tls-atexit.c: New test case.
27103         * stdlib/tst-tls-atexit-lib.c: New test case.
27105         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27107         * elf/Versions (ld): Add _dl_find_dso_for_object.
27108         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27109         * elf/dl-open.c (_dl_find_dso_for_object): New function.
27110         (dl_open_worker): Use _dl_find_dso_for_object.
27111         * elf/dl-sym.c (do_sym): Likewise.
27112         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27114 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27116         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27117         Syntactic changes only.
27118         (_dl_runtime_profile): Do a tail-call to the resolved function.
27120 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
27122         [BZ #13550]
27123         * sysdeps/x86_64/bp-asm.h: Remove file.
27124         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27125         <bp-sym.h> and <bp-asm.h>.
27126         (__clone): Do not use BP_SYM.
27127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27128         <bp-sym.h> and <bp-asm.h>.
27129         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27130         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27131         "bp-asm.h".
27132         (_setjmp): Do not use BP_SYM.
27133         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27134         "bp-asm.h".
27135         (setjmp): Do not use BP_SYM.
27136         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27137         libc_hidden_def.
27138         (mempcpy): Do not use BP_SYM in weak_alias.
27139         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27140         "bp-asm.h".
27141         (strchr): Do not use BP_SYM.
27142         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27143         "bp-asm.h".
27144         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27145         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27146         (_start): Do not use BP_SYM.
27147         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27148         "bp-asm.h".
27149         (strcat): Do not use BP_SYM.
27150         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27151         "bp-asm.h".
27152         (STRCMP): Do not use BP_SYM.
27153         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27154         "bp-asm.h".
27155         (STRCPY): Do not use BP_SYM.
27156         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27157         "bp-asm.h".
27158         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27159         "bp-asm.h".
27160         (FUNCTION): Do not use BP_SYM.
27161         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27162         weak_alias.
27163         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27165 2013-02-17  Andreas Jaeger  <aj@suse.de>
27167         * time/Versions: Sort entries.
27168         * string/Versions: Likewise.
27169         * resolv/Versions: Likewise.
27170         * posix/Versions: Likewise.
27171         * iconv/Versions: Likewise.
27172         * elf/Versions: Likewise.
27173         * wcsmbs/Versions: Likewise.
27175 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27177         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27178         loop termination condition.
27180         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27181         variable to calculate EZ.
27182         (__sqr): Likewise.
27184         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27185         the lower precision input.
27187 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27189         [BZ #13550]
27190         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27191         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27192         (run-via-rtld-prefix): Do not handle %-bp tests.
27193         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27194         (all-object-suffixes): Remove .ob.
27195         (bppfx): Remove variable.
27196         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27197         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27198         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27199         [$(build-bounded) = yes] (libtype.ob): Likewise.
27200         * Makerules (elide-routines.ob): Remove variable.
27201         (do-tests-clean): Do not handle *-bp.out.
27202         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27203         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27204         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27205         (tests): Do not include $(tests-bp.out).
27206         (xtests): Do not include $(xtests-bp.out).
27207         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27208         [$(build-bounded) = yes] ($(addprefix
27209         $(objpfx),$(binaries-bounded))): Remove rule.
27210         ($(objpfx)%-bp.out): Remove rule.
27211         * config.make.in (build-bounded): Remove variable.
27212         * crypt/Makefile [$(build-bounded) = yes]
27213         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27214         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27215         append to variable.
27216         [$(build-bounded) = yes] (install-lib): Likewise.
27217         [$(build-bounded) = yes] (generated): Likewise.
27218         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27219         Remove rule.
27220         * intl/Makefile [$(build-bounded) = yes]
27221         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27222         * math/Makefile [$(build-bounded) = yes]
27223         ($(tests:%=$(objpfx)%-bp): Likewise.
27224         * misc/Makefile [$(build-bounded) = yes]
27225         ($(objpfx)tst-tsearch-bp): Likewise.
27226         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27227         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27228         Remove dependency.
27229         * string/Makefile (o-objects.ob): Remove variable.
27230         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27231         (CFLAGS-.ob): Remove variable.
27232         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27233         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27234         both definitions of variable.
27235         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27236         (ASFLAGS-.ob): Remove variable.
27238 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27240         [BZ #13550]
27241         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27242         Remove __BOUNDED_POINTERS__ from condition.
27243         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27244         * string/bits/string2.h [!__NO_STRING_INLINES &&
27245         !__BOUNDED_POINTERS__]: Likewise.
27246         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27247         Likewise.
27248         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27249         Remove conditional code.
27250         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27251         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27252         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27253         condition.
27255         [BZ #13550]
27256         * csu/libc-start.c: Do not include <bp-sym.h>.
27257         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27258         * elf/dl-open.c: Do not include <bp-sym.h>.
27259         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27260         * math/fegetenv.c: Do not include <bp-sym.h>.
27261         (fegetenv): Do not use BP_SYM in versioned symbols.
27262         * nptl/sysdeps/pthread/bits/libc-lockP.h
27263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27264         <bp-sym.h>.
27265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27266         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27268         (__pthread_mutex_destroy): Likewise.
27269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27270         (__pthread_mutex_lock): Likewise.
27271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27272         (__pthread_mutex_trylock): Likewise.
27273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27274         (__pthread_mutex_unlock): Likewise.
27275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27276         (__pthread_mutexattr_init): Likewise.
27277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27278         (__pthread_mutexattr_destroy): Likewise.
27279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27280         (__pthread_mutexattr_settype): Likewise.
27281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27282         (__pthread_rwlock_init): Likewise.
27283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27284         (__pthread_rwlock_destroy): Likewise.
27285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27286         (__pthread_rwlock_rdlock): Likewise.
27287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27288         (__pthread_rwlock_tryrdlock): Likewise.
27289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27290         (__pthread_rwlock_wrlock): Likewise.
27291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27292         (__pthread_rwlock_trywrlock): Likewise.
27293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27294         (__pthread_rwlock_unlock): Likewise.
27295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27296         (__pthread_key_create): Likewise.
27297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27298         (__pthread_setspecific): Likewise.
27299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27300         (__pthread_getspecific): Likewise.
27301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27302         Likewise.
27303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27304         (_pthread_cleanup_push_defer): Likewise.
27305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27306         (_pthread_cleanup_pop_restore): Likewise.
27307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27308         (pthread_setcancelstate): Likewise.
27309         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27310         <bp-sym.h>.
27311         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27312         (memchr): Do not use BP_SYM in weak_alias.
27313         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27314         (fegetenv): Do not use BP_SYM in versioned symbols.
27315         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27316         (fesetenv): Do not use BP_SYM in versioned symbols.
27317         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27318         (feupdateenv): Do not use BP_SYM in versioned symbols.
27319         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27320         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27321         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27322         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27323         (open64): Do not use BP_SYM in weak_alias.
27324         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27325         (fegetenv): Do not use BP_SYM in versioned symbols.
27326         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27327         (fesetenv): Do not use BP_SYM in versioned symbols.
27328         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27329         (feupdateenv): Do not use BP_SYM in versioned symbols.
27330         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27331         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27332         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27333         (feraiseexcept): Do not use BP_SYM in versioned symbols.
27334         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27335         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27336         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27337         <bp-sym.h>.
27338         (__libc_start_main): Do not use BP_SYM.
27340 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27343         redundant return line.
27344         (norm): Likewise.
27345         (denorm): Likewise.
27346         (dbl_mp): Likewise.
27347         (sub_magnitudes): Likewise.
27348         (__add): Likewise.
27349         (__sub): Likewise.
27350         (__mul): Likewise.
27351         (__inv): Likewise.
27352         (__dvd): Likewise.
27353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27354         (norm): Likewise.
27355         (denorm): Likewise.
27356         (dbl_mp): Likewise.
27357         (sub_magnitudes): Likewise.
27358         (__add): Likewise.
27359         (__sub): Likewise.
27360         (__mul): Likewise.
27361         (__inv): Likewise.
27362         (__dvd): Likewise.
27364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27365         instead of __mul.
27366         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27367         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27368         (cc32): Likewise.
27370         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27371         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27373         of __mul for squares.
27374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27375         function
27376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27377         Likewise.
27378         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27379         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27381 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
27383         [BZ #13550]
27384         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27385         code.
27386         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27387         prototype or function definition.  Rename ubp_* variables and
27388         parameters.  Remove argv definitions conditional on
27389         [__BOUNDED_POINTERS__].
27390         * debug/backtrace.c (__backtrace): Do not use __unbounded.
27391         * elf/dl-runtime.c (_dl_fixup): Likewise.
27392         * include/set-hooks.h (RUN_HOOK): Likewise.
27393         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27394         definition.
27395         * string/strcpy.c (strcpy): Do not use __unbounded.
27396         * sysdeps/generic/frame.h (struct layout): Likewise.
27397         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27398         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27399         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27400         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27401         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27402         (__backtrace): Likewise.
27403         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27404         use __ptrvalue.
27405         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27406         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27407         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27408         Likewise.
27409         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27410         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27411         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27412         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27413         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27414         Do not use __unbounded.
27415         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27416         Rename __unboundedrlimits parameter to rlimits in prototype.
27417         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27418         Do not use __unbounded.
27419         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27420         not use __ptrvalue.
27421         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27422         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27423         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27424         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27425         __ptrvalue or __unbounded.
27426         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27427         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27428         use __unbounded.
27429         (__new_msgctl): Do not use __ptrvalue.
27430         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27431         __unbounded.
27432         (__libc_msgrcv): Do not use __ptrvalue.
27433         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27434         startup_info): Do not use __unbounded.
27435         (__libc_start_main): Likewise.  Rename ubp_* variables and
27436         parameters.  Remove argv definitions conditional on
27437         [__BOUNDED_POINTERS__].
27438         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27439         __ptrvalue.
27440         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27441         use __unbounded.
27442         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27443         or __ptrvalue.
27444         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27445         use __unbounded.
27446         (__new_shmctl): Do not use __ptrvalue.
27447         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27448         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27449         Likewise.
27450         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27451         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27452         (__libc_sigaction): Likewise.
27453         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27454         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27455         Likewise.
27456         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27458 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
27460         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27462         * string/mempcpy.c: Implement by calling memcpy.
27464 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27468         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27469         evaluation.
27471         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27472         values in the mantissa.
27474         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27475         minimize writes to Z.
27476         (sub_magnitudes): Simplify code a bit.
27478 2013-02-12  Roland McGrath  <roland@hack.frob.com>
27480         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27481         from the message.  The linker prefixes all warnings with that already.
27483 2013-02-12  Andreas Schwab  <schwab@suse.de>
27485         [BZ #15078]
27486         * posix/regexec.c (extend_buffers): Add parameter min_len.
27487         (check_matching): Pass minimum needed length.
27488         (clean_state_log_if_needed): Likewise.
27489         (get_subexp): Likewise.
27490         * posix/Makefile (tests): Add bug-regex34.
27491         (bug-regex34-ENV): Define.
27492         * posix/bug-regex34.c: New file.
27494         [BZ #11561]
27495         * posix/regcomp.c (parse_bracket_exp): When looking up collating
27496         elements compare against the byte sequence of it, not its name.
27497         * posix/Makefile (tests): Add bug-regex35.
27498         (bug-regex35-ENV): Define.
27499         * posix/bug-regex35.c: New file.
27501 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27503         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
27504         comment.
27505         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27506         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27507         (CHECK_EOL): Add undef.
27509 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
27511         * bits/stdlib-bsearch.h: New file.
27512         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27513         * stdlib/stdlib.h: Likewise.
27515 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27517         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27518         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27519         declaration.
27520         * manual/search.texi (Array Search Function): Add missing const in
27521         lfind prototype.
27522         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27523         declaration to use rlim_t.
27524         (Basic Scheduling Functions): Remove erroneous const from
27525         sched_getparam prototype.  Remove erroneous * from
27526         sched_get_priority_max and sched_get_priority_min prototypes.
27527         (Resource Usage): Fix summary @comment on vtimes to refer to
27528         sys/vtimes.h rather than vtimes.h.
27529         Add missing *s in vtimes prototype.
27530         (Limits on Resources): Fix ulimit prototype to return long int.
27531         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27532         prototypes to use long int rather than double.
27533         (BSD Random): Fix initstate and setstate to use char *, not void *.
27534         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27535         prototype to make second argument 'struct aiocb64 *const[]'.
27536         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27537         (Status of AIO Operations): Remove erroneous const in aio_return and
27538         aio_return64 prototypes.
27539         (Synchronizing I/O): Fix sync prototype to return void.
27540         * manual/startup.texi (Suboptions): Remove an erroneous const in
27541         getsubopt prototype.
27542         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27543         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27544         use size_t rather than int.
27545         (Scanning All Users): Likewise for getpwent_r.
27546         (Setting Groups): Add missing const to setgroups prototype.
27547         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27548         * manual/socket.texi (Host Names): Fix gethostbyaddr and
27549         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27550         'const void *' rather than 'const char *'.
27551         (Host Address Functions): Likewise for inet_ntop.
27552         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27553         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27554         ssize_t for return value.
27555         (Sending Data): Likewise for send, sendto, sendmsg.
27556         (Socket Option Functions): Add a missing const in setsockopt prototype.
27557         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27558         use wchar_t for the argument.
27559         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27560         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27561         take no arguments.
27562         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27563         double/float/long double for second argument.
27564         Fix return types of significand, significandf, significandl.
27565         * manual/filesys.texi (Setting Permissions): Use mode_t for second
27566         argument in fchmod prototype.
27567         (File Owner): Use uid_t and gid_t in fchown prototype.
27568         (File Times): Add const to utimes, futimes, and lutimes prototypes.
27569         (Making Special Files): Use mode_t and dev_t in mknod prototype.
27570         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27571         use 'const struct dirent **' as argument types to CMP function pointer
27572         argument.
27573         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27574         (File Times): Fix summary magic @comment for struct utimbuf and utime
27575         to refer to utime.h, not time.h.
27576         * manual/string.texi (Argz Functions): Add missing const in
27577         argz_extract and argz_next prototypes.
27578         (Finding Tokens in a String): Likewise for basename.
27579         (String/Array Comparison): Fix typo in wcscasecmp prototype.
27580         (Copying and Concatenation): Fix typo in wmemmove prototype.
27581         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27582         (Signal Stack): Remove erroneous const in sigstack prototype.
27583         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27584         prototype.
27585         (Simple Calendar Time): Likewise for stime.
27586         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27587         prototype.
27588         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27589         say sys/sysctl.h instead.
27590         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27591         and vsyslog prototypes.
27593 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27595         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27596         Remove.
27598 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27600         * misc/sys/mman.h: Fix typo in mremap comment.
27602 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27604         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27605         the '\0' terminator.
27607 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27609         [BZ #13550]
27610         * debug/segfault.c: Don't include <bp-checks.h>.
27611         * sysdeps/generic/bp-checks.h: Remove file.
27612         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27613         (__GETDENTS): Don't use CHECK_N.
27614         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27615         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27616         (__getgroups): Don't use CHECK_N.
27617         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27618         (setgroups): Don't use CHECK_N.
27619         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27620         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27621         (__libc_msgrcv): Don't use CHECK_N.
27622         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27623         (__libc_msgsnd): Don't use CHECK_N.
27624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27625         <bp-checks.h>.
27626         (__libc_pread): Don't use CHECK_N.
27627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27628         include <bp-checks.h>.
27629         (__libc_pread64): Don't use CHECK_N.
27630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27631         include <bp-checks.h>.
27632         (__libc_pwrite): Don't use CHECK_N.
27633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27634         include <bp-checks.h>.
27635         (__libc_pwrite64): Don't use CHECK_N.
27636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27637         <bp-checks.h>.
27638         (__libc_pread): Don't use CHECK_N.
27639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27640         include <bp-checks.h>.
27641         (__libc_pread64): Don't use CHECK_N.
27642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27643         include <bp-checks.h>.
27644         (__libc_pwrite): Don't use CHECK_N.
27645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27646         include <bp-checks.h>.
27647         (__libc_pwrite64): Don't use CHECK_N.
27648         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27649         (do_pread): Don't use CHECK_N.
27650         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27651         (do_pread64): Don't use CHECK_N.
27652         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27653         (do_pwrite): Don't use CHECK_N.
27654         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27655         (do_pwrite64): Don't use CHECK_N.
27656         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27657         (__libc_readv): Don't use CHECK_N.
27658         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27659         (semop): Don't use CHECK_N.
27660         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27661         <bp-checks.h>.
27662         (semtimedop): Don't use CHECK_N.
27663         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27664         (__libc_pread): Don't use CHECK_N.
27665         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27666         <bp-checks.h>.
27667         (__libc_pread64): Don't use CHECK_N.
27668         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27669         <bp-checks.h>.
27670         (__libc_pwrite): Don't use CHECK_N.
27671         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27672         <bp-checks.h>.
27673         (__libc_pwrite64): Don't use CHECK_N.
27674         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27675         <bp-checks.h>.
27676         (__libc_msgrcv): Don't use CHECK_N.
27677         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27678         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
27679         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27680         (__libc_writev): Don't use CHECK_N.
27682 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27684         * string/strcpy.c: Removed unused variable.
27686         * Makeconfig (+sysdep-includes): Define with := rather than =.
27687         Use an existing include/ subdir of each sysdeps dir before it.
27689 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27691         * nscd/connection.c (register_traced_file): Comment function.
27692         [HAVE_INOTIFY] (union __inev): Define.
27693         [HAVE_INOTIFY] (inotify_check_files): New function.
27694         [HAVE_INOTIFY] (clear_db_cache): Likewise.
27695         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27696         clear_db_cache.
27697         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27699 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27701         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27702         loaded if not already and that a failure is permanent.
27704 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27706         [BZ #15006]
27707         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27708         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27710 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27712         [BZ #13550]
27713         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27714         (CHECK_1_NULL_OK): Likewise.
27715         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27716         (__fxstat): Do not use CHECK_1.
27717         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27718         <bp-checks.h>.
27719         (___fxstat64): Do not use CHECK_1.
27720         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27721         <bp-checks.h>.
27722         (__fxstatat): Do not use CHECK_1.
27723         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27724         <bp-checks.h>.
27725         (__fxstatat64): Do not use CHECK_1.
27726         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27727         <bp-checks.h>.
27728         (__fxstat): Do not use CHECK_1.
27729         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27730         <bp-checks.h>.
27731         (__fxstatat): Do not use CHECK_1.
27732         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27733         <bp-checks.h>.
27734         (__getresgid): Do not use CHECK_1.
27735         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27736         <bp-checks.h>.
27737         (__getresuid): Do not use CHECK_1.
27738         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27739         <bp-checks.h>.
27740         (__lxstat): Do not use CHECK_1.
27741         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27742         <bp-checks.h>.
27743         (__old_msgctl): Do not use CHECK_1.
27744         (__new_msgctl): Likewise.
27745         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27746         <bp-checks.h>.
27747         (__new_setrlimit): Do not use CHECK_1.
27748         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27749         <bp-checks.h>.
27750         (__old_shmctl): Do not use CHECK_1.
27751         (__new_shmctl): Likewise.
27752         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27753         <bp-checks.h>.
27754         (__xstat): Do not use CHECK_1.
27755         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27756         (__lxstat): Do not use CHECK_1.
27757         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27758         <bp-checks.h>.
27759         (___lxstat64): Do not use CHECK_1.
27760         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27761         (__old_msgctl): Do not use CHECK_1.
27762         (__new_msgctl): Likewise.
27763         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27764         <bp-checks.h>.
27765         (__gettimeofday): Do not use CHECK_1.
27766         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27767         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27768         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27769         <bp-checks.h>.
27770         (__gettimeofday): Do not use CHECK_1.
27771         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27772         (__old_shmctl): Do not use CHECK_1_NULL_OK.
27773         (__new_shmctl): Do not use CHECK_1.
27774         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27775         <bp-checks.h>.
27776         (do_sigtimedwait): Do not use CHECK_1.
27777         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27778         <bp-checks.h>.
27779         (do_sigwaitinfo): Do not use CHECK_1.
27780         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27781         <bp-checks.h>.
27782         (msgctl): Do not use CHECK_1.
27783         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27784         <bp-checks.h>.
27785         (shmctl): Do not use CHECK_1.
27786         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27787         (ustat): Do not use CHECK_1.
27788         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27789         <bp-checks.h>.
27790         (__fxstat): Do not use CHECK_1.
27791         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27792         <bp-checks.h>.
27793         (__fxstatat): Do not use CHECK_1.
27794         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27795         <bp-checks.h>.
27796         (__lxstat): Do not use CHECK_1.
27797         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27798         <bp-checks.h>.
27799         (__xstat): Do not use CHECK_1.
27800         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27801         (__xstat): Do not use CHECK_1.
27802         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27803         (___xstat64): Do not use CHECK_1.
27805         [BZ #13550]
27806         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27807         definitions.
27808         (CHECK_BOUNDS_HIGH): Likewise.
27809         * string/strcpy.c: Do not include <bp-checks.h>.
27810         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27812 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27814         * nscd/nscd-client.h (__nscd_drop_map_ref):
27815         Add __attribute__ ((unused)).
27816         * nis/nss-nisplus.h (niserr2nss): Likewise.
27818         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27819         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27821         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27822         Remove inline keyword.
27823         * include/rounding-mode.h (round_away): Likewise.
27824         * libio/wfileops.c (adjust_wide_data): Likewise.
27825         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27826         (__m128i_strloadu_tolower): Likewise.
27827         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27828         (__m128i_strloadu_tolower): Likewise.
27829         * time/mktime.c (ydhms_diff): Likewise.
27830         * locale/elem-hash.h (elem_hash): Likewise.
27831         * locale/setlocale.c (setdata): Likewise.
27832         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27833         (re_string_wchar_at): Likewise.
27834         (bitset_not, bitset_merge, bitset_mask): Likewise.
27835         [!(__GNUC__ > 3)] (inline): Remove macro.
27836         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27837         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27838         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27839         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27840         * string/memcmp.c (memcmp_bytes): Likewise.
27841         * locale/programs/locarchive.c (compute_hashval): Likewise.
27842         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27843         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27844         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27845         * nss/getent.c (print_rpc, print_protocols): Likewise.
27846         (print_passwd, print_group, print_aliases): Likewise.
27847         * nis/nss-nisplus.h (niserr2nss): Likewise.
27848         * nscd/connections.c (restart_p): Likewise.
27849         Change return type to bool.
27851 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27853         * Makeconfig (all-Depend-files): Add existing
27854         $(sorted-subdirs:=/Depend) files.
27855         (all-subdirs): Remove nss.
27856         * sysdeps/unix/inet/Subdirs: Add it here instead.
27857         * hesiod/Depend: New file.
27859         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27860         instead of calling alloca.
27862         * io/lseek.c (__lseek): Rename to __libc_lseek.
27863         Define __lseek as an alias.
27865         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27867 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27869         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27870         else clause and remove check for non-standard endianness.
27872 2013-02-04  David S. Miller  <davem@davemloft.net>
27874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27876 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27878         [BZ #13550]
27879         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27880         (__ubp_memchr): Remove prototype.
27881         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27882         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27883         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27884         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27885         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27886         Remove alias.
27887         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27888         (__ubp_memchr): Likewise.
27889         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27890         (__ubp_memchr): Likewise.
27891         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27892         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27893         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27894         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27895         CHECK_STRING.
27896         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27897         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27898         (__getcwd): Do not use CHECK_STRING.
27899         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27900         <bp-checks.h>.
27901         (__real_chown): Do not use CHECK_STRING.
27902         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27903         <bp-checks.h>.
27904         (fchownat): Do not use CHECK_STRING.
27905         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27906         CHECK_STRING.
27907         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27908         <bp-checks.h>.
27909         (__lchown): Do not use CHECK_STRING.
27910         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27911         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27912         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27913         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27915         include <bp-checks.h>.
27916         (truncate64): Do not use CHECK_STRING.
27917         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27918         <bp-checks.h>.
27919         (__real_chown): Do not use CHECK_STRING.
27920         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27921         <bp-checks.h>.
27922         (__lchown): Do not use CHECK_STRING.
27923         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27924         <bp-checks.h>.
27925         (__chown): Do not use CHECK_STRING.
27926         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27927         <bp-checks.h>.
27928         (truncate64): Do not use CHECK_STRING.
27929         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27930         Likewise.
27931         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27932         (__xmknod): Do not use CHECK_STRING.
27933         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27934         <bp-checks.h>.
27935         (__xmknodat): Do not use CHECK_STRING.
27936         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27937         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27939 2013-02-04  Andreas Schwab  <schwab@suse.de>
27941         [BZ #14142]
27942         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27943         * include/netdb.h: Likewise for h_errno.
27944         * elf/tst-stackguard1.c: Include <tls.h>.
27946 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27948         * elf/link.h (struct link_map): Extend the l_addr comment.
27949         * include/link.h (struct link_map): Likewise.
27951 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27953         [BZ #13550]
27954         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27955         (BOUNDED_1): Remove macro.
27956         * debug/backtrace.c: Don't include <bp-checks.h>.
27957         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27958         (__backtrace): Likewise.
27959         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27960         <bp-checks.h>.
27961         (__backtrace): Don't use BOUNDED_1.
27962         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27963         <bp-checks.h>.
27964         (__backtrace): Don't use BOUNDED_1.
27965         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27966         (__backtrace): Don't use BOUNDED_1.
27967         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27968         (shmat): Don't use BOUNDED_N.
27970 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27972         [BZ #13550]
27973         * sysdeps/generic/bp-start.h: Remove file.
27974         * csu/libc-start.c: Don't include <bp-start.h>.
27975         (LIBC_START_MAIN): Set up __environ directly instead of using
27976         INIT_ARGV_and_ENVIRON.
27977         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27978         <bp-start.h>.
27980         [BZ #13550]
27981         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27982         definitions.
27983         (CHECK_FCNTL): Likewise.
27984         (CHECK_N_PAGES): Likewise.
27986         [BZ #13550]
27987         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27988         definitions.
27989         (CHECK_SIGSET_NULL_OK): Likewise.
27990         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27991         <bp-checks.h>.
27992         (sigpending): Don't use CHECK_SIGSET.
27993         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27994         <bp-checks.h>.
27995         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27996         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27997         <bp-checks.h>.
27998         (do_sigsuspend): Don't use CHECK_SIGSET.
27999         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28000         use CHECK_SIGSET.
28001         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28002         (do_sigwait): Don't use CHECK_SIGSET.
28003         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28004         use CHECK_SIGSET.
28005         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28006         include <bp-checks.h>.
28007         (sigpending): Don't use CHECK_SIGSET.
28008         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28009         include <bp-checks.h>.
28010         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28011         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28012         <bp-checks.h>.
28013         (sigpending): Don't use CHECK_SIGSET.
28014         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28015         <bp-checks.h>.
28016         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28018         [BZ #13550]
28019         * sysdeps/generic/bp-semctl.h: Remove file.
28020         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28021         <bp-checks.h> and <bp-semctl.h>.
28022         (__old_semctl): Don't use CHECK_SEMCTL.
28023         (__new_semctl): Likewise.
28024         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28025         and <bp-semctl.h>.
28026         (__old_semctl): Don't use CHECK_SEMCTL.
28027         (__new_semctl): Likewise.
28028         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28029         <bp-checks.h> and <bp-semctl.h>.
28030         (__old_semctl): Don't use CHECK_SEMCTL.
28031         (__new_semctl): Likewise.
28032         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28033         <bp-checks.h> and <bp-semctl.h>.
28034         (semctl): Don't use CHECK_SEMCTL.
28036         [BZ #13550]
28037         * Makerules (elide-bp-thunks): Remove variable.
28038         (elide-routines.oS): Don't use $(elide-bp-thunks).
28039         (elide-routines.os): Likewise.
28040         (elide-routines.o): Likewise.
28041         (elide-routines.op): Likewise.
28042         (elide-routines.og): Likewise.
28043         (objects): Don't use $(bp-thunks).
28044         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28045         include.
28046         (common-generated): Do not add s-proto-bp.d.
28047         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28048         (int): Likewise.
28049         (typ): Likewise.
28050         Do not generate makefile rules for bounded-pointer thunks.
28051         * sysdeps/generic/bp-thunks.h: Remove file.
28052         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28053         * sysdeps/unix/s-proto-bp.S: Likewise.
28055         [BZ #15062]
28056         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28057         parts of result separately when argument is not close to line from
28058         -i to i and one part of argument is small.
28059         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28060         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28061         * math/libm-test.inc (cacos_test): Add more tests.
28062         (casin_test): Likewise.
28063         (casinh_test): Likewise.
28064         * sysdeps/i386/fpu/libm-test-ulps: Update.
28065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28067 2013-01-31  David S. Miller  <davem@davemloft.net>
28069         * po/de.po: Update from translation team.
28071 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
28073         * time/tzfile.c: Include stdint.h for SIZE_MAX.
28075 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
28077         * configure.in (_AC_PROG_CC_C89): New definition.
28078         * configure: Regenerate.
28080         * configure.in (AC_PROG_CPP): New definition.
28081         * configure: Regenerate.
28083 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28085         * debug/tst-backtrace.h: New file.
28086         * debug/tst-backtrace2.c: Include tst-backtrace.h.
28087         (ret): Remove variable.
28088         (x): Likewise.
28089         (FAIL): Remove macro.
28090         (NO_INLINE): Likewise.
28091         (fn1): Use match function instead of strstr.
28092         * debug/tst-backtrace3.c: Include tst-backtrace.h.
28093         (ret): Remove variable.
28094         (x): Likewise.
28095         (FAIL): Remove macro.
28096         (NO_INLINE): Likewise.
28097         (fn): Use match function instead of strstr.
28098         * debug/tst-backtrace4.c: Include tst-backtrace.h.
28099         (ret): Remove variable.
28100         (x): Likewise.
28101         (FAIL): Remove macro.
28102         (NO_INLINE): Likewise.
28103         (handle_signal): Use match function instead of strstr.
28104         * debug/tst-backtrace5.c: Include tst-backtrace.h.
28105         (ret): Remove variable.
28106         (x): Likewise.
28107         (FAIL): Remove macro.
28108         (NO_INLINE): Likewise.
28109         (handle_signal): Use match function instead of strstr.
28111 2013-01-23  Roland McGrath  <roland@hack.frob.com>
28113         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28115 2013-01-23  David S. Miller  <davem@davemloft.net>
28117         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28118         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28119         argument of CAS if possible.
28120         * sysdeps/sparc/sparc64/bits/atomic.h
28121         (__arch_compare_and_exchange_val_32_acq): Likewise.
28122         (__arch_compare_and_exchange_val_64_acq): Likewise.
28124 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
28126         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28127         * sysdeps/posix/ulimit.c: ... this.
28128         Include <limits.h>.
28129         * sysdeps/unix/bsd/ulimit.c: Remove file.
28131 2013-01-23  Adam Conrad  <adconrad@0c3.net>
28133         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28134         (LDFLAGS-tst-array5): Likewise.
28136 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28138         [BZ #15036]
28139         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28140         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28141         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28142         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28144 2013-01-21  David S. Miller  <davem@davemloft.net>
28146         * sysdeps/sparc/backtrace.c: New file.
28147         * sysdeps/sparc/sparc32/backtrace.h: New file.
28148         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28149         * sysdeps/sparc/sparc64/backtrace.h: New file.
28150         * sysdeps/sparc/sparc64/backtrace.c: Delete.
28151         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28152         -funwind-tables.
28154 2013-01-21  Andreas Schwab  <schwab@suse.de>
28156         [BZ #15020]
28157         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28158         closed its stdout.
28160 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
28162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28163         "mpa2.h".
28164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28166 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
28167             Mark Mitchell  <mark@codesourcery.com>
28168             Tom de Vries  <tom@codesourcery.com>
28169             Paul Pluzhnikov  <ppluzhnikov@google.com>
28171         * debug/tst-backtrace2.c: New file.
28172         * debug/tst-backtrace3.c: Likewise.
28173         * debug/tst-backtrace4.c: Likewise.
28174         * debug/tst-backtrace5.c: Likewise.
28175         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28176         (CFLAGS-tst-backtrace3.c): Likewise.
28177         (CFLAGS-tst-backtrace4.c): Likewise.
28178         (CFLAGS-tst-backtrace5.c): Likewise.
28179         (LDFLAGS-tst-backtrace2): Likewise.
28180         (LDFLAGS-tst-backtrace3): Likewise.
28181         (LDFLAGS-tst-backtrace4): Likewise.
28182         (LDFLAGS-tst-backtrace5): Likewise.
28183         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28184         tst-backtrace4 and tst-backtrace5.
28186 2013-01-18  Anton Blanchard  <anton@samba.org>
28187             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28189         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28190         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28191         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28192         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28194         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28195         "+r" and remove output regs list as redundant.  Add explicit inline
28196         asm to specify register of return val to work around compiler codegen
28197         bug.  Remove (int) cast on return value.  Add return type parameter to
28198         use in macro so that this macro does not truncate return value for
28199         64-bit values.
28200         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28201         pass to INTERNAL_VSYSCALL_NCS.
28202         (INLINE_VSYSCALL): Add 'long int' as return type to
28203         INTERNAL_VSYSCALL_NCS macro invocation.
28204         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28205         INTERNAL_VSYSCALL_NCS macro invocation.
28206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28208 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28210         [BZ #14496]
28211         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28212         Fix application of SIMD FP exception mask.
28214         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28215         mp_no from a power of two.
28216         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28217         __mpexp_twomm1.  Use __pow_mp.
28219         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28220         multiplication.
28222 2013-01-17  David S. Miller  <davem@davemloft.net>
28224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28226 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28228         [BZ #15023]
28229         * include/complex.h: Condition contents on [!_COMPLEX_H].
28230         (__kernel_casinhf): New prototype.
28231         (__kernel_casinh): Likewise.
28232         (__kernel_casinhl): Likewise.
28233         * math/Makefile (libm_calls): Add k_casinh.
28234         * math/k_casinh.c: New file.
28235         * math/k_casinhf.c: Likewise.
28236         * math/k_casinhl.c: Likewise.
28237         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28238         finite nonzero arguments.
28239         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28240         finite nonzero arguments.
28241         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28242         finite nonzero arguments.
28243         * math/s_casinh.c: Do not include <float.h>.
28244         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28245         * math/s_casinhf.c: Do not include <float.h>.
28246         (__casinhf): Move code for finite nonzero arguments to
28247         k_casinhf.c.
28248         * math/s_casinhl.c: Do not include <float.h>.
28249         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28250         redefine.
28251         (__casinhl): Move code for finite nonzero arguments to
28252         k_casinhl.c.
28253         * math/libm-test.inc (cacos_test): Add more tests.
28254         * sysdeps/i386/fpu/libm-test-ulps: Update.
28255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28257 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28259         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28260         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28261         [!HAVE_MREMAP]: Remove [defined linux] case.
28262         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28264 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28266         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28268 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28270         * elf/elf.h (R_386_SIZE32): New relocation.
28271         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28272         R_386_SIZE32.
28273         (elf_machine_rela): Likewise.
28274         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28275         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28277 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28279         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28280         (FP_FAST_FMA): Do not define.
28281         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28282         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28283         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28284         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28285         !_SOFT_FLOAT]: Likewise.
28286         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28287         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28288         value.
28289         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28290         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28291         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28292         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28293         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28294         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28295         file.
28297 2013-01-16  Andreas Schwab  <schwab@suse.de>
28299         [BZ #14327]
28300         * include/stdlib.h (__mktemp): Add declaration.
28301         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28302         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28304 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28306         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28307         definitions.
28308         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28309         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28310         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28311         definitions here.
28312         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28313         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28314         definitions.
28315         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28316         and ONE.
28317         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28318         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28319         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28320         definitions.
28321         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28322         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28323         definitions.
28324         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28326         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28328 2013-01-15  David S. Miller  <davem@davemloft.net>
28330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28331         trunc{,f} to libm-sysdep_routes.
28332         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28334         file.
28335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28337         file.
28338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28339         file.
28340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28342         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28343         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28344         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28345         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28346         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28347         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28350         nearbyint{,f} to libm-sysdep_routes.
28351         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28353         New file.
28354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28355         file.
28356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28357         New file.
28358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28359         file.
28360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28362         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28363         file.
28364         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28365         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28366         file.
28367         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28368         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28369         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28371         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28372         libc_feholdexcept and libc_fesetenv.
28374 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
28376         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28378 2013-01-14  David S. Miller  <davem@davemloft.net>
28380         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28381         (SPARC_ASM_VIS2_IFUNC): Likewise.
28382         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28384         use of 'siam' instruction.
28385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28386         Likewise.
28387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28388         Likewise.
28389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28390         Likewise.
28391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28394         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28396         file.
28397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28398         file.
28399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28400         file.
28401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28402         file.
28403         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28404         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28408         new VIS2 routines.
28409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28412         Likewise.
28413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28418         routines to libm-sysdep_routines.
28419         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28422         fdim/fdimf to libm-sysdep_routines.
28423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28424         file.
28425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28427         file.
28428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28431         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28432         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28433         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28434         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28436 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28438         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28439         to optimize copies.
28441         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28446         local variable MPTWO.
28447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28448         Likewise.
28450 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28452         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28453         GLOB_NOESCAPE.
28455 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28457         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28459 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28461         * manual/pattern.texi (glob_t): Document gl_flags.
28462         (glob64_t): Likewise.
28464 2013-01-11  David S. Miller  <davem@davemloft.net>
28466         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28467         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28468         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
28469         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28470         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28471         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28472         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28473         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28474         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28475         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28476         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28477         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28478         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28480         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28481         sparc V9 rather than using V8 code.
28482         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28483         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28485         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28486         Move to...
28487         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28488         Here.
28490 2013-01-11  Roland McGrath  <roland@hack.frob.com>
28492         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28493         not in the main loop.
28494         * configure: Regenerated.
28496 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
28498         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28499         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28500         to just #else.
28501         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
28502         [!__GLIBC_HAVE_LONG_LONG] case.
28503         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28504         condition to just #else.
28505         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28506         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28507         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28508         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28509         unconditional.
28510         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28511         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28512         #elif condition to just #else.
28513         * sysdeps/unix/sysv/linux/sys/sysmacros.h
28514         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28515         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28516         #elif condition to just #else.
28518 2013-01-11  Steve Ellcey  <sellcey@mips.com>
28520         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28521         (EF_MIPS_ARCH_64): Fix value.
28522         (EF_MIPS_ARCH_32R2): New.
28523         (EF_MIPS_ARCH_64R2): New.
28525 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
28527         * Makeconfig (+link-pie-before-libc): New.
28528         (+link-pie-after-libc): Likewise.
28529         (+link-pie-tests): Likewise.
28530         (+link-pie): Rewritten.
28531         (link-before-libc): Remove $(config-LDFLAGS).
28532         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28533         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28534         (config-LDFLAGS): Renamed to ...
28535         (rtld-LDFLAGS): This.
28536         (rtld-tests-LDFLAGS): New macro.
28537         (link-libc-rpath-link): Likewise.
28538         (link-libc-tests-rpath-link): Likewise.
28539         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28540         (link-libc): Prepand $(link-libc-rpath-link).
28541         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28542         (test-program-prefix): New macro.
28543         (test-via-rtld-prefix): Likewise.
28544         (test-program-cmd): Likewise.
28545         (host-test-program-cmd): Likewise.
28546         * Makefile ($(common-objpfx)testrun.sh): Replace
28547         $(run-program-prefix) with $(test-program-prefix).
28548         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28549         $(rtld-LDFLAGS).
28550         ($(common-objpfx)shlib.lds): Likewise.
28551         (build-module-helper): Likewise.
28552         ($(common-objpfx)format.lds): Likewise.
28553         * Rules (binaries-pie-tests): New.
28554         (binaries-pie-notests): Likewise.
28555         (binaries-pie): Rewritten.
28556         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28557         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28558         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28559         (make-test-out): Replace $(host-built-program-cmd) with
28560         $(host-test-program-cmd).
28561         * config.make.in (build-hardcoded-path-in-tests): New variable.
28562         * configure.in (--enable-hardcoded-path-in-tests): New configure
28563         option.
28564         (hardcoded_path_in_tests): New AC_SUBST.
28565         * configure: Regenerated.
28566         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28567         $(built-program-cmd) with $(test-program-cmd).
28568         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28569         (test_program_cmd): This.
28570         * elf/Makefile ($(objpfx)order.out): Run test with
28571         $(test-program-prefix).
28572         ($(objpfx)order2.out): Likewise.
28573         ($(objpfx)tst-initorder.out): Likewise.
28574         ($(objpfx)tst-initorder2.out): Likewise.
28575         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28576         $(test-program-cmd).
28577         ($(objpfx)tst-array1-static.out): Likewise.
28578         ($(objpfx)tst-array2.out): Likewise.
28579         ($(objpfx)tst-array3.out): Likewise.
28580         ($(objpfx)tst-array4.out): Likewise.
28581         ($(objpfx)tst-array5.out): Likewise.
28582         ($(objpfx)tst-array5-static.out): Likewise.
28583         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28584         $(test-program-cmd).
28585         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28586         $(run-program-prefix) with $(test-program-prefix).
28587         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28588         (test_program_prefix): This.
28589         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28590         $(run-program-prefix) with $(test-program-prefix).
28591         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28592         (test_program_prefix): This.
28593         * iconvdata/tst-tables.sh: Likewise.
28594         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28595         $(run-program-prefix) with $(test-program-prefix).
28596         ($(objpfx)tst-translit.out): Likewise.
28597         ($(objpfx)tst-gettext2.out): Likewise.
28598         ($(objpfx)tst-gettext4.out): Likewise.
28599         ($(objpfx)tst-gettext6.out): Likewise.
28600         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28601         (test_program_prefix): This.
28602         * intl/tst-gettext2.sh: Likewise.
28603         * intl/tst-gettext4.sh  Likewise.
28604         * intl/tst-gettext6.sh: Likewise.
28605         * intl/tst-translit.sh: Likewise.
28606         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28607         with $(test-program-cmd).
28608         * libio/Makefile ($(objpfx)test-freopen.out): Replace
28609         $(run-program-prefix) with $(test-program-prefix).
28610         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28611         (test_program_prefix): This.
28612         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28613         $(run-program-prefix) with $(test-program-prefix).
28614         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28615         (test_program_prefix): This.
28616         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28617         * posix/Makefile ($(objpfx)globtest.out): Replace
28618         $(run-via-rtld-prefix) and $(test-wrapper) with
28619         $(test-program-prefix) and $(test-via-rtld-prefix).
28620         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28621         $(test-program-prefix).
28622         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28623         $(host-test-program-cmd).
28624         (tst-spawn-ARGS): Likewise.
28625         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28626         $(test-program-prefix).
28627         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28628         (test_via_rtld_prefix): This.
28629         (test_wrapper): Renamed to ...
28630         (test_program_prefix): This.
28631         (run_program_prefix): Replaced by test_program_prefix.
28632         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28633         (test_program_prefix): This.
28634         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28635         with $(host-test-program-cmd).
28636         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28637         $(run-program-prefix) with $(test-program-prefix).
28638         ($(objpfx)tst-printf.out): Likewise.
28639         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28640         $(test-program-cmd).
28641         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28642         (test_program_prefix): This.
28643         * stdio-common/tst-unbputc.sh: Likewise.
28644         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28645         $(run-program-prefix) with $(test-program-prefix).
28646         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28647         (test_program_prefix): This.
28648         * string/Makefile ($(objpfx)tst-svc.out):  Replace
28649         $(built-program-cmd) with $(test-program-cmd).
28651 2013-01-11  Andreas Jaeger  <aj@suse.de>
28653         [BZ #15003]
28654         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28655         value. Sync with Linux 3.7.
28657 2013-01-10  David S. Miller  <davem@davemloft.net>
28659         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28660         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28661         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28663 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28665         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28666         never set.
28667         * configure: Regenerated.
28669 2013-01-10  David S. Miller  <davem@davemloft.net>
28671         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28672         sparc V9 rather than using V8 code.
28673         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28674         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28676 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28678         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28679         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28680         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28681         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28682         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28683         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28684         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28685         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28686         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28687         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28688         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28689         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28690         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28691         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28692         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28693         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28694         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28695         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28696         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28697         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28698         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28699         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28700         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28701         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28702         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28703         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28704         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28706 2013-01-10  David S. Miller  <davem@davemloft.net>
28708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28710 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28712         * posix/Makefile (tests-static): New variable.
28713         (tests): Add $(tests-static).
28714         (tst-exec-static-ARGS): New variable.
28715         (tst-spawn-static-ARGS): Likewise.
28716         * posix/tst-exec-static.c: New file.
28717         * posix/tst-spawn-static.c: Likewise.
28718         * posix/tst-exec.c: Support run directly.
28719         * posix/tst-spawn.c: Likewise.
28721 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
28723         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28724         long.
28725         * math/bits/mathcalls.h (llrint): Likewise.
28726         (llround): Likewise.
28727         * stdlib/stdlib.h (struct drand48_data): Likewise.
28728         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28729         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28730         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28731         Likewise.
28732         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28733         Likewise.
28734         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28735         (elf_greg_t): Likewise.
28736         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28737         (__jmp_buf): Likewise.
28738         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28739         definitions.
28740         (llrint): Likewise, for all definitions.
28741         (llrintl): Likewise.
28743         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28744         Remove [__GNUC__] condition.
28745         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28746         condition to just [__USE_ISOC99].
28747         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28749 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28751         [BZ #14200]
28752         * sysdeps/unix/sysv/linux/x86/bits/environments.h
28753         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28754         defined.
28755         (_POSIX_V6_ILP32_OFF32): Likewise.
28756         (_XBS5_ILP32_OFF32): Likewise.
28757         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28758         (__ILP32_OFFBIG_LDFLAGS): Likewise.
28760 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28762         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28764         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28765         doubles __mpexp_twomm1.  Adjust usage.
28766         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28767         Remove.
28769 2013-01-10  Andreas Schwab  <schwab@suse.de>
28771         [BZ #14964]
28772         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28773         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28775 2013-01-09  David S. Miller  <davem@davemloft.net>
28777         [BZ #15003]
28778         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28779         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28780         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28781         (TCP_FASTOPEN): Define.
28782         (tcp_repair_opt): New structure.
28783         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28784         enum values.
28785         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28786         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28787         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28788         (tcp_cookie_transactions): New structure.
28790 2013-01-09  Anton Blanchard  <anton@samba.org>
28792         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28793         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28794         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28795         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28797 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28799         * include/features.h (__USE_ANSI): Remove.
28801 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28803         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28805         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28807 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28809         * sysdeps/s390/fpu/libm-test-ulps: Update.
28811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28813         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28814         (__acr): Likewise.
28815         (__cpy): Likewise.
28816         (norm): Likewise.
28817         (denorm): Likewise.
28818         (__mp_dbl): Likewise.
28819         (__dbl_mp): Likewise.
28820         (add_magnitudes): Likewise.
28821         (sub_magnitudes): Likewise.
28822         (__add): Likewise.
28823         (__sub): Likewise.
28824         (__mul): Likewise.
28825         (__inv): Likewise.
28826         (__dvd): Likewise.
28827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28828         (__acr): Likewise.
28829         (__cpy): Likewise.
28830         (norm): Likewise.
28831         (denorm): Likewise.
28832         (__mp_dbl): Likewise.
28833         (__dbl_mp): Likewise.
28834         (add_magnitudes): Likewise.
28835         (sub_magnitudes): Likewise.
28836         (__add): Likewise.
28837         (__sub): Likewise.
28838         (__mul): Likewise.
28839         (__inv): Likewise.
28840         (__dvd): Likewise.
28841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28842         (__acr): Likewise.
28843         (__cpy): Likewise.
28844         (norm): Likewise.
28845         (denorm): Likewise.
28846         (__mp_dbl): Likewise.
28847         (__dbl_mp): Likewise.
28848         (add_magnitudes): Likewise.
28849         (sub_magnitudes): Likewise.
28850         (__add): Likewise.
28851         (__sub): Likewise.
28852         (__mul): Likewise.
28853         (__inv): Likewise.
28854         (__dvd): Likewise.
28856 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28858         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28859         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28860         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28861         2 && __USE_EXTERN_INLINES]: Likewise.
28863 2013-01-08  Andreas Jaeger  <aj@suse.de>
28865         [BZ# 14985]
28866         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28867         Remove.
28868         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28869         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28871 2013-01-07  Anton Blanchard  <anton@samba.org>
28873         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28874         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28875         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28876         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28877         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28878         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28879         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28880         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28882         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28883         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28884         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28885         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28886         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28887         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28888         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28889         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28890         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28891         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28892         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28893         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28894         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28895         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28896         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28897         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28898         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28899         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28900         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28901         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28902         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28903         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28905         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28906         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28907         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28908         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28909         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28910         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28911         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28912         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28913         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28914         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28915         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28917 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28919         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28920         (__MALLOC_PMT): Likewise.
28921         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28922         [__GNUC__], only on [_LIBC].
28923         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28924         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28925         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28926         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28927         forward declaration.
28928         (realloc_hook_ini): Likewise.
28929         (memalign_hook_ini): Likewise.
28930         (__libc_memalign): Do not use __MALLOC_PMT in variable
28931         declaration.
28932         (__libc_valloc): Likewise.
28933         (__libc_pvalloc): Likewise.
28934         (__libc_calloc): Likewise.
28935         (__posix_memalign): Likewise.
28937         [BZ #14996]
28938         * math/s_casinh.c: Include <float.h>.
28939         (__casinh): Do not do computation with squaring and square root
28940         for large arguments.
28941         * math/s_casinhf.c: Include <float.h>.
28942         (__casinhf): Do not do computation with squaring and square root
28943         for large arguments.
28944         * math/s_casinhl.c: Include <float.h>.
28945         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28946         (__casinhl): Do not do computation with squaring and square root
28947         for large arguments.
28948         * math/libm-test.inc (casin_test): Add more tests.
28949         (casinh_test): Likewise.
28950         * sysdeps/i386/fpu/libm-test-ulps: Update.
28951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28953 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28955         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28956         (__x86_64_raw_data_cache_size): Likewise.
28957         (__x86_64_data_cache_size_half): Likewise.
28958         (__x86_64_raw_data_cache_size_half): Likewise.
28959         (__x86_64_shared_cache_size): Likewise.
28960         (__x86_64_raw_shared_cache_size): Likewise.
28961         (__x86_64_shared_cache_size_half): Likewise.
28962         (__x86_64_raw_shared_cache_size_half): Likewise.
28963         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28964         to ...
28965         (__x86_data_cache_size): This.
28966         (__x86_64_raw_data_cache_size): Renamed to ...
28967         (__x86_raw_data_cache_size): This.
28968         (__x86_64_data_cache_size_half): Renamed to ...
28969         (__x86_data_cache_size_half): This.
28970         (__x86_64_raw_data_cache_size_half): Renamed to ...
28971         (__x86_raw_data_cache_size_half): This.
28972         (__x86_64_shared_cache_size): Renamed to ...
28973         (__x86_shared_cache_size): This.
28974         (__x86_64_raw_shared_cache_size): Renamed to ...
28975         (__x86_raw_shared_cache_size): This.
28976         (__x86_64_shared_cache_size_half): Renamed to ...
28977         (__x86_shared_cache_size_half): This.
28978         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28979         (__x86_raw_shared_cache_size_half): This.
28980         * sysdeps/x86_64/memcpy.S: Updated.
28981         * sysdeps/x86_64/memset.S: Likewise.
28982         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28983         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28984         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28986 2013-01-04  David S. Miller  <davem@davemloft.net>
28988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28990 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28992         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28993         1 to avoid redefinition warning.
28994         (__USE_GNU): Don't define.
28995         (init_signaling_nan): Protoize.
28997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28999 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29001         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29003         (__cpymn): Likewise.
29004         (norm): Remove commented code.
29005         (denorm): Likewise.
29006         (__mp_dbl): Likewise.
29007         (__inv): Likewise.
29008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29009         (__cpymn): Likewise.
29010         (norm): Remove commented code.
29011         (denorm): Likewise.
29012         (__mp_dbl): Likewise.
29013         (__inv): Likewise.
29015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29016         mp_no value for 1.0 and 2.0.
29017         (norm): Use RADIXI instead of radixi.d.
29018         (denorm): Likewise.
29019         (__mul): Use 0.0 instead of zero.d.
29020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29021         mp_no value for 1.0 and 2.0.
29022         (norm): Use RADIXI instead of radixi.d.
29023         (denorm): Likewise.
29024         (__mul): Use 0.0 instead of zero.d.
29026 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
29028         [BZ #14994]
29029         * math/s_casinh.c (__casinh): Reduce finite argument to first
29030         quadrant then set signs of results at the end.
29031         * math/s_casinhf.c (__casinhf): Likewise.
29032         * math/s_casinhl.c (__casinhl): Likewise.
29033         * math/libm-test.inc (casin_test): Add more tests.
29034         (casinh_test): Likewise.
29035         * sysdeps/i386/fpu/libm-test-ulps: Update.
29036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29038 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29040         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29042         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29044         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29045         declarations.
29046         (denorm): Likewise.
29047         (__mp_dbl): Likewise.
29048         (__inv): Likewise.
29050         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29051         and adjust the header comment.
29053         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29054         variable name from declaration.
29056 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
29058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29059         Initialize COMMON_CPUID_INDEX_7 element.
29060         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29061         (CPUID_RTM): Likewise.
29062         (HAS_RTM): Likewise.
29063         (COMMON_CPUID_INDEX_7): New enum.
29065 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
29067         [BZ #14981]
29068         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29069         size is zero, record memory as freed.
29071 2013-01-03  Andreas Jaeger  <aj@suse.de>
29073         * po/ia.po: Add new Interlingua translation.
29075 2012-01-03  Allan McRae  <allan@archlinux.org>
29077         * locale/programs/localedef.c: Fix description of '--posix' flag.
29079 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
29081         * NEWS: Update dates in second copyright notice.
29082         * README: Update copyright dates in example.
29083         * manual/libc.texinfo: Update copyright dates.
29084         * scripts/test-installation.pl: Update copyright date in --version
29085         output.
29087         * hurd/ctty-input.c: Fix copyright notice formatting.
29088         * hurd/ctty-output.c: Likewise.
29089         * hurd/dtable.c: Likewise.
29090         * hurd/hurd-raise.c: Likewise.
29091         * hurd/hurdprio.c: Likewise.
29092         * hurd/msgportdemux.c: Likewise.
29093         * misc/sys/file.h: Likewise.
29094         * misc/sys/ioctl.h: Likewise.
29095         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29096         * sysdeps/mach/hurd/chdir.c: Likewise.
29097         * sysdeps/mach/hurd/fchdir.c: Likewise.
29098         * sysdeps/mach/hurd/rename.c: Likewise.
29099         * sysdeps/mach/hurd/rmdir.c: Likewise.
29100         * sysdeps/mach/hurd/seekdir.c: Likewise.
29101         * sysdeps/mach/hurd/setsid.c: Likewise.
29102         * sysdeps/posix/wait3.c: Likewise.
29104         * All files with FSF copyright notices: Update copyright dates
29105         using scripts/update-copyrights.
29106         * intl/plural.c: Regenerated.
29107         * locale/programs/charmap-kw.h: Likewise.
29108         * locale/programs/locfile-kw.h: Likewise.
29110 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29112         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29113         four values.
29115         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29116         calculation loop and add branch prediction.
29118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29119         check access beyond bounds of m1np.
29121         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29122         MPTWO.
29123         (__inv): Remove local variable MPTWO to use the global
29124         constant.
29125         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29127         variable MPTWO.
29128         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29129         MP3HALFS static const.
29131 2013-01-01  David S. Miller  <davem@davemloft.net>
29133         * po/ca.po: Update from translation team.
29135 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
29137         * scripts/update-copyrights: New file.
29138         * Makeconfig: Reformat copyright notice.
29139         * ctype/ctype.h: Likewise.
29140         * debug/swprintf_chk.c: Likewise.
29141         * elf/dl-cache.c: Likewise.
29142         * elf/dl-debug.c: Likewise.
29143         * elf/dl-object.c: Likewise.
29144         * grp/initgroups.c: Likewise.
29145         * hurd/Makefile: Likewise.
29146         * hurd/hurd/signal.h: Likewise.
29147         * hurd/hurdfault.c: Likewise.
29148         * hurd/hurdioctl.c: Likewise.
29149         * hurd/hurdlookup.c: Likewise.
29150         * hurd/intr-msg.c: Likewise.
29151         * iconv/gconv_open.c: Likewise.
29152         * libio/swprintf.c: Likewise.
29153         * locale/lc-ctype.c: Likewise.
29154         * locale/nl_langinfo.c: Likewise.
29155         * mach/Machrules: Likewise.
29156         * mach/Makefile: Likewise.
29157         * malloc/obstack.h: Likewise.
29158         * manual/Makefile: Likewise.
29159         * manual/tsort.awk: Likewise.
29160         * misc/bits/stab.def: Likewise.
29161         * nis/nis_print_group_entry.c: Likewise.
29162         * nis/nis_table.c: Likewise.
29163         * nis/nss_compat/compat-pwd.c: Likewise.
29164         * nis/nss_compat/compat-spwd.c: Likewise.
29165         * po/Makefile: Likewise.
29166         * posix/fnmatch.c: Likewise.
29167         * posix/regex.h: Likewise.
29168         * resolv/Makefile: Likewise.
29169         * resolv/nss_dns/dns-network.c: Likewise.
29170         * resolv/res_hconf.c: Likewise.
29171         * scripts/gen-sorted.awk: Likewise.
29172         * soft-fp/soft-fp.h: Likewise.
29173         * stdio-common/printf.h: Likewise.
29174         * stdlib/monetary.h: Likewise.
29175         * stdlib/random.c: Likewise.
29176         * stdlib/random_r.c: Likewise.
29177         * sysdeps/generic/Makefile: Likewise.
29178         * sysdeps/gnu/Makefile: Likewise.
29179         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29181         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29184         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29185         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29186         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29187         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29188         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29189         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29190         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29191         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29192         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29193         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29194         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29195         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29196         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29197         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29199         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29200         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29201         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29202         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29203         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29204         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29205         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29206         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29207         * sysdeps/mach/hurd/errnos.awk: Likewise.
29208         * sysdeps/mach/hurd/fork.c: Likewise.
29209         * sysdeps/mach/hurd/getcwd.c: Likewise.
29210         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29211         * sysdeps/mach/hurd/mmap.c: Likewise.
29212         * sysdeps/mach/hurd/utimes.c: Likewise.
29213         * sysdeps/mach/hurd/xmknod.c: Likewise.
29214         * sysdeps/posix/profil.c: Likewise.
29215         * sysdeps/posix/readdir_r.c: Likewise.
29216         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29217         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29218         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29219         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29221         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29222         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29223         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29225         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29226         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29227         * sysdeps/pthread/lio_listio.c: Likewise.
29228         * sysdeps/sparc/dl-procinfo.h: Likewise.
29229         * sysdeps/unix/i386/sysdep.S: Likewise.
29230         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29231         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29232         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29233         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29235         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29236         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29237         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29238         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29239         * sysdeps/wordsize-32/divdi3.c: Likewise.
29240         * time/sys/time.h: Likewise.
29241         * wcsmbs/Makefile: Likewise.
29243 2013-01-01  David S. Miller  <davem@davemloft.net>
29245         * po/fr.po: Update from translation team.
29247         * catgets/gencat.c: Update copyright year.
29248         * csu/version.c: Likewise.
29249         * debug/catchsegv.sh: Likewise.
29250         * debug/pcprofiledump.c: Likewise.
29251         * debug/xtrace.sh: Likewise.
29252         * elf/ldconfig.c: Likewise.
29253         * elf/ldd.bash.in: Likewise.
29254         * elf/pldd.c: Likewise.
29255         * elf/sotruss.ksh: Likewise.
29256         * elf/sprof.c: Likewise.
29257         * iconv/iconv_prog.c: Likewise.
29258         * iconv/iconvconfig.c: Likewise.
29259         * locale/programs/locale.c: Likewise.
29260         * locale/programs/localedef.c: Likewise.
29261         * login/programs/pt_chown.c: Likewise.
29262         * malloc/memusage.sh: Likewise.
29263         * malloc/memusagestat.c: Likewise.
29264         * malloc/mtrace.pl: Likewise.
29265         * nscd/nscd.c: Likewise.
29266         * nss/getent.c: Likewise.
29267         * nss/makedb.c: Likewise.
29268         * posix/getconf.c: Likewise.
29270 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29272         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29273         numbers.
29275 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29277         * math/bits/mathcalls.h (modf): Use __nonnull.
29279 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29281         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29282         (split): Use macro CN instead of the bare value.
29283         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29284         could be used.
29285         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29286         instead of the bare value.
29287         (power1): Likewise.
29289 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29291         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29292         __ATAN_TWOM.
29293         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29295         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29296         their values.
29297         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29298         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29299         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29300         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29302 2012-12-28  Andreas Jaeger  <aj@suse.de>
29304         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
29305         values are from Linux 3.7.
29307         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29308         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
29310 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29312         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29313         TRUE case.
29315         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29316         (norm): Likewise.
29317         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29318         variables with preprocessor constants.
29319         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29320         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29321         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29323 2012-12-27  Bruno Haible  <bruno@clisp.org>
29325         [BZ #14317]
29326         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29327         only if needed.
29329 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29331         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29332         and use variable directly.
29333         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29335         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29336         MPONE.
29337         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29338         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29339         variable MPONE.
29340         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29341         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29342         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29343         include directive.  Remove local variable MPONE.
29344         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29345         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29346         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29348 2012-12-25  David S. Miller  <davem@davemloft.net>
29350         * version.h (RELEASE): Set to "development".
29351         (VERSION): Set to "2.17.90".
29352         * NEWS: Add 2.18 section.
29354 2012-12-21  David S. Miller  <davem@davemloft.net>
29356         * po/hr.po: Update from translation team.
29358 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29360         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29362 2012-12-19  Steve Ellcey  <sellcey@mips.com>
29364         * NEWS:  Mention new memcpy for MIPS.
29366 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29368         * manual/contrib.texi (Contributors): Spelling correction.
29370 2012-12-15  David S. Miller  <davem@davemloft.net>
29372         * po/ru.po: Update from translation team.
29374 2012-12-13  David S. Miller  <davem@davemloft.net>
29376         * NEWS: Mention IFUNC testsuite enhancements.
29378         * po/pl.po: Update from translation team.
29379         * po/bg.po: Likewise.
29381         * manual/contrib.texi (Contributors): Update entries for Hongjiu
29382         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
29384 2012-12-11  David S. Miller  <davem@davemloft.net>
29386         * po/sv.po: Update from translation team.
29388         * po/vi.po: Update from translation team.
29390         * po/cs.po: Update from translation team.
29392         * po/de.po: Update from translation team.
29393         * po/eo.po: Likewise.
29394         * po/nl.po: Likewise.
29396 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29398         [BZ #14246]
29399         * manual/argp.texi (Argp Helper Functions): Move node to follow
29400         Argp Parsing State.
29402         [BZ #14872]
29403         * manual/conf.texi (Limits on File System Capacity): Mention if
29404         terminating null is included in the max size.
29406 2012-12-10  Andreas Jaeger  <aj@suse.de>
29408         * po/cs.po: Update from translation team.
29410 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29412         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29413         void pointer and cast to uintptr_t.
29414         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29415         path.
29416         * sysdeps/s390/s390-64/memcpy.S: Likewise.
29417         * sysdeps/s390/s390-64/memset.S: Likewise.
29419 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
29421         [BZ #14833]
29422         * menual/message.texi (Message Translation): Fix typos.
29423         (Helper programs for gettext): Likewise.
29425 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
29427         [BZ #14898]
29428         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29429         Change to -1.
29431 2012-12-07  David S. Miller  <davem@davemloft.net>
29433         * po/libc.pot: Update.
29435 2012-12-07  Richard Henderson  <rth@redhat.com>
29437         [BZ #10114]
29438         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29439         normal/normal case to before the switch.
29440         (_FP_DIV): Likewise.
29442 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
29443             Mike Frysinger  <vapier@gentoo.org>
29445         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29446         check for __NR_fadvise64_64.
29448 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
29450         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29451         0, not just to plain "0" as a statement.
29452         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29453         with cw.
29455 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
29457         * NEWS: Use sourceware.org in Bugzilla URL.
29459 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29462         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29464         * stdio-common/tst-put-error.c (do_test): Add newline to the
29465         padded test to ensure flush.
29467 2012-12-05  Jeff Law  <law@redhat.com>
29469         * sunrpc/etc.rpc (fedfs_admin): Add entry.
29471 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
29473         * README: Don't refer to ports add-on as distributed separately.
29474         Mention AArch64 in list of systems supported in the ports add-on.
29476         * LICENSES: Add more non-FSF copyright and license notices.
29478         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29479         ((unused)).
29481         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29483         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29484         10000 as width of padded output.
29486 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29488         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29490         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29491         variable LX with __attribute__ ((unused)).
29492         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29493         Likewise.
29494         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29495         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29496         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29497         with __attribute__ ((unused)).
29499 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
29501         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29503 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29505         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29506         (CFLAGS-nldbl-acos.c): New variable.
29507         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29508         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29509         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29510         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29511         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29512         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29513         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29514         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29515         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29516         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29517         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29518         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29519         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29520         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29521         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29522         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29523         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29524         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29525         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29526         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29527         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29528         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29529         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29530         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29531         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29532         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29533         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29534         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29535         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29536         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29537         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29538         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29539         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29540         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29541         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29542         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29543         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29544         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29545         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29546         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29547         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29548         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29549         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29550         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29551         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29552         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29553         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29554         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29555         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29556         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29557         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29558         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29559         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29560         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29561         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29562         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29563         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29564         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29565         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29566         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29567         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29568         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29569         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29570         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29571         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29572         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29573         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29574         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29575         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29576         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29577         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29578         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29579         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29580         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29581         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29582         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29583         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29584         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29585         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29586         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29587         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29588         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29589         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29590         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29591         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29592         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29593         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29594         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29595         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29596         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29597         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29598         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29599         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29600         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29601         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29602         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29603         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29606         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29608         [BZ #14914]
29609         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29610         whole low double instead of just low 47 bits when splitting values
29611         into two parts.
29613 2012-12-03  Allan McRae  <allan@archlinux.org>
29615         * manual/stdio.texi (Predefined Printf Handlers): Remove
29616         @hsep and @vsep usage.
29618 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
29620         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29621         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29623 2012-12-03  Jeff Law  <law@redhat.com>
29625         * time/sys/time.h (settimeofday): Do not mark TV argument
29626         as __nonnull.
29628 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
29630         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29631         when currently writing and seek to current position when not.
29632         * libio/Makefile (tests): Remove bug-fclose1.
29633         * libio/bug-fclose1.c: Delete.
29635 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
29637         * manual/arith.texi (feenableexcept): Fix typo.
29638         (fedisableexcept): Likewise.
29640 2012-11-30  Roland McGrath  <roland@hack.frob.com>
29642         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29643         second, differently-typed declaration, rather than a cast.
29645 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29647         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29648         * include/rpc/svc.h: ... here.
29650 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
29652         [BZ #13013]
29653         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29654         depending n and resplen2 to catch cases where answer
29655         equals answerp2.
29657 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
29659         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29660         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29662 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
29664         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29666 2012-11-29  Roland McGrath  <roland@hack.frob.com>
29668         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29670 2012-11-28  Jeff Law  <law@redhat.com>
29672         [BZ #13761]
29673         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29674         dataset_temporary.  Track alloca usage into alloca_used.
29675         If dataset is large allocate and release it via malloc/free.
29677 2012-06-04  Florian Weimer  <fweimer@redhat.com>
29679         [BZ #14197]
29680         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29682 2012-11-28  David S. Miller  <davem@davemloft.net>
29684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29686 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29688         [BZ #14803]
29689         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29690         of pi/2 rounded to nearest to 64 bits.
29691         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29692         nearest to 64 bits.
29693         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29694         bits.
29696 2012-11-28  Jeff Law <law@redhat.com>
29697             Martin Osvald <mosvald@redhat.com>
29699         [BZ #14889]
29700         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29701         * sunrpc/svc.c: Include time.h.
29702         (__svc_accept_failed): New function.
29703         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29704         any reason other than EINTR, call __svc_accept_failed.
29705         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29706         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29708 2012-11-28  Andreas Schwab  <schwab@suse.de>
29710         * scripts/abilist.awk: Also handle indirect functions in .opd
29711         section.
29713 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29715         [BZ #13881]
29716         * sysdeps/x86/fpu/powl_helper.c: New file.
29717         * sysdeps/x86/fpu/Makefile: Likewise.
29718         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29719         (p3): New object.
29720         (__ieee754_powl): Use __powl_helper for finite arguments except
29721         integer exponents below 8.
29722         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29723         (p3): New object.
29724         (__ieee754_powl): Use __powl_helper for finite arguments except
29725         integer exponents below 8.
29726         * math/libm-test.inc (pow_test): Add more tests and enable some
29727         previously disabled tests.
29728         * sysdeps/i386/fpu/libm-test-ulps: Update.
29729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29731 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29732             Carlos O'Donell  <carlos_odonell@mentor.com>
29734         * nss/makedb.c (is_prime): Assert that input is odd and greater
29735         than 4.  Note that fact in a comment too.
29736         (next_prime): Add 4 to input.
29738 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29740         [BZ #11741]
29741         * libio/Makefile (tests): Add test case tst-fwrite-error.
29742         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29743         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29744         * libio/tst-fwrite-error.c: New test case.
29746 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
29748         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29749         before casting to void *.
29750         * include/libc-internal.h (__pointer_type): New macro.
29751         (__integer_if_pointer_type_sub): Likewise.
29752         (__integer_if_pointer_type): Likewise.
29753         (cast_to_integer): Likewise.
29754         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29755         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29756         before casting to atomic64_t.
29757         (atomic_exchange_acq): Likewise.
29758         (__arch_exchange_and_add_body): Likewise.
29759         (__arch_add_body): Likewise.
29760         (atomic_add_negative): Likewise.
29761         (atomic_add_zero): Likewise.
29763 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
29765         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29766         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29767         (add_fdes): Likewise.
29768         (linear_search_fdes): Likewise.
29769         (binary_search_unencoded_fdes): Likewise.
29771 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
29773         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29775 2012-11-24  Adam Conrad  <adconrad@0c3.net>
29777         * configure.in: Autodetect C++ header directories.
29778         * configure: Regenerated.
29780 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
29782         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29784 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
29786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29788 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29790         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29791         LDBL_MANT_DIG == 106]: Disable some tests.
29792         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29793         Likewise.
29794         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29795         Likewise.
29797         [BZ #14871]
29798         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29799         input for small inputs.  Return +/- pi/2 for large inputs.
29800         * math/libm-test.inc (atan_test): Add more tests.
29802         * sysdeps/generic/unwind-dw2-fde-glibc.c
29803         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29804         __attribute__ ((unused)).
29806         [BZ #14645]
29807         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29808         x * y if x and y are nonzero and z is zero.
29810         [BZ #14811]
29811         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29812         nonzero exponents with absolute value below 0x1p-117 to +/-
29813         0x1p-117.
29815         [BZ #14869]
29816         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29817         up arguments below 2**-450, not just those below 2**-500.
29818         * math/libm-test.inc (hypot_test): Add another test.
29820         [BZ #14868]
29821         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29822         Return a+b for ratio over 2**120, not 2**60.
29823         * math/libm-test.inc (hypot_test): Add another test.
29825         * math/libm-test.inc (clog_test): Use
29826         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29827         (clog10_test): Likewise.
29829         [BZ #6778]
29830         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29832 2012-11-22  Andreas Schwab  <schwab@suse.de>
29834         * sysdeps/i386/fpu/libm-test-ulps: Update.
29836 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29838         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29839         printf output with newline.
29841 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29843         [BZ #14865]
29844         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29845         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29846         -z nodlopen, -z initfirst and -z execstack support.
29847         * configure: Regenerated.
29849         * elf/elf.h (DF_1_NODIRECT): New macro.
29850         (DF_1_IGNMULDEF): Likewise.
29851         (DF_1_NOKSYMS): Likewise.
29852         (DF_1_NOHDR): Likewise.
29853         (DF_1_EDITED): Likewise.
29854         (DF_1_NORELOC): Likewise.
29855         (DF_1_SYMINTPOSE): Likewise.
29856         (DF_1_GLOBAUDIT): Likewise.
29857         (DF_1_SINGLETON): Likewise.
29858         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29859         DT_1_SUPPORTED_MASK bits.
29860         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29862 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29864         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29866 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29868         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29869         macro.
29871         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29872         (sendmmsg): Move declarations...
29873         * socket/sys/socket.h: ... here.
29874         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29875         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29876         include it from...
29877         * socket/recvmmsg.c: ... this new file.
29878         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29879         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29880         definition of __sendmmsg hidden.
29881         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29882         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29883         Move ENOSYS stub into and include it from...
29884         * socket/sendmmsg.c: ... this new file.
29885         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29886         (sysdep_routines): Move recvmmsg and sendmmsg...
29887         * socket/Makefile (routines): ... here.
29888         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29889         (GLIBC_PRIVATE): Add __sendmmsg.
29890         * include/sys/socket.h (__sendmmsg): Add declarations.
29891         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29892         sendmmsg.
29894 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29896         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29897         variable I1 with __attribute__ ((unused)).
29898         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29900 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29902         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29903         DUMMY variables with __attribute__ ((unused)).
29905         * bits/byteswap.h: Include <bits/types.h>.
29906         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29908 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29910         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29911         string_t.  Do not manually set errno.
29912         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29913         length with __strnlen.  Make sure to both set errno and return it on
29914         failure.
29916 2012-11-19  David S. Miller  <davem@davemloft.net>
29918         With help from Joseph Myers.
29919         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29920         very large arguments properly.
29921         * math/libm-test.inc (atan_test): New tests.
29922         (atan2_test): New tests.
29923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29926 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29928         [BZ #14856]
29929         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29930         Define to 3.
29932         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29933         [POSIX] (EADDRNOTAVAIL): Likewise.
29934         [POSIX] (EAFNOSUPPORT): Likewise.
29935         [POSIX] (EALREADY): Likewise.
29936         [POSIX] (ECONNABORTED): Likewise.
29937         [POSIX] (ECONNREFUSED): Likewise.
29938         [POSIX] (ECONNRESET): Likewise.
29939         [POSIX] (EDESTADDRREQ): Likewise.
29940         [POSIX] (EDQUOT): Likewise.
29941         [POSIX] (EHOSTUNREACH): Likewise.
29942         [POSIX] (EIDRM): Likewise.
29943         [POSIX] (EISCONN): Likewise.
29944         [POSIX] (ELOOP): Likewise.
29945         [POSIX] (EMULTIHOP): Likewise.
29946         [POSIX] (ENETDOWN): Likewise.
29947         [POSIX] (ENETUNREACH): Likewise.
29948         [POSIX] (ENOBUFS): Likewise.
29949         [POSIX] (ENODATA): Likewise.
29950         [POSIX] (ENOLINK): Likewise.
29951         [POSIX] (ENOMSG): Likewise.
29952         [POSIX] (ENOPROTOOPT): Likewise.
29953         [POSIX] (ENOSR): Likewise.
29954         [POSIX] (ENOSTR): Likewise.
29955         [POSIX] (ENOTCONN): Likewise.
29956         [POSIX] (ENOTSOCK): Likewise.
29957         [POSIX] (EOPNOTSUPP): Likewise.
29958         [POSIX] (EOVERFLOW): Likewise.
29959         [POSIX] (EPROTO): Likewise.
29960         [POSIX] (EPROTONOSUPPORT): Likewise.
29961         [POSIX] (EPROTOTYPE): Likewise.
29962         [POSIX] (ESTALE): Likewise.
29963         [POSIX] (ETIME): Likewise.
29964         [POSIX] (ETXTBSY): Likewise.
29965         [POSIX] (EWOULDBLOCK): Likewise.
29966         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29967         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29968         [POSIX] (SEEK_CUR): Likewise.
29969         [POSIX] (SEEK_END): Likewise.
29970         [POSIX || UNIX98] (mode_t): Do not require.
29971         [POSIX] (off_t): Likewise.
29972         [POSIX] (pid_t): Likewise.
29973         [POSIX] (sys/stat.h): Do not allow header.
29974         [POSIX] (unistd.h): Likewise.
29975         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29976         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29977         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29978         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29979         require.
29980         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29981         sigevent): Specify elements.
29982         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29983         entry.
29984         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29985         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29987         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29988         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29989         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29990         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29991         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29992         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29993         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29994         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29995         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29996         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29997         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29998         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29999         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30000         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30001         Likewise.
30002         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30003         Likewise.
30004         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30005         Likewise.
30006         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30007         Likewise.
30008         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30009         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30010         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30011         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30012         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30013         Specify lower bound on value.
30014         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30015         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30016         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30017         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30018         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30019         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30020         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30021         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30022         value.
30023         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30024         as optional.
30025         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30026         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30027         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30028         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30029         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30030         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30031         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30032         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30033         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30034         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30035         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30036         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30037         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30038         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30039         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30040         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30041         entry.
30042         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30043         optional.
30044         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30045         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30046         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30047         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30048         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30049         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30050         Likewise.
30051         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30052         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30053         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30054         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30055         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
30056         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30057         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30058         as optional.
30059         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30060         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30061         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30062         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30063         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30064         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30065         specify as optional.
30066         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30067         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30068         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30069         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30070         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30071         [XPG3] (NL_LANGMAX): Likewise.
30072         [POSIX || XPG3] (NL_MSGMAX): Likewise.
30073         [POSIX || XPG3] (NL_NMAX): Likewise.
30074         [POSIX || XPG3] (NL_SETMAX): Likewise.
30075         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30076         [XPG3] (NZERO): Likewise.
30077         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30078         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30079         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30080         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30081         (REG_ERANGE): Expect.
30082         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30083         optional-constant.
30084         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30085         Use (void) in prototype.
30086         [POSIX] (*_t): Allow.
30087         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30088         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30089         (WRDE_BADVAL): Expect.
30091         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30092         expect.
30093         [XPG3 || XPG4] (O_RSYNC): Likewise.
30094         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30095         Likewise.
30096         [XPG3 || XPG4] (pthread_sigmask): Likewise.
30097         [XPG3 || XPG4] (sigqueue): Likewise.
30098         [XPG3 || XPG4] (sigtimedwait): Likewise.
30099         [XPG3 || XPG4] (sigwaitinfo): Likewise.
30100         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30101         [XPG3 || XPG4] (vsnprintf): Likewise.
30102         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30103         Likewise.
30104         [XPG3 || XPG4] (blksize_t): Likewise.
30105         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30106         Likewise.
30107         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30108         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30109         [XPG3 || XPG4] (struct itimerspec): Likewise.
30110         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30111         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30112         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30113         [XPG3 || XPG4] (clockid_t): Likewise.
30114         [XPG3 || XPG4] (timer_t): Likewise.
30115         [XPG3 || XPG4] (clock_getres): Likewise.
30116         [XPG3 || XPG4] (clock_gettime): Likewise.
30117         [XPG3 || XPG4] (clock_settime): Likewise.
30118         [XPG3 || XPG4] (nanosleep): Likewise.
30119         [XPG3 || XPG4] (timer_create): Likewise.
30120         [XPG3 || XPG4] (timer_delete): Likewise.
30121         [XPG3 || XPG4] (timer_gettime): Likewise.
30122         [XPG3 || XPG4] (timer_getoverrun): Likewise.
30123         [XPG3 || XPG4] (timer_settime): Likewise.
30124         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30125         [XPG3 || XPG4] (getlogin_r): Likewise.
30126         [XPG3 || XPG4] (pread): Likewise.
30127         [XPG3 || XPG4] (pthread_atfork): Likewise.
30128         [XPG3 || XPG4] (pwrite): Likewise.
30130         [BZ #14835]
30131         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30132         <bits/siginfo.h>.
30134 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30136         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30137         finalizing MALLSTREAM.
30139         * sysdeps/mach/hurd/syncfs.c: New file.
30141 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30143         [BZ #14719]
30144         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30145         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30146         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30147         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30148         (_nss_dns_gethostbyname4_r): Likewise.
30149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30150         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30152 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
30154         [BZ #13763]
30155         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30157 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
30159         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30160         * elf/cache.c (print_entry): Print ",AArch64" for
30161         FLAG_AARCH64_LIB64
30163         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30164         * elf/cache.c (print_entry): Print ",hard-float" for
30165         FLAG_ARM_LIBHF.
30167 2012-11-18  David S. Miller  <davem@davemloft.net>
30169         With help from Joseph Myers.
30170         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30171         cutoff to 2**-13.
30172         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30173         cutoff to 2**-25.
30174         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30175         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30176         small.
30177         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30178         * math/libm-test.inc (y0_test): New tests.
30179         (y1_test): New tests.
30180         * sysdeps/i386/fpu/libm-test-ulps: Update.
30181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30184 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30186         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30187         64-bit targets.
30188         * configure: Regenerated.
30190 2012-11-17  David S. Miller  <davem@davemloft.net>
30192         [BZ #14811]
30193         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30194         nonzero exponents with absolute value below 0x1p-128 to +/-
30195         0x1p-128.
30197 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30199         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30201         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30203         * posix/getconf-speclist.c: New file.
30204         * posix/posix-envs.def: Likewise.
30205         * posix/confstr.c (START_ENV_GROUP): New macro.
30206         (END_ENV_GROUP): Likewise.
30207         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30208         (KNOWN_PRESENT_ENV_STRING): Likewise.
30209         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30210         (UNKNOWN_ENVIRONMENT): Likewise.
30211         (confstr): Include posix-envs.def instead of handling
30212         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30213         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30214         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30215         (END_ENV_GROUP): Likewise.
30216         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30217         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30218         (UNKNOWN_ENVIRONMENT): Likewise.
30219         (__sysconf): Include posix-envs.def instead of handling associated
30220         cases directly here.
30221         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30222         preprocessing getconf-speclist.c rather than running getconf or
30223         generating empty file.
30225 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30227         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30229 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30231         [BZ #14672]
30232         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30234 2012-11-16  David S. Miller  <davem@davemloft.net>
30236         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30237         smaller than LDBL_EPSILON/2.0L, just return xm1.
30239 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30241         * elf/tst-array1.c (init): Set constructor priority to 1000.
30242         (fini): Set destructor priority to 1000.
30243         * elf/tst-array2dep.c: Likewise.
30245 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30247         [BZ #11741]
30248         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30249         (_IO_new_file_xsputn): Also return EOF if none of the input
30250         data was written when overflow failed.
30251         * libio/iopadn.c (_IO_padn): Likewise.
30252         * libio/iowpadn.c (_IO_wpadn): Likewise.
30253         * stdio-common/tst-put-error.c: Add copyright notice.
30254         (do_test): Add case for printing padded string.
30255         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30256         _IO_padn returned error.
30257         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30258         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30259         return EOF.
30261 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30263         * libio/libioP.h: Add comment note that the references to C++
30264         bits are now obsolete.
30266 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30268         * math/libm-test.inc (check_complex): Use asprintf.
30270 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30272         * debug/pcprofiledump.c (print_version): Update copyright year.
30273         * malloc/memusagestat.c (print_version): Likewise.
30275 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30277         [BZ #14831]
30278         * elf/Makefile (tests): Add tst-audit8.
30279         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30280         ($(objpfx)tst-audit8.out): New target.
30281         (tst-audit8-ENV): New variable.
30282         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30283         audit if l_reloc_result is NULL.
30284         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30285         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30286         * elf/tst-audit8.c: New file.
30288 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30290         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30291         * misc/Makefile (CFLAGS-select.c): Define.
30292         * posix/Makefile (CFLAGS-pause.c): Define.
30294 2012-11-13  David S. Miller  <davem@davemloft.net>
30296         * crypt/Makefile: Move test targets after toplevel Rules
30297         inclusion.  Grab any necessary sysdep routines when linking.
30298         * crypt/md5.c (md5_process_block): Remove define, we will always
30299         name it __md5_process_block.
30300         (md5_finish_ctx): Update md5_process_block call.
30301         (md5_stream): Likewise.
30302         (md5_process_bytes): Likewise.
30303         (md5_process_block): Rename to __md5_process_block and move to ...
30304         * crypt/md5-block.c: ... here.
30305         * crypt/sha256.c (sha256_process_block): Move to ...
30306         * crypt/sha256-block.c: ... here.
30307         * crypt/sha512.c (sha512_process_block): Move to ...
30308         * crypt/sha512-block.c: ... here.
30309         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30310         path.
30311         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30312         * sysdeps/sparc/sparc64/multiarch/Makefile
30313         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30314         crypt subdir.
30315         (localedef-aux): Add md5 crypto assembler when in locale subdir.
30316         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30317         multiarch changes.
30318         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30319         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30320         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30321         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30322         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30323         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30324         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30325         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30326         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30327         file.
30328         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30329         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30330         file.
30331         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30333 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
30335         * timezone/tzselect.ksh: Update from tzcode git revision
30336         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30337         * timezone/zdump.c: Likewise.
30338         * timezone/zic.c: Likewise.
30339         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30340         in TZVERSION setting, not $(PKGVERSION).
30341         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
30342         REPORT_BUGS_TO settings.
30344         [BZ #14838]
30345         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30346         macro.
30348 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30350         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30351         detection to immediately after _FP_ROUND().
30352         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30353         bits are 0.
30355 2012-11-11  David S. Miller  <davem@davemloft.net>
30357         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30358         inttypes.h
30359         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30360         __close rather than their public counterparts.
30362 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
30364         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30365         file.
30366         [UNIX98] (sem_timedwait): Do not expect.
30367         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30368         [XPG4 || UNIX98] (sockatmark): Do not expect.
30369         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30370         (clock_getcpuclockid): Do not expect.
30371         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30372         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30373         Do not expect.
30374         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30375         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30376         [UNIX98] (vwscanf): Likewise.
30377         [UNIX98] (vswscanf): Likewise.
30379 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
30381         * timezone/version.h: Remove file.
30382         * timezone/README: Do not refer to version.h.
30383         * timezone/Makefile ($(objpfx)zic.o): New dependency on
30384         $(objpfx)version.h.
30385         ($(objpfx)zdump.o): Likewise.
30386         ($(objpfx)version.h): New target.
30388         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30389         2012i.
30390         * timezone/README: Don't mention modification to tzselect.ksh.
30391         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30392         work on unmodified tzselect.ksh.  Substitute version numbers in
30393         tzselect.ksh.
30395         * Makefile (format-me): Remove.
30396         (INSTALL): Adjust indentation.  Use commands directly instead of
30397         using $(format-me).
30399         * aclocal.m4 (ACX_PKGVERSION): New macro.
30400         (ACX_BUGURL): Likewise.
30401         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30402         (PKGVERSION): New AC_DEFINE_UNQUOTED.
30403         (REPORT_BUGS_TO): Likewise.
30404         * configure: Regenerated.
30405         * config.h.in (PKGVERSION): New macro.
30406         (REPORT_BUGS_TO): Likewise.
30407         * config.make.in (PKGVERSION): New variable.
30408         (PKGVERSION_TEXI): Likewise.
30409         (REPORT_BUGS_TO): Likewise.
30410         (REPORT_BUGS_TEXI): Likewise.
30411         * Makefile (format-me): Use -I$(common-objpfx)manual.
30412         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30413         ($(common-objpfx)manual/%): New target.
30414         (manual/%): Remove target.
30415         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30416         (print_version): Use PKGVERSION.
30417         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30418         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30419         and REPORT_BUGS_TO.
30420         ($(objpfx)xtrace): Likewise.
30421         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30422         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30423         (print_version): Use PKGVERSION.
30424         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30425         (do_version): Use PKGVERSION.
30426         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30427         REPORT_BUGS_TO.
30428         (common-ldd-rewrite): Likewise.
30429         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30430         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30431         (print_version): Use PKGVERSION.
30432         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30433         * elf/pldd.c (argp_program_bug_address): Remove variable.
30434         (more_help): New function.
30435         (argp): Use more_help.
30436         (print_version): Use PKGVERSION.
30437         * elf/sln.c (main): Use PKGVERSION.
30438         (usage): Use REPORT_BUGS_TO.
30439         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30440         (top level): Use PKGVERSION.
30441         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30442         (print_version): Use PKGVERSION.
30443         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30444         (print_version): Use PKGVERSION.
30445         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30446         (print_version): Use PKGVERSION.
30447         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30448         (print_version): Use PKGVERSION.
30449         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30450         (print_version): Use PKGVERSION.
30451         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30452         (print_version): Use PKGVERSION.
30453         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30454         and BUGURL.
30455         ($(objpfx)memusage): Likewise.
30456         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30457         (do_version): Use PKGVERSION.
30458         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30459         (print_version): Use PKGVERSION.
30460         * malloc/mtrace.pl ($PACKAGE): Remove variable.
30461         ($PKGVERSION): New variable.
30462         ($REPORT_BUGS_TO): Likewise.
30463         (usage): Use $REPORT_BUGS_TO.
30464         (top level): Use $PKGVERSION.
30465         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30466         ($(objpfx)pkgvers.texi): New rule.
30467         ($(objpfx)stamp-pkgvers): Likewise.
30468         * manual/install.texi: Include pkgvers.texi.
30469         (--with-pkgversion): Document new configure option.
30470         (--with-bugurl): Likewise.
30471         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30472         than necessarily for this particular distribution.  Use
30473         REPORT_BUGS_TO for where to report bugs.
30474         * INSTALL: Regenerated.
30475         * manual/libc.texinfo: Include pkgvers.texi.
30476         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30477         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30478         (print_version): Use PKGVERSION.
30479         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30480         (print_version): Use PKGVERSION.
30481         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30482         (print_version): Use PKGVERSION.
30483         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30484         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30485         macro.
30486         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30487         (print_version): Use PKGVERSION.
30488         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30489         (print_version): Use PKGVERSION.
30490         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30491         and PKGVERSION.
30493         * timezone/checktab.awk: Update from tzcode 2012i.
30494         * timezone/ialloc.c: Likewise.
30495         * timezone/private.h: Likewise.
30496         * timezone/scheck.c: Likewise.
30497         * timezone/tzfile.h: Likewise.
30498         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30499         (TZVERSION): Hardcode tzcode version number.
30500         * timezone/zdump.c: Update from tzcode 2012i.
30501         * timezone/zic.c: Likewise.
30502         * timezone/version.h: New file.
30503         * timezone/README: Describe version.h.  Update upstream location.
30505         [BZ #14824]
30506         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30507         (mktemp): Enable declaration.
30508         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30509         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30510         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30511         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30512         Likewise.
30513         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30514         Likewise.
30515         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30516         Likewise.
30517         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30518         Likewise.
30519         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30520         Likewise.
30521         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30522         Likewise.
30524         [BZ #14821]
30525         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30526         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
30527         for copies of such integer values.
30528         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30529         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30531 2012-11-09  Andreas Jaeger  <aj@suse.de>
30533         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30534         definitions and declarations that are provided by
30535         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30537 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30539         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30540         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30541         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30542         definition.
30544 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30546         * elf/elf.h: Update comment before AArch64 relocations.
30548 2012-11-07  David S. Miller  <davem@davemloft.net>
30550         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30551         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30552         (__start_context): Declare.
30553         (__makecontext_ret): Delete.
30554         (__makecontext): Hook up __start_context instead of
30555         __makecontext_ret.
30556         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30557         (sysdep_routines): Add __start_context when in stdlib.
30559 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30561         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30562         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30563         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
30564         hardcoded "nm".
30565         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
30566         (READELF): New variable.  Use it instead of hardcoded "readelf".
30568 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30570         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30571         * sysdeps/x86/Makefile: Here.
30572         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30573         * sysdeps/x86/tst-xmmymm.sh: This.
30575 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30577         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30578         expectations.
30579         [UNIX98] (pthread_barrier_t): Do not expect.
30580         [UNIX98] (pthread_barrierattr_t): Likewise.
30581         [UNIX98] (pthread_spinlock_t): Likewise.
30582         [UNIX98] (pthread_barrier_destroy): Likewise.
30583         [UNIX98] (pthread_barrier_init): Likewise.
30584         [UNIX98] (pthread_barrier_wait): Likewise.
30585         [UNIX98] (pthread_barrierattr_destroy): Likewise.
30586         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30587         [UNIX98] (pthread_barrierattr_init): Likewise.
30588         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30589         [UNIX98] (pthread_getcpuclockid): Likewise.
30590         [UNIX98] (pthread_mutex_timedlock): Likewise.
30591         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30592         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30593         [UNIX98] (pthread_sigmask): Likewise.
30594         [UNIX98] (pthread_spin_destroy): Likewise.
30595         [UNIX98] (pthread_spin_init): Likewise.
30596         [UNIX98] (pthread_spin_lock): Likewise.
30597         [UNIX98] (pthread_spin_trylock): Likewise.
30598         [UNIX98] (pthread_spin_unlock): Likewise.
30599         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30600         Do not expect.
30601         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30602         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30603         [XPG3 || XPG4] (pthread_cond_t): Likewise.
30604         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30605         [XPG3 || XPG4] (pthread_key_t): Likewise.
30606         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30607         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30608         [XPG3 || XPG4] (pthread_once_t): Likewise.
30609         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30610         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30611         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30612         [XPG3 || XPG4] (pthread_t): Likewise.
30614         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30615         not expect.
30616         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30618         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30619         Change function return type to int.
30621         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30622         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30623         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30624         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30625         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30626         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30627         [!POSIX] (posix_madvise): Likewise.
30628         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30629         && !UNIX98].
30630         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30631         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30632         (mode_t): Likewise.
30633         (posix_mem_offset): Likewise.
30634         (posix_typed_mem_get_info): Likewise.
30635         (posix_typed_mem_open): Likewise.
30637         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30638         Change condition to [XOPEN2K8].
30640         * conform/conformtest.pl: Preprocess allow-header data with -x c
30641         instead of from stdin.
30642         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30643         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30644         [C99-based standards] (cerfc): Likewise.
30645         [C99-based standards] (cexp2): Likewise.
30646         [C99-based standards] (cexpm1): Likewise.
30647         [C99-based standards] (clog10): Likewise.
30648         [C99-based standards] (clog1p): Likewise.
30649         [C99-based standards] (clog2): Likewise.
30650         [C99-based standards] (clgamma): Likewise.
30651         [C99-based standards] (ctgamma): Likewise.
30652         [C99-based standards] (cerff): Likewise.
30653         [C99-based standards] (cerfcf): Likewise.
30654         [C99-based standards] (cexp2f): Likewise.
30655         [C99-based standards] (cexpm1f): Likewise.
30656         [C99-based standards] (clog10f): Likewise.
30657         [C99-based standards] (clog1pf): Likewise.
30658         [C99-based standards] (clog2f): Likewise.
30659         [C99-based standards] (clgammaf): Likewise.
30660         [C99-based standards] (ctgammaf): Likewise.
30661         [C99-based standards] (cerfl): Likewise.
30662         [C99-based standards] (cerfcl): Likewise.
30663         [C99-based standards] (cexp2l): Likewise.
30664         [C99-based standards] (cexpm1l): Likewise.
30665         [C99-based standards] (clog10l): Likewise.
30666         [C99-based standards] (clog1pl): Likewise.
30667         [C99-based standards] (clog2l): Likewise.
30668         [C99-based standards] (clgammal): Likewise.
30669         [C99-based standards] (ctgammal): Likewise.
30670         * conform/data/inttypes.h-data [C99-based standards]: Include
30671         stdint.h-data.  Remove all expectations for stdint.h contents.
30672         [C99-based standards] (PRI*): Do not allow.
30673         [C99-based standards] (SCN*): Likewise.
30674         [C99-based standards] (*_t): Likewise.
30675         [C99-based-standards] (PRId8): Expect macro.
30676         [C99-based-standards] (PRIi8): Likewise.
30677         [C99-based-standards] (PRIo8): Likewise.
30678         [C99-based-standards] (PRIu8): Likewise.
30679         [C99-based-standards] (PRIx8): Likewise.
30680         [C99-based-standards] (PRIX8): Likewise.
30681         [C99-based-standards] (SCNd8): Likewise.
30682         [C99-based-standards] (SCNi8): Likewise.
30683         [C99-based-standards] (SCNo8): Likewise.
30684         [C99-based-standards] (SCNu8): Likewise.
30685         [C99-based-standards] (SCNx8): Likewise.
30686         [C99-based-standards] (PRIdLEAST8): Likewise.
30687         [C99-based-standards] (PRIiLEAST8): Likewise.
30688         [C99-based-standards] (PRIoLEAST8): Likewise.
30689         [C99-based-standards] (PRIuLEAST8): Likewise.
30690         [C99-based-standards] (PRIxLEAST8): Likewise.
30691         [C99-based-standards] (PRIXLEAST8): Likewise.
30692         [C99-based-standards] (SCNdLEAST8): Likewise.
30693         [C99-based-standards] (SCNiLEAST8): Likewise.
30694         [C99-based-standards] (SCNoLEAST8): Likewise.
30695         [C99-based-standards] (SCNuLEAST8): Likewise.
30696         [C99-based-standards] (SCNxLEAST8): Likewise.
30697         [C99-based-standards] (PRIdFAST8): Likewise.
30698         [C99-based-standards] (PRIiFAST8): Likewise.
30699         [C99-based-standards] (PRIoFAST8): Likewise.
30700         [C99-based-standards] (PRIuFAST8): Likewise.
30701         [C99-based-standards] (PRIxFAST8): Likewise.
30702         [C99-based-standards] (PRIXFAST8): Likewise.
30703         [C99-based-standards] (SCNdFAST8): Likewise.
30704         [C99-based-standards] (SCNiFAST8): Likewise.
30705         [C99-based-standards] (SCNoFAST8): Likewise.
30706         [C99-based-standards] (SCNuFAST8): Likewise.
30707         [C99-based-standards] (SCNxFAST8): Likewise.
30708         [C99-based-standards] (PRId16): Likewise.
30709         [C99-based-standards] (PRIi16): Likewise.
30710         [C99-based-standards] (PRIo16): Likewise.
30711         [C99-based-standards] (PRIu16): Likewise.
30712         [C99-based-standards] (PRIx16): Likewise.
30713         [C99-based-standards] (PRIX16): Likewise.
30714         [C99-based-standards] (SCNd16): Likewise.
30715         [C99-based-standards] (SCNi16): Likewise.
30716         [C99-based-standards] (SCNo16): Likewise.
30717         [C99-based-standards] (SCNu16): Likewise.
30718         [C99-based-standards] (SCNx16): Likewise.
30719         [C99-based-standards] (PRIdLEAST16): Likewise.
30720         [C99-based-standards] (PRIiLEAST16): Likewise.
30721         [C99-based-standards] (PRIoLEAST16): Likewise.
30722         [C99-based-standards] (PRIuLEAST16): Likewise.
30723         [C99-based-standards] (PRIxLEAST16): Likewise.
30724         [C99-based-standards] (PRIXLEAST16): Likewise.
30725         [C99-based-standards] (SCNdLEAST16): Likewise.
30726         [C99-based-standards] (SCNiLEAST16): Likewise.
30727         [C99-based-standards] (SCNoLEAST16): Likewise.
30728         [C99-based-standards] (SCNuLEAST16): Likewise.
30729         [C99-based-standards] (SCNxLEAST16): Likewise.
30730         [C99-based-standards] (PRIdFAST16): Likewise.
30731         [C99-based-standards] (PRIiFAST16): Likewise.
30732         [C99-based-standards] (PRIoFAST16): Likewise.
30733         [C99-based-standards] (PRIuFAST16): Likewise.
30734         [C99-based-standards] (PRIxFAST16): Likewise.
30735         [C99-based-standards] (PRIXFAST16): Likewise.
30736         [C99-based-standards] (SCNdFAST16): Likewise.
30737         [C99-based-standards] (SCNiFAST16): Likewise.
30738         [C99-based-standards] (SCNoFAST16): Likewise.
30739         [C99-based-standards] (SCNuFAST16): Likewise.
30740         [C99-based-standards] (SCNxFAST16): Likewise.
30741         [C99-based-standards] (PRId32): Likewise.
30742         [C99-based-standards] (PRIi32): Likewise.
30743         [C99-based-standards] (PRIo32): Likewise.
30744         [C99-based-standards] (PRIu32): Likewise.
30745         [C99-based-standards] (PRIx32): Likewise.
30746         [C99-based-standards] (PRIX32): Likewise.
30747         [C99-based-standards] (SCNd32): Likewise.
30748         [C99-based-standards] (SCNi32): Likewise.
30749         [C99-based-standards] (SCNo32): Likewise.
30750         [C99-based-standards] (SCNu32): Likewise.
30751         [C99-based-standards] (SCNx32): Likewise.
30752         [C99-based-standards] (PRIdLEAST32): Likewise.
30753         [C99-based-standards] (PRIiLEAST32): Likewise.
30754         [C99-based-standards] (PRIoLEAST32): Likewise.
30755         [C99-based-standards] (PRIuLEAST32): Likewise.
30756         [C99-based-standards] (PRIxLEAST32): Likewise.
30757         [C99-based-standards] (PRIXLEAST32): Likewise.
30758         [C99-based-standards] (SCNdLEAST32): Likewise.
30759         [C99-based-standards] (SCNiLEAST32): Likewise.
30760         [C99-based-standards] (SCNoLEAST32): Likewise.
30761         [C99-based-standards] (SCNuLEAST32): Likewise.
30762         [C99-based-standards] (SCNxLEAST32): Likewise.
30763         [C99-based-standards] (PRIdFAST32): Likewise.
30764         [C99-based-standards] (PRIiFAST32): Likewise.
30765         [C99-based-standards] (PRIoFAST32): Likewise.
30766         [C99-based-standards] (PRIuFAST32): Likewise.
30767         [C99-based-standards] (PRIxFAST32): Likewise.
30768         [C99-based-standards] (PRIXFAST32): Likewise.
30769         [C99-based-standards] (SCNdFAST32): Likewise.
30770         [C99-based-standards] (SCNiFAST32): Likewise.
30771         [C99-based-standards] (SCNoFAST32): Likewise.
30772         [C99-based-standards] (SCNuFAST32): Likewise.
30773         [C99-based-standards] (SCNxFAST32): Likewise.
30774         [C99-based-standards] (PRId64): Likewise.
30775         [C99-based-standards] (PRIi64): Likewise.
30776         [C99-based-standards] (PRIo64): Likewise.
30777         [C99-based-standards] (PRIu64): Likewise.
30778         [C99-based-standards] (PRIx64): Likewise.
30779         [C99-based-standards] (PRIX64): Likewise.
30780         [C99-based-standards] (SCNd64): Likewise.
30781         [C99-based-standards] (SCNi64): Likewise.
30782         [C99-based-standards] (SCNo64): Likewise.
30783         [C99-based-standards] (SCNu64): Likewise.
30784         [C99-based-standards] (SCNx64): Likewise.
30785         [C99-based-standards] (PRIdLEAST64): Likewise.
30786         [C99-based-standards] (PRIiLEAST64): Likewise.
30787         [C99-based-standards] (PRIoLEAST64): Likewise.
30788         [C99-based-standards] (PRIuLEAST64): Likewise.
30789         [C99-based-standards] (PRIxLEAST64): Likewise.
30790         [C99-based-standards] (PRIXLEAST64): Likewise.
30791         [C99-based-standards] (SCNdLEAST64): Likewise.
30792         [C99-based-standards] (SCNiLEAST64): Likewise.
30793         [C99-based-standards] (SCNoLEAST64): Likewise.
30794         [C99-based-standards] (SCNuLEAST64): Likewise.
30795         [C99-based-standards] (SCNxLEAST64): Likewise.
30796         [C99-based-standards] (PRIdFAST64): Likewise.
30797         [C99-based-standards] (PRIiFAST64): Likewise.
30798         [C99-based-standards] (PRIoFAST64): Likewise.
30799         [C99-based-standards] (PRIuFAST64): Likewise.
30800         [C99-based-standards] (PRIxFAST64): Likewise.
30801         [C99-based-standards] (PRIXFAST64): Likewise.
30802         [C99-based-standards] (SCNdFAST64): Likewise.
30803         [C99-based-standards] (SCNiFAST64): Likewise.
30804         [C99-based-standards] (SCNoFAST64): Likewise.
30805         [C99-based-standards] (SCNuFAST64): Likewise.
30806         [C99-based-standards] (SCNxFAST64): Likewise.
30807         [C99-based-standards] (PRIdMAX): Likewise.
30808         [C99-based-standards] (PRIiMAX): Likewise.
30809         [C99-based-standards] (PRIoMAX): Likewise.
30810         [C99-based-standards] (PRIuMAX): Likewise.
30811         [C99-based-standards] (PRIxMAX): Likewise.
30812         [C99-based-standards] (PRIXMAX): Likewise.
30813         [C99-based-standards] (SCNdMAX): Likewise.
30814         [C99-based-standards] (SCNiMAX): Likewise.
30815         [C99-based-standards] (SCNoMAX): Likewise.
30816         [C99-based-standards] (SCNuMAX): Likewise.
30817         [C99-based-standards] (SCNxMAX): Likewise.
30818         [C99-based-standards] (PRIdPTR): Likewise.
30819         [C99-based-standards] (PRIiPTR): Likewise.
30820         [C99-based-standards] (PRIoPTR): Likewise.
30821         [C99-based-standards] (PRIuPTR): Likewise.
30822         [C99-based-standards] (PRIxPTR): Likewise.
30823         [C99-based-standards] (PRIXPTR): Likewise.
30824         [C99-based-standards] (SCNdPTR): Likewise.
30825         [C99-based-standards] (SCNiPTR): Likewise.
30826         [C99-based-standards] (SCNoPTR): Likewise.
30827         [C99-based-standards] (SCNuPTR): Likewise.
30828         [C99-based-standards] (SCNxPTR): Likewise.
30829         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30830         allow.
30831         * conform/data/stdint.h-data: Update comments to clarify
30832         requirements.
30833         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30834         type.
30835         [C99-based standards] (INT8_MAX): Likewise.
30836         [C99-based standards] (INT16_MIN): Likewise.
30837         [C99-based standards] (INT16_MAX): Likewise.
30838         [C99-based standards] (INT32_MIN): Likewise.
30839         [C99-based standards] (INT32_MAX): Likewise.
30840         [C99-based standards] (INT64_MIN): Likewise.
30841         [C99-based standards] (INT64_MAX): Likewise.
30842         [C99-based standards] (UINT8_MAX): Likewise.
30843         [C99-based standards] (UINT16_MAX): Likewise.
30844         [C99-based standards] (UINT32_MAX): Likewise.
30845         [C99-based standards] (UINT64_MAX): Likewise.
30846         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30847         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30848         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30849         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30850         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30851         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30852         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30853         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30854         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30855         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30856         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30857         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30858         [C99-based standards] (INT_FAST8_MIN): Likewise.
30859         [C99-based standards] (INT_FAST8_MAX): Likewise.
30860         [C99-based standards] (INT_FAST16_MIN): Likewise.
30861         [C99-based standards] (INT_FAST16_MAX): Likewise.
30862         [C99-based standards] (INT_FAST32_MIN): Likewise.
30863         [C99-based standards] (INT_FAST32_MAX): Likewise.
30864         [C99-based standards] (INT_FAST64_MIN): Likewise.
30865         [C99-based standards] (INT_FAST64_MAX): Likewise.
30866         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30867         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30868         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30869         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30870         [C99-based standards] (INTPTR_MIN): Likewise.
30871         [C99-based standards] (INTPTR_MAX): Likewise.
30872         [C99-based standards] (UINTPTR_MAX): Likewise.
30873         [C99-based standards] (INTMAX_MIN): Likewise.
30874         [C99-based standards] (INTMAX_MAX): Likewise.
30875         [C99-based standards] (UINTMAX_MAX): Likewise.
30876         [C99-based standards] (PTRDIFF_MIN): Likewise.
30877         [C99-based standards] (PTRDIFF_MAX): Likewise.
30878         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30879         [C99-based standards] (SIZE_MAX): Likewise.
30880         [C99-based standards] (WCHAR_MAX): Likewise.
30881         [C99-based standards] (WINT_MAX): Likewise.
30882         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30883         constraint on value.
30884         [C99-based standards] (WCHAR_MIN): Likewise.
30885         [C99-based standards] (WINT_MIN): Likewise.
30886         [C99-based standards] (*_t): Allow.
30887         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30888         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30889         Include math.h-data and complex.h-data.  Remove all expectations
30890         of math.h and complex.h contents.
30891         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30892         at end of line.
30893         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30894         (struct tm): Expect tag.
30895         [C99-based-standards] (wcstof): Expect function.
30896         [C99-based-standards] (wcstold): Likewise.
30897         [C99-based-standards] (wcstoll): Likewise.
30898         [C99-based-standards] (wcstoull): Likewise.
30899         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30900         macro-int-constant.  Specify type.
30901         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30902         constraint on value.
30903         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30904         Specify type.
30905         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30906         Specify value.
30907         [ISO C standards]: Do not allow headers.
30908         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30909         wcs[abcdefghijklmnopqrstuvwxyz]*.
30910         [ISO C standards] (*_t): Do not allow.
30911         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30912         Expect function.
30913         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30914         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30915         Specify type.
30916         [ISO C standards]: Do not allow headers.
30917         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30918         is[abcdefghijklmnopqrstuvwxyz]*.
30919         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30920         to[abcdefghijklmnopqrstuvwxyz]*.
30921         [ISO C standards] (*_t): Do not allow.
30922         * conform/data/stdalign.h-data: New file.
30923         * conform/data/stdbool.h-data: Likewise.
30924         * conform/data/stdnoreturn.h-data: Likewise.
30926 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30928         [BZ #14815]
30929         * manual/filesys.texi (Directory Entries): Typo fix.
30930         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30932 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30934         * elf/elf.h (EM_AARCH64): New macro.
30935         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30936         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30937         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30938         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30939         (R_AARCH64_TLSDESC): Likewise.
30940         (NT_ARM_TLS): Likewise.
30941         (NT_ARM_HW_BREAK): Likewise.
30942         (NT_ARM_HW_WATCH): Likewise.
30944 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30946         [BZ #14811]
30947         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30948         (__ieee754_powl): Saturate nonzero exponents with absolute value
30949         below 0x1p-79 to +/- 0x1p-79.
30950         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30951         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30952         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30953         nonzero exponents with absolute value below 0x1p-32 to +/-
30954         0x1p-32.
30955         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30956         (__ieee754_powl): Saturate nonzero exponents with absolute value
30957         below 0x1p-79 to +/- 0x1p-79.
30958         * math/libm-test.inc (pow_test): Add more tests.
30960 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30962         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30963         _dl_s390_cap_flags with kernel. Increase string length.
30964         (_dl_s390_platforms): Add z196 and zEC12.
30966 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30968         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30969         Change XOPEN21K to XOPEN2K.
30971 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30973         * string/memmove.c: Use memcpy when possible.
30975 2012-11-06  Andreas Jaeger  <aj@suse.de>
30977         * po/eo.po: Update from translation team.
30979 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30981         [BZ #14793]
30982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30983         exponent and small x and y exponents, scale x or y up.  Increase
30984         by 2 the exponent used in scaling up.
30985         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30986         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30987         * math/libm-test.inc (fma_test): Add more tests.
30988         (fma_test_towardzero): Likewise.
30989         (fma_test_downward): Likewise.
30990         (fma_test_upward): Likewise.
30992 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30994         [BZ #14805]
30995         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30996         fenv_t *.
30998         [BZ #14801]
30999         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31000         namespace for names of struct fields.
31001         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31002         fenv_t fields.
31003         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31004         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31006 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31008         [BZ #3665]
31009         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31011 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31013         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31014         PTR_DEMANGLE.
31016         [BZ #5246]
31017         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31018         PTR_DEMANGLE.
31020 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
31022         [BZ #14797]
31023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31024         definitely overflow as x * y not x * y + z.
31025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31026         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31027         * math/libm-test.inc (fma_test): Add more tests.
31028         (fma_test_towardzero): Likewise.
31029         (fma_test_downward): Likewise.
31030         (fma_test_upward): Likewise.
31032 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31034         [BZ #157]
31036         * include/stub-tag.h: Remove file.
31037         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31038         '#include' of it.
31039         * manual/maint.texi (Porting): Don't reference it.
31040         * Makerules ($(objpfx)stubs): Likewise.
31041         * dirent/closedir.c: Don't include <stub-tag.h>.
31042         * dirent/dirfd.c: Likewise.
31043         * dirent/fdopendir.c: Likewise.
31044         * dirent/getdents.c: Likewise.
31045         * dirent/getdents64.c: Likewise.
31046         * dirent/opendir.c: Likewise.
31047         * dirent/readdir.c: Likewise.
31048         * dirent/readdir64.c: Likewise.
31049         * dirent/readdir64_r.c: Likewise.
31050         * dirent/readdir_r.c: Likewise.
31051         * dirent/rewinddir.c: Likewise.
31052         * dirent/seekdir.c: Likewise.
31053         * dirent/telldir.c: Likewise.
31054         * gmon/profil.c: Likewise.
31055         * grp/setgroups.c: Likewise.
31056         * inet/if_index.c: Likewise.
31057         * io/access.c: Likewise.
31058         * io/chdir.c: Likewise.
31059         * io/chmod.c: Likewise.
31060         * io/chown.c: Likewise.
31061         * io/close.c: Likewise.
31062         * io/dup.c: Likewise.
31063         * io/dup2.c: Likewise.
31064         * io/dup3.c: Likewise.
31065         * io/euidaccess.c: Likewise.
31066         * io/faccessat.c: Likewise.
31067         * io/fchdir.c: Likewise.
31068         * io/fchmod.c: Likewise.
31069         * io/fchmodat.c: Likewise.
31070         * io/fchown.c: Likewise.
31071         * io/fchownat.c: Likewise.
31072         * io/fcntl.c: Likewise.
31073         * io/flock.c: Likewise.
31074         * io/fstatfs.c: Likewise.
31075         * io/fstatfs64.c: Likewise.
31076         * io/fstatvfs.c: Likewise.
31077         * io/fstatvfs64.c: Likewise.
31078         * io/futimens.c: Likewise.
31079         * io/fxstat.c: Likewise.
31080         * io/fxstat64.c: Likewise.
31081         * io/fxstatat.c: Likewise.
31082         * io/fxstatat64.c: Likewise.
31083         * io/getcwd.c: Likewise.
31084         * io/isatty.c: Likewise.
31085         * io/lchmod.c: Likewise.
31086         * io/lchown.c: Likewise.
31087         * io/link.c: Likewise.
31088         * io/linkat.c: Likewise.
31089         * io/lseek.c: Likewise.
31090         * io/lseek64.c: Likewise.
31091         * io/lxstat64.c: Likewise.
31092         * io/mkdir.c: Likewise.
31093         * io/mkdirat.c: Likewise.
31094         * io/mkfifo.c: Likewise.
31095         * io/mkfifoat.c: Likewise.
31096         * io/open.c: Likewise.
31097         * io/open64.c: Likewise.
31098         * io/openat.c: Likewise.
31099         * io/openat64.c: Likewise.
31100         * io/pipe.c: Likewise.
31101         * io/pipe2.c: Likewise.
31102         * io/poll.c: Likewise.
31103         * io/posix_fadvise.c: Likewise.
31104         * io/posix_fadvise64.c: Likewise.
31105         * io/posix_fallocate.c: Likewise.
31106         * io/posix_fallocate64.c: Likewise.
31107         * io/read.c: Likewise.
31108         * io/readlink.c: Likewise.
31109         * io/readlinkat.c: Likewise.
31110         * io/rmdir.c: Likewise.
31111         * io/sendfile.c: Likewise.
31112         * io/sendfile64.c: Likewise.
31113         * io/statfs.c: Likewise.
31114         * io/statfs64.c: Likewise.
31115         * io/statvfs.c: Likewise.
31116         * io/statvfs64.c: Likewise.
31117         * io/symlink.c: Likewise.
31118         * io/symlinkat.c: Likewise.
31119         * io/ttyname.c: Likewise.
31120         * io/ttyname_r.c: Likewise.
31121         * io/umask.c: Likewise.
31122         * io/unlink.c: Likewise.
31123         * io/unlinkat.c: Likewise.
31124         * io/utime.c: Likewise.
31125         * io/utimensat.c: Likewise.
31126         * io/write.c: Likewise.
31127         * io/xmknod.c: Likewise.
31128         * io/xmknodat.c: Likewise.
31129         * io/xstat.c: Likewise.
31130         * io/xstat64.c: Likewise.
31131         * login/getpt.c: Likewise.
31132         * login/grantpt.c: Likewise.
31133         * login/unlockpt.c: Likewise.
31134         * math/e_acoshl.c: Likewise.
31135         * math/e_acosl.c: Likewise.
31136         * math/e_asinl.c: Likewise.
31137         * math/e_atan2l.c: Likewise.
31138         * math/e_atanhl.c: Likewise.
31139         * math/e_coshl.c: Likewise.
31140         * math/e_expl.c: Likewise.
31141         * math/e_fmodl.c: Likewise.
31142         * math/e_gammal_r.c: Likewise.
31143         * math/e_hypotl.c: Likewise.
31144         * math/e_j0l.c: Likewise.
31145         * math/e_j1l.c: Likewise.
31146         * math/e_jnl.c: Likewise.
31147         * math/e_lgammal_r.c: Likewise.
31148         * math/e_log10l.c: Likewise.
31149         * math/e_log2l.c: Likewise.
31150         * math/e_logl.c: Likewise.
31151         * math/e_powl.c: Likewise.
31152         * math/e_rem_pio2l.c: Likewise.
31153         * math/e_sinhl.c: Likewise.
31154         * math/e_sqrtl.c: Likewise.
31155         * math/fclrexcpt.c: Likewise.
31156         * math/fedisblxcpt.c: Likewise.
31157         * math/feenablxcpt.c: Likewise.
31158         * math/fegetenv.c: Likewise.
31159         * math/fegetexcept.c: Likewise.
31160         * math/fegetround.c: Likewise.
31161         * math/feholdexcpt.c: Likewise.
31162         * math/fesetenv.c: Likewise.
31163         * math/fesetround.c: Likewise.
31164         * math/feupdateenv.c: Likewise.
31165         * math/fgetexcptflg.c: Likewise.
31166         * math/fraiseexcpt.c: Likewise.
31167         * math/fsetexcptflg.c: Likewise.
31168         * math/ftestexcept.c: Likewise.
31169         * math/k_cosl.c: Likewise.
31170         * math/k_rem_pio2l.c: Likewise.
31171         * math/k_sinl.c: Likewise.
31172         * math/k_tanl.c: Likewise.
31173         * math/s_asinhl.c: Likewise.
31174         * math/s_atanl.c: Likewise.
31175         * math/s_cbrtl.c: Likewise.
31176         * math/s_erfl.c: Likewise.
31177         * math/s_expm1l.c: Likewise.
31178         * math/s_log1pl.c: Likewise.
31179         * math/s_tanhl.c: Likewise.
31180         * misc/acct.c: Likewise.
31181         * misc/brk.c: Likewise.
31182         * misc/chflags.c: Likewise.
31183         * misc/chroot.c: Likewise.
31184         * misc/fchflags.c: Likewise.
31185         * misc/fgetxattr.c: Likewise.
31186         * misc/flistxattr.c: Likewise.
31187         * misc/fremovexattr.c: Likewise.
31188         * misc/fsetxattr.c: Likewise.
31189         * misc/fsync.c: Likewise.
31190         * misc/ftruncate.c: Likewise.
31191         * misc/futimes.c: Likewise.
31192         * misc/futimesat.c: Likewise.
31193         * misc/getdomain.c: Likewise.
31194         * misc/getdtsz.c: Likewise.
31195         * misc/gethostid.c: Likewise.
31196         * misc/gethostname.c: Likewise.
31197         * misc/getloadavg.c: Likewise.
31198         * misc/getpagesize.c: Likewise.
31199         * misc/getsysstats.c: Likewise.
31200         * misc/getxattr.c: Likewise.
31201         * misc/gtty.c: Likewise.
31202         * misc/ioctl.c: Likewise.
31203         * misc/lgetxattr.c: Likewise.
31204         * misc/listxattr.c: Likewise.
31205         * misc/llistxattr.c: Likewise.
31206         * misc/lremovexattr.c: Likewise.
31207         * misc/lsetxattr.c: Likewise.
31208         * misc/lutimes.c: Likewise.
31209         * misc/madvise.c: Likewise.
31210         * misc/mincore.c: Likewise.
31211         * misc/mlock.c: Likewise.
31212         * misc/mlockall.c: Likewise.
31213         * misc/mmap.c: Likewise.
31214         * misc/mprotect.c: Likewise.
31215         * misc/msync.c: Likewise.
31216         * misc/munlock.c: Likewise.
31217         * misc/munlockall.c: Likewise.
31218         * misc/munmap.c: Likewise.
31219         * misc/preadv.c: Likewise.
31220         * misc/preadv64.c: Likewise.
31221         * misc/ptrace.c: Likewise.
31222         * misc/pwritev.c: Likewise.
31223         * misc/pwritev64.c: Likewise.
31224         * misc/readv.c: Likewise.
31225         * misc/reboot.c: Likewise.
31226         * misc/remap_file_pages.c: Likewise.
31227         * misc/removexattr.c: Likewise.
31228         * misc/revoke.c: Likewise.
31229         * misc/select.c: Likewise.
31230         * misc/setdomain.c: Likewise.
31231         * misc/setegid.c: Likewise.
31232         * misc/seteuid.c: Likewise.
31233         * misc/sethostid.c: Likewise.
31234         * misc/sethostname.c: Likewise.
31235         * misc/setregid.c: Likewise.
31236         * misc/setreuid.c: Likewise.
31237         * misc/setxattr.c: Likewise.
31238         * misc/sstk.c: Likewise.
31239         * misc/stty.c: Likewise.
31240         * misc/swapoff.c: Likewise.
31241         * misc/swapon.c: Likewise.
31242         * misc/sync.c: Likewise.
31243         * misc/syncfs.c: Likewise.
31244         * misc/syscall.c: Likewise.
31245         * misc/truncate.c: Likewise.
31246         * misc/ualarm.c: Likewise.
31247         * misc/usleep.c: Likewise.
31248         * misc/ustat.c: Likewise.
31249         * misc/utimes.c: Likewise.
31250         * misc/vhangup.c: Likewise.
31251         * misc/writev.c: Likewise.
31252         * posix/_exit.c: Likewise.
31253         * posix/alarm.c: Likewise.
31254         * posix/execve.c: Likewise.
31255         * posix/fexecve.c: Likewise.
31256         * posix/fork.c: Likewise.
31257         * posix/fpathconf.c: Likewise.
31258         * posix/getaddrinfo.c: Likewise.
31259         * posix/getegid.c: Likewise.
31260         * posix/geteuid.c: Likewise.
31261         * posix/getgid.c: Likewise.
31262         * posix/getgroups.c: Likewise.
31263         * posix/getlogin.c: Likewise.
31264         * posix/getlogin_r.c: Likewise.
31265         * posix/getpgid.c: Likewise.
31266         * posix/getpid.c: Likewise.
31267         * posix/getppid.c: Likewise.
31268         * posix/getresgid.c: Likewise.
31269         * posix/getresuid.c: Likewise.
31270         * posix/getsid.c: Likewise.
31271         * posix/getuid.c: Likewise.
31272         * posix/glob64.c: Likewise.
31273         * posix/nanosleep.c: Likewise.
31274         * posix/pathconf.c: Likewise.
31275         * posix/pause.c: Likewise.
31276         * posix/posix_madvise.c: Likewise.
31277         * posix/pread.c: Likewise.
31278         * posix/pread64.c: Likewise.
31279         * posix/pwrite.c: Likewise.
31280         * posix/pwrite64.c: Likewise.
31281         * posix/sched_getaffinity.c: Likewise.
31282         * posix/sched_getp.c: Likewise.
31283         * posix/sched_gets.c: Likewise.
31284         * posix/sched_primax.c: Likewise.
31285         * posix/sched_primin.c: Likewise.
31286         * posix/sched_rr_gi.c: Likewise.
31287         * posix/sched_setaffinity.c: Likewise.
31288         * posix/sched_setp.c: Likewise.
31289         * posix/sched_sets.c: Likewise.
31290         * posix/sched_yield.c: Likewise.
31291         * posix/setgid.c: Likewise.
31292         * posix/setlogin.c: Likewise.
31293         * posix/setpgid.c: Likewise.
31294         * posix/setresgid.c: Likewise.
31295         * posix/setresuid.c: Likewise.
31296         * posix/setsid.c: Likewise.
31297         * posix/setuid.c: Likewise.
31298         * posix/sleep.c: Likewise.
31299         * posix/spawni.c: Likewise.
31300         * posix/sysconf.c: Likewise.
31301         * posix/times.c: Likewise.
31302         * posix/wait.c: Likewise.
31303         * posix/wait3.c: Likewise.
31304         * posix/wait4.c: Likewise.
31305         * posix/waitpid.c: Likewise.
31306         * resolv/gai_sigqueue.c: Likewise.
31307         * resource/getpriority.c: Likewise.
31308         * resource/getrlimit.c: Likewise.
31309         * resource/getrusage.c: Likewise.
31310         * resource/nice.c: Likewise.
31311         * resource/setpriority.c: Likewise.
31312         * resource/setrlimit.c: Likewise.
31313         * resource/ulimit.c: Likewise.
31314         * rt/aio_cancel.c: Likewise.
31315         * rt/aio_fsync.c: Likewise.
31316         * rt/aio_read.c: Likewise.
31317         * rt/aio_sigqueue.c: Likewise.
31318         * rt/aio_suspend.c: Likewise.
31319         * rt/aio_write.c: Likewise.
31320         * rt/clock_getres.c: Likewise.
31321         * rt/clock_gettime.c: Likewise.
31322         * rt/clock_nanosleep.c: Likewise.
31323         * rt/clock_settime.c: Likewise.
31324         * rt/lio_listio.c: Likewise.
31325         * rt/mq_close.c: Likewise.
31326         * rt/mq_getattr.c: Likewise.
31327         * rt/mq_notify.c: Likewise.
31328         * rt/mq_open.c: Likewise.
31329         * rt/mq_receive.c: Likewise.
31330         * rt/mq_send.c: Likewise.
31331         * rt/mq_setattr.c: Likewise.
31332         * rt/mq_timedreceive.c: Likewise.
31333         * rt/mq_timedsend.c: Likewise.
31334         * rt/mq_unlink.c: Likewise.
31335         * rt/shm_open.c: Likewise.
31336         * rt/shm_unlink.c: Likewise.
31337         * rt/timer_create.c: Likewise.
31338         * rt/timer_delete.c: Likewise.
31339         * rt/timer_getoverr.c: Likewise.
31340         * rt/timer_gettime.c: Likewise.
31341         * rt/timer_settime.c: Likewise.
31342         * setjmp/__longjmp.c: Likewise.
31343         * setjmp/setjmp.c: Likewise.
31344         * signal/kill.c: Likewise.
31345         * signal/killpg.c: Likewise.
31346         * signal/raise.c: Likewise.
31347         * signal/sigaction.c: Likewise.
31348         * signal/sigaltstack.c: Likewise.
31349         * signal/sigblock.c: Likewise.
31350         * signal/sigignore.c: Likewise.
31351         * signal/sigintr.c: Likewise.
31352         * signal/signal.c: Likewise.
31353         * signal/sigpause.c: Likewise.
31354         * signal/sigpending.c: Likewise.
31355         * signal/sigqueue.c: Likewise.
31356         * signal/sigreturn.c: Likewise.
31357         * signal/sigset.c: Likewise.
31358         * signal/sigsetmask.c: Likewise.
31359         * signal/sigstack.c: Likewise.
31360         * signal/sigsuspend.c: Likewise.
31361         * signal/sigtimedwait.c: Likewise.
31362         * signal/sigvec.c: Likewise.
31363         * signal/sigwait.c: Likewise.
31364         * signal/sigwaitinfo.c: Likewise.
31365         * signal/sysv_signal.c: Likewise.
31366         * socket/accept.c: Likewise.
31367         * socket/accept4.c: Likewise.
31368         * socket/bind.c: Likewise.
31369         * socket/connect.c: Likewise.
31370         * socket/getpeername.c: Likewise.
31371         * socket/getsockname.c: Likewise.
31372         * socket/getsockopt.c: Likewise.
31373         * socket/isfdtype.c: Likewise.
31374         * socket/listen.c: Likewise.
31375         * socket/recv.c: Likewise.
31376         * socket/recvfrom.c: Likewise.
31377         * socket/recvmsg.c: Likewise.
31378         * socket/send.c: Likewise.
31379         * socket/sendmsg.c: Likewise.
31380         * socket/sendto.c: Likewise.
31381         * socket/setsockopt.c: Likewise.
31382         * socket/shutdown.c: Likewise.
31383         * socket/sockatmark.c: Likewise.
31384         * socket/socket.c: Likewise.
31385         * socket/socketpair.c: Likewise.
31386         * stdio-common/ctermid.c: Likewise.
31387         * stdio-common/cuserid.c: Likewise.
31388         * stdio-common/remove.c: Likewise.
31389         * stdio-common/rename.c: Likewise.
31390         * stdio-common/renameat.c: Likewise.
31391         * stdio-common/tempname.c: Likewise.
31392         * stdlib/getcontext.c: Likewise.
31393         * stdlib/makecontext.c: Likewise.
31394         * stdlib/setcontext.c: Likewise.
31395         * stdlib/swapcontext.c: Likewise.
31396         * stdlib/system.c: Likewise.
31397         * streams/fattach.c: Likewise.
31398         * streams/fdetach.c: Likewise.
31399         * streams/getmsg.c: Likewise.
31400         * streams/getpmsg.c: Likewise.
31401         * streams/putmsg.c: Likewise.
31402         * streams/putpmsg.c: Likewise.
31403         * sysdeps/unix/bsd/getpt.c: Likewise.
31404         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31405         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31406         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31408         Likewise.
31409         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31410         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31411         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31412         * sysvipc/msgctl.c: Likewise.
31413         * sysvipc/msgget.c: Likewise.
31414         * sysvipc/msgrcv.c: Likewise.
31415         * sysvipc/msgsnd.c: Likewise.
31416         * sysvipc/semctl.c: Likewise.
31417         * sysvipc/semget.c: Likewise.
31418         * sysvipc/semop.c: Likewise.
31419         * sysvipc/semtimedop.c: Likewise.
31420         * sysvipc/shmat.c: Likewise.
31421         * sysvipc/shmctl.c: Likewise.
31422         * sysvipc/shmdt.c: Likewise.
31423         * sysvipc/shmget.c: Likewise.
31424         * termios/tcdrain.c: Likewise.
31425         * termios/tcflow.c: Likewise.
31426         * termios/tcflush.c: Likewise.
31427         * termios/tcgetattr.c: Likewise.
31428         * termios/tcgetpgrp.c: Likewise.
31429         * termios/tcsendbrk.c: Likewise.
31430         * termios/tcsetattr.c: Likewise.
31431         * termios/tcsetpgrp.c: Likewise.
31432         * time/adjtime.c: Likewise.
31433         * time/clock.c: Likewise.
31434         * time/getitimer.c: Likewise.
31435         * time/gettimeofday.c: Likewise.
31436         * time/setitimer.c: Likewise.
31437         * time/settimeofday.c: Likewise.
31438         * time/stime.c: Likewise.
31439         * time/time.c: Likewise.
31441 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
31443         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31444         /usr/old/bin.
31446         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31447         instead of spaces.
31448         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31450 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
31452         [BZ #14796]
31453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31454         FE_TONEAREST before applying Dekker multiplication and Knuth
31455         addition.  Clear inexact exceptions and check for exact zero
31456         results afterwards.
31457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31458         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31459         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31460         * math/libm-test.inc (fma_test): Add more tests.
31461         (fma_test_towardzero): Likewise.
31462         (fma_test_downward): Likewise.
31463         (fma_test_upward): Likewise.
31464         * sysdeps/generic/math_private.h (default_libc_fesetround): New
31465         function.
31466         (libc_fesetround): New macro.
31467         (libc_fesetroundf): Likewise.
31468         (libc_fesetroundl): Likewise.
31469         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31470         function.
31471         (libc_fesetround_387): Likewise.
31472         (libc_fesetroundf): New macro.
31473         (libc_fesetround): Likewise.
31474         (libc_fesetroundl): Likewise.
31475         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31476         function.
31477         (libc_fesetroundf): New macro.
31478         (libc_fesetround): Likewise.
31479         (libc_fesetroundl): Likewise.
31480         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31481         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31482         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31483         libm_hidden_ver.
31484         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31485         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31486         libm_hidden_def.
31487         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31488         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31489         libm_hidden_ver.
31490         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31491         libm_hidden_def.
31493         [BZ #3439]
31494         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31495         integer constant usable in #if and use that to give value to enum
31496         constant.
31497         (FE_DIVBYZERO): Likewise.
31498         (FE_UNDERFLOW): Likewise.
31499         (FE_OVERFLOW): Likewise.
31500         (FE_INVALID): Likewise.
31501         (FE_INVALID_SNAN): Likewise.
31502         (FE_INVALID_ISI): Likewise.
31503         (FE_INVALID_IDI): Likewise.
31504         (FE_INVALID_ZDZ): Likewise.
31505         (FE_INVALID_IMZ): Likewise.
31506         (FE_INVALID_COMPARE): Likewise.
31507         (FE_INVALID_SOFTWARE): Likewise.
31508         (FE_INVALID_SQRT): Likewise.
31509         (FE_INVALID_INTEGER_CONVERSION): Likewise.
31510         (FE_TONEAREST): Likewise.
31511         (FE_TOWARDZERO): Likewise.
31512         (FE_UPWARD): Likewise.
31513         (FE_DOWNWARD): Likewise.
31514         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31515         (FE_DIVBYZERO): Likewise.
31516         (FE_OVERFLOW): Likewise.
31517         (FE_UNDERFLOW): Likewise.
31518         (FE_INEXACT): Likewise.
31519         (FE_TONEAREST): Likewise.
31520         (FE_DOWNWARD): Likewise.
31521         (FE_UPWARD): Likewise.
31522         (FE_TOWARDZERO): Likewise.
31523         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31524         (FE_UNDERFLOW): Likewise.
31525         (FE_OVERFLOW): Likewise.
31526         (FE_DIVBYZERO): Likewise.
31527         (FE_INVALID): Likewise.
31528         (FE_TONEAREST): Likewise.
31529         (FE_TOWARDZERO): Likewise.
31530         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31531         (FE_OVERFLOW): Likewise.
31532         (FE_UNDERFLOW): Likewise.
31533         (FE_DIVBYZERO): Likewise.
31534         (FE_INEXACT): Likewise.
31535         (FE_TONEAREST): Likewise.
31536         (FE_TOWARDZERO): Likewise.
31537         (FE_UPWARD): Likewise.
31538         (FE_DOWNWARD): Likewise.
31539         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31540         (FE_DIVBYZERO): Likewise.
31541         (FE_OVERFLOW): Likewise.
31542         (FE_UNDERFLOW): Likewise.
31543         (FE_INEXACT): Likewise.
31544         (FE_TONEAREST): Likewise.
31545         (FE_DOWNWARD): Likewise.
31546         (FE_UPWARD): Likewise.
31547         (FE_TOWARDZERO): Likewise.
31549 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
31551         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31553 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
31555         * scripts/cross-test-ssh.sh (command): Use newlines to separate
31556         commands.  Quote $PWD.
31557         (blacklist_exports): Don't use remove_newlines.  Replace "declare
31558         -x" by "export".
31559         (remove_newlines): Remove.
31561 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
31563         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31564         * stdlib/stdlib.h (atof): Moved to ...
31565         * include/bits/stdlib-float.h: Here.  New file.
31566         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31567         * stdlib/bits/stdlib-float.h: New file.
31568         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31569         -mno-sse -mno-mmx.
31570         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31571         <xmmintrin.h>.
31573 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31575         * conform/conformtest.pl (@headers): Add fenv.h.
31576         * conform/data/fenv.h-data: New file.
31577         * include/fenv.h [_ISOMAC]: Disable all contents of file except
31578         include of <math/fenv.h>.
31580         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31581         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31582         && !UNIX98].  Enables tests for XOPEN2K8.
31583         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31584         POSIX2008]: Likewise.
31586         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31587         (struct rusage): Do not expect type or its members.
31589         [BZ #3439]
31590         * math/math.h (FP_NAN): Define macro to integer constant usable in
31591         #if and use that to give value to enum constant.
31592         (FP_INFINITE): Likewise.
31593         (FP_ZERO): Likewise.
31594         (FP_SUBNORMAL): Likewise.
31595         (FP_NORMAL): Likewise.
31597 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
31599         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31600         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31601         arguments.
31603 2012-11-02  Roland McGrath  <roland@hack.frob.com>
31605         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31606         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31607         autoconf-time if not.
31608         * configure.in: Remove AC_PREREQ.
31610 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31612         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31613         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31614         of the internal implementation.
31616 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31618         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31619         except include of <misc/sys/syslog.h>.
31621 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31624         function returns with a NULL context exit with zero.
31626 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31628         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31630 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
31632         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31633         (run_program_cmd): This.
31634         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31635         (tst_langinfo): New variable.  Use it.
31637 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
31639         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31640         floating point opcodes.
31642 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31644         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31645         variable.
31647         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31649         * sysdeps/mach/hurd/powerpc: Remove directory.
31650         * sysdeps/mach/powerpc: Likewise.
31652 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31654         * scripts/check-local-headers.sh: Ignore c++ headers.
31656 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31658         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31659         __libc_cleanup_region_start argument.
31661 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
31663         [BZ #14784]
31664         [BZ #14785]
31665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31666         x * y using scaling, not as x * y + z.
31667         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31668         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31669         * math/libm-test.inc (fma_test): Add more tests.
31670         (fma_test_towardzero): Likewise.
31671         (fma_test_downward): Likewise.
31672         (fma_test_upward): Likewise.
31674 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31676         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31678 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31680         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31681         New variable.
31683 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
31685         * rt/tst-shm.c (worker): Correct checking for mmap failure.
31687 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31690         Fix sort order.
31691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31692         Likewise.
31694 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31697         Fix the order of the list for glibc 2.17.
31698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31699         Likewise.
31701 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31705 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31707         [BZ #14610]
31708         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31709         for low part of x being zero before using __atanl (y).
31710         * math/libm-test.inc (atan2_test): Add another test.
31712         * manual/install.texi (Configuring and compiling): Document
31713         general use of test-wrapper and test-wrapper-env.
31714         * INSTALL: Regenerated.
31716         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31717         (__fma): Do not extract and scale down low bits on after-rounding
31718         systems when result rounded to normal precision would have normal
31719         exponent.
31720         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31721         (__fmal): Do not extract and scale down low bits on after-rounding
31722         systems when result rounded to normal precision would have normal
31723         exponent.
31724         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31725         (__fmal): Do not extract and scale down low bits on after-rounding
31726         systems when result rounded to normal precision would have normal
31727         exponent.
31728         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31729         macro.
31730         (fma_test): Add more tests.
31731         (fma_test_towardzero): Likewise.
31732         (fma_test_downward): Likewise.
31733         (fma_test_upward): Likewise.
31735 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
31737         * sysdeps/i386/tininess.h: Renamed to ...
31738         * sysdeps/x86/tininess.h: This.
31739         * sysdeps/x86_64/tininess.h: Removed.
31741 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31743         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31744         input.  Use $(build-program-cmd).
31745         ($(objpfx)tst-array1-static.out): Likewise.
31746         ($(objpfx)tst-array2.out): Likewise.
31747         ($(objpfx)tst-array3.out): Likewise.
31748         ($(objpfx)tst-array4.out): Likewise.
31749         ($(objpfx)tst-array5.out): Likewise.
31750         ($(objpfx)tst-array5-static.out): Likewise.
31752 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
31754         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31755         if defined.
31757         * nss/nsswitch.h (nss_interface_function): Provide new
31758         macro for use with NSS functions.
31759         * grp/initgroups.c: Use new macro.
31760         * nss/getXXbyYY.c: Likewise.
31761         * nss/getXXbyYY_r.c: Likewise.
31762         * nss/getXXent.c: Likewise.
31763         * nss/getXXent_r.c: Likewise.
31764         * sysdeps/posix/getaddrinfo.c: Likewise.
31766 2012-10-30  Andreas Jaeger  <aj@suse.de>
31768         * po/ru.po: Update Russion translation from translation project.
31770 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31772         [BZ #14152]
31773         [BZ #14783]
31774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31775         result and shift together with sticky bit instead of replicating
31776         round-to-nearest rounding.
31777         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31778         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31779         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
31780         missing underflow exceptions.
31781         (fma_test_towardzero): Add more tests.
31782         (fma_test_downward): Likewise.
31783         (fma_test_upward): Likewise.
31785         [BZ #14047]
31786         * sysdeps/generic/tininess.h: New file.
31787         * sysdeps/i386/tininess.h: Likewise.
31788         * sysdeps/sh/tininess.h: Likewise.
31789         * sysdeps/x86_64/tininess.h: Likewise.
31790         * stdlib/tst-strtod-underflow.c: Likewise.
31791         * stdlib/tst-tininess.c: Likewise.
31792         * stdlib/strtod_l.c: Include <tininess.h>.
31793         (round_and_return): Do not set errno for exact underflow cases.
31794         Force an underflow exception when setting errno for underflow.
31795         Determine underflow based on rounding to normal precision if
31796         TININESS_AFTER_ROUNDING.
31797         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31798         ERANGE for exact underflow cases.
31799         * stdlib/Makefile (tests): Add tst-tininess and
31800         tst-strtod-underflow.
31801         ($(objpfx)tst-tininess): Use $(link-libm).
31802         ($(objpfx)tst-strtod-underflow): Likewise.
31804 2012-10-30  Andreas Jaeger  <aj@suse.de>
31806         [BZ#14767]
31807         * elf/Makefile (tests): Remove conditional for have-initfini-array
31808         since this is now always required and the variable does not exist
31809         anymore.
31810         (tests-static): Likewise.
31811         (modules-names): Likewise.
31813         * po/eo.po: Add Esperanto translation from translation project.
31815         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31816         merged with constructor/destructor.
31817         (init_array): Likewise.
31818         * elf/tst-array2dep.c (fini_array): Likewise.
31819         (init_array): Likewise.
31821 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31823         * manual/message.texi: Delete @cartouche tags.
31825 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31827         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31828         EOPNOTSUPP.
31829         * sysdeps/mach/hurd/fsync.c: Likewise.
31831         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31832         [_POSIX_REALTIME_SIGNALS]: Change condition to
31833         [_POSIX_REALTIME_SIGNALS > 0].
31835 2012-10-27  Andreas Jaeger  <aj@suse.de>
31837         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31838         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31840         [__WORDSIZE != 64]: Likewise.
31842 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31844         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31845         *  iconvdata/tst-tables.sh: Likewise.
31847 2012-10-25  David S. Miller  <davem@davemloft.net>
31849         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31850         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31851         of strtoull.
31853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31854         ifunc-impl-list.c
31855         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31856         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31857         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31858         file.
31860 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31862         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31863         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31864         __getdirentries.
31866 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31867             Jim Blandy  <jimb@codesourcery.com>
31869         * scripts/cross-test-ssh.sh: New file.
31870         * manual/install.texi (Configuring and compiling): Document use of
31871         cross-test-ssh.sh.
31872         * INSTALL: Regenerated.
31874 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31876         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31877         EOPNOTSUPP.
31879 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31881         * Makeconfig (run-program-prefix): Fix comment.
31883 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31884             Jim Blandy  <jimb@codesourcery.com>
31886         * Makeconfig (test-wrapper): New variable,
31887         (test-wrapper-env): Likewise.
31888         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31889         (run-built-tests): Define to yes.
31890         (run-program-prefix): Use $(test-wrapper).
31891         (built-program-cmd): Likewise.
31892         * Rules (make-test-out): Use $(test-wrapper-env) and
31893         $(host-built-program-cmd).
31894         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31895         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31896         tst-pathopt.sh.
31897         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31898         $(test-wrapper-env) to tst-rtld-load-self.sh.
31899         ($(objpfx)order2.out): Use $(test-wrapper).
31900         ($(objpfx)tst-initorder.out): Likewise.
31901         ($(objpfx)tst-initorder2.out): Likewise.
31902         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31903         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31904         (test_wrapper_env): New variable.  Use it to run ld.so.
31905         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31906         Use it to run ld.so.
31907         (test_wrapper_env): Likewise.
31908         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31909         $(test-wrapper) to run-iconv-test.sh.
31910         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31911         (ICONV): Use $test_wrapper.
31912         * posix/Makefile ($(objpfx)globtest.out): Pass
31913         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31914         globtest.sh, not $(run-program-prefix).
31915         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31916         (test_wrapper): Likewise.
31917         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31918         set together with run_via_rtld_prefix.
31919         (run_program_prefix): Define in terms of test_wrapper and
31920         run_via_rtld_prefix.
31922 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31924         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31925         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31926         Targets removed.
31928         [BZ #14743]
31929         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31930         Declare __clock_getres, __clock_gettime, __clock_settime,
31931         __clock_nanosleep, and __clock_getcpuclockid.
31932         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31933         Remove librt_hidden_def (clock_gettime).
31934         * sysdeps/unix/clock_gettime.c: Likewise.
31935         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31936         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31937         * rt/clock_getres.c: Define __clock_getres as an alias.
31938         * sysdeps/posix/clock_getres.c: Likewise.
31939         * rt/clock_settime.c: Define __clock_settime as an alias.
31940         * sysdeps/unix/clock_settime.c: Likewise.
31941         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31942         * sysdeps/unix/clock_nanosleep.c: Likewise.
31943         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31944         * rt/clock-compat.c: New file.
31945         * rt/Makefile (librt-routines): Add clock-compat and move
31946         $(clock-routines) to ...
31947         (routines): ... here, new variable.
31948         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31949         Don't add get_clockfreq here.
31950         * rt/Versions (libc: GLIBC_2.17): New version set.
31951         Add clock_* symbols here.
31952         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31953         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31954         (GLIBC_2.17): Add clock_* symbols.
31955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31959         Likewise.
31960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31961         Likewise.
31962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31966         * NEWS: Mention the move.
31968         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31969         Use __open, __read, __close rather than their public counterparts.
31970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31971         (__get_clockfreq_via_cpuinfo): Likewise.
31972         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31973         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31975         * config.h.in (HAVE_IFUNC): New #undef.
31976         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31977         was successful.
31978         * configure: Regenerated.
31980 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31982         * configure.in: Move READELF check to start of file.
31983         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31984         libc_cv_asm_gnu_indirect_function in the process.
31985         * configure: Regenerated.
31987 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31989         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31990         send the output to /dev/null.
31991         (libc_cv_cc_with_libunwind): Likewise.
31992         (libc_cv_as_noexecstack): Likewise.
31993         * configure: Regenerate.
31995 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31997         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31999         * posix/globtest.sh (TMPDIR): Do not set.
32000         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32001         (testout): Likewise.
32003 2012-10-24  Andreas Jaeger  <aj@suse.de>
32005         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32006         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32007         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32008         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32009         posix_fadvise64, posix_fallocate64.
32011         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32012         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32013         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32014         Likewise.
32015         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32016         Likewise.
32017         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32020         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32021         <bits/fcntl-linux.h>.
32022         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32024         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32025         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32026         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32027         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32028         [__WORDSIZE != 64]: Likewise.
32030 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32032         * Makeconfig (run-built-tests): New variable.
32033         * Rules [$(cross-compiling) = yes]: Change condition to
32034         [$(run-built-tests) = no].
32035         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32036         to [$(run-built-tests) = yes].
32037         * elf/Makefile [$(cross-compiling) = no]: Likewise
32038         * grp/Makefile [$(cross-compiling) = no]: Likewise.
32039         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32040         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32041         * intl/Makefile [$(cross-compiling) = no]: Likewise.
32042         * io/Makefile [$(cross-compiling) = no]: Likewise.
32043         * libio/Makefile [$(cross-compiling) = no]: Likewise.
32044         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32045         * misc/Makefile [$(cross-compiling) = no]: Likewise.
32046         * posix/Makefile [$(cross-compiling) = no]: Likewise.
32047         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32048         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32049         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32050         * string/Makefile [$(cross-compiling) = no]: Likewise.
32052         * posix/Makefile ($(objpfx)globtest.out): Pass
32053         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32054         $(rtld-installed-name).
32055         * posix/globtest.sh (elf_objpfx): Remove variable.
32056         (rtld_installed_name): Likewise.
32057         (library_path): Likewise.
32058         (run_program_prefix): New variable.  Use for running globtest
32059         binary.
32061 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
32062             Joseph Myers  <joseph@codesourcery.com>
32064         * Makeconfig (host-built-program-cmd): New variable.
32065         * elf/Makefile (tst-stackguard1-ARGS): Use
32066         $(host-built-program-cmd).
32067         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32068         (tst-spawn-ARGS): Likewise.
32069         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32071 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32072             Jim Blandy  <jimb@codesourcery.com>
32074         * Makeconfig (run-via-rtld-prefix): New variable.
32075         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32076         (built-program-cmd): Likewise.
32078 2012-10-22  Andreas Jaeger  <aj@suse.de>
32080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32081         __O_RSYNC if it exists, otherwise to O_SYNC.
32083 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
32084             Joseph Myers  <joseph@codesourcery.com>
32086         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32087         /dev/null.
32088         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32089         from /dev/null
32090         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32091         /dev/null.
32093 2012-10-22  Andreas Jaeger  <aj@suse.de>
32095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32096         Define always.
32097         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32100         bits/fcntl-linux.h.
32102         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32103         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32105         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32106         to __O_LARGEFILE.
32107         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32108         to __O_LARGEFILE.
32110 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
32111             Joseph Myers  <joseph@codesourcery.com>
32113         * config.make.in (NM): New variable.
32115 2012-10-21  Andreas Jaeger  <aj@suse.de>
32117         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32118         definitions and declarations that are provided by
32119         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32121 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32123         [BZ #14683]
32124         * elf/Makefile (tests-static): Add tst-leaks1-static.
32125         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32126         ($(objpfx)tst-leaks1-static): New rule.
32127         ($(objpfx)tst-leaks1-static-mem): Likewise.
32128         (tst-leaks1-static-ENV): New macro.
32129         * elf/dl-open.c (dl_open_worker): Check the main application
32130         only if SHARED is defined.
32131         * elf/tst-leaks1-static.c: New file.
32133 2012-10-20  Andreas Jaeger  <aj@suse.de>
32135         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32136         generic values for Linux.
32137         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32138         and declarations that are provided by <bits/fcntl-linux.h> and
32139         include <bits/fcntl-linux.h>.
32140         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32141         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32143 2012-10-20  Roland McGrath  <roland@hack.frob.com>
32145         * io/fcntl.h: Move include of <bits/types.h> to the top and
32146         include it unconditionally.
32148 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32150         * wcsmbs/Makefile (tests-ifunc): New variable.
32151         (tests): Add $(tests-ifunc).
32152         * wcsmbs/test-wcschr-ifunc.c: New file.
32153         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32154         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32155         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32156         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32157         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32159         * string/Makefile (tests-ifunc): New variable.
32160         (tests): Add $(tests-ifunc).
32161         * string/test-memccpy.c (TEST_NAME): New macro.
32162         * string/test-memchr.c (TEST_NAME): Likewise.
32163         * string/test-memcmp.c (TEST_NAME): Likewise.
32164         * string/test-memcpy.c (TEST_NAME): Likewise.
32165         * string/test-memmem.c (TEST_NAME): Likewise.
32166         * string/test-memmove.c (TEST_NAME): Likewise.
32167         * string/test-memset.c (TEST_NAME): Likewise.
32168         * string/test-rawmemchr.c (TEST_NAME): Likewise.
32169         * string/test-stpcpy.c (TEST_NAME): Likewise.
32170         * string/test-stpncpy.c (TEST_NAME): Likewise.
32171         * string/test-strcasecmp.c (TEST_NAME): Likewise.
32172         * string/test-strcasestr.c (TEST_NAME): Likewise.
32173         * string/test-strcat.c (TEST_NAME): Likewise.
32174         * string/test-strchr.c (TEST_NAME): Likewise.
32175         * string/test-strcmp.c(TEST_NAME): Likewise.
32176         * string/test-strcpy.c (TEST_NAME): Likewise.
32177         * string/test-strcspn.c (TEST_NAME): Likewise.
32178         * string/test-strlen.c (TEST_NAME): Likewise.
32179         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32180         * string/test-strncmp.c (TEST_NAME): Likewise.
32181         * string/test-strncpy.c (TEST_NAME): Likewise.
32182         * string/test-strnlen.c (TEST_NAME): Likewise.
32183         * string/test-strpbrk.c (TEST_NAME): Likewise.
32184         * string/test-strrchr.c (TEST_NAME): Likewise.
32185         * string/test-strspn.c (TEST_NAME): Likewise.
32186         * string/test-strstr.c (TEST_NAME): Likewise.
32187         * string/test-bcopy-ifunc.c: New file.
32188         * string/test-bzero-ifunc.c: Likewise.
32189         * string/test-memccpy-ifunc.c: Likewise.
32190         * string/test-memchr-ifunc.c: Likewise.
32191         * string/test-memcmp-ifunc.c: Likewise.
32192         * string/test-memcpy-ifunc.c: Likewise.
32193         * string/test-memmem-ifunc.c: Likewise.
32194         * string/test-memmove-ifunc.c: Likewise.
32195         * string/test-mempcpy-ifunc.c: Likewise.
32196         * string/test-memset-ifunc.c: Likewise.
32197         * string/test-rawmemchr-ifunc.c: Likewise.
32198         * string/test-stpcpy-ifunc.c: Likewise.
32199         * string/test-stpncpy-ifunc.c: Likewise.
32200         * string/test-strcasecmp-ifunc.c: Likewise.
32201         * string/test-strcasestr-ifunc.c: Likewise.
32202         * string/test-strcat-ifunc.c: Likewise.
32203         * string/test-strchr-ifunc.c: Likewise.
32204         * string/test-strchrnul-ifunc.c: Likewise.
32205         * string/test-strcmp-ifunc.c: Likewise.
32206         * string/test-strcpy-ifunc.c: Likewise.
32207         * string/test-strcspn-ifunc.c: Likewise.
32208         * string/test-strlen-ifunc.c: Likewise.
32209         * string/test-strncasecmp-ifunc.c: Likewise.
32210         * string/test-strncat-ifunc.c: Likewise.
32211         * string/test-strncmp-ifunc.c: Likewise.
32212         * string/test-strncpy-ifunc.c: Likewise.
32213         * string/test-strnlen-ifunc.c: Likewise.
32214         * string/test-strpbrk-ifunc.c: Likewise.
32215         * string/test-strrchr-ifunc.c: Likewise.
32216         * string/test-strspn-ifunc.c: Likewise.
32217         * string/test-strstr-ifunc.c: Likewise.
32219         * debug/Makefile (tests-ifunc): New variable.
32220         (tests): Add $(tests-ifunc).
32221         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32222         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32223         * debug/test-stpcpy_chk-ifunc.c: New file.
32224         * debug/test-strcpy_chk-ifunc.c: Likewise.
32226 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32228         [BZ #13601]
32229         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32230         header is not read in.
32232 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32234         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32235         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32236         directly.  Pass built executable to script as
32237         $(built-program-cmd).
32238         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32239         $testprogram without using LD_LIBRARY_PATH and $ldso.
32241         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32242         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32243         $(rtld-installed-name).
32244         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32245         (rtld_installed_name): Likewise.
32246         (library_path): Likewise.
32247         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32248         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32249         $(run-program-prefix) to tst-tables.sh.
32250         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32251         it to run tst-table-from and tst-table-to.
32252         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32253         Pass it to tst-table.sh.
32254         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32255         $(run-program-prefix) to tst-gettext.sh.
32256         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32257         tst-translit.sh.
32258         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32259         tst-gettext2.sh.
32260         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32261         to run tst-gettext.
32262         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32263         to run tst-gettext2.
32264         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32265         to run tst-translit.
32266         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32267         $(run-program-prefix) to tst-mtrace.sh.
32268         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32269         to run tst-mtrace.
32270         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32271         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32272         $(rtld-installed-name).
32273         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32274         (rtld_installed_name): Likewise.
32275         (run_program_prefix): New variable.  Use it to run wordexp-test.
32277         * Makeconfig (ARCH): Remove all definitions.
32278         (machine): Likewise.
32279         [ARCH]: Remove conditional code.
32280         [!objdir]: Give error.
32281         [!objdir] (objpfx): Remove.
32282         [!objdir] (common-objpfx): Likewise.
32283         [!objdir] (common-objdir): Likewise.
32284         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32285         AC_CONFIG_FILES call.
32286         * configure: Regenerated.
32288         [BZ #13888]
32289         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32290         or TMPDIR.
32291         (testout): Likewise.
32293         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32294         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32295         $(rtld-installed-name).
32296         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32297         (rtld_installed_name): Likwise.
32298         (runit): Remove function.
32299         (run_getconf): New variable,  Use it for running getconf binary.
32301 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
32303         [BZ #14716]
32304         * string/test-memmem.c (check_result): New function.
32305         (do_one_test): Use it.
32306         (check1): New function.
32307         (test_main): Use it.
32309 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
32311         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32313 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
32315         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32316         (_G_LSEEK64): Likewise.
32317         (_G_MMAP64): Likewise.
32318         (_G_FSTAT64): Likewise.
32319         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32320         (_G_LSEEK64): Likewise.
32321         (_G_MMAP64): Likewise.
32322         (_G_FSTAT64): Likewise.
32323         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32324         unconditional.  Call __mmap64 directly.
32325         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32326         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
32327         __lseek64 directly.
32328         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32329         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
32330         __mmap64 directly.
32331         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32332         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32333         __lseek64 directly.
32334         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32335         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32336         __lseek64 directly.
32337         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32338         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
32339         __lseek64 directly.
32340         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32341         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
32342         __fxstat64 directly.
32343         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32344         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32345         unconditional.
32346         (freopen64) [!_G_OPEN64]: Remove conditional code.
32347         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32348         unconditional.
32349         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32350         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32351         unconditional.
32352         (ftello64) [!_G_LSEEK64]: Remove conditional code.
32353         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32354         unconditional.
32355         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32356         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32357         unconditional.
32358         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32359         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32360         unconditional.
32361         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32362         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32363         unconditional.
32364         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32365         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32366         unconditional.
32367         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32369 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32371         [BZ #12140]
32372         * manual/memory.texi (Malloc Tunable Parameters): Add note
32373         about free list pointers overwriting some perturb bytes.
32374         Wording suggested by Roland McGrath.
32376 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
32378         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32379         (lgamma_test): Likewise.
32380         (tgamma_test): Likewise.
32382 2012-10-16  Florian Weimer  <fweimer@redhat.com>
32384         [BZ #14700]
32385         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32386         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32388 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
32390         * NEWS: Mention BZ #14716.
32391         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32392         when removing AVAILABLE1_USES_J macro.
32394 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
32396         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32397         (__bswap_64): __uint64_t for unsigned 64-bit int.
32399 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
32401         * include/string.h (memmem): Declare libc hidden alias.
32402         * string/memmem.c (memmem): Define libc hidden alias.
32403         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32404         __read, __close instead of open, read, close.
32406 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
32408         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32409         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32410         global and hidden.
32411         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32412         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32413         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32414         Likewise.
32415         (__rawmemchr_sse2): Likewise.
32416         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32417         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32418         (__strchr_sse2): Likewise.
32419         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32420         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32421         (__strcasecmp_sse2): Likewise.
32422         (__strncasecmp_sse2): Likewise.
32423         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32424         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32425         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32426         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32427         (__strrchr_sse2): Likewise.
32428         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32429         ifunc-impl-list.c.
32430         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32431         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32432         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32433         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32434         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32435         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32436         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32437         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32438         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32439         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32440         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32441         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32442         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32443         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32444         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32445         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32446         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32447         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32448         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32449         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32450         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32451         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32452         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32453         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32454         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32455         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32456         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32457         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32458         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32459         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32461         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32462         global and hidden.
32463         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32464         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32465         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32466         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32467         Likewise.
32468         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32469         Likewise.
32470         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32471         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32472         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32473         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32474         ifunc-impl-list.c.
32475         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32476         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32477         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32478         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32479         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32480         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32481         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32482         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32483         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32484         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32485         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32486         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32487         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32488         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32489         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32490         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32491         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32492         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32493         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32494         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32495         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32496         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32497         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32498         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32499         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32500         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32501         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32502         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32503         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32504         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32505         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32506         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32507         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32508         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32509         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32510         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32511         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32512         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32513         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32514         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32515         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32517         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32518         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32519         * include/ifunc-impl-list.h: New file.
32520         * misc/ifunc-impl-list.c: Likewise.
32521         * misc/Makefile (routines): Add ifunc-impl-list.
32522         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32523         * string/test-string.h: Include <ifunc-impl-list.h>.
32524         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32525         TEST_NAME]: New variables.
32526         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32527         are defined.
32528         (test_init): Call __libc_ifunc_impl_list to initialize
32529         func_list if TEST_IFUNC and TEST_NAME are defined.
32531         * string/Makefile (strop-tests): Add bcopy and bzero.
32532         * string/test-bcopy.c: New file.
32533         * string/test-bzero.c: Likewise.
32534         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32535         defined.
32536         * string/test-memset.c: Support bzero test if TEST_BZERO is
32537         defined.
32538         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32539         __libc_memmove.
32540         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32541         __libc_memset.
32542         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32543         of memset.
32545 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
32547         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32548         * configure: Regenerated.
32550         * Makeconfig (+link-static-before-libc): Don't include
32551         $(link-static-libc).
32553         * libio/libio.h (_IO_pos_t): Remove.
32555 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32557         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
32558         McGrath.
32560 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32562         * crypt/crypt-entry.c: Include fips-private.h.
32563         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32564         * crypt/md5c-test.c (main): Tolerate disabled MD5.
32565         * sysdeps/unix/sysv/linux/fips-private.h: New file.
32566         * sysdeps/generic/fips-private.h: New file, dummy fallback.
32568 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32570         * crypt/crypt-private.h: Include stdbool.h.
32571         (_ufc_setup_salt_r): Return bool.
32572         * crypt/crypt-entry.c: Include errno.h.
32573         (__crypt_r): Return NULL with EINVAL for bad salt.
32574         * crypt/crypt_util.c (bad_for_salt): New.
32575         (_ufc_setup_salt_r): Check that salt is long enough and within
32576         the specified alphabet.
32577         * crypt/badsalttest.c: New file.
32578         * crypt/Makefile (tests): Add it.
32579         ($(objpfx)badsalttest): New.
32581 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
32583         * NEWS: Add entry for BZ #14602.
32585 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32587         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32588         type-generic.
32589         * math/libm-test.inc: Update comment listing what functions and
32590         macros are tested.
32591         (isgreater_test): New function.
32592         (isgreaterequal_test): Likewise.
32593         (isless_test): Likewise.
32594         (islessequal_test): Likewise.
32595         (islessgreater_test): Likewise.
32596         (isunordered_test): Likewise.
32597         (main): Call the new functions.
32599 2012-10-09  Roland McGrath  <roland@hack.frob.com>
32601         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32602         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32603         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32604         * sysdeps/i386/configure: Regenerated.
32605         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32606         * sysdeps/mach/configure: Regenerated.
32607         * sysdeps/mach/hurd/configure: Regenerated.
32608         * sysdeps/powerpc/configure: Regenerated.
32609         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32610         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32611         * sysdeps/s390/s390-32/configure: Regenerated.
32612         * sysdeps/s390/s390-64/configure: Regenerated.
32613         * sysdeps/sh/configure: Regenerated.
32614         * sysdeps/sparc/configure: Regenerated.
32615         * sysdeps/unix/sysv/linux/configure: Regenerated.
32616         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32617         * sysdeps/x86_64/configure: Regenerated.
32619         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32620         defined.  Don't check if MAP is NULL.
32622 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32624         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32625         (_G_stat64): Likewise.
32626         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32627         (_G_stat64): Likewise.
32628         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32629         instead of struct _G_stat64.
32630         * libio/fileops.c (mmap_remap_check): Likewise.
32631         (decide_maybe_mmap): Likewise.
32632         (_IO_new_file_seekoff): Likewise.
32633         (_IO_file_stat): Likewise.
32634         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32635         _G_off64_t.
32636         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32637         instead of struct _G_stat64.
32638         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32640 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
32642         [BZ #14602]
32643         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32644         Replace with ...
32645         (CHECK_EOL): New macro.
32646         (two_way_short_needle): Check beginning of haystack for EOL.  Use
32647         CHECK_EOL.
32648         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32649         Replace with CHECK_EOL.
32650         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32651         Replace with CHECK_EOL.
32653 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
32655         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32656         type-generic.
32657         * math/libm-test.inc: Update comment listing what functions and
32658         macros are tested.
32659         (finite_test): New function.
32660         (isinf_test): Likewise.
32661         (isnan_test): Likewise.
32662         (fpclassify_test): Test subnormal input.
32663         (isfinite_test): Likewise.
32664         (isnormal_test): Likewise.
32665         (main): Call the new functions.
32667 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
32669         [BZ #14660]
32670         * Makerules (%.dynsym): Force C locale when running
32671         $(OBJDUMP) --dynamic-syms.
32673 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
32675         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32676         <stdint.h>.
32678 2012-10-06  David S. Miller  <davem@davemloft.net>
32680         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32681         upper 32-bits of the length value in %o2 since we use branch-on-register
32682         tests which consider the entire 64-bit register.
32684 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
32686         * string/test-strstr.c (check2): Add a test for page boundary.
32688 2012-10-05  David S. Miller  <davem@davemloft.net>
32690         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32691         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32692         file.
32693         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32694         sysdep_routines.
32695         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32696         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32697         and bzero when HWCAP_SPARC_CRYPTO is present.
32699 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
32701         [BZ #14602]
32702         * string/test-strstr.c (check2): New function.
32703         (test_main): Call check2.
32705         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32706         and bug-strchr1.
32707         * string/bug-strcasestr1.c (do_test): Moved to ...
32708         * string/test-strcasestr.c (check1): Here.  New function.
32709         (do_one_test): Break out result checking code into ...
32710         (check_result): This.  New function.
32711         (do_one_test): Call check_result.
32712         (test_main): Call check1.
32713         * string/bug-strchr1.c (do_test): Moved to ...
32714         * string/test-strchr.c (check1): Here.  New function.
32715         (do_one_test): Break out result checking code into ...
32716         (check_result): This.  New function.
32717         (do_one_test): Call check_result.
32718         (test_main): Call check1.
32719         * string/bug-strstr1.c (main): Moved to ...
32720         * string/test-strstr.c (check1): Here.  New function.
32721         (do_one_test): Break out result checking code into ...
32722         (check_result): This.  New function.
32723         (do_one_test): Call check_result.
32724         (test_main): Call check1.
32725         * string/bug-strcasestr1.c: Removed.
32726         * string/bug-strchr1.c: Likewise.
32727         * string/bug-strstr1.c: Likewise.
32729         * elf/Makefile (dl-routines): Add hwcaps.
32730         * elf/dl-support.c (_dl_important_hwcaps): Removed.
32731         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32732         (_dl_important_hwcaps): Moved to ...
32733         * elf/dl-hwcaps.c: Here.  New file.
32734         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32736         [BZ #14557]
32737         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32738         if IS_IN_rtld isn't defined.
32740         * elf/dl-support.c (_dl_sysinfo_map): New.
32741         Include "get-dynamic-info.h" and "setup-vdso.h".
32742         (_dl_non_dynamic_init): Call setup_vdso.
32743         * elf/dynamic-link.h: Don't include <assert.h>.
32744         (elf_get_dynamic_info): Moved to ...
32745         * elf/get-dynamic-info.h: Here.  New file.
32746         * elf/dynamic-link.h: Include "get-dynamic-info.h".
32747         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32748         * elf/setup-vdso.h: Here.  New file.
32749         * elf/rtld.c: Include "setup-vdso.h".
32750         (dl_main): Call setup_vdso.
32752 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
32754         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32755         creal in comment listing functions tested.  List finite, isinf,
32756         isnan, isless, islessequal, isgreater, isgreaterequal,
32757         islessgreater, isunordered, lgamma_r and pow10 as functions and
32758         macros not tested.  Mention which functions not tested are aliases
32759         for other functions.  Fix typo.  Note that signs of NaNs are not
32760         tested.
32762         * scripts/config.guess: Update from config.git.
32763         * scripts/config.sub: Likewise.
32765 2012-10-04  Roland McGrath  <roland@hack.frob.com>
32767         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32768         * misc/madvise.c (madvise): Renamed to __madvise.
32769         Make madvise a weak alias.
32770         * include/sys/mman.h: Declare __madvise.
32771         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32772         * sysdeps/unix/syscalls.list
32773         (madvise): Make __madvise the strong name, and madvise a weak alias.
32774         * sysdeps/unix/sysv/linux/syscalls.list
32775         (madvise, mmap): Remove redundant entries.
32776         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32777         * malloc/malloc.c (mtrim): Likewise.
32778         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32780 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32782         * sysdeps/mach/hurd/dl-cache.c: File removed.
32783         * config.h.in (USE_LDCONFIG): New #undef.
32784         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32785         * configure: Regenerated.
32786         * elf/Makefile (dl-routines): Add dl-cache only under
32787         [$(use-ldconfig) = yes].
32788         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32789         cache on [USE_LDCONFIG].
32790         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32791         [USE_LDCONFIG].
32792         * elf/rtld.c (dl_main): Likewise.
32794 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32796         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32797         _SC_LEVEL4_CACHE_LINESIZE.
32799 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32801         * sysdeps/unix/bsd/confstr.h: File removed.
32803 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32805         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32806         sys/sdt-config.h.
32808 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32810         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32811         Make 'mapoff' field ElfW(Off) rather than off_t.
32813 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32815         * nscd/Makefile: Remove nscd-cflags and all its users.
32816         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32817         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32819         [BZ #10631]
32820         * malloc.c (malloc_printerr): Clarify error message.
32822 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32824         [BZ #14648]
32825         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32826         Set bit_FMA_Usable if FMA is supported.
32827         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32828         macro.
32829         (bit_FMA4_Usable): Updated.
32830         (index_FMA_Usable): New macro.
32831         (CPUID_FMA): Likewise
32832         (HAS_FMA): Defined with bit_FMA_Usable.
32834 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32836         * bits/types.h (__swblk_t): Type removed.
32837         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32838         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32839         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32840         (__SWBLK_T_TYPE): Likewise.
32841         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32842         (__SWBLK_T_TYPE): Likewise.
32843         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32844         (__SWBLK_T_TYPE): Likewise.
32845         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32846         (__SWBLK_T_TYPE): Likewise.
32848 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32849             Honza Horak <hhorak@redhat.com>
32851         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32852         (xdr_mapname): Use YPMAXMAP as maxsize.
32853         (xdr_peername): Use YPMAXPEER as maxsize.
32854         (xdr_keydat): Use YPAXRECORD as maxsize.
32855         (xdr_valdat): Use YPMAXRECORD as maxsize.
32857 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32859         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32861         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32862         * csu/init-first.c: ... here.
32863         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32864         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32865         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32866         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32867         * sysdeps/i386/init-first.c: File removed.
32868         * sysdeps/sh/init-first.c: File removed.
32870 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32872         [BZ #14645]
32873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32874         if x * y might underflow to zero and z is zero.
32875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32876         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32877         * math/libm-test.inc (min_subnorm_value): New variable.
32878         (fma_test): Add more tests.
32879         (fma_test_towardzero): Likewise.
32880         (fma_test_downward): Likewise
32881         (fma_test_upward): Likewise.
32882         (initialize): Set min_subnorm_value.
32884 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32886         [BZ #14638]
32887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32888         0 + 0.
32889         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32890         mode for addition resulting in exact zero.
32891         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32893         exact 0 + 0.
32894         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32895         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32896         * math/libm-test.inc (fma_test): Add more tests.
32897         (fma_test_towardzero): New function.
32898         (fma_test_downward): Likewise.
32899         (fma_test_upward): Likewise.
32900         (main): Call the new functions.
32902 2012-09-28  David S. Miller  <davem@davemloft.net>
32904         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32906 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32908         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32909         instead of SIGALRM.
32911         * sysdeps/gnu/_G_config.h: Moved to ...
32912         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32913         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32914         * sysdeps/generic/_G_config.h: ... here.
32916         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32918         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32920         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32921         Conditionalize target on [libnss_test1.so-version].
32923         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32925         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32926         (elfobjdir): Move out of conditionals.
32928         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32929         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32930         (__nss_lookup_function): Conditionalize label remove_from_tree on
32931         [!DO_STATIC_NSS || SHARED], matching its only use.
32933 2012-09-28  David S. Miller  <davem@davemloft.net>
32935         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32936         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32937         file.
32938         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32939         sysdep_routines.
32940         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32941         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32942         when HWCAP_SPARC_CRYPTO is present.
32944 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32946         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32948 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32950         [BZ #6530]
32951         * stdio-common/vfprintf.c (process_string_arg): Revert
32952         2000-07-22 change.
32954 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32956         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32957         for testcase.
32958         * stdio-common/tst-sprintf.c: Include <locale.h>
32959         (main): Test sprintf's handling of incomplete multibyte
32960         characters.
32962 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32964         * elf/dl-runtime.c (VERSYMIDX): Removed.
32965         * elf/dl-version.c (VERSYMIDX): Likewise.
32966         * elf/do-rel.h (VERSYMIDX): Likewise.
32967         (VALIDX): Likewise.
32968         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32969         * elf/rtld.c (VALIDX): Likewise.
32970         (ADDRIDX): Likewise.
32971         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32972         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32973         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32974         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32975         (VALIDX): Likewise.
32976         (ADDRIDX): Likewise.
32978 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32980         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32982 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32984         [BZ #11438]
32985         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32986         to global scope.
32987         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32988         addresses are in the same scope as 192.0.2/24.
32989         * posix/gai.conf: Document new scope table defaults.
32991 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32993         [BZ #5298]
32994         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32995         for ftell.  Compute offsets from write pointers instead.
32996         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32998 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33000         [BZ #14543]
33001         * libio/Makefile (tests): New test case tst-fseek.
33002         * libio/tst-fseek.c: New test case to verify that fseek/ftell
33003         combination works in wide mode.
33004         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33005         state when the external buffer state changes.
33007 2012-09-27  David S. Miller  <davem@davemloft.net>
33009         [BZ #14376]
33010         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33011         pass reloc->r_addend in as the 'high' argument to
33012         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33016 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33018         * rt/tst-aio2.c: Include <pthread.h>.
33019         * rt/tst-aio3.c: Likewise.
33021 2012-09-27  Steve Ellcey  <sellcey@mips.com>
33023         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33025 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
33027         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33028         contents on [SHARED].
33030 2012-09-26  Marek Polacek  <polacek@redhat.com>
33032         [BZ #14530]
33033         [BZ #13741]
33034         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33035         for C++ and GCC <4.3 as well as for non GCC compilers.
33037 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33041 2012-09-25  Roland McGrath  <roland@hack.frob.com>
33043         * Makefile.in (all, install): Declare with .PHONY.
33044         Reported by Michael Hope <michael.hope@linaro.org>.
33046 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33048         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33049         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33050         system header.
33051         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33052         Likewise.
33053         (sydep_routines): Add the new and the internal functions.
33054         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33055         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33057         (GLIBC_2.17): Add the new function.
33058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33059         (GLIBC_2.17): Likewise.
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33061         (GLIBC_2.17): Likewise.
33062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33063         (GLIBC_2.17): Likewise.
33064         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33066 2012-09-25  Alan Modra  <amodra@gmail.com>
33068         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33069         Add release barrier before setting once_control to say
33070         initialisation is done.  Add hints on lwarx.  Use macro in
33071         place of isync.
33072         (clear_once_control): Add release barrier.
33074 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33076         [BZ #13629]
33077         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33078         specially.
33079         * math/s_clog10.c (__clog10): Likewise.
33080         * math/s_clog10f.c (__clog10f): Likewise.
33081         * math/s_clog10l.c (__clog10l): Likewise.
33082         * math/s_clogf.c (__clogf): Likewise.
33083         * math/s_clogl.c (__clogl): Likewise.
33084         * math/Makefile (libm-calls): Add x2y2m1.
33085         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33086         (__x2y2m1): Likewise.
33087         (__x2y2m1l): Likewise.
33088         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33089         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33090         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33091         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33092         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33093         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33094         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33095         * sysdeps/i386/fpu/libm-test-ulps: Update.
33096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33098         [BZ #14621]
33099         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33100         int as type of variable DEPTH.
33101         (glob): Use size_t instead of int as type of variables NEWCOUNT
33102         and OLD_PATHC.
33104 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33106         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33107         Add s_sincosf-sse2.
33108         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33109         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33110         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33111         macros for using routine as __sincosf_ia32.
33112         Use macro for function declaration and weak_alias.
33113         * sysdeps/i386/fpu/libm-test-ulps: Update.
33115         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33118         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33119         subnormal argument.
33120         * math/s_cexpf.c (__cexpf): Likewise.
33121         * math/s_csinf.c (__csinf): Likewise.
33122         * math/s_csinhf.c (__csinhf): Likewise.
33123         * math/s_ctanf.c (__ctanf): Likewise.
33124         * math/s_ctanhf.c (__ctanhf): Likewise.
33125         * math/s_ccosh.c (__ccoshf): Likewise.
33126         * math/s_cexp.c (__cexpl): Likewise.
33127         * math/s_csin.c (__csin): Likewise.
33128         * math/s_csinh.c (__csinh): Likewise.
33129         * math/s_ctan.c (__ctan): Likewise.
33130         * math/s_ctanh.c (ctanh): Likewise.
33131         * math/s_ccoshl.c (__ccoshl): Likewise.
33132         * math/s_cexpl.c (__cexpl): Likewise.
33133         * math/s_csinl.c (__csinl): Likewise.
33134         * math/s_csinhl.c (__csinhl): Likewise.
33135         * math/s_ctanl.c (__ctanl): Likewise.
33136         * math/s_ctanhl.c (__ctanhl): Likewise.
33138 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33140         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33141         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33142         (_IO_off_t): Define to __off_t, not _G_off_t.
33143         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33144         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33145         (_IO_wint_t): Define to wint_t, not _G_wint_t.
33146         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33147         type of __dummy and __dummy2 fields.
33148         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33149         (_G_ssize_t): Likewise.
33150         (_G_off_t): Likewise.
33151         (_G_pid_t): Likewise.
33152         (_G_uid_t): Likewise.
33153         (_G_wchar_t): Likewise.
33154         (_G_wint_t): Likewise.
33155         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33156         (_G_ssize_t): Likewise.
33157         (_G_off_t): Likewise.
33158         (_G_pid_t): Likewise.
33159         (_G_uid_t): Likewise.
33160         (_G_wchar_t): Likewise.
33161         (_G_wint_t): Likewise.
33162         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33163         (_G_ssize_t): Likewise.
33164         (_G_off_t): Likewise.
33165         (_G_pid_t): Likewise.
33166         (_G_uid_t): Likewise.
33167         (_G_wchar_t): Likewise.
33168         (_G_wint_t): Likewise.
33170 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33172         * malloc/arena.c: Include malloc-sysdep.h.
33173         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33174         is sufficient to shrink the heap or an unmap is needed.
33175         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33176         new function check_may_shrink_heap.
33177         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33178         new function check_may_shrink_heap.
33180 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33182         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33183         comments.
33185 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33187         * catgets/test-gencat.sh: Add "set -e".
33188         * elf/tst-pathopt.sh: Likewise.
33189         * grp/tst_fgetgrent.sh: Likewise.
33190         * iconvdata/run-iconv-test.sh: Likewise.
33191         * intl/tst-gettext.sh: Likewise.
33192         * intl/tst-gettext2.sh: Likewise.
33193         * intl/tst-gettext4.sh: Likewise.
33194         * intl/tst-gettext6.sh: Likewise.
33195         * intl/tst-translit.sh: Likewise.
33196         * io/ftwtest-sh: Likewise.
33197         * libio/test-freopen.sh: Likewise.
33198         * malloc/tst-mtrace.sh: Likewise.
33199         * posix/globtest.sh: Likewise.
33200         * posix/tst-getconf.sh: Likewise.
33201         * posix/wordexp-tst.sh: Likewise.
33202         * stdio-common/tst-printf.sh: Likewise.
33203         * stdio-common/tst-unbputc.sh: Likewise.
33204         * stdlib/tst-fmtmsg.sh: Likewise.
33205         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33206         * catgets/Makefile: Do not specify -e option when running
33207         testsuite shell scripts.
33208         * elf/Makefile: Likewise.
33209         * grp/Makefile: Likewise.
33210         * iconvdata/Makefile: Likewise.
33211         * intl/Makefile: Likewise.
33212         * io/Makefile: Likewise.
33213         * libio/Makefile: Likewise.
33214         * malloc/Makefile: Likewise.
33215         * posix/Makefile: Likewise.
33216         * stdio-common/Makefile: Likewise.
33217         * stdlib/Makefile: Likewise.
33218         * sysdeps/x86_64/Makefile: Likewise.
33220         * io/ftwtest-sh: Add copyright header.
33221         * posix/globtest.sh: Likewise.
33222         * posix/tst-getconf.sh: Likewise.
33223         * posix/wordexp-tst.sh: Likewise.
33224         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33226 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33228         [BZ #13679]
33229         * Makeconfig (+link): Defined as $(+link-static) if
33230         $(build-shared) isn't yes.
33231         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33232         isn't yes.
33233         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33235         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33237         [BZ #14562]
33238         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33239         new chunk size with MALLOC_ALIGN_MASK.
33241 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33243         [BZ #5044]
33244         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33245         <rounding-mode.h>.
33246         (__printf_fphex): Determine rounding using get_rounding_mode and
33247         round_away.
33248         * stdio-common/tst-printf-round.c (struct hex_test): New
33249         structure.
33250         (hex_tests): New variable.
33251         (test_hex_in_one_mode): New function.
33252         (do_test): Also run tests for hex float output.
33254 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33256         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33257         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33258         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33259         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33260         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33261         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33262         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33263         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33265 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33267         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33268         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33269         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33270         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33272 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33274         [BZ #14579]
33275         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33276         mode only.
33277         * elf/tst-rtld-load-self.sh: New test.
33278         * elf/Makefile: Run it.
33280 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33282         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33283         (tst-writev-ENV): Remove.
33284         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33286 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33288         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33290 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33292         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33293         unconditional.
33294         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33295         Likewise.
33296         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33297         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33298         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33299         Likewise.
33301 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
33303         [BZ #14587]
33304         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33305         * config.make.in (have-cpp-asm-debuginfo): Removed.
33306         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33307         * configure: Regenerated.
33309 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
33311         [BZ #5044]
33312         * stdio-common/printf_fp.c: Include <stdbool.h> and
33313         <rounding-mode.h>.
33314         (___printf_fp): Determine rounding using get_rounding_mode and
33315         round_away.
33316         * stdio-common/tst-printf-round.c: New file.
33317         * stdio-common/Makefile (tests): Add tst-printf-round.
33318         (link-libm): New variable.
33319         ($(objpfx)tst-printf-round): Depend in $(link-libm).
33321 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
33323         [BZ #14576]
33324         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33325         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33326         Likewise.
33327         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33328         Likewise.
33330 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
33332         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33333         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33334         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33335         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33337 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
33339         [BZ #14518]
33340         * include/rounding-mode.h: New file.
33341         * sysdeps/generic/get-rounding-mode.h: Likewise.
33342         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33343         * stdlib/strtod_l.c: Include <rounding-mode.h>.
33344         (MAX_VALUE): New macro.
33345         (MIN_VALUE): Likewise.
33346         (overflow_value): New function.
33347         (underflow_value): Likewise.
33348         (round_and_return): Use overflow_value and underflow_value to
33349         determine return values in overflow and underflow cases.  Use
33350         round_away to determine rounding depending on rounding mode.
33351         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33352         determine return values in overflow and underflow cases.
33353         * stdlib/tst-strtod-round.c: Include <fenv.h>.
33354         (struct test_results): New structure.
33355         (struct test): Use struct test_results to store expected results
33356         for all rounding modes.
33357         (TEST): Include expected results for all rounding modes.
33358         (test_in_one_mode): New function.
33359         (do_test): Use test_in_one_mode to compute and check results.
33360         Check results for all rounding modes.
33361         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33362         $(link-libm).
33364 2012-12-09  Allan McRae  <allan@archlinux.org>
33366         * sysdeps/i386/fpu/libm-test-ulps: Update
33368 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
33370         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33371         (_G_int32_t): Likewise.
33372         (_G_uint16_t): Likewise.
33373         (_G_uint32_t): Likewise.
33374         (_G_HAVE_BOOL): Likewise.
33375         (_G_HAVE_ATEXIT): Likewise.
33376         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33377         (_G_HAVE_IO_FILE_OPEN): Likewise.
33378         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33379         (_G_int32_t): Likewise.
33380         (_G_uint16_t): Likewise.
33381         (_G_uint32_t): Likewise.
33382         (_G_HAVE_BOOL): Likewise.
33383         (_G_HAVE_ATEXIT): Likewise.
33384         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33385         (_G_HAVE_IO_FILE_OPEN): Likewise.
33386         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33387         (_G_int32_t): Likewise.
33388         (_G_uint16_t): Likewise.
33389         (_G_uint32_t): Likewise.
33390         (_G_HAVE_BOOL): Likewise.
33391         (_G_HAVE_ATEXIT): Likewise.
33392         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33393         (_G_HAVE_IO_FILE_OPEN): Likewise.
33395 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
33397         * csu/libc-tls.c: Update copyright years.
33399 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
33401         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33402         [!_G_USING_THUNKS]: Remove conditional code.
33403         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33404         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33406         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33407         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33408         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33409         (_G_VTABLE_LABEL_PREFIX): Likewise.
33410         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33411         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33412         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33413         (_G_VTABLE_LABEL_PREFIX): Likewise.
33414         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33415         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33416         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33417         (_G_VTABLE_LABEL_PREFIX): Likewise.
33418         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33420 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
33422         * libio/Makefile: Include ../Makeconfig before tests.
33423         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33424         only if $(build-shared) is yes.
33426         * iconv/gconv_db.c: Update copyright years.
33428 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33430         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33431         unwind info if defined PIC. Fix special cases description.
33432         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33434         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33435         DP_HI_MASK entry.
33436         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33438 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
33440         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33442         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33443         is NULL.
33445         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33446         (LDLIBS-tst-chk4): This.
33447         (LDFLAGS-tst-chk5): Renamed to ...
33448         (LDLIBS-tst-chk5): This.
33449         (LDFLAGS-tst-chk6): Renamed to ...
33450         (LDLIBS-tst-chk6): This.
33451         (LDFLAGS-tst-lfschk4): Renamed to ...
33452         (LDLIBS-tst-lfschk4): This.
33453         (LDFLAGS-tst-lfschk5): Renamed to ...
33454         (LDLIBS-tst-lfschk5): This.
33455         (LDFLAGS-tst-lfschk6): Renamed to ...
33456         (LDLIBS-tst-lfschk6): This.
33458         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33459         on $(common-objpfx)soversions.mk.
33461 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
33463         [BZ #10014]
33464         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33465         example host name.
33467 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33469         * malloc/arena.c (arena_get_retry): New function that gets
33470         another arena for the caller to try its request on.
33471         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33472         current arena cannot fulfill the request.
33473         (__libc_memalign): Likewise.
33474         (__libc_memalign): Likewise.
33475         (__libc_pvalloc): Likewise.
33476         (__libc_calloc): Likewise.
33478 2012-09-05  John Tobey  <john.tobey@gmail.com>
33480         [BZ #13542]
33481         * manual/arith.texi (Operations on Complex): Fix description
33482         of carg branch cut.
33484 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33486         [BZ #10014]
33487         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33488         host name.
33490         [BZ #10038]
33491         * manual/memory.texi (Memory): Make order of menu items match
33492         order of sections.
33494 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33496         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33497         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
33498         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33500 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33502         * csu/libc-tls.c (static_dtv): Renamed to ...
33503         (_dl_static_dtv): This.  Make it global.
33504         (_dl_initial_dtv): Removed.
33505         (__libc_setup_tls): Updated.
33506         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33507         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33508         DL_INITIAL_DTV.
33510 2012-09-06  Petr Machata  <pmachata@redhat.com>
33512         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33513         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33514         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33515         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33517 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33519         [BZ #14545]
33520         * csu/libc-tls.c (_dl_initial_dtv): New variable.
33521         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33522         freeing dtv[-1].
33524 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33526         [BZ #14544]
33527         * Makeconfig (link-static-before-libc): Replace $(+prector)
33528         with $(+prectorT).
33529         (link-static-after-libc): Replace $(+postctor) with
33530         $(+postctorT).
33531         (link-bounded): Replace $(+prector)/$(+postctor) with
33532         $(+prectorT)/$(+postctorT).
33533         (+prectorT): New macro.
33534         (+postctorT): Likewise.
33536 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33538         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33539         (round_str): Handle values above the maximum for IBM long double
33540         as inexact.
33541         * stdlib/tst-strtod-round.c (tests): Regenerated.
33543 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33545         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33546         assembler flag.
33547         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33548         zarch_nohighgprs around the zarch optimized routines.
33549         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33550         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33551         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33552         for zarch.
33554 2012-09-05  David S. Miller  <davem@davemloft.net>
33556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33558         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33559         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33560         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33561         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33562         entries.
33564 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33566         * malloc/arena.c: Fold copyright years.
33567         * malloc/mcheck.c, malloc/memusage.c: Likewise.
33569 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33571         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33573 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33575         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
33577 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33579         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33580         change internal state upon failure.
33582 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33584         * malloc/mcheck.c (mcheck_check_all): Fix typo.
33585         * malloc/memusage.c (mmap): Likewise.
33586         (mmap64, mremap): Likewise.  Adjust name in comment.
33588 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33590         * libio/fileops.c: Fix typos in comments.
33591         * libio/oldfileops.c: Likewise.
33592         * libio/wfileops.c: Likewise.
33594 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33596         [BZ #1349]
33597         * malloc/Makefile (tests): Add tst-malloc-usable test case.
33598         (tst-malloc-usable-ENV): Set environment for test case.
33599         * malloc/hooks.c (malloc_check_get_size): New function to get
33600         requested size.
33601         * malloc/malloc.c (musable): Use malloc_check_get_size.
33602         * malloc/tst-malloc-usable.c: New test case.
33604 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33606         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33608 2012-09-05  Allan McRae  <allan@archlinux.org>
33610         [BZ #13966]
33611         * configure.in (CXX_SYSINCLUDES): Use compiler output to
33612         determine header location.
33613         * configure: Regenerated.
33615 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33617         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33618         float format.
33619         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33620         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33621         format.
33622         (test): Regenerate.
33624 2012-09-04  David S. Miller  <davem@davemloft.net>
33626         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33627         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33628         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33630 2012-09-04  Florian Weimer  <fweimer@redhat.com>
33632         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33633         failures.
33635         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33637 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
33639         [BZ #9914]
33640         * libio/iogetdelim.c: Include <limits.h>.
33641         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33642         + len + 1 would overflow.
33644 2012-09-03  Andreas Jaeger  <aj@suse.de>
33646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33647         * sysdeps/i386/fpu/libm-test-ulps: Update.
33649 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33651         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33652         Add s_sinf-sse2, s_conf-sse2.
33654         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33655         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33656         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33657         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33659         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33660         for using routine as __sinf_ia32.
33661         Use macro for function declaration and weak_alias.
33662         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33663         for using routine as __cosf_ia32.
33664         Use macro for function declaration and weak_alias.
33666         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33667         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33669         * sysdeps/x86_64/fpu/s_sinf.S: New file.
33670         * sysdeps/x86_64/fpu/s_cosf.S: New file.
33671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33673         * math/libm-test.inc (cos_test): Add more test cases.
33674         (sin_test): Likewise.
33675         (sincos_test): Likewise.
33677 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33679         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33680         (IFUNC_RESOLVE): Make pointers to the specialized implementations
33681         hidden.
33682         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33684 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
33686         [BZ #14538]
33687         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33688         first element of the GOT.
33689         (elf_machine_load_address): Return the difference between
33690         the runtime address of _DYNAMIC and elf_machine_dynamic ().
33692 2012-09-01  Allan McRae  <allan@archlinux.org>
33694         [BZ #13412]
33695         * configure.in (AWK): Require gawk version 3.0 or later.
33696         * configure: Regenerated.
33698 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
33700         * sysdeps/unix/sysv/linux/kernel-features.h
33701         (__ASSUME_POSIX_CPU_TIMERS): Remove.
33702         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33703         [__NR_clock_getres]: Make code unconditional.
33704         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33705         (clock_getcpuclockid): Remove code left unreachable by removal of
33706         conditionals.
33707         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33708         code unconditional.
33709         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33710         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33711         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33712         Make code unconditional.
33713         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33714         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33715         * sysdeps/unix/sysv/linux/clock_settime.c
33716         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33717         conditional code.
33718         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33719         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33721 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
33723         [BZ #14476]
33724         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33725         scripts/test-installation.pl.
33727         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33728         and $ld_so_version if it is set.
33730 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33732         [BZ #14516]
33733         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33734         failure if reading from procfs failed.
33735         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33737 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33739         * sysdeps/unix/sysv/linux/kernel-features.h
33740         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33741         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33742         Remove conditional code.
33743         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33744         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33745         Remove conditional code.
33746         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33747         * sysdeps/unix/sysv/linux/i386/fxstat.c
33748         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33749         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33750         * sysdeps/unix/sysv/linux/i386/fxstatat.c
33751         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33752         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33753         * sysdeps/unix/sysv/linux/i386/lxstat.c
33754         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33755         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33756         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33757         Remove conditional code.
33758         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33759         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33760         Remove conditional code.
33761         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33762         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33763         <kernel-features.h>.
33764         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33765         Remove.
33766         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33767         Remove conditional code.
33768         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33769         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33770         Remove conditional.
33772 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
33774         [BZ #5400]
33775         * NEWS: Add fixed bug number.
33777 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33779         [BZ #14519]
33780         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33781         underflowing exponent in case of negative sign.
33782         * stdlib/tst-strtod-round-data: Add more tests.
33783         * stdlib/tst-strtod-round.c (tests): Regenerated.
33785         [BZ #3479]
33786         * stdlib/strtod_l.c (NDIG): Remove.
33787         (HEXNDIG): Likewise.
33788         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33789         smallest representable value.
33790         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33791         lie within an exact representation of 1/2 ulp of the result.
33792         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33793         unconditionally.
33794         (TENS_P9_IDX): Define unconditionally.
33795         (TENS_P9_SIZE): Likewise.
33796         (TENS_P10_IDX): Likewise.
33797         (TENS_P10_SIZE): Likewise.
33798         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33799         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33800         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33801         entries for 10^2^13 and 10^2^14.
33802         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33803         (TENS_P13_IDX): Define.
33804         (TENS_P13_SIZE): Likewise.
33805         (TENS_P14_IDX): Likewise.
33806         (TENS_P14_SIZE): Likewise.
33807         (_fpioconst_pow10): Change array size to
33808         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33809         unconditional.
33810         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33811         1024]: Add entries for 10^2^13 and 10^2^14.
33812         [LAST_POW10 > _LAST_POW10]: Remove #error.
33813         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33814         (_fpioconst_pow10): Change array size to
33815         FPIOCONST_POW10_ARRAY_SIZE.
33816         * stdlib/gen-fpioconst.c: New file.
33817         * stdlib/gen-tst-strtod-round.c: Likewise.
33818         * stdlib/tst-strtod-round-data: Likewise.
33819         * stdlib/tst-strtod-round.c: Likewise.
33820         * stdlib/Makefile (tests): Add tst-strtod-round.
33822         [BZ #14459]
33823         * stdlib/strtod_l.c: Include <stdint.h>.
33824         (NDEBUG): Do not define.
33825         (round_and_return): Change EXPONENT parameter to type intmax_t.
33826         Rearrange calculations to avoid internal overflow possibilities.
33827         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33828         Rearrange calculations to avoid internal overflow possibilities.
33829         Assert that number fits inside MPNSIZE limbs.
33830         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33831         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33832         calculations and add assertions to avoid internal overflow
33833         possibilities.  Add casts to avoid signed/unsigned operations.
33834         * stdlib/tst-strtod-overflow.c: New file.
33835         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33837 2012-08-25  Marek Polacek  <polacek@redhat.com>
33839         * time/time.h: Fix some typos in comments.
33841 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33843         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33844         * posix/tst-rfc3484-2.c: Likewise.
33845         * posix/tst-rfc3484-3.c: Likewise.
33847 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33849         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33850         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33852 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33854         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33855         #include of fxstatat64.c.
33857 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33859         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33860         * shadow/getspent_r.c: Likewise.
33861         * shadow/getspnam.c: Likewise.
33862         * shadow/getspnam_r.c: Likewise.
33863         * gshadow/getsgent.c: Likewise.
33864         * gshadow/getsgent_r.c: Likewise.
33865         * gshadow/getsgnam.c: Likewise.
33866         * gshadow/getsgnam_r.c: Likewise.
33867         * inet/getnetbyad.c: Likewise.
33868         * inet/getnetbyad_r.c: Likewise.
33869         * inet/getnetbynm.c: Likewise.
33870         * inet/getnetbynm_r.c: Likewise.
33871         * inet/getnetent.c: Likewise.
33872         * inet/getnetent_r.c: Likewise.
33873         * inet/getproto.c: Likewise.
33874         * inet/getproto_r.c: Likewise.
33875         * inet/getprtent.c: Likewise.
33876         * inet/getprtent_r.c: Likewise.
33877         * inet/getprtname.c: Likewise.
33878         * inet/getprtname_r.c: Likewise.
33879         * inet/getrpcbyname.c: Likewise.
33880         * inet/getrpcbyname_r.c: Likewise.
33881         * inet/getrpcbynumber.c: Likewise.
33882         * inet/getrpcbynumber_r.c: Likewise.
33883         * inet/getrpcent.c: Likewise.
33884         * inet/getrpcent_r.c: Likewise.
33885         * inet/getaliasent.c: Likewise.
33886         * inet/getaliasent_r.c: Likewise.
33887         * inet/getaliasname.c: Likewise.
33888         * inet/getaliasname_r.c: Likewise.
33889         * nscd/getgrgid_r.c: Likewise.
33890         * nscd/getgrnam_r.c: Likewise.
33891         * nscd/gethstbyad_r.c: Likewise.
33892         * nscd/gethstbynm3_r.c: Likewise.
33893         * nscd/getpwnam_r.c: Likewise.
33894         * nscd/getpwuid_r.c: Likewise.
33895         * nscd/getsrvbynm_r.c: Likewise.
33896         * nscd/getsrvbypt_r.c: Likewise.
33897         * nscd/gai.c: Likewise.
33899         * configure.in (build_nscd): New substituted variable, set
33900         by --disable-build-nscd and defaults to $use_nscd.
33901         * configure: Regenerated.
33902         * config.make.in (build-nscd): New substituted variable.
33903         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33904         Change conditional to require [$(build-nscd) = yes] as well.
33905         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33907         [BZ# 13696]
33908         * configure.in (use_nscd): New substituted variable, set by
33909         --disable-nscd.  If enabled, define USE_NSCD.
33910         * configure: Regenerated.
33911         * config.h.in: Add USE_NSCD.
33912         * config.make.in (use-nscd): New substituted variable.
33913         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33914         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33915         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33916         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33917         (CFLAGS-getgrnam_r.c): Likewise.
33918         (CFLAGS-initgroups.c): Likewise.
33919         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33920         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33921         Variables removed.
33922         * inet/getnetgrent_r.c
33923         (nscd_setnetgrent): New function, broken out of ...
33924         (setnetgrent): ... here.  Call it.
33925         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33926         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33927         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33928         * nscd/Makefile (routines, aux): Move definitions after include of
33929         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33930         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33931         Conditionalize on [USE_NSCD].
33932         (is_nscd, nscd_init_cb): Likewise.
33933         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33934         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33935         * nss/nss_db/db-init.c: Likewise.
33936         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33937         [USE_NSCD].
33938         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33939         (make_request): Use it.
33940         (cache_valid_p): New function.
33941         (__check_pf): Use it.
33942         * NEWS: Add item for --disable-nscd.
33944 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33946         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33947         to support sed >= 4.2.1-20-ga9bf076.
33948         * configure: Regenerated.
33950 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33952         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33953         Conditionalize whole body on [IREL].
33955 2012-08-22  Jeff Law <law@redhat.com>
33957         [BZ #14505]
33958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33959         if the family is PF_UNSPEC.
33961 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33963         * Makerules (lib-version): Rename from V.
33964         (install-lib-nosubdir): Change V to lib-version.
33966 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33968         [BZ #14252]
33969         * powerpc32/power6/wcschr.c: New file.
33970         * powerpc32/power6/wcscpy.c: New file.
33971         * powerpc32/power6/wcsrchr.c: New file.
33972         * powerpc64/power6/wcschr.c: New file.
33973         * powerpc64/power6/wcscpy.c: New file.
33974         * powerpc64/power6/wcsrchr.c: New file.
33976 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33978         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33979         (two_way_short_needle): Use it.
33980         * string/strstr.c (AVAILABLE1_USES_J): Define.
33981         * string/strcasestr.c: Likewise.
33983         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33984         array references.
33985         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33987         [BZ #11607]
33988         * NEWS: Add an entry.
33989         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33990         define their defaults.
33991         (two_way_short_needle): Detect end-of-string on-the-fly.
33992         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33993         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33994         * string/bug-strcasestr1.c: New test.
33995         * string/Makefile: Run it.
33997 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33999         [BZ #11607]
34000         * string/str-two-way.h (two_way_short_needle): Optimize matching of
34001         the first character.
34003 2012-08-21  Roland McGrath  <roland@hack.frob.com>
34005         * csu/elf-init.c (__libc_csu_irel): Function removed.
34006         * csu/libc-start.c (apply_irel): New function.
34007         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34009 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
34011         * sysdeps/unix/sysv/linux/kernel-features.h
34012         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34013         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34014         <kernel-features.h>.
34015         [__NR_fadvise64_64]: Make code unconditional.
34016         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34017         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34018         !__NR_fadvise64_64)]: Likewise.
34019         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34020         !__NR_fadvise64_64))]: Likewise.
34021         [__NR_fadvise64]: Make code unconditional.
34022         [!__NR_fadvise64]: Remove conditional code.
34023         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34024         <kernel-features.h>.
34025         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34026         unconditional.
34027         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34028         conditional code.
34029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34030         not include <kernel-features.h>.
34031         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34032         unconditional.
34033         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34034         conditional code.
34035         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34036         include <kernel-features.h>.
34037         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34038         unconditional.
34039         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34040         conditional code.
34042 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34044         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34045         slight instruction rearrangements per scrollpipe analysis.
34046         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34048 2012-08-20  Roland McGrath  <roland@hack.frob.com>
34050         * manual/syslog.texi (syslog; vsyslog, closelog):
34051         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34052         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34054         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34055         DSOCAPS to match condition on defining it.
34057 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
34059         * sysdeps/unix/sysv/linux/kernel-features.h
34060         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34062         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34063         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34065         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34066         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34068         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34069         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34071         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34072         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34074         * sysdeps/unix/sysv/linux/kernel-features.h
34075         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34076         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34077         unconditional.
34078         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34079         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34080         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34081         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34082         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34083         Make code unconditional.
34084         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34085         (__mmap64) [!__NR_mmap2]: Likewise.
34086         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34087         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34088         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34089         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34090         [__NR_mmap2]: Make code unconditional.
34091         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34092         (__mmap64) [!__NR_mmap2]: Likewise.
34094 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34096         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34098 2012-08-18  Andreas Jaeger  <aj@suse.de>
34100         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34102 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34104         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34105         * include/unistd.h (__have_sock_cloexec): Likewise.
34106         (__have_pipe2): Likewise.
34107         (__have_dup3): Likewise.
34109 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34111         [BZ #9685]
34112         * include/unistd.h (__have_pipe2): Change define into an extern int.
34113         (__have_dup3): Likewise.
34114         * socket/have_sock_cloexec.c: Include fcntl.h.
34115         (__have_pipe2): New variable.
34116         (__have_dup3): Likewise.
34118 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
34120         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34122 2012-08-17  Marek Polacek  <polacek@redhat.com>
34124         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34125         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34127 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34129         * configure.in: Add AC_SUBST for sysheaders.
34130         * configure: Regenerated.
34131         * config.make.in (sysheaders): New substituted variable.
34133         * sysdeps/unix/mkfifo.c: Moved ...
34134         * sysdeps/posix/mkfifo.c: ... here.
34135         * sysdeps/unix/mkfifoat.c: Moved ...
34136         * sysdeps/posix/mkfifoat.c: ... here.
34138         * sysdeps/unix/utime.c: Moved ...
34139         * sysdeps/posix/utime.c: ... here.
34141         * sysdeps/unix/time.c: Moved ...
34142         * sysdeps/posix/time.c: ... here.
34143         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34144         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34146         * sysdeps/unix/nice.c: Moved ...
34147         * sysdeps/posix/nice.c: ... here.
34149         * sysdeps/unix/alarm.c: Moved ...
34150         * sysdeps/posix/alarm.c: ... here.
34152         * intl/Makefile ($(codeset_mo)): Depend on the input file.
34154 2012-08-17  Jeff Law <law@redhat.com>
34156         * intl/Makefile (codeset_mo): New variable.
34157         ($(codeset_mo)): New target.
34158         (tst-codeset.out): Depend on that.  Remove explicit rule.
34159         (tst-gettext3.out, tst-gettext5.out): Likewise.
34160         (LOCPATH-ENV, tst-codeset-ENV): New variables.
34161         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34162         * intl/tst-codeset.sh: Remove.
34163         * intl/tst-gettext3.sh: Likewise.
34164         * intl/tst-gettext5.sh: Likewise.
34166 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34168         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
34169         * sysdeps/unix/syscalls.list: ... here.
34171         * sysdeps/posix/getaddrinfo.c
34172         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34173         (gaiconf_init, gaiconf_reload): Use them.
34174         [!_STATBUF_ST_NSEC]
34175         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34176         Define using time_t rather than struct timespec.
34178         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34179         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34180         Macros removed.
34181         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34182         [!NO_THREADS].
34183         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34184         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34185         Likewise.
34187         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34188         __libc_cleanup_push argument.
34190         * bits/param.h: New file.
34191         * misc/sys/param.h: New file.
34192         * include/sys/param.h: New file.
34193         * misc/Makefile (headers): Add bits/param.h.
34194         * sysdeps/generic/sys/param.h: File removed.
34195         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34196         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34197         * sysdeps/mach/hurd/bits/param.h: New file.
34198         * sysdeps/mach/hurd/sys/param.h: File removed.
34200         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34201         last change.
34203         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34204         [_IO_MTSAFE_IO].
34205         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34206         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34207         New macros.
34209         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34210         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34211         rather than -D_IO_MTSAFE_IO conditionally.
34212         * stdio-common/Makefile (CPPFLAGS): Likewise.
34213         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34214         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34215         Use $(libio-mtsafe).
34216         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34217         of -D_IO_MTSAFE_IO.
34218         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34219         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34220         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34221         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34222         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34223         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34224         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34225         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34226         (CFLAGS-fread_u_chk.c): Likewise.
34227         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34228         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34229         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34230         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34231         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34232         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34233         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34234         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34235         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34237         * libio/Makefile: Test [$(libc-reentrant) = yes]
34238         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34240         * Makeconfig
34241         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34242         * sysdeps/pthread/configure: File removed.
34243         * sysdeps/pthread/Makeconfig: New file.
34244         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34245         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34247 2012-08-16  Gary Benson  <gbenson@redhat.com>
34249         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34250         unmapping the first object in a namespace.
34252 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34254         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34255         (__internal_setnetgrent): ... this.  Add internal_function to
34256         definition.  Add libc_hidden_def.
34257         (setnetgrent): Update caller.
34258         (internal_endnetgrent): Renamed to ...
34259         (__internal_endnetgrent): ... this.  Add internal_function to
34260         definition.  Add libc_hidden_def.
34261         (endnetgrent): Update caller.
34262         (internal_getnetgrent_r): Renamed to ...
34263         (__internal_getnetgrent_r): ... this.  Add internal_function to
34264         definition.  Add libc_hidden_def.
34265         (__getnetgrent_r): Update caller.
34266         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34268 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34270         * stdlib/longlong.h: Update from GCC.
34272 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34274         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34275         on _QL, which is set by umul_ppmm but never used.
34276         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34277         variables, which are set by GMP macros but never used.
34278         * stdio-common/_itowa.c (_itowa): Likewise.
34279         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34280         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34282 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34284         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34285         struct La_sh_regs is not constant.
34286         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34287         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34288         and struct La_sparc64_regs are not constant.
34290 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34292         * sysdeps/unix/sysv/linux/kernel-features.h
34293         (__ASSUME_POSIX_TIMERS): Remove.
34294         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34295         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34296         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34297         Make code unconditional.
34298         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34299         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34300         Make code unconditional.
34301         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34302         * sysdeps/unix/sysv/linux/clock_nanosleep.c
34303         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34304         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34305         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34306         Make code unconditional.
34307         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34308         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34309         (__libc_missing_posix_timers): Remove.
34311 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34313         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34314         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34316         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34318         * elf/dl-sym.c: Include <stdlib.h>.
34320         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34321         constants, which avoids warnings in 32-bit builds.
34323         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34324         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34326         * misc/lseek.c: File moved to ...
34327         * io/lseek.c: ... here.
34329         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34331         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34332         shifting LEN more than 31 bits at once.
34334 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34336         [BZ #14195]
34337         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34338         segmentation fault for a case of two empty input strings.
34339         * string/test-strncasecmp.c (check1): Renamed to...
34340         (bz12205): ...this.
34341         (bz14195): Add new testcase for two empty input strings and N > 0.
34342         (test_main): Call new testcase, adapt for renamed function.
34344 2012-08-15  Andreas Jaeger  <aj@suse.de>
34346         [BZ #14090]
34347         * crypt/md5test2.c: New test, based on test supplied by Serge
34348         Belyshev <belyshev@depni.sinp.msu.ru>.
34349         * crypt/Makefile (xtests): Add md5test-giant..
34350         * crypt/Makefile ($(objpfx)md5test-giant): Add.
34352 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
34354         [BZ #14090]
34355         * crypt/md5.c (md5_process_block): Don't assume the buffer
34356         length is less than 2**32.
34357         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34358         length is less than 2**64.
34360 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34362         * string/str-two-way.h: Include <sys/param.h>.
34363         (MAX): Macro removed.
34365         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34366         Move #define and #undef of memmove to just before and after
34367         including <string.h>.
34369         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34370         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34371         and after including <string.h>.  Move declarations of
34372         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34373         to before #include "string/memmove.c".
34375         * include/dirent.h: Declare __getdirentries.
34377         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34378         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34380 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
34382         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34383         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34384         * sysdeps/i386/configure: Regenerated.
34385         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34386         STABS_CURRENT_FILE, and STABS_FUN.
34387         (END): Remove call to STABS_FUN_END.
34388         (STABS_CURRENT_FILE1): Delete.
34389         (STABS_CURRENT_FILE): Likewise.
34390         (STABS_FUN): Likewise.
34391         (STABS_FUN_END): Likewise.
34392         (STABS_FUN2): Likewise.
34393         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34394         * sysdeps/x86_64/configure: Regenerated.
34396 2012-08-14  Roland McGrath  <roland@hack.frob.com>
34398         * elf/dl-open.c: Include <atomic.h>.
34399         * elf/dl-lookup.c: Likewise.
34401 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
34403         * sysdeps/unix/sysv/linux/kernel-features.h
34404         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34405         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34406         unconditionally.
34407         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34408         unconditionally.
34409         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34410         condition on __ASSUME_CLONE_THREAD_FLAGS.
34412 2012-08-14  Andreas Jaeger  <aj@suse.de>
34414         * sysdeps/i386/fpu/libm-test-ulps: Update.
34416 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
34418         * include/atomic.h (atomic_exchange_and_add): Split into ...
34419         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34420         New atomic macros.
34422 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
34424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34426 2012-08-13  Jeff Law <law@redhat.com>
34428         * manual/stdio.texi (snprintf): Clarify handling of the trailing
34429         null byte in the output string.
34431 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
34433         * sysdeps/unix/sysv/linux/kernel-features.h
34434         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34435         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34436         (__ASSUME_ARG_MAX_STACK_BASED): Define.
34437         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34438         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34439         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
34440         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34442 2012-08-09  Jeff Law <law@redhat.com>
34444         [BZ #13939]
34445         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34446         When avoid_arena is set, don't retry in the that arena.  Pick the
34447         next one, whatever it might be.
34448         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34449         (arena_lock): Pass in new parameter to arena_get2.
34450         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34451         arena_get2.
34452         (__libc_malloc): Unify retrying after main arena failure with
34453         __libc_memalign version.
34454         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34456 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
34458         [BZ #14166]
34459         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34460         to __redirect_strstr.
34461         (__strstr_sse42): Use typeof __redirect_strstr.
34462         (__strstr_ia32): Likewise.
34463         (__libc_strstr): New prototype.
34464         (strstr): Renamed to ...
34465         (__libc_strstr): This.
34466         (strstr): New strong alias of __libc_strstr.
34467         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34468         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34469         __redirect_time.
34470         Include <time.h>.
34471         (__libc_time): New prototype.
34472         (time_ifunc): Replace time with __libc_time.
34473         (time): New strong alias and hidden definition of __libc_time.
34474         (__GI_time): Remove strong alias.
34475         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34476         Include <stddef.h>.
34477         (memmove): Redefined to __redirect_memmove.
34478         (__memmove_sse2): Use typeof __redirect_memmove.
34479         (__memmove_ssse3): Likewise.
34480         (__memmove_ssse3_back): Likewise.
34481         (__libc_memmove): New prototype.
34482         (memmove): Renamed to ...
34483         (__libc_memmove): This.
34484         (memmove): New strong alias of __libc_memmove.
34486 2012-08-08  Mark Salter  <msalter@redhat.com>
34488         * elf/elf.h
34489         (R_MN10300_TLS_GD): Define.
34490         (R_MN10300_TLS_LD): Likewise.
34491         (R_MN10300_TLS_LDO): Likewise.
34492         (R_MN10300_TLS_GOTIE): Likewise.
34493         (R_MN10300_TLS_IE): Likewise.
34494         (R_MN10300_TLS_LE): Likewise.
34495         (R_MN10300_TLS_DTPMOD): Likewise.
34496         (R_MN10300_TLS_DTPOFF): Likewise.
34497         (R_MN10300_TLS_TPOFF): Likewise.
34498         (R_MN10300_SYM_DIFF): Likewise.
34499         (R_MN10300_ALIGN): Likewise.
34500         (R_MN10300_NUM): Update.
34502 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
34504         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34505         Remove.
34507 2012-08-08  Roland McGrath  <roland@hack.frob.com>
34509         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34511         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34512         sysdeps/unix -> sysdeps/posix move.
34513         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34515 2012-08-07      Allan McRae     <allan@archlinux.org>
34517         [BZ #14303]
34518         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34519         (SUNOS_CPP): Likewise.
34520         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34521         not found.
34522         (open_input): Call CPP using execvp.
34524 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34526         * sysdeps/unix/sysv/linux/kernel-features.h
34527         (__ASSUME_PROT_GROWSUPDOWN): Remove.
34528         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34529         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34530         (__ASSUME_WAITID_SYSCALL): Likewise.
34531         * sysdeps/unix/sysv/linux/dl-execstack.c
34532         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34533         code unconditional.
34534         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34535         conditional code.
34536         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34537         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34538         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34539         code.
34540         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34541         unconditional.
34542         [__ASSUME_WAITID_SYSCALL]: Likewise.
34543         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34545 2012-08-07  Roland McGrath  <roland@hack.frob.com>
34547         * sysdeps/unix/closedir.c: Renamed to ...
34548         * sysdeps/posix/closedir.c: ... here.
34549         * sysdeps/unix/dirfd.c: Renamed to ...
34550         * sysdeps/posix/dirfd.c: ... here.
34551         * sysdeps/unix/dirstream.h: Renamed to ...
34552         * sysdeps/posix/dirstream.h: ... here.
34553         * sysdeps/unix/fdopendir.c: Renamed to ...
34554         * sysdeps/posix/fdopendir.c: ... here.
34555         * sysdeps/unix/opendir.c: Renamed to ...
34556         * sysdeps/posix/opendir.c: ... here.
34557         * sysdeps/unix/readdir.c: Renamed to ...
34558         * sysdeps/posix/readdir.c: ... here.
34559         * sysdeps/unix/readdir_r.c: Renamed to ...
34560         * sysdeps/posix/readdir_r.c: ... here.
34561         * sysdeps/unix/rewinddir.c: Renamed to ...
34562         * sysdeps/posix/rewinddir.c: ... here.
34563         * sysdeps/unix/seekdir.c: Renamed to ...
34564         * sysdeps/posix/seekdir.c: ... here.
34565         * sysdeps/unix/telldir.c: Renamed to ...
34566         * sysdeps/posix/telldir.c: ... here.
34567         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34568         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34569         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34570         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34572         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34573         * bits/fcntl.h: ... here.
34575         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34576         not 0.
34577         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34578         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34579         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34580         (struct flock): Move l_start, l_len to the beginning.
34581         Use __pid_t for l_pid.
34582         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34583         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34584         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34585         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34586         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34587         [__USE_LARGEFILE64] (struct flock64): New type.
34588         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34590         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34591         * bits/dirent.h: ... here.
34593         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34594         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34596 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34598         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34599         Change from 2.6.0 to 2.6.16.
34600         * sysdeps/unix/sysv/linux/configure: Regenerated.
34601         * sysdeps/unix/sysv/linux/kernel-features.h
34602         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34603         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34604         version.
34605         (__ASSUME_UTIMES): Likewise.
34606         (__ASSUME_CLONE_STOPPED): Remove.
34607         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34608         architectures, not kernel version.
34609         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34610         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34611         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34612         (__ASSUME_WAITID_SYSCALL): Likewise.
34613         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34614         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34615         * README: State 2.6.16 as minimum Linux kernel version.  Do not
34616         refer to older versions.
34618 2012-08-06  Roland McGrath  <roland@hack.frob.com>
34620         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34621         Define alphasort64 as an alias.
34622         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34623         Define versionsort64 as an alias.
34624         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34625         Define scandir64 as an alias.
34626         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34627         Define scandirat64 as an alias.
34628         * dirent/alphasort64.c (alphasort64):
34629         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34630         * dirent/versionsort64.c: Likewise.
34631         * dirent/scandir64.c: Likewise.
34632         * dirent/scandirat64.c: Likewise.
34633         * sysdeps/wordsize-64/alphasort.c: File removed.
34634         * sysdeps/wordsize-64/alphasort64.c: File removed.
34635         * sysdeps/wordsize-64/scandir.c: File removed.
34636         * sysdeps/wordsize-64/scandir64.c: File removed.
34637         * sysdeps/wordsize-64/scandirat.c: File removed.
34638         * sysdeps/wordsize-64/scandirat64.c: File removed.
34639         * sysdeps/wordsize-64/versionsort.c: File removed.
34640         * sysdeps/wordsize-64/versionsort64.c: File removed.
34641         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34642         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34643         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34644         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34645         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34646         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34647         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34648         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34650         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34651         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34652         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34654         [defined __arch64__ || defined __sparcv9]
34655         (__INO_T_MATCHES_INO64_T): New macro.
34656         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34657         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34658         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34659         * sysdeps/unix/sysv/linux/bits/dirent.h
34660         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34661         (_DIRENT_MATCHES_DIRENT64): New macro.
34663         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34664         Define lockf64 as an alias.
34665         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34666         Define fseeko64 as an alias.
34667         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34668         Define ftello64 as an alias.
34669         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34670         Define _IO_fgetpos64 and fgetpos64 as aliases.
34671         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34672         Define _IO_fsetpos64 and fsetpos64 as aliases.
34673         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34674         Conditionalize body on this.
34675         * libio/fseeko64.c: Likewise.
34676         * libio/ftello64.c: Likewise.
34677         * libio/iofgetpos64.c: Likewise.
34678         * libio/iofsetpos64.c: Likewise.
34679         * sysdeps/wordsize-64/lockf.c: File removed.
34680         * sysdeps/wordsize-64/lockf64.c: File removed.
34681         * sysdeps/wordsize-64/fseeko.c: File removed.
34682         * sysdeps/wordsize-64/fseeko64.c: File removed.
34683         * sysdeps/wordsize-64/ftello.c: File removed.
34684         * sysdeps/wordsize-64/ftello64.c: File removed.
34685         * sysdeps/wordsize-64/iofgetpos.c: File removed.
34686         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34687         * sysdeps/wordsize-64/iofsetpos.c: File removed.
34688         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34689         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34690         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34691         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34692         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34693         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34694         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34695         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34696         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34697         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34698         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34700         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34701         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34702         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34703         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34704         [defined __arch64__ || defined __sparcv9]
34705         (__OFF_T_MATCHES_OFF64_T): New macro.
34706         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34707         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34709         (__OFF_T_MATCHES_OFF64_T): New macro.
34711 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34713         * stdlib/secure-getenv.c (__secure_getenv): Replace
34714         GLIBC_2_16 with GLIBC_2_17.
34716 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34718         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34719         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34721 2012-08-03  David S. Miller  <davem@davemloft.net>
34723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34725 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34727         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34728         Remove.
34729         (__ASSUME_CORRECT_SI_PID): Likewise.
34730         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34731         (__ASSUME_TMPFS_NAME): Likewise.
34732         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34733         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34734         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34735         (HAVE_AUX_SECURE): Make definition unconditional.
34736         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34737         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34739 2012-08-03  Roland McGrath  <roland@hack.frob.com>
34741         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34742         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34743         * sysdeps/mach/hurd/eloop-threshold.h: New file.
34744         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34745         __eloop_threshold instead of SYMLOOP_MAX.
34747         * sysdeps/generic/eloop-threshold.h: New file.
34748         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34749         of MAXSYMLINKS.
34750         * elf/chroot_canon.c (chroot_canon): Likewise.
34752 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34754         [BZ #13717]
34755         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34756         Change to 2.6.0 everywhere.
34757         * sysdeps/unix/sysv/linux/configure: Regenerated.
34758         * sysdeps/unix/sysv/linux/kernel-features.h
34759         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34760         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34761         kernel versions.
34762         (__ASSUME_POSIX_TIMERS): Define unconditionally.
34763         (__ASSUME_FUTEX_REQUEUE): Remove.
34764         (__ASSUME_STATFS64): Define unconditionally.
34765         (__ASSUME_AT_SECURE): Likewise.
34766         (__ASSUME_CORRECT_SI_PID): Likewise.
34767         (__ASSUME_TGKILL): Define without depending on kernel version for
34768         i386.
34769         (__ASSUME_UTIMES): Likewise.
34770         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34771         kernel version.
34772         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34773         (__ASSUME_TMPFS_NAME): Likewise.
34774         * README: Update reference to Linux kernel versions.
34776 2012-08-02  Marek Polacek  <polacek@redhat.com>
34778         [BZ# 14150]
34779         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
34780         libc_cv_asm_type_prefix with %.
34781         * configure: Regenerated.
34782         * include/libc-symbols.h: Remove comment about
34783         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34784         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34785         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34786         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34787         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34788         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34789         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34790         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34791         * elf/tst-unique2mod1.c: Likewise.
34792         * elf/tst-unique1mod2.c: Likewise.
34793         * elf/tst-unique1mod1.c: Likewise.
34794         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34795         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34796         Replace ASM_TYPE_DIRECTIVE with .type.
34797         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34798         * sysdeps/i386/sysdep.h: Likewise.
34799         * sysdeps/x86_64/sysdep.h: Likewise.
34800         * sysdeps/sh/sysdep.h: Likewise.
34801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34802         Do not define ASM_TYPE_DIRECTIVE.
34803         * sysdeps/powerpc/sysdep.h: Likewise.
34804         * sysdeps/powerpc/powerpc32/sysdep.h:
34805         Replace ASM_TYPE_DIRECTIVE with .type.
34806         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34807         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34808         * sysdeps/i386/fpu/e_powf.S: Likewise.
34809         * sysdeps/i386/fpu/e_expl.S: Likewise.
34810         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34811         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34812         * sysdeps/i386/fpu/e_pow.S: Likewise.
34813         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34814         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34815         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34816         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34817         * sysdeps/i386/fpu/e_log2.S: Likewise.
34818         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34819         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34820         * sysdeps/i386/fpu/e_powl.S: Likewise.
34821         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34822         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34823         * sysdeps/i386/fpu/e_logl.S: Likewise.
34824         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34825         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34826         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34827         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34828         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34829         * sysdeps/i386/fpu/e_log.S: Likewise.
34830         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34831         * sysdeps/i386/fpu/e_logf.S: Likewise.
34832         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34833         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34834         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34835         * sysdeps/i386/fpu/e_log10.S: Likewise.
34836         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34837         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34838         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34839         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34840         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34841         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34842         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34843         * sysdeps/i386/i686/strtok.S: Likewise.
34844         * sysdeps/i386/i386-mcount.S: Likewise.
34845         * sysdeps/i386/strtok.S: Likewise.
34846         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34847         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34848         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34849         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34850         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34851         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34852         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34853         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34854         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34855         * sysdeps/x86_64/_mcount.S: Likewise.
34856         * sysdeps/x86_64/strtok.S: Likewise.
34857         * sysdeps/sh/_mcount.S: Likewise.
34859 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34861         * libio/iofopen.c: Include <fcntl.h>.
34862         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34863         (_IO_fopen64, fopen64): Define as aliases.
34864         * libio/iofopen64.c: Include <fcntl.h>.
34865         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34866         Conditionalize body on this.
34867         * sysdeps/wordsize-64/iofopen.c: File removed.
34868         * sysdeps/wordsize-64/iofopen64.c: File removed.
34870 2012-08-01  Marek Polacek  <polacek@redhat.com>
34872         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34873         Use dlfcn directly instead of a variable.
34874         (binfmt-subdir): Do not define.
34875         (dlfcn): Likewise.
34877 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34879         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34880         Remove all definitions.
34881         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34882         <kernel-features.h>.
34883         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34884         (miss_F_GETOWN_EX): Remove all definitions.
34885         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34886         macro definition.
34887         [!__ASSUME_FCNTL64]: Remove conditional code.
34888         [__ASSUME_FCNTL64]: Make code unconditional.
34889         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34890         <kernel-features.h>.
34891         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34892         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34893         (lockf64) [__NR_fcntl64]: Make code unconditional.
34894         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34896         * sysdeps/unix/sysv/linux/kernel-features.h
34897         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34898         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34899         Make code unconditional.
34900         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34901         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34903         [__NR_vfork]: Make code unconditional.
34904         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34905         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34907         [__NR_vfork]: Make code unconditional.
34908         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34909         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34911 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34913         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34914         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34916         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34917         Define mkstemp64 as an alias.
34918         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34919         Define mkstemps64 as an alias.
34920         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34921         Define mkostemp64 as an alias.
34922         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34923         Define mkostemps64 as an alias.
34924         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34925         Conditionalize body on this.
34926         * misc/mkostemp64.c: Likewise.
34927         * misc/mkostemps64.c: Likewise.
34928         * misc/mkstemps64.c: Likewise.
34929         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34930         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34931         * sysdeps/wordsize-64/mkostemp.c: File removed.
34932         * sysdeps/wordsize-64/mkstemp.c: File removed.
34933         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34934         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34935         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34936         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34938         [BZ #14138]
34939         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34940         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34941         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34942         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34944         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34945         compat_symbol macros from <shlib-compat.h> rather than the underlying
34946         default_symbol_version and symbol_version macros, so that DEFAULT
34947         lines in shlib-versions are respected.
34948         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34950 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34952         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34953         Declare with warn_unused_result.
34954         (setgid, setregid, setegid, setresgid): Likewise.
34955         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34956         Likewise.
34957         * WUR-REPORT: Remove set*id functions.
34959 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34961         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34963 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34965         [BZ #10191]
34966         * include/sys/socket.h (__libc_accept, __libc_accept4):
34967         Add attribute_hidden.
34968         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34970         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34971         use of PTR_MANGLE.
34972         * inet/getnetgrent_r.c (setup): Likewise.
34974         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34976 2012-07-31  David S. Miller  <davem@davemloft.net>
34978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34980 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34982         [BZ #13629]
34983         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34984         value between 1.0 and 2.0 and smaller part has absolute value less
34985         than 1.0.
34986         * math/s_clog10.c (__clog10): Likewise.
34987         * math/s_clog10f.c (__clog10f): Likewise.
34988         * math/s_clog10l.c (__clog10l): Likewise.
34989         * math/s_clogf.c (__clogf): Likewise.
34990         * math/s_clogl.c (__clogl): Likewise.
34991         * math/libm-test.inc (clog_test): Add more tests.
34992         (clog10_test): Likewise.
34993         * sysdeps/i386/fpu/libm-test-ulps: Update.
34994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34996 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34998         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34999         Exit with zero in case no suitable GID is found, and write a
35000         message to standard error.
35002 2012-07-30  Roland McGrath  <roland@hack.frob.com>
35004         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35005         rather than to 1.
35006         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35007         (MAXPATHLEN): Removed.
35008         (NOGROUP, NODEV): New macros.
35009         (setbit, clrbit, isset, isclr): New macros.
35010         (howmany, roundup, powerof2): New macros.
35011         (DEV_BSIZE): New macro.
35013         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35014         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35016         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35017         definition on [!__NO_LONG_DOUBLE_MATH].
35019         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35020         PTR_MANGLE and PTR_DEMANGLE.
35022         * socket/accept4.c (accept4): Rename to __libc_accept4.
35023         Define accept4 as a weak alias.
35025         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35026         on [_DIRENT_HAVE_D_TYPE].
35027         * io/ftw.c (ftw_dir): Likewise.
35029         * io/xmknod.c (__xmknod): Don't check PATH for being null.
35031         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35033         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35034         Use the BSD numbers rather than the arbitrary ones we had.
35035         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35036         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35037         (SIGXCPU, SIGXFSZ): New macros.
35038         (_NSIG): Now 32.
35040         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35041         initializer on [_LIBC_REENTRANT].
35043         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35044         definitions inside [_POSIX_MAPPED_FILES].
35046         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35048         * dirent/opendir.c: Include <fcntl.h>.
35050         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35051         (__libc_getspecific): Likewise.
35052         (__libc_key_create): Likewise.
35054         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35055         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35056         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35057         (tmpfile64): Define as alias.
35058         * sysdeps/wordsize-64/tmpfile.c: File removed.
35059         * sysdeps/wordsize-64/tmpfile64.c: File removed.
35060         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35061         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35063         * stdio-common/vfscanf.c: Include <stdbool.h>.
35064         * nss/makedb.c: Likewise.
35065         * stdio-common/_i18n_number.h: Likewise.
35066         * argp/argp-help.c: Likewise.
35067         * posix/wordexp.c: Likewise.
35068         * sysdeps/posix/spawni.c: Likewise.
35069         * nss/nss_files/files-initgroups.c: Likewise.
35070         * stdio-common/reg-modifier.c: Include <stdlib.h>.
35071         * nss/nss_files/files-initgroups.c: Likewise.
35072         * nss/nss_db/db-netgrp.c: Likewise.
35073         * nss/nss_db/db-initgroups.c: Likewise.
35074         * io/fchmodat.c: Include <sys/stat.h>.
35076         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35077         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35079         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35080         [HAVE_MMAP].
35082         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35083         Add multiple inclusion protection.
35085 2012-07-27  David S. Miller  <davem@davemloft.net>
35087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35089 2012-07-27  Gary Benson  <gbenson@redhat.com>
35091         [BZ #14298]
35092         * elf/rtld.c: Include <stap-probe.h>.
35093         (dl_main): Added static probes "init_start" and "init_complete".
35094         * elf/dl-load.c: Include <stap-probe.h>.
35095         (lose): Take new parameter "nsid".
35096         Added static probe "map_failed".
35097         (_dl_map_object_from_fd): Pass namespace id to lose.
35098         Added static probe "map_start".
35099         (open_verify): Pass namespace id to lose.
35100         * elf/dl-open.c: Include <stap-probe.h>.
35101         (dl_open_worker) Added static probes "map_complete", "reloc_start"
35102         and "reloc_complete".
35103         * elf/dl-close.c: Include <stap-probe.h>.
35104         (_dl_close_worker): Added static probes "unmap_start" and
35105         "unmap_complete".
35106         * elf/rtld-debugger-interface.txt: New file documenting the above.
35108 2012-07-26  Roland McGrath  <roland@hack.frob.com>
35110         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35111         rather than a string variable.
35112         * sunrpc/rpc_main.c (h_output): Likewise.
35113         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35115 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
35117         * inet/check_native.c: New file.
35119 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
35121         [BZ #13629]
35122         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35123         if larger part has absolute value 1.0.
35124         * math/s_clog10.c (__clog10): Likewise.
35125         * math/s_clog10f.c (__clog10f): Likewise.
35126         * math/s_clog10l.c (__clog10l): Likewise.
35127         * math/s_clogf.c (__clogf): Likewise.
35128         * math/s_clogl.c (__clogl): Likewise.
35129         * math/libm-test.inc (clog_test): Add more tests.
35130         (clog10_test): Likewise.
35131         * sysdeps/i386/fpu/libm-test-ulps: Update.
35132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35134         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35135         (pltexit): Likewise.
35136         (La_regs): Likewise.
35137         (La_retval): Likewise.
35138         (int_retval): Likewise.
35139         Update #error for removed macros to refer only to definitions in
35140         tst-audit.h.
35141         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35142         macro.
35143         (pltexit): Likewise.
35144         (La_regs): Likewise.
35145         (La_retval): Likewise.
35146         (int_retval): Likewise.
35147         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35148         macro.
35149         (pltexit): Likewise.
35150         (La_regs): Likewise.
35151         (La_retval): Likewise.
35152         (int_retval): Likewise.
35153         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35154         macro.
35155         (pltexit): Likewise.
35156         (La_regs): Likewise.
35157         (La_retval): Likewise.
35158         (int_retval): Likewise.
35159         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35160         macro.
35161         (pltexit): Likewise.
35162         (La_regs): Likewise.
35163         (La_retval): Likewise.
35164         (int_retval): Likewise.
35165         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35166         macro.
35167         (pltexit): Likewise.
35168         (La_regs): Likewise.
35169         (La_retval): Likewise.
35170         (int_retval): Likewise.
35171         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35172         macro.
35173         (pltexit): Likewise.
35174         (La_regs): Likewise.
35175         (La_retval): Likewise.
35176         (int_retval): Likewise.
35177         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35178         macro definitions in tst-audit.h.
35179         * sysdeps/i386/tst-audit.h: New file.
35180         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35181         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35182         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35183         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35184         * sysdeps/sh/tst-audit.h: Likewise.
35185         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35186         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35187         * sysdeps/x86_64/tst-audit.h: Likewise.
35189 2012-07-26  Andreas Jaeger  <aj@suse.de>
35191         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35192         ptrace.
35194         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35195         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35196         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35197         PTRACE_O_MASK.
35198         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35199         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35200         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35202         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35203         value.
35205         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35206         _sigsys.
35207         (si_call_addr, si_syscall, si_arch): Define new macro.
35208         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35209         _sigsys.
35210         (si_call_addr, si_syscall, si_arch): Define new marcro.
35211         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35212         _sigsys.
35213         (si_call_addr, si_syscall, si_arch): Define new macro.
35214         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35215         _sigsys.
35216         (si_call_addr, si_syscall, si_arch): Define new macro.
35218 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35220         [BZ #13717]
35221         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35222         Change to 2.4.21 where previously 2.4.1.
35223         * sysdeps/unix/sysv/linux/configure: Regenerated.
35224         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35225         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35226         Linux kernel version.
35227         (__ASSUME_STD_AUXV): Remove.
35228         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35229         kernel version.
35230         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35231         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35232         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35233         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35234         (__ASSUME_NETLINK_SUPPORT): Likewise.
35235         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35236         (__no_netlink_support): Remove conditional definition.
35237         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35238         Remove.
35239         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35240         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35241         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35242         (if_nameindex_ioctl): Remove.
35243         (if_nameindex_netlink): Do not handle __no_netlink_support.
35244         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35245         code.
35246         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35247         Remove conditional code.
35248         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35249         code.
35250         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35251         unconditional.
35252         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35253         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35254         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35255         Remove.
35256         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35257         [!__ASSUME_STD_AUXV]: Remove conditional code.
35258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35259         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35260         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35262         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35263         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35264         code.
35265         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35267         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35268         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35269         conditional code.
35270         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35272         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35273         code.
35274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35275         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35276         conditional code.
35277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35278         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35279         code unconditional.
35280         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35281         conditional code.
35282         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35283         unconditional.
35284         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35285         conditional code.
35286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35287         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35288         unconditional.
35289         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35290         conditional code.
35291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35292         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35293         code unconditional.
35294         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35295         conditional code.
35296         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35297         unconditional.
35298         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35299         conditional code.
35300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35301         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35302         code unconditional.
35303         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35304         conditional code.
35305         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35306         unconditional.
35307         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35308         conditional code.
35310 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
35312         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35313         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35314         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35315         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35316         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35317         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35318         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35319         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35320         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35321         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35322         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35323         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35324         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35325         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35326         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35327         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35328         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35329         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35330         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35332         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35333         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35334         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35336 2012-07-25  Florian Weimer  <fweimer@redhat.com>
35338         * Versions.def: Add GLIBC_2.17.
35339         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35340         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35341         Introduce __libc_secure_getenv.
35342         * stdlib/Versions (2.17): Add secure_getenv
35343         (GLIBC_PRIVATE): Add __libc_secure_getenv.
35344         * stdlib/secure-getenv.c: Rename __secure_getenv to
35345         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
35346         symbol __secure_getenv for GLIBC_2.0.
35347         * stdlib/tst-secure-getenv.c: New.
35348         * stdlib/Makefile (tests): Add testcase.
35349         * manual/startup.texi (Environment Access): Document
35350         secure_getenv.
35351         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35352         __libc_secure_getenv.
35353         * inet/ruserpass.c (ruserpass): Likewise.
35354         * malloc/mtrace.c (mtrace): Likewise.
35355         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35356         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35357         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35358         * sysdeps/posix/tempname.c: Likewise.  Evaluate
35359         HAVE_SECURE_GETENV.
35360         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35361         __secure_getenv to __libc_secure_getenv.
35362         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35364         Likewise.
35365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35366         Likewise.
35367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35369         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35375 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35377         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35378         (struct La_i86_retval): Likewise.
35379         (struct La_x86_64_regs): Likewise.
35380         (struct La_x86_64_retval): Likewise.
35381         (struct La_x32_regs): Likewise.
35382         (struct La_x32_retval): Likewise.
35383         (struct La_ppc32_regs): Likewise.
35384         (struct La_ppc32_retval): Likewise.
35385         (struct La_ppc64_regs): Likewise.
35386         (struct La_ppc64_retval): Likewise.
35387         (struct La_sh_regs): Likewise.
35388         (struct La_sh_retval): Likewise.
35389         (struct La_s390_32_regs): Likewise.
35390         (struct La_s390_32_retval): Likewise.
35391         (struct La_s390_64_regs): Likewise.
35392         (struct La_s390_64_retval): Likewise.
35393         (struct La_sparc32_regs): Likewise.
35394         (struct La_sparc32_retval): Likewise.
35395         (struct La_sparc64_regs): Likewise.
35396         (struct La_sparc64_retval): Likewise.
35397         (struct audit_ifaces): Remove architecture-specific pltenter and
35398         pltexit members.
35399         * sysdeps/i386/ldsodefs.h: New file.
35400         * sysdeps/powerpc/ldsodefs.h: Likewise.
35401         * sysdeps/s390/ldsodefs.h: Likewise.
35402         * sysdeps/sh/ldsodefs.h: Likewise.
35403         * sysdeps/sparc/ldsodefs.h: Likewise.
35404         * sysdeps/x86_64/ldsodefs.h: Likewise.
35406 2012-07-25  Marek Polacek  <polacek@redhat.com>
35408         [BZ #6808]
35409         * math/libm-test.inc (yn_test): Add another test.
35410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35411         to ERANGE when the result is +-Inf.
35412         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35413         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35414         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35415         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35417 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
35419         * conform/data/time.h-data (NULL): Use macro-constant.  Require
35420         equal to 0.
35421         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
35422         clock_t.
35423         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
35425 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
35427         * configure.in <sysdeps resolving>: Correct printing
35428         Implies_before.
35429         * configure: Regenerate.
35431 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
35433         * math/w_ilogb.c: Include <limits.h>.
35434         * math/w_ilogbl.c: Likewise.
35436 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35438         * manual/lang.texi (__va_copy): Document primarily as ISO C99
35439         va_copy.  Document allowing for unavailable va_copy only as
35440         pre-C99 compatibility.
35441         * manual/string.texi (Copying and Concatenation): Use va_copy
35442         instead of __va_copy in concat example.
35444 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
35446         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35447         (__sendto): Use create_address_port.  Initialize APORT and deallocate
35448         it if not null.
35450         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35451         with O_NOLINK passed to __file_name_lookup.
35453         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35454         with O_NOLINK passed to __file_name_lookup.
35456         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35457         negative N or less than NGIDS.
35459         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35460         type to string_t.  Set ERANGE as errno and return it if NAME is not big
35461         enough.  Use memcpy instead of strncpy.
35463 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35465         * elf/Makefile (check-data): Remove.
35466         (localplt.data): New vpath directive.
35467         ($(objpfx)check-localplt.out): Use localplt.data from vpath
35468         instead of $(check-data).
35469         * scripts/data/localplt-generic.data: Move to ...
35470         * sysdeps/generic/localplt.data: ... here.
35471         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35472         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35473         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35475         ... here.
35476         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35478         ... here.
35479         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35481         ... here.
35482         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35484         ... here.
35485         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35487         ... here.
35488         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35490         ... here.
35492 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35494         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35495         PPC32 and PPC64 files.
35496         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35497         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35499 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35501         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35502         __makecontext_ret to ...
35503         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35504         ... here and call exit if uc_link is NULL.  New file.
35505         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35506         __makecontext_ret.S.
35507         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35508         __makecontext_ret to ...
35509         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35510         ... here and call exit if uc_link is NULL.  New file.
35511         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35512         __makecontext_ret.S.
35514 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35516         * elf/elf.h (R_390_IRELATIVE): New definition.
35517         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35518         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
35519         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35520         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35521         (elf_machine_lazy_rel): Likewise.
35522         * sysdeps/s390/dl-irel.h: New file.
35523         * sysdeps/s390/s390-64/memcpy.S: New asm code.
35524         * sysdeps/s390/s390-64/memset.S: New asm code.
35525         * sysdeps/s390/s390-64/memcmp.S: New asm code.
35526         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35527         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35528         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35529         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35530         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35532         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35533         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35534         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35535         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35536         * sysdeps/s390/s390-32/memcpy.S: New asm code.
35537         * sysdeps/s390/s390-32/memset.S: New asm code.
35538         * sysdeps/s390/s390-32/memcmp.S: New asm code.
35540 2012-07-17  Marek Polacek  <polacek@redhat.com>
35542         [BZ #14349]
35543         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35544         * sysdeps/s390/s390-64/configure.in: Likewise.
35545         * sysdeps/sparc/configure.in: Likewise.
35546         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35547         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35548         * sysdeps/i386/configure.in: Likewise.
35549         * sysdeps/x86_64/configure.in: Likewise.
35550         * sysdeps/sh/configure.in: Likewise.
35551         * sysdeps/s390/s390-32/configure: Regenerated.
35552         * sysdeps/s390/s390-64/configure: Likewise.
35553         * sysdeps/x86_64/configure: Likewise.
35554         * sysdeps/sh/configure: Likewise.
35555         * sysdeps/powerpc/powerpc64/configure: Likewise.
35556         * sysdeps/powerpc/powerpc32/configure: Likewise.
35557         * sysdeps/sparc/configure: Likwise.
35558         * sysdeps/i386/configure: Likewise.
35560         * elf/dl-open.c: Comment fixes.
35562 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
35564         * Makefile [CXX] (check-data): Remove.
35565         [CXX] (c++-types.data): New vpath directive.
35566         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35567         vpath.  Do not allow for C++ type data being missing.
35568         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35569         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35570         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35571         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35572         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35573         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35574         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35576         ... here.
35577         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35579         ... here.
35580         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35582         ... here.
35583         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35585         ... here.
35586         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35588         ... here.
35589         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35591         ... here.
35592         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35594         ... here.
35595         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35598         * elf/tls-macros.h (TLS_LE): Move architecture-specific
35599         definitions to architecture-specific files.
35600         (TLS_IE): Likewise.
35601         (TLS_LD): Likewise.
35602         (TLS_GD): Likewise.
35603         * sysdeps/i386/tls-macros.h: New file.
35604         * sysdeps/powerpc/tls-macros.h: Likewise.
35605         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35606         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35607         * sysdeps/sh/tls-macros.h: Likewise.
35608         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35609         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35610         * sysdeps/x86_64/tls-macros.h: Likewise.
35612 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35614         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35615         zero value for regular exit case.
35617         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35618         (__start_context): Preserve zero value for regular exit case.
35620 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35621             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35623         * manual/setjmp.texi (setcontext): Clarify normal process
35624         termination when uc_link is the null pointer.
35625         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35626         exit call.
35628 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
35630         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35631         preprocessor.  Test for each exception mask separately.
35633 2012-07-16  Andreas Jaeger  <aj@suse.de>
35635         * po/ru.po: Update from translation team.
35637 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
35639         * conform/data/string.h-data (NULL): Use macro-constant.  Require
35640         equal to 0.
35641         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35642         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35643         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35644         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35645         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35647 2012-07-13  Andreas Jaeger  <aj@suse.de>
35649         * po/fr.po: Update from translation team.
35651 2012-07-12  Marek Polacek  <polacek@redhat.com>
35653         [BZ #14173]
35654         * math/libm-test.inc (yn_test): Add test for BZ #14173.
35655         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35656         loop condition.
35658 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
35660         [BZ #13717]
35661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35662         Change to 2.4.1 where previously 2.4.0.
35663         * sysdeps/unix/sysv/linux/configure: Regenerated.
35664         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35665         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35666         version.
35667         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35668         (__ASSUME_AT_CLKTCK): Remove.
35669         (__ASSUME_AT_PAGESIZE): Likewise.
35670         (__ASSUME_AT_XID): Likewise.
35671         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35672         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35673         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35674         unconditionally.
35675         (HAVE_AUX_PAGESIZE): Likewise.
35676         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35677         [__ASSUME_AT_CLKTCK]: Make code unconditional.
35678         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35680 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
35682         [BZ #14307]
35683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35684         the temporary buffer used to invoke __gethostbyname2_r,
35685         __gethostbyaddr_r and gethostbyname4_r to make room for struct
35686         host_data / struct gaih_addrtuple.
35687         * resolv/nss_dns/dns-host.c (global scope): Move definition of
35688         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35689         header file nss/nsswitch.h.
35690         * nss/nsswitch.h (global scope): Add definition of implementation
35691         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35692         resolv/nss_dns/dns-host.c).
35694 2012-07-11  Andreas Jaeger  <aj@suse.de>
35696         * po/fr.po: Update from translation team.
35698         * po/sv.po: Update from translation team
35699         * po/fr.po: Another update from translation team.
35701 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35703         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35704         for subnormals or multiply small sinh result by itself.
35705         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35708 2012-07-11  David S. Miller  <davem@davemloft.net>
35710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35712 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
35714         [BZ #14347]
35715         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35716         (INTERNAL_MARK): Shift it here.
35718 2012-07-10  Marek Polacek  <polacek@redhat.com>
35720         [BZ #14151]
35721         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
35722         libc_cv_asm_global_directive with .globl.
35723         * configure: Regenerated.
35724         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35725         with .globl.
35726         * sysdeps/i386/configure: Regenerated.
35727         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35728         with .globl.
35729         * sysdeps/x86_64/configure: Regenerated.
35730         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35731         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35732         * elf/tst-unique2mod2.c: Likewise.
35733         * elf/tst-unique2mod1.c: Likewise.
35734         * elf/tst-unique1mod2.c: Likewise.
35735         * elf/tst-unique1mod1.c: Likewise.
35736         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35737         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35738         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35739         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35740         * sysdeps/mach/sysdep.h: Likewise.
35741         * sysdeps/i386/sysdep.h: Likewise.
35742         * sysdeps/i386/i386-mcount.S: Likewise.
35743         * sysdeps/x86_64/_mcount.S: Likewise.
35744         * sysdeps/x86_64/sysdep.h: Likewise.
35745         * sysdeps/sh/_mcount.S: Likewise.
35746         * sysdeps/sh/sysdep.h: Likewise.
35747         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35748         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35749         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35750         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35751         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35752         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35753         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35754         * locale/localeinfo.h: Likewise.
35755         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35756         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35758 2012-07-09  Roland McGrath  <roland@hack.frob.com>
35760         [BZ #14336]
35761         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35762         system".
35763         * manual/message.texi (The Uniforum approach): Likewise.
35764         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35765         (glibc iconv Implementation): Likewise.
35767 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
35769         [BZ #14337]
35770         * math/s_clog.c (__clog): Avoid scaling a value down where that
35771         could result in underflow.
35772         * math/s_clog10.c (__clog10): Likewise.
35773         * math/s_clog10f.c (__clog10f): Likewise.
35774         * math/s_clog10l.c (__clog10l): Likewise.
35775         * math/s_clogf.c (__clogf): Likewise.
35776         * math/s_clogl.c (__clogl): Likewise.
35777         * math/libm-test.inc (clog_test): Add more tests.
35778         (clog10_test): Likewise.
35779         * sysdeps/i386/fpu/libm-test-ulps: Update.
35780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35782 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
35784         [BZ #14283]
35785         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35786         by 7 not 8 to examine high bit of fractional part.
35788         [BZ #14042]
35789         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35790         for call to __mcount_internal.
35791         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35792         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35793         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35795 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35797         [BZ #14154]
35798         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35799         approximation for values within 0x1p-13f of an odd multiple of
35800         pi/4.
35801         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35802         exception.  Add more tests.
35803         * sysdeps/i386/fpu/libm-test-ulps: Update.
35805         [BZ #6778]
35806         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35807         inputs and return -1 for them.  Do not check for +Inf in case not
35808         reachable for +Inf.
35809         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35810         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35811         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35812         and return -1 for them.  Do not check for +Inf in case not
35813         reachable for +Inf.
35814         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35815         define.
35816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35817         and return -1 for them.  Do not check for +Inf in case not
35818         reachable for +Inf.
35819         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35820         spurious underflow.
35821         * sysdeps/i386/fpu/libm-test-ulps: Update.
35822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35824 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35826         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35828 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35830         [BZ #14157]
35831         [BZ #14331]
35832         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35833         could result in spurious underflow.  Scale down values above
35834         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35835         * math/s_csqrtf.c (__csqrtf): Likewise.
35836         * math/s_csqrtl.c (__csqrtl): Likewise.
35837         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35838         spurious underflow.
35839         * sysdeps/i386/fpu/libm-test-ulps: Update.
35840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35842 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35844         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35845         xopen-msg.sed.
35846         * catgets/xopen-msg.awk: New file.
35847         * catgets/xopen-msg.sed: Removed.
35849         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35850         po2text.sed.
35851         * intl/po2test.awk: New file.
35852         * intl/po2test.sed: Removed.
35854 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35856         [BZ #14328]
35857         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35858         or multiply small sinh result by itself.
35859         * math/s_ctanf.c (__ctanf): Likewise.
35860         * math/s_ctanh.c (__ctanh): Likewise.
35861         * math/s_ctanhf.c (__ctanhf): Likewise.
35862         * math/s_ctanhl.c (__ctanhl): Likewise.
35863         * math/s_ctanl.c (__ctanl): Likewise.
35864         * math/libm-test.inc (ctan_test_tonearest): New function.
35865         (ctan_test_towardzero): Likewise.
35866         (ctan_test_downward): Likewise.
35867         (ctan_test_upward): Likewise.
35868         (ctanh_test_tonearest): Likewise.
35869         (ctanh_test_towardzero): Likewise.
35870         (ctanh_test_downward): Likewise.
35871         (ctanh_test_upward): Likewise.
35872         (main): Call these new functions.
35873         * sysdeps/i386/fpu/libm-test-ulps: Update.
35874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35876 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35878         * .gitignore: Delete /ports entry.
35880 2012-07-03  Andreas Jaeger  <aj@suse.de>
35882         * po/bg.po: Update from translation team.
35883         * po/cs.po: Likewise.
35884         * po/de.po: Likewise.
35885         * po/hr.po: Likewise.
35886         * po/nl.pl: Likewise.
35887         * po/pl.po: Likewise.
35888         * po/vi.po: Likewise.
35890 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35892         * Makeconfig [!+link] (+link-before-libc): New variable.
35893         [!+link] (+link-after-libc): Likewise.
35894         [!+link] (+link-tests): Likewise.
35895         [!+link] (+link): Define in terms of $(+link-before-libc) and
35896         $(+link-after-libc).
35897         [!+link-static] (+link-static-before-libc): New variable.
35898         [!+link-static] (+link-static-after-libc): Likewise.
35899         [!+link-static] (+link-static-tests): Likewise.
35900         [!+link-static] (+link-static): Define in terms of
35901         $(+link-static-before-libc) and $(+link-static-after-libc).
35902         [build-shared] (link-libc-before-gnulib): New variable.
35903         [build-shared] (link-libc-tests): Likewise.
35904         [build-shared] (link-libc): Define in terms of
35905         $(link-libc-before-gnulib).
35906         [!build-shared] (link-libc-tests): New variable.
35907         (link-libc-static-tests): New variable.
35908         [!gnulib] (gnulib-arch): New variable.
35909         [!gnulib] (gnulib-tests): Likewise.
35910         [!gnulib] (static-gnulib-arch): Likewise.
35911         [!gnulib] (static-gnulib-tests): Likewise.
35912         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35913         Define with "=" instead of ":=".
35914         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35915         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35916         * Rules (binaries-all-notests): New variable.
35917         (binaries-all-tests): Likewise.
35918         (binaries-static-notests): Likewise.
35919         (binaries-static-tests): Likewise.
35920         (binaries-all): Define using $(binaries-all-notests) and
35921         $(binaries-all-tests).
35922         (binaries-static): Define using $(binaries-static-notests) and
35923         $(binaries-static-tests).
35924         (binaries-shared-tests): New variable.
35925         (binaries-shared-notests): Likewise.
35926         (binaries-shared): Remove variable.
35927         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35928         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35929         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35930         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35931         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35932         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35933         * elf/Makefile (sln-modules): New variable.
35934         (extra-objs): Add $(sln-modules:=.o).
35935         (ldconfig-modules): Add static-stubs.
35936         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35937         * elf/static-stubs.c: New file.
35939         [BZ #14283]
35940         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35941         by 7 not 8 to examine high bit of fractional part.  Use volatile
35942         variables when splitting into final array of floats if
35943         __FLT_EVAL_METHOD__ != 0.
35944         * math/libm-test.inc (cos_test): Add another test.
35945         (sin_test): Likewise.
35946         * sysdeps/i386/fpu/libm-test-ulps: Update.
35948         [BZ #14273]
35949         * math/libm-test.inc (cosh_test): Add more tests.
35951         * version.h (RELEASE): Set to "development".
35952         (VERSION): Set to "2.16.90".
35954 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35956         * NEWS: Update copyright. Remove last-updated date.
35957         Mention math library bug fixes and timezone data changes.
35958         * README: Mention GNU/Hurd, x32, and HPPA support status.
35960 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35962         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35964 2012-06-27  Andreas Jaeger  <aj@suse.de>
35966         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35968 2012-06-25  Andreas Jaeger  <aj@suse.de>
35970         * sysdeps/s390/fpu/libm-test-ulps: Update.
35972 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35973             Thomas Schwinge  <thomas@codesourcery.com>
35975         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35976         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35977         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35978         fanotify_mark.
35980 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35982         * sysdeps/mach/start.c: Remove file.
35983         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35984         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35985         * sysdeps/sh/init-first.c: Likewise.
35987         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35988         registers for frame unwinding purposes, add CFI directives.
35989         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35990         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35991         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35992         Likewise.
35994         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35995         __fortify_fail returning.
35996         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35998         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35999         sysdeps/sh/____longjmp_chk.S.
36000         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36001         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36002         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36003         (gen-as-const-headers): Append sigaltstack-offsets.sym.
36005         * sysdeps/sh/abort-instr.h: New file.
36006         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36007         process in case exit returns.
36009         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36010         initialize the GOT register before use.
36012         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36013         calculation of ARGC > 4.
36015         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36016         meaningful names to some local labels.
36018 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36019             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36021         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36022         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36023         (__arch_compare_and_exchange_val_16_acq): Likewise.
36024         (__arch_compare_and_exchange_val_32_acq): Likewise.
36025         (atomic_exchange_and_add): Fix gUSA sequence.
36026         (atomic_add): Likewise.
36027         (atomic_add_negative): Likewise.
36028         (atomic_add_zero): Likewise.
36029         (atomic_bit_test_set): Likewise.
36031 2012-06-22  Andreas Schwab  <schwab@redhat.com>
36033         [BZ #13579]
36034         * include/link.h (struct link_map): Add l_free_initfini.
36035         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36036         l_initfini.
36037         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36038         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36039         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36040         set.
36042 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
36044         * configure.in: Use AC_LANG_SOURCE.
36045         * configure: Regenerate.
36047 2012-06-22  Roland McGrath  <roland@hack.frob.com>
36049         * configure.in (libc_cv_localstatedir): New substituted variable.
36050         * configure: Regenerated.
36051         * config.make.in (localstatedir): New variable, substituted from
36052         libc_cv_localstatedir.
36053         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36054         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36055         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36056         * sysdeps/gnu/configure: Regenerated.
36058 2012-06-21  Jeff Law  <law@redhat.com>
36060         [BZ #14277]
36061         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36062         free.  Simplify list management for _LIBC case.
36064 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
36066         [BZ #14273]
36067         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36068         Clear sign bit of 64-bit integer value before comparing against
36069         overflow value.
36071         * sysdeps/mach/configure: Regenerated.
36073 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
36075         [BZ #14278]
36076         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36078 2012-06-21  Jeff Law  <law@redhat.com>
36080         [BZ #13882]
36081         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36082         uint16_t for elements in the "seen" array to avoid char overflows.
36083         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36084         * elf/dl-open.c (dl_open_worker): Likewise.
36086 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
36088         * scripts/list-sources.sh: Scan PORTS for translations.
36089         * po/libc.pot: Regenerated.
36091 2012-06-21  Andreas Jaeger  <aj@suse.de>
36093         [BZ #12194]
36094         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36095         warning.
36096         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36097         * bits/byteswap-16.h (__bswap_16): Likewise.
36098         * bits/byteswap.h (__bswap_constant_16): Likewise.
36100 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
36102         [BZ #14117]
36103         * sysdeps/i386/fpu_control.h: Removed.
36104         * sysdeps/x86_64/fpu_control.h: Moved to ...
36105         * sysdeps/x86/fpu_control.h: Here.
36107         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36108         (_FPU_SETCW): Likewise.
36110 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
36112         [BZ #14117]
36113         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36114         * sysdeps/x86/fpu/bits/mathinline.h: This.
36115         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36117         [BZ #14050]
36118         [BZ #14117]
36119         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36120         functions if __x86_64__ is defined.
36122 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
36124         * string/endian.h: Add !__ASSEMBLER__ condition for including
36125         conversion interfaces.
36127 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
36129         [BZ #14241]
36130         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36131         of ABS(x) in calculating zero to negative powers other than odd
36132         integers.
36133         * math/libm-test.inc (pow_test): Add more tests.
36135 2012-06-15  Andreas Jaeger  <aj@suse.de>
36137         * manual/contrib.texi (Contributors): Update entry of Liubov
36138         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36139         Machado Filho.
36141 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
36143         * string/string.h: Add __wur to GNU version of strerror_r.
36145 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
36147         [BZ #14229]
36148         * string/Makefile (tests): Add tst-strtok_r.
36149         * string/tst-strtok_r.c: New file.
36150         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36151         RAX_LP/RDX_LP on SAVE_PTR.
36153 2012-06-14  Roland McGrath  <roland@hack.frob.com>
36155         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36157 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
36159         * libm_test.inc (csqrt_test): Allow more spurious underflow
36160         exceptions.
36161         (j0_test): Likewise.
36162         (j1_test): Likewise.
36163         (y0_test): Likewise.
36164         (y1_test): Likewise.
36166 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
36168         * po/Makefile (libc.pot): Use UTF-8 charset.
36170 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
36172         [BZ #14210]
36173         Suppress sign-conversion warning from FD_SET.
36174         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36175         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36176         not unsigned long int.
36177         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36179 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36181         [BZ #14050]
36182         [BZ #14117]
36183         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36184         __extern_always_inline instead of __extern_inline.
36185         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36186         (__signbit): Likewise.
36187         (__signbitl): Support C++ namespace.
36188         (lrintf): New inline function.
36189         (lrint): Likewise.
36190         (llrintf): Likewise.
36191         (llrint): Likewise.
36192         (fmaxf): Likewise.
36193         (fmax): Likewise.
36194         (fminf): Likewise.
36195         (fmin): Likewise.
36196         (rint): Likewise.
36197         (rintf): Likewise.
36198         (ceil): Likewise.
36199         (ceilf): Likewise.
36200         (floor): Likewise.
36201         (floorf): Likewise.
36202         (nearbyint): Likewise.
36203         (nearbyintf): Likewise.
36205 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36207         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36208         non-default versions.
36210 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36212         [BZ #14218]
36213         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36215 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36217         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36218         (FE_UPWARD, FE_DOWNWARD): Don't define.
36219         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36220         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36222         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36223         reading it.
36224         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36225         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36227 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36229         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36231         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36232         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36234 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36236         [BZ #14117]
36237         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36238         * sysdeps/i386/fpu/Implies: New file.
36239         * sysdeps/x86_64/fpu/Implies: Likewise.
36240         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36241         * sysdeps/x86/fpu/bits/fenv.h: This.
36243         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36244         __SSE_MATH__.
36246 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36248         [BZ #14134]
36249         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36250         character 0xffff that matches the last element of the
36251         conversion table.
36253 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36255         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36256         fmodl commit.
36258 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36260         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36261         values higher than 25.6283.
36263 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36265         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36266         subnormal exponent extraction and add some __builtin_expect.
36267         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36268         Fix for subnormal mantissa calculation.
36270 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36272         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36273         cpu2 is -1 and errno is not ENOSYS.
36275 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36277         [BZ #14117]
36278         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36279         * sysdeps/x86/bits/string.h: This.
36280         * sysdeps/x86_64/bits/string.h: Removed.
36282         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36283         if not compiling for x86-64, but compiling for >= i486.
36285         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36286         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36288         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36289         New macro from Linux kernel 3.4.0.
36290         (FP_XSTATE_MAGIC2): Likewise.
36291         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36292         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36293         (struct _fpx_sw_bytes): New struct.
36294         (struct _xsave_hdr): Likewise.
36295         (struct _ymmh_state): Likewise.
36296         (struct _xstate): Likewise.
36298         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36299         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36300         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36301         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36302         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36303         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36305         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36306         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36307         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36308         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36309         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36310         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36312 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36314         [BZ #13743]
36315         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36316         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36317         (sysdep_headers): Include sys/platform/ppc.h.
36318         * sysdeps/powerpc/test-gettimebase.c: Test for
36319         __ppc_get_timebase() to catch future ISA opcode/insn changes.
36320         * manual/Makefile (appendices): Include platform.texi.
36321         * manual/contrib.texi (Contributors): Update @node pointers.
36322         * manual/maint.texi (Maintenance): Likewise.
36323         (Platform): New node.
36324         * manual/platform.texi: New file.  Document the new features.
36326 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36327             Jakub Jelinek  <jakub@redhat.com>
36329         [BZ #14188]
36330         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36331         where __builtin_expect is unavailable.
36333 2012-06-03  David S. Miller  <davem@davemloft.net>
36335         * stdlib/longlong.h: Updated from GCC.
36337 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
36339         [BZ #14042]
36340         * sysdeps/powerpc/powerpc32/mcount.c: New file.
36341         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36342         __mcount_internal.
36343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36344         (GLIBC_2.16): Likewise.
36346 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36348         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36350 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36353         (default-abi): New variable.
36354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36355         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36356         variable.
36357         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36358         Likewise.
36359         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36360         Likewise.
36361         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36362         Likewise.
36364         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36365         definition.  Document in comment.
36367 2012-06-01  David S. Miller  <davem@davemloft.net>
36369         * stdlib/longlong.h: Updated from GCC.
36371 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36373         [BZ #14117]
36374         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36375         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36376         sys/debugreg.h sys/io.h here.
36377         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36378         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36379         sys/io.h.
36380         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36381         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36382         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36383         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36384         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36385         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36387         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36388         Define only if __x86_64__ is defined.
36390 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36392         [BZ #14048]
36393         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36394         Use int64_t for variable i.
36395         * math/libm-test.inc (fmod_test): Add more tests.
36397         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36398         z computation is not scheduled after fetestexcept.
36399         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36400         Use math_force_eval instead of asm to ensure calculation scheduled
36401         before exception test.
36402         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36403         Ensure a1 + u.d computation is not scheduled after fetestexcept.
36405 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
36407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36408         computation is not scheduled after fetestexcept.
36410 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36412         [BZ #14117]
36413         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36414         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36416 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36418         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36419         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36421 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36423         [BZ #14117]
36424         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36425         <bits/wordsize.h>.
36426         (__WCHAR_MIN): Support __WORDSIZE == 64.
36427         (__WCHAR_MAX): Likewise.
36429         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36430         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36432         [BZ #14183]
36433         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36434         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36436         [BZ #14117]
36437         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36438         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36440         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36441         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36443         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36444         Defined to 1 if __x86_64__ isn't defined.
36445         (_STAT_VER_LINUX_OLD): New.
36446         (st_atime): Remove duplicate.
36447         (st_mtime): Likewise.
36448         (st_ctime): Likewise.
36450 2012-05-31  David S. Miller  <davem@davemloft.net>
36452         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36453         entries.
36455 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
36457         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36458         gen-libm-test.pl.
36460         [BZ #14132]
36461         * elf/dl-reloc.c: Include <_itoa.h>.
36462         (_dl_reloc_bad_type): Remove use of INTUSE.
36463         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36464         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36465         * stdio-common/psiginfo.c (psiginfo): Likewise.
36466         * stdio-common/psignal.c (psignal): Likewise.
36467         * string/strsignal.c (strsignal): Likewise.
36468         * include/signal.h (_sys_siglist): Declare hidden proto.
36469         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
36470         INTVARDEF with libc_hidden_data_def.
36471         * stdio-common/itoa-udigits.c: Likewise.
36472         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36473         (_itoa_lower_digits_internal): Remove declaration.
36474         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36475         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36476         (_sys_sigabbrev_internal): Remove aliases.
36477         (_sys_siglist): Define hidden alias.
36479 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
36481         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36482         bits/sysctl.h.
36484 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36486         [BZ #14117]
36487         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36488         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36490         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36491         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36492         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36493         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36494         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36495         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36497         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36498         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36499         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36501         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36502         with __addr.
36503         (insw): Likewise.
36504         (insl): Likewise.
36505         (outsb): Likewise.
36506         (outsw): Likewise.
36507         (outsl): Likewise.
36509         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36510         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36511         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36513         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36514         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36515         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36516         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36517         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36518         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36520         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36521         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36523         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36524         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36526         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36528         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36530         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36531         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36532         to ...
36533         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36535         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36536         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36537         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36539         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36540         for x86-64.
36541         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36543 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
36545         * math/math.h (M_El): Use two more decimal places.
36546         (M_LOG2El): Likewise.
36547         (M_LOG10El): Likewise.
36548         (M_LN2l): Likewise.
36549         (M_LN10l): Likewise.
36550         (M_PIl): Likewise.
36551         (M_PI_2l): Likewise.
36552         (M_PI_4l): Likewise.
36553         (M_1_PIl): Likewise.
36554         (M_2_PIl): Likewise.
36555         (M_2_SQRTPIl): Likewise.
36556         (M_SQRT2l): Likewise.
36557         (M_SQRT1_2l): Likewise.
36559 2012-05-31  David S. Miller  <davem@davemloft.net>
36561         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36562         values between float registers.
36563         * sysdeps/sparc/sparc64/memset.S: Likewise.
36564         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36566 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
36568         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36569         -D_FORTIFY_SOURCE=1.
36570         (CPPFLAGS-tst-longjmp_chk.c): Define.
36571         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36572         (CPPFLAGS-tst-longjmp_chk2.c): Define.
36573         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36574         CFLAGS-tst-wchar-h.c.
36576 2012-05-31  Marek Polacek  <polacek@redhat.com>
36578         [BZ #14132]
36579         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36580         __endmntent_internal): Remove declaration.
36581         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36582         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36583         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36585 2012-05-30  David S. Miller  <davem@davemloft.net>
36587         * sysdeps/sparc/sparc32/soft-fp/q_util.c
36588         (___Q_simulate_exceptions): Use real FP ops rather than writing
36589         into the %fsr.
36590         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36591         Likewise.
36593 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36595         [BZ #14117]
36596         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36597         * sysdeps/x86/bits/xtitypes.h: This.
36599         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36600         * sysdeps/x86/bits/wordsize.h: This.
36602         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36603         * sysdeps/x86/bits/huge_vall.h: This.
36605         * sysdeps/i386/bits/select.h: Removed.
36606         * sysdeps/x86_64/bits/select.h: Renamed to ...
36607         * sysdeps/x86/bits/select.h: This.
36609         * sysdeps/i386/bits/setjmp.h: Removed.
36610         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36611         * sysdeps/x86/bits/setjmp.h: This.
36613         * sysdeps/i386/bits/mathdef.h: Removed.
36614         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36615         * sysdeps/x86/bits/mathdef.h: This.
36617 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
36619         [BZ #14132]
36620         * include/sys/socket.h (__connect_internal)
36621         (__libc_sa_len_internal): Remove declaration.
36622         (__connect, __libc_sa_len): Declare hidden_proto.
36623         (SA_LEN): Remove use of INTUSE.
36624         * socket/connect.c: Add libc_hidden_def.
36625         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36626         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36627         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36628         alias.
36629         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36630         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36631         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36632         of adding _internal alias.
36634 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36636         [BZ #14117]
36637         * sysdeps/i386/bits/link.h: Removed.
36638         * sysdeps/i386/bits/linkmap.h: Likewise.
36639         * sysdeps/x86_64/bits/link.h: Renamed to ...
36640         * sysdeps/x86/bits/link.h: This.
36641         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36642         * sysdeps/x86/bits/linkmap.h: This.
36644         * sysdeps/i386/bits/endian.h: Removed.
36645         * sysdeps/x86_64/bits/endian.h: Renamed to ...
36646         * sysdeps/x86/bits/endian.h: This.
36648         * sysdeps/i386/bits/byteswap.h: Removed.
36649         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36650         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36651         * sysdeps/x86/bits/byteswap.h: This.
36652         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36653         * sysdeps/x86/bits/byteswap-16.h: This.
36654         * sysdeps/i386/Implies: Add x86.
36655         * sysdeps/x86_64/Implies: Likewise.
36657 2012-05-30  David S. Miller  <davem@davemloft.net>
36659         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36660         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36661         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36662         (FP_TRAPPING_EXCEPTIONS): Define.
36663         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36664         (FP_TRAPPING_EXCEPTIONS): Define.
36665         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36666         subnormals only when inexact has been signalled or underflow
36667         exceptions are enabled.
36668         (_FP_PACK_CANONICAL): Likewise.
36670 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36672         [BZ #14183]
36673         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36674         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36676 2012-05-30  Richard Henderson  <rth@twiddle.net>
36678         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36679         with #ifndef NOT_IN_libc.
36681         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
36682         marked to avoid plt entry.
36684 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36686         [BZ #14112]
36687         * Makeconfig (default-abi): New macro.
36688         (abi-includes): Likewise.
36689         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
36690         $(abi-$(default-abi)-lib-soname) for soname if defined.
36691         ($(common-objpfx)gnu/lib-names.stmp): Generate from
36692         abi-variants.
36693         * Makefile (installed-stubs): Likewise.
36694         * include/stubs-biarch.h: Removed.
36695         * scripts/lib-names.awk: Only handle one library at a time.
36696         * scripts/soversions.awk: Remove WORDSIZE support.
36697         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36698         entries.
36699         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36700         Removed.
36701         (syscall-list-default-condition): Likewise.
36702         (syscall-list-default-condition): Likewise.
36703         (syscall-list-includes): Likewise.
36704         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36705         syscall-list-* with abi-*.  Handle undefined abi-variants.
36706         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36707         * sysdeps/unix/sysv/linux/i386/Implies: New file.
36708         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36709         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36710         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36711         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36712         Removed.
36713         (syscall-list-32-options): Likewise.
36714         (syscall-list-32-condition): Likewise.
36715         (syscall-list-64-options): Likewise.
36716         (syscall-list-64-condition): Likewise.
36717         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36718         macro.
36719         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36720         Renamed to ...
36721         (abi-*): This.
36722         (abi-64-ld-soname): New macro.
36723         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36724         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36725         Renamed to ...
36726         (abi-*): This.
36727         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36728         * sysdeps/x86_64/x32/shlib-versions: Likewise.
36730 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
36732         * sysdeps/unix/sysv/linux/kernel-features.h
36733         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36734         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36735         include <kernel-features.h>.
36736         [!__NR_ftruncate64]: Remove conditional code.
36737         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36738         [__NR_ftruncate64]: Make code unconditional.
36739         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36740         * sysdeps/unix/sysv/linux/truncate64.c: Do not
36741         include <kernel-features.h>.
36742         [!__NR_ftruncate64]: Remove conditional code.
36743         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36744         [__NR_ftruncate64]: Make code unconditional.
36745         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36747         include <kernel-features.h>.
36748         [!__NR_ftruncate64]: Remove conditional code.
36749         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36750         [__NR_ftruncate64]: Make code unconditional.
36751         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36753         include <kernel-features.h>.
36754         [!__NR_ftruncate64]: Remove conditional code.
36755         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36756         [__NR_ftruncate64]: Make code unconditional.
36757         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36759         * configure.in (libc_cv_fpie): Weaken to a compile test using
36760         LIBC_TRY_CC_OPTION.
36761         * configure: Regenerated.
36763 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36769         Refreshed.
36770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36776         Refreshed.
36778 2012-05-27  David S. Miller  <davem@davemloft.net>
36780         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36781         (___Q_zero): New.
36782         (__Q_simulate_exceptions): Return void.  Change to simulate
36783         exceptions by writing into the %fsr.
36784         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36785         (__Qp_handle_exceptions): Likewise.
36786         (numbers): Delete.
36787         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36788         __Qp_handle_exceptions.
36789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36790         __Qp_handle_exceptions.
36791         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36792         as unused and give dummy FP_RND_NEAREST initializer.
36793         (FP_INHIBIT_RESULTS): Define.
36794         (___Q_simulate_exceptions): Update declaration.
36795         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36796         formatting.
36797         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36798         as unused and give dummy FP_RND_NEAREST initializer.
36799         (__Qp_handle_exceptions): Update declaration.
36800         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36801         formatting.
36803 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36805         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36806         the temporary FPU control word.
36807         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36808         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36809         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36810         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36811         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36812         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36813         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36814         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36815         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36816         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36817         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36819 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36821         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36822         fields.
36824 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36826         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36827         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36828         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36829         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36830         Likewise.
36831         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36832         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36833         Likewise.
36835 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36837         * po/h.po: Update from translation team.
36839 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36841         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36843         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36844         handling of denormals.
36845         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36846         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36847         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36848         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36851         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36852         Likewise.
36854 2012-05-26  Marek Polacek  <polacek@redhat.com>
36856         [BZ #14152]
36857         * math/libm-test.inc (fma_test): Don't always expect underflow
36858         exception.
36860 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36862         [BZ #12416]
36863         * elf/tst-execstack.c: Include stackinfo.h.
36864         (do_test): Adjust test case to ensure that pthread_getattr_np
36865         behaviour remains the same after marking stack executable.
36867 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36869         * sysdeps/unix/sysv/linux/kernel-features.h
36870         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36871         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36872         kernel-features.h.
36873         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36874         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36875         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36876         kernel-features.h.
36877         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36878         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36880 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36882         * configure.in: Define the default includes to being none.
36883         * configure: Regenerated.
36885 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36887         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36888         * sysdeps/x86_64/setjmp.S: Likewise.
36889         * sysdeps/i386/bsd-setjmp.S: Likewise.
36890         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36891         * sysdeps/i386/setjmp.S: Likewise.
36892         * sysdeps/i386/__longjmp.S: Likewise.
36893         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36894         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36896         * include/stap-probe.h: New file.
36897         * configure.in: Handle --enable-systemtap.
36898         * configure: Regenerated.
36899         * config.h.in (USE_STAP_PROBE): New #undef.
36900         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36901         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36902         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36904 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36906         [BZ #13717]
36907         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36908         to 2.4.0 where earlier.
36909         * sysdeps/unix/sysv/linux/configure: Regenerated.
36910         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36911         <kernel-features.h>.
36912         [__ASSUME_32BITUIDS]: Make code unconditional.
36913         [!__ASSUME_32BITUIDS]: Remove conditional code.
36914         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36915         <kernel-features.h>.
36916         [__ASSUME_32BITUIDS]: Make code unconditional.
36917         [!__ASSUME_32BITUIDS]: Remove conditional code.
36918         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36919         [__ASSUME_32BITUIDS]: Make code unconditional.
36920         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36921         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36922         <kernel-features.h>.
36923         [__ASSUME_32BITUIDS]: Make code unconditional.
36924         [!__ASSUME_32BITUIDS]: Remove conditional code.
36925         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36926         <kernel-features.h>.
36927         [__ASSUME_32BITUIDS]: Make code unconditional.
36928         [!__ASSUME_32BITUIDS]: Remove conditional code.
36929         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36930         <kernel-features.h>.
36931         [__ASSUME_32BITUIDS]: Make code unconditional.
36932         [!__ASSUME_32BITUIDS]: Remove conditional code.
36933         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36934         <kernel-features.h>.
36935         [__ASSUME_32BITUIDS]: Make code unconditional.
36936         [!__ASSUME_32BITUIDS]: Remove conditional code.
36937         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36938         <kernel-features.h>.
36939         [__ASSUME_32BITUIDS]: Make code unconditional.
36940         [!__ASSUME_32BITUIDS]: Remove conditional code.
36941         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36942         <kernel-features.h>.
36943         [__ASSUME_32BITUIDS]: Make code unconditional.
36944         [!__ASSUME_32BITUIDS]: Remove conditional code.
36945         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36946         <kernel-features.h>.
36947         [__ASSUME_32BITUIDS]: Make code unconditional.
36948         [!__ASSUME_32BITUIDS]: Remove conditional code.
36949         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36950         <kernel-features.h>.
36951         [__ASSUME_32BITUIDS]: Make code unconditional.
36952         [!__ASSUME_32BITUIDS]: Remove conditional code.
36953         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36954         <kernel-features.h>.
36955         [__ASSUME_32BITUIDS]: Make code unconditional.
36956         [!__ASSUME_32BITUIDS]: Remove conditional code.
36957         * sysdeps/unix/sysv/linux/i386/semctl.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/i386/setegid.c: Do not include
36962         <kernel-features.h>.
36963         [__NR_setresgid] (__setresgid): Do not declare.
36964         [__ASSUME_32BITUIDS]: Make code unconditional.
36965         [!__ASSUME_32BITUIDS]: Remove conditional code.
36966         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36967         <kernel-features.h>.
36968         [__NR_setresuid] (__setresuid): Do not declare.
36969         [__ASSUME_32BITUIDS]: Make code unconditional.
36970         [!__ASSUME_32BITUIDS]: Remove conditional code.
36971         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36972         <kernel-features.h>.
36973         [__ASSUME_32BITUIDS]: Make code unconditional.
36974         [!__ASSUME_32BITUIDS]: Remove conditional code.
36975         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36976         <kernel-features.h>.
36977         [__ASSUME_32BITUIDS]: Make code unconditional.
36978         [!__ASSUME_32BITUIDS]: Remove conditional code.
36979         * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.c: Do not include
36984         <kernel-features.h>.
36985         [__ASSUME_32BITUIDS]: Make code unconditional.
36986         [!__ASSUME_32BITUIDS]: Remove conditional code.
36987         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36988         <kernel-features.h>.
36989         [__ASSUME_32BITUIDS]: Make code unconditional.
36990         [!__ASSUME_32BITUIDS]: Remove conditional code.
36991         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36992         <kernel-features.h>.
36993         [__ASSUME_32BITUIDS]: Make code unconditional.
36994         [!__ASSUME_32BITUIDS]: Remove conditional code.
36995         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36996         <kernel-features.h>.
36997         [__ASSUME_32BITUIDS]: Make code unconditional.
36998         [!__ASSUME_32BITUIDS]: Remove conditional code.
36999         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37000         <kernel-features.h>.
37001         [__ASSUME_32BITUIDS]: Make code unconditional.
37002         [!__ASSUME_32BITUIDS]: Remove conditional code.
37003         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37004         <kernel-features.h>.
37005         [__ASSUME_32BITUIDS]: Make code unconditional.
37006         [!__ASSUME_32BITUIDS]: Remove conditional code.
37007         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37008         <kernel-features.h>.
37009         [__ASSUME_32BITUIDS]: Make code unconditional.
37010         [!__ASSUME_32BITUIDS]: Remove conditional code.
37011         * sysdeps/unix/sysv/linux/kernel-features.h
37012         (__ASSUME_SETRESUID_SYSCALL): Remove.
37013         (__ASSUME_SETRESGID_SYSCALL): Likewise.
37014         (__ASSUME_32BITUIDS): Likewise.
37015         (__ASSUME_LDT_WORKS): Likewise.
37016         (__ASSUME_O_DIRECTORY): Likewise.
37017         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37018         architecture but not kernel version.
37019         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37020         (__ASSUME_MMAP2_SYSCALL): Likewise.
37021         (__ASSUME_STAT64_SYSCALL): Likewise.
37022         (__ASSUME_IPC64): Likewise.
37023         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37024         <kernel-features.h>.
37025         [__ASSUME_32BITUIDS]: Make code unconditional.
37026         [!__ASSUME_32BITUIDS]: Remove conditional code.
37027         * sysdeps/unix/sysv/linux/opendir.c: Do not include
37028         <kernel-features.h>.
37029         [__ASSUME_O_DIRECTORY]: Make code unconditional.
37030         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37031         132096]: Remove conditional code.
37032         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37033         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37034         <kernel-features.h>.
37035         [__ASSUME_32BITUIDS]: Make code unconditional.
37036         [!__ASSUME_32BITUIDS]: Remove conditional code.
37037         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37038         <kernel-features.h>.
37039         [__ASSUME_32BITUIDS]: Make code unconditional.
37040         [!__ASSUME_32BITUIDS]: Remove conditional code.
37041         * sysdeps/unix/sysv/linux/setegid.c: Do not include
37042         <kernel-features.h>.
37043         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37044         unconditional.
37045         (__setresgid): Do not declare.
37046         [__ASSUME_32BITUIDS]: Make code unconditional.
37047         [!__ASSUME_32BITUIDS]: Remove conditional code.
37048         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37049         <kernel-features.h>.
37050         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37051         unconditional.
37052         (__setresuid): Do not declare.
37053         [__ASSUME_32BITUIDS]: Make code unconditional.
37054         [!__ASSUME_32BITUIDS]: Remove conditional code.
37055         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37056         <kernel-features.h>.
37057         [__ASSUME_32BITUIDS]: Make code unconditional.
37058         [!__ASSUME_32BITUIDS]: Remove conditional code.
37059         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37060         <kernel-features.h>.
37061         [__ASSUME_32BITUIDS]: Make code unconditional.
37062         [!__ASSUME_32BITUIDS]: Remove conditional code.
37064 2012-05-25  Richard Henderson  <rth@twiddle.net>
37066         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37067         dl_hwcap to ifunc resolver.
37068         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37069         elf_ifunc_invoke.
37070         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37071         dl_hwcap to ifunc resolver.
37072         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37074 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37076         [BZ #14153]
37077         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37078         for |x| <= 2**-26, not 2**-57.
37079         * math/libm-test.inc (acos_test): Do not allow spurious underflow
37080         exception.
37082 2012-05-24  Jeff Law  <law@redhat.com>
37084         * stdio-common/Makefile (tests): Add bug25.
37085         * stdio-common/bug25.c: New test.
37087 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37089         [BZ #13576]
37090         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37091         multiple of MALLOC_ALIGNMENT in size.
37092         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37094 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37096         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37097         Require >= 256.
37098         (FILENAME_MAX): Use macro-int-constant.
37099         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
37100         (_IOFBF): Use macro-int-constant.
37101         (_IOLBF): Likewise.
37102         (_IONBF): Likewise.
37103         (SEEK_CUR): Likewise.
37104         (SEEK_END): Likewise.
37105         (SEEK_SET): Likewise.
37106         (TMP_MAX): Likewise.
37107         (EOF): Use macro-int-constant.  Require < 0.
37108         (NULL): Use macro-constant.  Require == 0.
37109         (stdin): Require type to be FILE *.
37110         (stdout): Likewise.
37111         (stderr): Likewise.
37112         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37113         macro-int-constant.
37114         (EXIT_SUCCESS): Likewise.
37115         (NULL): Use macro-constant.  Require == 0.
37116         (RAND_MAX): Use macro-int-constant.
37117         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37118         [C99-based standards] (strtof): Require function.
37119         [C99-based standards] (strtold): Likewise.
37120         [C99-based standards] (strtoll): Likewise.
37121         [C99-based standards] (strtoull): Likewise.
37122         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37123         [ISO || ISO99 || ISO11] (limits.h): Likewise.
37124         [ISO || ISO99 || ISO11] (math.h): Likewise.
37125         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37126         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37127         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37129 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
37131         [BZ #14132]
37132         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37133         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37134         * intl/dgettext.c (DCGETTEXT): Likewise.
37135         * intl/gettext.c (DCGETTEXT): Likewise.
37136         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37137         * posix/regex_internal.h (gettext): Likewise.
37138         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37139         Remove declaration.
37140         * include/argz.h (__argz_count_internal)
37141         (__argz_stringify_internal): Remove declaration.
37142         (__argz_count, __argz_stringify): Declare hidden proto.
37143         * intl/dcgettext.c: Remove use of INTDEF.
37144         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37145         * string/argz-stringify.c: Likewise.
37146         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37147         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37148         Declare hidden proto.
37149         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37150         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37151         Declare hidden proto.
37152         * include/stdio.h (__asprintf_internal): Don't declare.
37153         (__asprintf): Don't define as macro.  Declare hidden proto.
37154         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37155         (__fsetlocking): Declare hidden proto.
37156         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37157         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37158         hidden proto.
37159         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37160         (_IO_setlinebuf): Remove use of INTUSE.
37161         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37162         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37163         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37164         Remove declaration.
37165         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37166         (_IO_do_flush): Remove use of INTUSE.
37167         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37168         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37169         (_IO_adjust_column, _IO_least_wmarker)
37170         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37171         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37172         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37173         (_IO_default_doallocate, _IO_wdefault_doallocate)
37174         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37175         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37176         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37177         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37178         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37179         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37180         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37181         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37182         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37183         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37184         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37185         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37186         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37187         proto.
37188         (_IO_flush_all_internal, _IO_adjust_column_internal)
37189         (_IO_default_uflow_internal, _IO_default_finish_internal)
37190         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37191         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37192         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37193         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37194         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37195         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37196         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37197         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37198         (_IO_file_close_internal, _IO_file_close_it_internal)
37199         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37200         (_IO_file_init_internal, _IO_file_attach_internal)
37201         (_IO_file_fopen_internal, _IO_file_read_internal)
37202         (_IO_file_sync_internal, _IO_file_seek_internal)
37203         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37204         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37205         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37206         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37207         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37208         (_IO_list_all_internal, _IO_link_in_internal)
37209         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37210         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37211         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37212         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37213         (_IO_do_write_internal, _IO_padn_internal)
37214         (_IO_getline_info_internal, _IO_getline_internal)
37215         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37216         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37217         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37218         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37219         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37220         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37221         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37222         with libc_hidden_ver, remove use of INTUSE.
37223         * libio/genops.c: Likewise.
37224         * libio/freopen.c: Likewise.
37225         * libio/freopen64.c: Likewise.
37226         * libio/iofclose.c: Likewise.
37227         * libio/iofdopen.c: Likewise.
37228         * libio/iofflush.c: Likewise.
37229         * libio/iofflush_u.c: Likewise.
37230         * libio/iofgets.c: Likewise.
37231         * libio/iofgets_u.c: Likewise.
37232         * libio/iofopen.c: Likewise.
37233         * libio/iofopncook.c: Likewise.
37234         * libio/iofread.c: Likewise.
37235         * libio/iofread_u.c: Likewise.
37236         * libio/ioftell.c: Likewise.
37237         * libio/iofwrite.c: Likewise.
37238         * libio/iogetline.c: Likewise.
37239         * libio/iogets.c: Likewise.
37240         * libio/iogetwline.c: Likewise.
37241         * libio/iopadn.c: Likewise.
37242         * libio/iopopen.c: Likewise.
37243         * libio/ioseekoff.c: Likewise.
37244         * libio/ioseekpos.c: Likewise.
37245         * libio/iosetbuffer.c: Likewise.
37246         * libio/iosetvbuf.c: Likewise.
37247         * libio/ioungetc.c: Likewise.
37248         * libio/ioungetwc.c: Likewise.
37249         * libio/iovdprintf.c: Likewise.
37250         * libio/iovsprintf.c: Likewise.
37251         * libio/iovsscanf.c: Likewise.
37252         * libio/memstream.c: Likewise.
37253         * libio/obprintf.c: Likewise.
37254         * libio/oldfileops.c: Likewise.
37255         * libio/oldiofclose.c: Likewise.
37256         * libio/oldiofdopen.c: Likewise.
37257         * libio/oldiofopen.c: Likewise.
37258         * libio/oldiopopen.c: Likewise.
37259         * libio/oldstdfiles.c: Likewise.
37260         * libio/putc.c: Likewise.
37261         * libio/setbuf.c: Likewise.
37262         * libio/setlinebuf.c: Likewise.
37263         * libio/stdfiles.c: Likewise.
37264         * libio/strops.c: Likewise.
37265         * libio/vasprintf.c: Likewise.
37266         * libio/vscanf.c: Likewise.
37267         * libio/vsnprintf.c: Likewise.
37268         * libio/vswprintf.c: Likewise.
37269         * libio/wfiledoalloc.c: Likewise.
37270         * libio/wfileops.c: Likewise.
37271         * libio/wgenops.c: Likewise.
37272         * libio/wmemstream.c: Likewise.
37273         * libio/wstrops.c: Likewise.
37274         * libio/__fpurge.c: Likewise.
37275         * libio/__fsetlocking.c: Likewise.
37276         * assert/assert.c: Likewise.
37277         * debug/fgets_chk.c: Likewise.
37278         * debug/fgets_u_chk.c: Likewise.
37279         * debug/fread_chk.c: Likewise.
37280         * debug/fread_u_chk.c: Likewise.
37281         * debug/gets_chk.c: Likewise.
37282         * debug/obprintf_chk.c: Likewise.
37283         * debug/vasprintf_chk.c: Likewise.
37284         * debug/vdprintf_chk.c: Likewise.
37285         * debug/vsnprintf_chk.c: Likewise.
37286         * debug/vsprintf_chk.c: Likewise.
37287         * malloc/mtrace.c: Likewise.
37288         * misc/error.c: Likewise.
37289         * misc/syslog.c: Likewise.
37290         * stdio-common/asprintf.c: Likewise.
37291         * stdio-common/fxprintf.c: Likewise.
37292         * stdio-common/getw.c: Likewise.
37293         * stdio-common/isoc99_fscanf.c: Likewise.
37294         * stdio-common/isoc99_scanf.c: Likewise.
37295         * stdio-common/isoc99_vfscanf.c: Likewise.
37296         * stdio-common/isoc99_vscanf.c: Likewise.
37297         * stdio-common/isoc99_vsscanf.c: Likewise.
37298         * stdio-common/printf-prs.c: Likewise.
37299         * stdio-common/printf_fp.c: Likewise.
37300         * stdio-common/printf_fphex.c: Likewise.
37301         * stdio-common/printf_size.c: Likewise.
37302         * stdio-common/putw.c: Likewise.
37303         * stdio-common/scanf.c: Likewise.
37304         * stdio-common/sprintf.c: Likewise.
37305         * stdio-common/tmpfile.c: Likewise.
37306         * stdio-common/vfprintf.c: Likewise.
37307         * stdio-common/vfscanf.c: Likewise.
37308         * stdlib/strfmon_l.c: Likewise.
37309         * sunrpc/openchild.c: Likewise.
37310         * sunrpc/xdr_stdio.c: Likewise.
37311         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37312         * sysdeps/mach/hurd/tmpfile.c: Likewise.
37314 2012-05-24  Roland McGrath  <roland@hack.frob.com>
37316         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37318         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37319         in the third column, to generate for the shared library an IFUNC
37320         that uses _dl_vdso_vsym.
37321         * Makerules (COMPILE.c, compile-stdin.c): New variables.
37322         * Makeconfig (object-suffixes-noshared): New variable.
37324         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37325         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37326         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37327         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37329         [BZ #14132]
37330         * include/sys/time.h (__gettimeofday): Remove macro.
37331         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37332         * time/gettimeofday.c (__gettimeofday): Remove #undef.
37333         Remove INTDEF.
37334         (__gettimeofday): Add libc_hidden_def.
37335         (gettimeofday): Add libc_hidden_weak.
37336         * sysdeps/mach/gettimeofday.c: Likewise.
37337         * sysdeps/posix/gettimeofday.c: Likewise.
37338         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37339         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37340         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37341         (__gettimeofday_internal): Remove strong_alias.
37342         (__gettimeofday): Add libc_hidden_def.
37343         (gettimeofday): Add libc_hidden_weak.
37344         * sysdeps/unix/syscalls.list (gettimeofday):
37345         Remove __gettimeofday_internal alias.
37347 2012-05-24  Daniel Jacobowitz  <drow@false.org>
37348             H.J. Lu  <hongjiu.lu@intel.com>
37350         [BZ #12495]
37351         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37352         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37353         (largebin_index_32_big): New.
37354         (largebin_index): Use it for 16-byte alignment.
37355         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
37356         correction with front_misalign.
37358 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37362         Likewise.
37363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37364         Likewise.
37365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37366         Likewise.
37367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37368         Likewise.
37369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37370         Likewise.
37371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37372         Likewise.
37373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37374         Likewise.
37375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37376         Likewise.
37377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37378         Likewise.
37379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37380         Likewise.
37381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37382         Likewise.
37383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37384         Likewise.
37386         * scripts/data/c++-types-x32-linux-gnu.data: New file.
37387         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37389 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37391         [BZ #10846]
37392         [BZ #14036]
37393         * math/libm-test.inc (exp_test): Add test from bug 14036.
37394         (pow_test): Add test from bug 10846.
37396         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37397         and other flags.
37398         (special_function): Do not include flags in test name.
37399         (parse_args): Likewise.
37400         * sysdeps/i386/fpu/libm-test-ulps: Update.
37401         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37402         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37403         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37406         * math/gen-libm-test.pl (%beautify): Add entries for underflow
37407         exceptions.
37408         * math/libm-test.inc ("Philosophy"): Update comment about
37409         exception testing.
37410         (UNDERFLOW_EXCEPTION): New macro.
37411         (UNDERFLOW_EXCEPTION_OK): Likewise.
37412         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37413         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37414         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37415         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37416         (INVALID_EXCEPTION_OK): Update value.
37417         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37418         (OVERFLOW_EXCEPTION_OK): Likewise.
37419         (IGNORE_ZERO_INF_SIGN): Likewise.
37420         (test_exceptions): Handle underflow exceptions.
37421         (acos_test): Update for underflow exception expectations.
37422         (cexp_test): Likewise.
37423         (clog_test): Likewise.
37424         (clog10_test): Likewise.
37425         (csqrt_test): Likewise.
37426         (ctan_test): Likewise.
37427         (ctanh_test): Likewise.
37428         (exp_test): Likewise.
37429         (exp10_test): Likewise.
37430         (exp2_test): Likewise.
37431         (expm1_test): Likewise.
37432         (fma_test): Likewise.
37433         (j0_test): Likewise.
37434         (jn_test): Likewise.
37435         (nexttoward_test): Likewise.
37436         (pow_test): Likewise.
37437         (scalbn_test): Likewise.
37438         (scalbln_test): Likewise.
37439         (tan_test): Likewise.
37440         (y1_test): Likewise.
37441         * sysdeps/i386/fpu/libm-test-ulps: Update.
37442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37444 2012-05-23  David S. Miller  <davem@davemloft.net>
37446         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37447         (__libc_sigaction): Remove unused local variables.
37449 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37451         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37453 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
37455         mktime: avoid signed integer overflow
37456         * time/mktime.c (__mktime_internal): Do not mishandle the case
37457         where diff == INT_MIN.
37459         mktime: simplify computation of average
37460         * time/mktime.c (ranged_convert): Use new time_t_avg function
37461         instead of rolling our own (probably-slower) code.
37463         mktime: do not assume signed right shift propagates sign bit
37464         * time/mktime.c (isdst_differ): New static function.
37465         (__mktime_internal): No need to normalize tm_isdst now.
37466         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37467         tm_isdst values.
37469         mktime: merge another wrapv change from gnulib
37470         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37471         from some compilers.
37473         mktime: remove incorrect attempt at unusual arithmetics
37474         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37475         The code didn't really work on such machines anyway.
37476         (TYPE_MINIMUM): Assume two's complement.
37477         (twos_complement_arithmetic): Verify that long_int and time_t
37478         are two's complement (or unsigned, in the latter case).
37480         mktime: check signed shifts on long_int and time_t, too
37481         * time/mktime.c (SHR): Check that shifts work as desired
37482         on the types long_int and time_t too, as SHR is used on
37483         such types.
37485         mktime: do not assume 'long' is wide enough
37486         * time/mktime.c (verify): Move decl up.
37487         (long_int): New type.
37488         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37489         to remove assumption in the code that 'long' is wide enough to
37490         store year values.  This assumption is not true on x32 and on
37491         some non-glibc platforms.
37493         mktime: merge wrapv change from gnulib
37494         * time/mktime.c (WRAPV): New macro.
37495         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37496         (guess_time_tm, __mktime_internal): Do not assume that signed
37497         integer overflow wraps around; modern compilers generate code
37498         where this assumption is no longer valid.
37500 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37502         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37503         Replace "jmp L(pseudo_end)" with "ret".
37504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37505         Likewise.
37507 2012-05-23  Andreas Jaeger  <aj@suse.de>
37509         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37510         * sysdeps/unix/sysv/linux/poll.c: Remove file.
37512 2012-05-23  Andreas Jaeger  <aj@suse.de>
37513             Maximilian Attems  <max@stro.at>
37515         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37516         New macros.
37518 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37520         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37521         code so that pseudo_end is just ret and the stack pointer is
37522         correct also for static library in error case.
37524 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
37526         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37527         move to syscalls.list.
37528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37533         * manual/install.texi (Running make install): Do not mention Linux
37534         kernel version for which pt_chown is not needed.
37535         (Linux): Do not mention problems with nscd with 2.0 kernels.
37536         * INSTALL: Regenerated.
37538 2012-05-23  Andreas Jaeger  <aj@suse.de>
37540         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37541         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37542         macro.
37543         * sysdeps/unix/sysv/linux/s390/bits/mman.h
37544         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37545         * sysdeps/unix/sysv/linux/sh/bits/mman.h
37546         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37547         * sysdeps/unix/sysv/linux/i386/bits/mman.h
37548         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37549         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37550         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37551         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37552         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37553         * sysdeps/unix/sysv/linux/bits/in.h
37554         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37556 2012-05-22  Roland McGrath  <roland@hack.frob.com>
37558         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37559         (PREPARE_VERSION): Just use assert instead, it will be elided
37560         under [NDEBUG] anyway.
37562 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37564         * sysdeps/unix/sysv/linux/Makefile: Include
37565         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37566         (sysdep_routines): Remove sysctl.
37567         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37568         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37569         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37570         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37571         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37573 2012-05-22  Andreas Jaeger  <aj@suse.de>
37575         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37576         that pseudo_end is just ret and the stack pointer is correct also
37577         for static library in error case.
37579 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37581         [BZ #14122]
37582         * nss/nsswitch.c (defconfig_entries): New variable.
37583         (__nss_database_lookup): Don't leak defconfig entries.
37584         (nss_parse_service_list): Don't leak on error paths.
37585         (free_database_entries): New function.
37586         (free_defconfig): New function.
37587         (free_mem): Move common code to free_database_entries.
37589 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37591         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37592         Add arch_prctl.
37593         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37595         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37596         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37598         New macro.
37599         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37600         (INTERNAL_SYSCALL_TYPES): Likewise.
37601         (LOAD_ARGS_TYPES_[1-6]): Likewise.
37602         (LOAD_REGS_TYPES_[1-6]): Likewise.
37603         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37604         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37606 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37608         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37609         copysignl for GLIBC_2_0.
37610         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37611         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37613         logbl for GLIBC_2_0.
37614         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37615         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37617 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37619         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37620         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37622         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37623         Use "neg %eax".
37625         * time/mktime.c: Update copyright years.
37627 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37629         mktime: merge comment-quoting-style change from gnulib
37630         * time/mktime.c: Quote 'like this' in comments.
37631         The GNU coding standards suggest that we no longer quote `like this',
37632         as "`" and "'" are typically rendered asymmetrically nowadays.
37633         The typical gnulib style is to quote 'like this' when quoting
37634         code, and "like this" when quoting English.
37636         * time/mktime.c (compile-command): Add "-I.".
37638         mktime: merge mktime-internal.h change from gnulib
37639         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37641         mktime: merge time_r change from gnulib
37642         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37644         mktime: merge DEBUG change from gnulib
37645         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37646         case system <time.h> has a #define.
37648         mktime: merge <sys/types.h> change from gnulib
37649         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37650         since <time.t> is now guaranteed to define time_t.
37652         mktime: merge HAVE_CONFIG_H change from gnulib
37653         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37655 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37658         Use "neg %eax".
37660         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37661         __rlim_t cast.
37662         (struct rusage): Use anonymous union to pad each field to
37663         __syscall_slong_t.
37665 2012-05-21  David S. Miller  <davem@davemloft.net>
37667         * Makefules (o-iterator): Remove .s cases.
37668         (compile-command.s): Delete.
37669         (COMPILE.s): Delete.
37670         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37672 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
37674         * configure.in (libc_cv_predef_stack_protector): Only consider
37675         "foobar" and "__stack_chk_fail" lines in libc_undefs.
37676         * configure: Regenerated.
37678 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37681         New macro.  Use R*LP on int and pointer.
37682         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37683         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37684         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37685         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37687         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37688         [__WORDSIZE_TIME64_COMPAT32] instead of
37689         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37690         (struct utmp): Likewise.
37691         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37692         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37693         Renamed to ...
37694         (__WORDSIZE_TIME64_COMPAT32): This.
37695         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37696         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37697         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37698         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37699         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37700         (__WORDSIZE_TIME64_COMPAT32): New macro.
37702 2012-05-21  Andreas Jaeger  <aj@suse.de>
37704         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37705         only if [SHARED]. Add prototype for __wcschr_ia32.
37707 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37709         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37710         of %rbp unmolested in the jmp_buf while mangling the low bits.
37711         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37712         unmolested high bits of %rbp while demangling the low bits.
37713         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37715 2012-05-21  Andreas Jaeger  <aj@suse.de>
37717         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37718         * sunrpc/svc_simple.c: Use it for registerrpc.
37719         * sunrpc/xcrypt.c: Use it for passwd2des.
37721         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37723 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37725         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37726         Don't define if [__SYSCALL_WORDSIZE != 32].
37727         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37728         New macro.
37730 2012-05-21  Bruno Haible  <bruno@clisp.org>
37731             Andreas Jaeger  <aj@suse.de>
37733         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37734         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37735         inptr and inend for must_buffer_ch.
37736         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37737         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37738         * stdio-common/Makefile (tests): Remove bug15.
37739         (bug15-ENV): Remove macro.
37740         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37741         anymore.
37743 2012-05-19  Andreas Jaeger  <aj@suse.de>
37744             Roland McGrath  <roland@hack.frob.com>
37746         * manual/contrib.texi: Completely rewritten. It contains now an
37747         alphabetical list of contributors and their contributions.
37749 2012-05-21  Richard Henderson  <rth@twiddle.net>
37751         * misc/getauxval.c (__getauxval): Use unsigned long int.
37752         * misc/sys/auxv.h: Include <sys/cdefs.h>.
37753         (getauxval): Use unsigned long int.
37755 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37757         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37759 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37761         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37762         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37763         __alignof__ (long double).
37765 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37769 2012-05-20  Richard Henderson  <rth@twiddle.net>
37771         * misc/getauxval.c: New file.
37772         * misc/sys/auxv.h: New file.
37773         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37774         (routines): Add getauxval.
37775         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37776         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37777         * elf/dl-sysdep.c (_dl_auxv): Remove.
37778         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37779         * elf/dl-support.c (_dl_auxv): New variable.
37780         (_dl_aux_init): Initialize it.
37781         * manual/startup.texi (Auxiliary Vector): New node.
37782         * sysdeps/generic/bits/hwcap.h: New file.
37783         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37784         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37785         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37786         * sysdeps/sparc/sysdep.h: ... here.  Include it.
37787         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37788         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37790         Update.
37791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37794         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37800 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37804 2012-05-19  David S. Miller  <davem@davemloft.net>
37806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37808 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37810         [BZ #14123]
37811         * math/s_ccosh.c: Include <float.h>
37812         (__ccosh): Avoid internal overflow calculating sinh and cosh
37813         values before multiplying by sin and cos values.
37814         * math/s_ccoshf.c: Likewise.
37815         * math/s_ccoshl.c: Likewise.
37816         * math/s_csin.c: Likewise.
37817         * math/s_csinf.c: Likewise.
37818         * math/s_csinl.c: Likewise.
37819         * math/s_csinh.c: Likewise.
37820         * math/s_csinhf.c: Likewise.
37821         * math/s_csinhl.c: Likewise.
37822         * math/libm-test.inc (ccos_test): Add more tests.
37823         (ccosh_test): Likewise.
37824         (csin_test): Likewise.
37825         (csinh_test): Likewise.
37826         * sysdeps/i386/fpu/libm-test-ulps: Update.
37827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37829 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37831         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37832         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37834         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37836 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37838         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37839         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37840         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37841         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37842         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37843         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37844         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37845         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37846         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37847         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37848         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37849         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37850         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37851         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37852         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37853         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37854         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37855         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37856         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37857         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37858         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37859         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37860         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37861         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37862         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37863         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37864         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37865         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37866         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37867         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37868         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37870 2012-05-18  Andreas Jaeger  <aj@suse.de>
37872         * csu/.gitignore: Delete.
37874 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37876         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37877         (timex): Use __syscall_slong_t.
37879 2012-05-18  Andreas Jaeger  <aj@suse.de>
37880             Carlos O'Donell  <carlos_odonell@mentor.com>
37882         * manual/install.texi (Configuring and compiling): Update
37883         description about files modified in the source directory.
37884         * INSTALL: Regenerated.
37886 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37888         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37889         value.  Use "or" to set return value to -1.
37890         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37891         negate return value.
37893 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37895         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37896         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37897         failure if the compiler has Graphite support disabled.
37898         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37899         Likewise.
37900         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37901         (CFLAGS-memmove.c): Likewise.
37902         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37903         Likewise.
37905 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37907         * sysdeps/x86_64/x32/_itoa.h: New file.
37909         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37910         getdents system call only if kernel and user dirents have the
37911         same d_ino and d_off.
37913         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37914         LLONG_MAX != LONG_MAX.
37915         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37916         (_fitoa_word): Likewise.
37918         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37919         years.
37920         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37921         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37922         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37924         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37925         include <bits/wordsize.h>.  Check __x86_64__ instead of
37926         __WORDSIZE.
37927         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37928         if __x86_64__ is defined.  Use anonymous union on fpstate.
37930         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37931         anonymous union.
37933 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37935         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37936         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37937         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37938         Refer to _rtld_local_ro instead of _rtld_global_ro.
37939         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37940         Likewise.
37941         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37942         Likewise.
37943         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37944         Likewise.
37945         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37946         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37947         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37949         * sysdeps/powerpc/powerpc32/dl-machine.c
37950         (__elf_machine_runtime_setup) [PROF]: Don't reference
37951         _dl_prof_resolve.
37953 2012-05-18  Andreas Jaeger  <aj@suse.de>
37955         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37956         function only available for GCCs before 3.4 since GCC 3.4
37957         introduced a builtin.
37958         (lrint): Likewise.
37959         (llrintf): Likewise.
37960         (llrint): Likewise.
37961         (fmaxf): Likewise.
37962         (fmax): Likewise.
37963         (fminf): Likewise.
37964         (fmin): Likewise.
37965         (rint): Likewise.
37966         (rintf): Likewise.
37967         (nearbyint): Likewise.
37968         (nearbyintf): Likewise.
37969         (ceil): Likewise.
37970         (ceilf): Likewise.
37971         (floor): Likewise.
37972         (floorf): Likewise.
37974 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37976         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37977         on both fields and cast pointer to __syscall_ulong_t.
37979         * bits/types.h (__fsword_t): New type.
37980         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37981         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37982         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37983         (__FSWORD_T_TYPE): Likewise.
37984         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37985         (__FSWORD_T_TYPE): Likewise.
37986         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37987         (__FSWORD_T_TYPE): Likewise.
37988         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37989         (__FSWORD_T_TYPE): Likewise.
37990         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37991         __SWORD_TYPE with __fsword_t.
37992         (statfs64): Likewise.
37994 2012-05-17  David S. Miller  <davem@davemloft.net>
37996         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37998 2012-05-17  Andreas Jaeger  <aj@suse.de>
38000         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38001         warning.
38003 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38005         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38007 2012-05-17  Andreas Jaeger  <aj@suse.de>
38009         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38010         when it is used.
38012 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38014         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38016 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38018         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38019         * sysdeps/x86_64/tst-mallocalign1.c: New file.
38021 2012-05-17  Andreas Jaeger  <aj@suse.de>
38022             Carlos O'Donell  <carlos_odonell@mentor.com>
38024         [BZ #14059]
38025         * sysdeps/x86_64/multiarch/init-arch.h
38026         (bit_YMM_Usable): Rename to...
38027         (bit_AVX_Usable): ... this.
38028         (bit_FMA4_Usable): New macro.
38029         (bit_XMM_state): New macro.
38030         (bit_YMM_state): New macro.
38031         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38032         [__ASSEMBLER__] (index_AVX_Usable): ... this.
38033         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38034         (CPUID_OSXSAVE): New macro.
38035         (CPUID_AVX): New macro.
38036         (CPUID_FMA4): New macro.
38037         (index_YMM_Usable): Rename to...
38038         (index_AVX_Usable): ... this.
38039         (HAS_AVX): Use HAS_ARCH_FEATURE.
38040         (HAS_FMA4): Likewise.
38041         (HAS_YMM_USABLE): Remove.
38042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38043         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38044         are present.
38045         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38046         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38047         * sysdeps/x86_64/multiarch/Makefile: Likewise.
38048         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38049         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38051 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38053         * math/libm-test.c: Support platforms without multiple rounding modes.
38054         * math/bug-nextafter.c: Support platforms without FP exceptions.
38055         * math/bug-nexttoward.c: Likewise.
38056         * math/test-fenv.c: Likewise.
38057         * math/test-misc.c: Likewise.
38058         * stdlib/bug-getcontext.c: Likewise.
38060 2012-05-17  Andreas Jaeger  <aj@suse.de>
38062         * manual/examples/search.c (critter_cmp): Change signature to
38063         avoid warnings.
38064         * manual/string.texi (Collation Functions): Likewise.
38066 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38068         * bits/types.h: Fold copyright years.
38069         * bits/typesizes.h: Likewise.
38070         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38071         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38072         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38073         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38074         * time/time.h: Likewise.
38076 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
38078         [BZ #208]
38079         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38080         in instead of returning them.  Return void.
38081         (__libc_mallinfo): Accumulate over all arenas.
38082         (__malloc_stats): Adjust for change in int_mallinfo interface.
38084 2012-05-16  Roland McGrath  <roland@hack.frob.com>
38086         [BZ #10375]
38087         * configure.in (NM): Add AC_CHECK_TOOL for it.
38088         (libc_extra_cflags): New substituted variable.
38089         Check for -fstack-protector being used implicitly.
38090         * configure: Regenerated.
38091         * config.make.in (config-extra-cflags): New variable,
38092         gets @libc_extra_cflags@.
38093         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38095         [BZ #10375]
38096         * configure.in: Check for _FORTIFY_SOURCE being predefined.
38097         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38098         * configure: Regenerated.
38099         * config.make.in (CPPUNDEFS): New substituted variable.
38100         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38101         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38102         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38104 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38106         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38107         (mq_attr): Use __syscall_slong_t.
38109 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38111         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38112         Check __x86_64__ instead of __WORDSIZE.
38113         (_STAT_VER_LINUX): Likewise.
38114         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
38115         __syscall_ulong_t and __syscall_slong_t.
38116         (stat64): Likewise.
38118 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38120         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38122 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38124         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38126 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38128         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38129         __syscall_ulong_t.
38131         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38132         include <bits/wordsize.h>.  Check __x86_64__ instead of
38133         __WORDSIZE.
38134         (greg_t): Use "__extension__ long long int" if __x86_64__ is
38135         defined.
38136         (mcontext_t): Replace "unsigned long" with "unsigned long long".
38138         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38139         include <bits/wordsize.h>.  Check __x86_64__ instead of
38140         __WORDSIZE.
38141         (user_regs_struct): Use "__extension__ unsigned long long"
38142         instead of "unsigned long" if __x86_64__ is defined.
38143         (user): Likewise.  Pad after pointer field if __ILP32__ is
38144         defined.
38146 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
38148         * configure.in (makeinfo): Require version 4.5 or later.  Allow
38149         versions 5 to 9.
38150         * configure: Regenerated.
38151         * manual/install.texi (texinfo): Increase version requirement to
38152         4.5 or later.
38153         * INSTALL: Regenerated.
38155         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38157 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38159         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38161         * sysdeps/x86_64/x32/ffs.c: New file.
38163         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38164         __syscall_ulong_t.
38165         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38166         defined.  Use __syscall_ulong_t.
38167         (shminfo): Use __syscall_ulong_t.
38168         (shm_info): Likewise.
38170         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38171         __syscall_ulong_t.
38173         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38174         <bits/wordsize.h>.
38175         (msgqnum_t): Use __syscall_ulong_t.
38176         (msglen_t): Likewise.
38177         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38178         __syscall_ulong_t.
38180         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38181         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38183         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38185         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38186         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38188         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38189         __syscall_slong_t.
38191         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38192         include <bits/wordsize.h>.  Check __x86_64__ instead of
38193         __WORDSIZE.
38195         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38196         "unsigned long long int" if __x86_64__ is defined.
38197         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38199         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38200         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38201         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38203         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38204         <stdint.h>.
38205         (GET_PC): Cast to uintptr_t first.
38206         (GET_FRAME): Likewise.
38207         (GET_STACK): Likewise.
38209         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38210         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38211         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38212         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38213         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38214         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38215         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38216         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38217         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38218         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38219         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38220         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38221         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38222         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38223         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38224         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38225         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38226         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38227         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38228         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38229         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38230         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38231         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38232         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38233         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38234         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38235         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38236         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38237         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38239 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38241         * Makerules (+depfiles): Also collect depfiles from .oS in
38242         $(extra-objs).
38243         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38244         .oS, $(libnldbl-routines)).
38246         * Makerules (native-compile-mkdep-flags): Define.
38247         * sunrpc/Makefile (extra-objs): Add $(addprefix
38248         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38249         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38250         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38251         calling $(make-target-directory).
38253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38255         * bits/types.h (__snseconds_t): Removed.
38256         * time/time.h (struct timespec): Replace __snseconds_t with
38257         __syscall_slong_t.
38258         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38259         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38260         Likewise.
38261         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38262         (__SNSECONDS_T_TYPE): Likewise.
38263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38264         (__SNSECONDS_T_TYPE): Likewise.
38265         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38266         (__SNSECONDS_T_TYPE): Likewise.
38268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38270         * sysdeps/mach/hurd/bits/typesizes.h
38271         (__SYSCALL_SLONG_TYPE): New macro.
38272         (__SYSCALL_ULONG_TYPE): Likewise.
38274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38276         * bits/types.h (__syscall_slong_t): New type.
38277         (__syscall_ulong_t): Likewise.
38279         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38280         (__SYSCALL_ULONG_TYPE): Likewise.
38281         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38282         (__SYSCALL_SLONG_TYPE): Likewise.
38283         (__SYSCALL_ULONG_TYPE): Likewise.
38284         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38285         (__SYSCALL_SLONG_TYPE): Likewise.
38286         (__SYSCALL_ULONG_TYPE): Likewise.
38287         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38288         (__SYSCALL_SLONG_TYPE): Likewise.
38289         (__SYSCALL_ULONG_TYPE): Likewise.
38291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38293         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38294         Add sigaltstack-offsets.sym.
38295         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38296         <sigaltstack-offsets.h>.
38297         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
38298         longjmp_msg pointer.
38299         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
38300         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38301         signal stack.
38302         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38304 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38306         * elf/stackguard-macros.h: Remove file.
38307         * sysdeps/generic/stackguard-macros.h: New file.
38308         * sysdeps/i386/stackguard-macros.h: Likewise.
38309         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38310         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38311         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38312         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38313         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38314         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38315         * sysdeps/x86_64/stackguard-macros.h: Likewise.
38316         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38317         <elf/stackguard-macros.h>.
38319         [BZ #14109]
38320         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38321         __aligned__ in attribute.
38322         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38323         (gregset_t): Likewise.
38325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38327         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38328         * sysdeps/x86_64/64/Implies-after: Here.  New file.
38329         * sysdeps/x86_64/x32/Implies-after: New file.
38331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38333         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38334         and access return value for _dl_profile_fixup.  Use R10_LP to
38335         load frame size.
38337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38339         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38343         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38344         * sysdeps/x86_64/x32/sysdep.h: New file.
38346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38348         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38349         * sysdeps/x86_64/setjmp.S: Likewise.
38351 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38353         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38354         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38355         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38356         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38357         remove unused global constant.
38359 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
38361         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38362         include of <not-cancel.h>.
38364 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38366         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38368 2012-05-15  Jeff Law  <law@redhat.com>
38369             Andreas Jaeger  <aj@suse.de>
38371         [BZ #13594]
38372         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38373         out from...
38374         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38375         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38376         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38377         code changing __hst_map_handle.map.
38379 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38381         * configure.in (sysnames): Look for Implies-before and Implies-after
38382         files.
38383         * configure: Regenerated.
38385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38387         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38388         8-byte data alignment with LP_SIZE alignment.
38390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38392         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38393         into R10_LP.
38395 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38397         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38401         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38402         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38403         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38404         Likewise.
38405         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38409         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38410         (stackinfo_sub_sp): Likewise.
38412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38414         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38415         RAX_LP.
38417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38419         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38420         into R*_LP.
38422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38424         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38425         sizes into R*_LP.
38427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38429         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38433         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38434         into R11_LP and load __x86_64_shared_cache_size_half into
38435         R8_LP.
38437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38439         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38440         R8_LP.
38442 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38444         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38445         logb for POWER7.
38446         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38447         logbf for POWER7.
38448         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38449         logbl for POWER7.
38450         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38451         powerpc32/power7/fpu/s_logb.c via #include.
38452         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38453         powerpc32/power7/fpu/s_logbf.c via #include.
38454         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38455         powerpc32/power7/fpu/s_logbl.c via #include.
38457 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38459         * README.libm: Remove file.
38461 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38463         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38464         count for x32.  Use R*_LP and omit operand-size suffix.
38466 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38468         * shlib-versions: Move x86_64-.*-linux.* entries to ...
38469         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
38470         * sysdeps/x86_64/x32/shlib-versions: New file.
38472 2012-05-14  Roland McGrath  <roland@hack.frob.com>
38474         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38475         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38476         Use _dl_fatal_printf instead.
38478 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38480         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38481         set if not set by the user.  Do not allow for being unset.
38482         * sysdeps/unix/sysv/linux/configure: Regenerated.
38484 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38486         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38487         the `q' suffix from lea and replace .quad with ASM_ADDR.
38489 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38492         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
38493         instead of $17.
38494         (PTR_DEMANGLE): Likewise.
38496 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38498         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38499         (LP_OP): Likewise.
38500         (ASM_ADDR): Likewise.
38501         (RAX_LP): Likewise.
38502         (RBP_LP): Likewise.
38503         (RBX_LP): Likewise.
38504         (RCX_LP): Likewise.
38505         (RDI_LP): Likewise.
38506         (RSI_LP): Likewise.
38507         (RSP_LP): Likewise.
38508         (R8_LP): Likewise.
38509         (R9_LP): Likewise.
38510         (R10_LP): Likewise.
38511         (R10_LP): Likewise.
38512         (R11_LP): Likewise.
38513         (R12_LP): Likewise.
38514         (R13_LP): Likewise.
38515         (R14_LP): Likewise.
38516         (R15_LP): Likewise.
38518 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38520         * sysdeps/x86_64/x32/dl-machine.h: New file.
38522 2012-05-14  Andreas Jaeger  <aj@suse.de>
38524         * manual/Makefile (subdir): Remove export of subdir.
38525         (all): Remove target.
38526         (.PHONY): Remove all from list.
38527         (mkinstalldirs): Remove.
38528         (.PHONY): Remove installdirs from list.
38529         ($(inst_infodir)/libc.info): Use make-target-directory.
38530         (installdirs): Remove.
38531         (subdir_%): Remove.
38532         (glibc-targets): Remove.
38533         (lib): Remove.
38534         (stubs): Remove.
38535         ($(objpfx)stubs ../po/manual.pot): Remove.
38536         ($(objpfx)stamp%): Remove.
38537         (make-target-directory): Remove.
38538         (subdir_install): Remove.
38539         (routines): Remove.
38540         (aux): Remove.
38541         (sources): Remove.
38542         (objects): Remove.
38543         (headers): Remove.
38545         [BZ #13750]
38546         * manual/.gitignore: Remove, it's not needed anymore.
38547         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38548         all files in it.
38549         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38550         directory.
38551         (texis): Renamed to $(objpfx)texis.
38552         (texis-path): New, contains path to generated files.
38553         (chapters.%): Use texis-path for complete path, add extra argument
38554         libc-texinfo.sh.
38555         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38556         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38557         (summary,texi, stamp-summary): Use complete path of
38558         files. Generate files in build dir.
38559         (dir-add.texi): Build in build dir.
38560         (libm-err.texi,stamp-libm-err): Likewise.
38561         (version.texi, stamp-version): Likewise.
38562         (.%c.texi): Likewise.
38563         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38564         (mostlyclean): Remove target.
38565         (realclean): Remove target.
38566         (generated): Add new variable with contents from mostlyclean and
38567         realclean, remove entries duplicated in common-mostlyclean, add
38568         stamp-libm-err and stamp-version.
38569         (generated-dirs): Add libc directory.
38570         ($(inst_infodir)/libc.info): Install files from build dir.
38572         * manual/install.texi (Configuring and compiling): Adjust since
38573         the info files are not part of the tar ball anymore.
38575 2012-05-14  Andreas Jaeger  <aj@suse.de>
38577         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38578         variable.
38580 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38582         [BZ #13717]
38583         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38584         to 2.2.0 where earlier.
38585         * sysdeps/unix/sysv/linux/configure: Regenerated.
38586         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38587         Remove conditional code.
38588         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38589         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38590         Remove conditional code.
38591         [!__NR_lchown]: Likewise.
38592         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38593         [__NR_lchown]: Likewise.
38594         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38595         comment referencing __ASSUME_LCHOWN_SYSCALL.
38596         * sysdeps/unix/sysv/linux/i386/sigaction.c
38597         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38598         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38599         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38600         Remove conditional code.
38601         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38602         (__protocol_available): Remove #if 0 code.
38603         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38604         conditional code.
38605         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38606         * sysdeps/unix/sysv/linux/kernel-features.h
38607         (__ASSUME_GETCWD_SYSCALL): Don't define.
38608         (__ASSUME_REALTIME_SIGNALS): Likewise.
38609         (__ASSUME_PREAD_SYSCALL): Likewise.
38610         (__ASSUME_PWRITE_SYSCALL): Likewise.
38611         (__ASSUME_POLL_SYSCALL): Likewise.
38612         (__ASSUME_LCHOWN_SYSCALL): Likewise.
38613         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38614         non-SPARC.
38615         (__ASSUME_SIOCGIFNAME): Don't define.
38616         (__ASSUME_MSG_NOSIGNAL): Likewise.
38617         (__ASSUME_SENDFILE): Define unconditionally.
38618         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38619         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38620         conditional code.
38621         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38622         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38623         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38624         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38625         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38626         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38627         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38629         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38630         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38632         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38633         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38635         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38636         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38638         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38639         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38641         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38642         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38644         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38645         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38647         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38648         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38650         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38651         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38652         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38653         Remove conditional code.
38654         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38655         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38656         Remove conditional code.
38657         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38658         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38659         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38660         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38661         Remove conditional code.
38662         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38663         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38664         Remove conditional code.
38665         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38666         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38667         Remove conditional code.
38668         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38669         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38670         Remove conditional code.
38671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38672         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38673         Remove conditional code.
38674         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38675         * sysdeps/unix/sysv/linux/sh/pwrite64.c
38676         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38677         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38678         * sysdeps/unix/sysv/linux/sigaction.c
38679         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38680         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38681         * sysdeps/unix/sysv/linux/sigpending.c
38682         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38683         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38684         * sysdeps/unix/sysv/linux/sigprocmask.c
38685         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38686         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38687         * sysdeps/unix/sysv/linux/sigsuspend.c
38688         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38689         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38690         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38691         (__libc_missing_rt_sigs): Remove.
38692         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38693         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38694         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38695         Remove conditional code.
38696         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38697         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38698         return 1.
38699         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38700         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38701         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38702         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38704 2012-05-14  Andreas Jaeger  <aj@suse.de>
38706         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38707         it's not used in glibc.
38708         (__coshm1): Likewise.
38709         (__acosh1p): Likewise.
38710         (__sgn): Likewise.
38712         * manual/string.texi (Copying and Concatenation): Add missing
38713         variable in concat example.
38714         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38716 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38718         [BZ #14103]
38719         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38720         __builtin_clzl with __builtin_clzll.
38722 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38724         [BZ #14104]
38725         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38726         libc_freeres_ptr.
38728 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38730         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38731         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38732         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38733         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38735 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
38737         * NEWS: Update ia64 info.
38739 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
38741         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38742         used as bcopy.
38744 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
38746         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38747         * sysdeps/unix/syscalls.list (dup3): Likewise.
38748         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38749         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38751 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38753         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38754         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38756 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38758         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38759         thread pointer.
38760         (TLS_IE): Use mov/add instead of movq/addq to load thread
38761         pointer.
38762         (TLS_GD_PREFIX): New.
38763         (TLS_GD): Use it.
38765 2012-05-11  David S. Miller  <davem@davemloft.net>
38767         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38768         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38769         (_FPU_SETCW): Likewise.
38771 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38773         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38774         is 32-byte aligned.
38776 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
38778         [BZ #11837]
38779         * iconvdata/gb18030.c: Update tables.
38780         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
38781         characters specially.
38782         (BODY for TO_LOOP): Add encoding of missing ranges.
38784 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
38786         [BZ #13673]
38787         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38788         * sysdeps/mach/hurd/dup3.c: Likewise.
38789         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38790         * sysdeps/powerpc/memmove.c:: Likewise.
38792 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38794         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38795         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38797 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38799         * elf/elf.h (R_X86_64_RELATIVE64): New.
38800         (R_X86_64_NUM): Updated.
38801         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38802         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38803         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38804         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38805         tst-quad1pie tst-quad2pie
38806         (modules-names): Add tst-quadmod1 tst-quadmod2.
38807         ($(objpfx)tst-quad1): New dependency.
38808         ($(objpfx)tst-quad2): Likewise.
38809         ($(objpfx)tst-quad1pie): Likewise.
38810         ($(objpfx)tst-quad2pie): Likewise.
38811         * sysdeps/x86_64/tst-quad1.c: New file.
38812         * sysdeps/x86_64/tst-quad1pie.c: New file.
38813         * sysdeps/x86_64/tst-quad2.c: Likewise.
38814         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38815         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38816         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38817         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38818         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38820 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38822         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38823         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38824         * streams/stropts.h (t_scalar_t): Define type.
38826         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38827         (_PATH_PRESERVE): Set to "/var/lib".
38828         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38830         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38831         instead of int.
38833         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38834         if __dir_mkfile succeeded.
38836         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38837         checking for _hurd_dtablesize.  Unlock it right after having
38838         finished _hurd_dtable allocation.
38840 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38842         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38843         * sysdeps/mach/hurd/configure: Regenerated.
38844         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38845         special-casing to...
38846         * sysdeps/gnu/configure.in: ... this new file.
38847         * sysdeps/unix/sysv/linux/configure: Regenerated.
38848         * sysdeps/gnu/configure: New generated file.
38850         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38851         for Linux: use nsec instead of usec, as well as:
38852         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38853         members of type struct timespec.
38854         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38855         New macros.
38856         (struct stat64): Likewise.
38857         (_STATBUF_ST_NSEC): New macro.
38858         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38860         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38861         __strtoul_internal rather than strtoul.
38863 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38865         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38866         and reject them.
38868 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38870         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38871         which preserves existing values.
38872         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38874 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38876         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38877         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38878         greater than FD_SETSIZE.
38880 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38882         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38883         allocated, call __vm_protect to finish enabling the existing space, and
38884         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38885         allocate the remainder.
38887 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38889         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38890         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38894         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38895         sysdeps/mach/hurd/readlink.c.
38897         * posix/tst-sysconf.c (posix_options): Only use
38898         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38899         _POSIX_SYNCHRONIZED_IO when they are defined
38900         * sysdeps/mach/hurd/bits/posix_opt.h:
38901         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38902         (_XOPEN_REALTIME): Undefine macro.
38903         (_XOPEN_REALTIME_THREADS): Undefine macro.
38904         (_XOPEN_SHM): Undefine macro.
38905         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38906         macro to -1.
38907         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38908         macro to -1.
38909         (_POSIX_ASYNC_IO): Undefine macro.
38910         (_POSIX_PRIORITIZED_IO): Undefine macro.
38911         (_POSIX_SPIN_LOCKS): Define macro to -1.
38913         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38914         SA_NODEFER, SA_RESETHAND.
38915         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38916         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38917         F_DUPFD_CLOEXEC.
38919 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38921         * elf/Makefile (pldd-modules): Define unconditionally.
38923 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38925         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38927 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38929         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38930         Return ENOENT when name is empty.
38931         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38933 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38935         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38937         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38941         Fix mlock in all cases except non-readable pages.
38942         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38943         instead of VM_PROT_ALL as parameter to __vm_wire function.
38945         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38946         (__mkdir): When path is `/', just fail with EEXIST.
38947         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38949 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38951         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38952         <sys/uio.h> (for writev).
38953         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38954         and <sys/param.h> (for MIN).
38956 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38958         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38959         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38960         if interrupted.
38962 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38964         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38965         Depend on against $(link-rpcuserlibs).
38967 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38969         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38970         (__libc_stack_end): Do not use attribute_relro.
38971         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38972         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38973         to libthread-provided value.
38974         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38975         attribute_relro.
38977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38979         [BZ #3748]
38980         * bits/libc-lock.h (__libc_once_get): New macro.
38981         * sysdeps/mach/bits/libc-lock.h: Likewise.
38982         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38983         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38984         instead of using implementation details.
38986         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38987         * libio/freopen.c: Likewise.
38988         * libio/freopen64.c: Likewise.
38989         * misc/syslog.c: Likewise.
38990         * nscd/connections.c: Likewise.
38991         * nscd/netgroupcache.c: Likewise.
38992         * sysdeps/posix/getcwd.c: Likewise.
38994 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38996         * math/w_ilogbf.c: Add #include <limits.h>.
38998 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39000         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39001         path instead of returning without unlocking.
39003         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39004         immediate-write ioctls.
39005         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39007 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39009         * sysdeps/mach/hurd/i386/init-first.c (init): Use
39010         __builtin_frame_address instead of making assumptions about the
39011         location of the return address relative to DATA.  Force early load of
39012         the return address.
39013         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39014         __builtin_frame_address.
39016         dup3 for GNU Hurd.
39017         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39018         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
39019         implement dup3 and do some further code clean-ups.
39020         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39021         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39023 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39025         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39027         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39028         HURD_CRITICAL_END around holding _hurd_dtable_lock.
39029         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39030         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39031         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39032         d->port.lock.
39034         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39035         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
39036         when handler == SIG_ERR, not when handler != SIG_ERR.
39038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39040         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39041         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39042         definitions.
39044         accept4 for GNU Hurd.
39045         * include/sys/socket.h (__libc_accept4): New prototype.
39046         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
39047         to implement __libc_accept4.
39048         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39049         __libc_accept4.
39050         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39052         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39053         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39054         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39055         signal-defines.sym.
39057 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39059         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39061 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39063         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39064         assertion on O_CLOEXEC flag.
39065         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39066         * hurd/intern-fd.c: Likewise.
39067         * hurd/port2fd.c: Likewise.
39069 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39071         [BZ #3906]
39072         * bits/in.h (IPV6_PKTINFO): Define new macro.
39073         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39075 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39077         [BZ #13954]
39078         [BZ #13955]
39079         [BZ #13956]
39080         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39081         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39082         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39083         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39084         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39085         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39086         * math/libm-test.inc (logb_test) : Additional logb tests.
39088 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
39089             Andreas Jaeger  <aj@suse.de>
39091         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39092         * configure: Regenerated.
39093         * config.h.in (LINK_OBSOLETE_RPC): New macro.
39094         * config.make.in (link-obsolete-rpc): New substituted variable.
39095         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39096         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39097         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39098         (shared-only-routines): Don't set it under [link-obsolete-rpc],
39099         so that libc.a contains the symbols.
39100         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39101         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39102         * sunrpc/auth_none.c: Likewise.
39103         * sunrpc/auth_unix.c: Likewise.
39104         * sunrpc/authdes_prot.c: Likewise.
39105         * sunrpc/authuxprot.c: Likewise.
39106         * sunrpc/clnt_gen.c: Likewise.
39107         * sunrpc/clnt_perr.c: Likewise.
39108         * sunrpc/clnt_raw.c: Likewise.
39109         * sunrpc/clnt_simp.c: Likewise.
39110         * sunrpc/clnt_tcp.c: Likewise.
39111         * sunrpc/clnt_udp.c: Likewise.
39112         * sunrpc/clnt_unix.c: Likewise.
39113         * sunrpc/des_crypt.c: Likewise.
39114         * sunrpc/des_soft.c: Likewise.
39115         * sunrpc/get_myaddr.c: Likewise.
39116         * sunrpc/key_call.c: Likewise.
39117         * sunrpc/key_prot.c: Likewise.
39118         * sunrpc/netname.c: Likewise.
39119         * sunrpc/pm_getmaps.c: Likewise.
39120         * sunrpc/pm_getport.c: Likewise.
39121         * sunrpc/pmap_clnt.c: Likewise.
39122         * sunrpc/pmap_prot.c: Likewise.
39123         * sunrpc/pmap_prot2.c: Likewise.
39124         * sunrpc/pmap_rmt.c: Likewise.
39125         * sunrpc/publickey.c: Likewise.
39126         * sunrpc/rpc_cmsg.c: Likewise.
39127         * sunrpc/rpc_common.c: Likewise.
39128         * sunrpc/rpc_dtable.c: Likewise.
39129         * sunrpc/rpc_prot.c: Likewise.
39130         * sunrpc/rpc_thread.c: Likewise.
39131         * sunrpc/rtime.c: Likewise.
39132         * sunrpc/svc.c: Likewise.
39133         * sunrpc/svc_auth.c: Likewise.
39134         * sunrpc/svc_raw.c: Likewise.
39135         * sunrpc/svc_run.c: Likewise.
39136         * sunrpc/svc_tcp.c: Likewise.
39137         * sunrpc/svc_udp.c: Likewise.
39138         * sunrpc/svc_unix.c: Likewise.
39139         * sunrpc/svcauth_des.c: Likewise.
39140         * sunrpc/xcrypt.c: Likewise.
39141         * sunrpc/xdr.c: Likewise.
39142         * sunrpc/xdr_array.c: Likewise.
39143         * sunrpc/xdr_float.c: Likewise.
39144         * sunrpc/xdr_intXX_t.c: Likewise.
39145         * sunrpc/xdr_mem.c: Likewise.
39146         * sunrpc/xdr_rec.c: Likewise.
39147         * sunrpc/xdr_ref.c: Likewise.
39148         * sunrpc/xdr_sizeof.c: Likewise.
39149         * sunrpc/xdr_stdio.c: Likewise.
39151 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39153         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39154         change.  Update copyright years.
39156 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39158         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39160 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
39161             Joseph Myers  <joseph@codesourcery.com>
39162             Paul Pluzhnikov  <ppluzhnikov@google.com>
39164         [BZ #14012]
39165         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39166         requiring rpcgen.
39167         [cross-compiling] (extra-libs): Likewise.
39168         [cross-compiling] (extra-libs-others): Likewise.
39169         [cross-compiling] (librpcsvc-routines): Likewise.
39170         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39171         [cross-compiling] (omit-deps): Likewise.
39172         (sunrpc-CPPFLAGS): New variable.
39173         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39174         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39175         (cross-rpcgen-objs): New variable.
39176         (extra-objs): Append $(cross-rpcgen-objs).
39177         ($(cross-rpcgen-objs)): New rule.
39178         ($(objpfx)cross-rpcgen): Likewise.
39179         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39180         comment.
39181         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39182         ($(objpfx)x%.stmp): Likewise.
39183         * sunrpc/proto.h [IS_IN_build] (_): Define.
39184         [IS_IN_build] (_libc_intl_domainname): Likewise.
39186 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39189         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39190         and R_X86_64_TPOFF64.
39192 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39194         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39195         sysdeps/unix/sysv/syscalls.list.
39196         (stime): Likewise.
39197         (utime): Likewise.
39198         * sysdeps/unix/sysv/syscalls.list: Remove file.
39200 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39202         [BZ #3440]
39203         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39204         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39205         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39206         (__LC_IDENTIFICATION): Make these macros useful in #if
39207         expressions, as required by C99.
39209 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39211         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39212         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39213         after this.
39215 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39217         * stdlib/longlong.h: Updated from GCC.
39219 2012-05-09  Andreas Jaeger  <aj@suse.de>
39221         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39222         default is first entry.
39223         (run_mode): Set type.
39224         (main): Remove informal message about syslog.
39225         (options): Fix typo.
39227         [BZ #14053]
39228         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39229         to asm.
39230         (lrint): Likewise.
39231         (llrintf): Likewise.
39232         (llrint): Likewise.
39233         (rint): Likewise.
39234         (rintf): Likewise.
39235         (nearbyint): Likewise.
39236         (nearbyintf): Likewise.
39238 2012-05-09  Andreas Jaeger  <aj@suse.de>
39239             Pedro Alves  <palves@redhat.com>
39241         * nscd/nscd.c (run_mode): Use enum.
39242         (main): Cleanup coding style issue.
39244 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39245             Andreas Jaeger  <aj@suse.de>
39247         * nscd/nscd.c (go_background): Replaced with...
39248         (run_mode): ... this.
39249         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39250         (options): Add -F --foreground.
39251         (main): Implement it.
39252         (parse_opt): Parse it.
39254 2012-05-09  Andreas Jaeger  <aj@suse.de>
39256         [BZ #14083]
39257         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39258         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39259         -Wconversion warning.
39260         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39261         Likewise.
39263 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39265         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39266         == 0.
39267         (LC_ALL): Use macro-int-constant.
39268         (LC_COLLATE): Likewise.
39269         (LC_CTYPE): Likewise.
39270         (LC_MESSAGES): Likewise.
39271         (LC_MONETARY): Likewise.
39272         (LC_NUMERIC): Likewise.
39273         (LC_TIME): Likewise.
39274         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39275         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39276         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39277         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39278         Specify type.
39279         [C99-based standards] (float_t): Expect type.
39280         [C99-based standards] (double_t): Expect type.
39281         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39282         type.
39283         [C99-based standards] (HUGE_VALL): Likewise.
39284         [C99-based standards] (INFINITY): Likewise.
39285         [C99-based standards] (NAN): Likewise.
39286         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39287         [C99-based standards] (FP_NAN): Likewise.
39288         [C99-based standards] (FP_NORMAL): Likewise.
39289         [C99-based standards] (FP_SUBNORMAL): Likewise.
39290         [C99-based standards] (FP_ZERO): Likewise.
39291         [C99-based standards] (FP_FAST_FMA): Use
39292         optional-macro-int-constant.  Specify type.  Require == 1.
39293         [C99-based standards] (FP_FAST_FMAF): Likewise.
39294         [C99-based standards] (FP_FAST_FMAL): Likewise.
39295         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39296         [C99-based standards] (FP_ILOGBNAN): Likewise.
39297         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39298         Specify type.
39299         [C99-based standards] (MATH_ERREXCEPT): Likewise.
39300         [C99-based standards] (math_errhandling): Specify type.
39301         [ISO99 || ISO11] (signgam): Do not allow.
39302         [non-C99-based standards] (copysignf): Do not allow.
39303         [non-C99-based standards] (exp2f): Likewise.
39304         [non-C99-based standards] (log2f): Likewise.
39305         [non-C99-based standards] (modff): Allow.
39306         [non-C99-based standards] (erff): Do not allow.
39307         [non-C99-based standards] (erfcf): Likewise.
39308         [non-C99-based standards] (gammaf): Likewise.
39309         [non-C99-based standards] (hypotf): Likewise.
39310         [non-C99-based standards] (j0f): Likewise.
39311         [non-C99-based standards] (j1f): Likewise.
39312         [non-C99-based standards] (jnf): Likewise.
39313         [non-C99-based standards] (lgammaf): Likewise.
39314         [non-C99-based standards] (tgammaf): Likewise.
39315         [non-C99-based standards] (y0f): Likewise.
39316         [non-C99-based standards] (y1f): Likewise.
39317         [non-C99-based standards] (ynf): Likewise.
39318         [non-C99-based standards] (isnanf): Likewise.
39319         [non-C99-based standards] (acoshf): Likewise.
39320         [non-C99-based standards] (asinhf): Likewise.
39321         [non-C99-based standards] (atanhf): Likewise.
39322         [non-C99-based standards] (cbrtf): Likewise.
39323         [non-C99-based standards] (expm1f): Likewise.
39324         [non-C99-based standards] (ilogbf): Likewise.
39325         [non-C99-based standards] (log1pf): Likewise.
39326         [non-C99-based standards] (logbf): Likewise.
39327         [non-C99-based standards] (nextafterf): Likewise.
39328         [non-C99-based standards] (remainderf): Likewise.
39329         [non-C99-based standards] (rintf): Likewise.
39330         [non-C99-based standards] (scalbf): Likewise.
39331         [non-C99-based standards] (copysignl): Likewise.
39332         [non-C99-based standards] (exp2l): Likewise.
39333         [non-C99-based standards] (log2l): Likewise.
39334         [non-C99-based standards] (modfl): Allow.
39335         [non-C99-based standards] (erfl): Do not allow.
39336         [non-C99-based standards] (erfcl): Likewise.
39337         [non-C99-based standards] (gammal): Likewise.
39338         [non-C99-based standards] (hypotl): Likewise.
39339         [non-C99-based standards] (j0l): Likewise.
39340         [non-C99-based standards] (j1l): Likewise.
39341         [non-C99-based standards] (jnl): Likewise.
39342         [non-C99-based standards] (lgammal): Likewise.
39343         [non-C99-based standards] (tgammal): Likewise.
39344         [non-C99-based standards] (y0l): Likewise.
39345         [non-C99-based standards] (y1l): Likewise.
39346         [non-C99-based standards] (ynl): Likewise.
39347         [non-C99-based standards] (isnanl): Likewise.
39348         [non-C99-based standards] (acoshl): Likewise.
39349         [non-C99-based standards] (asinhl): Likewise.
39350         [non-C99-based standards] (atanhl): Likewise.
39351         [non-C99-based standards] (cbrtl): Likewise.
39352         [non-C99-based standards] (expm1l): Likewise.
39353         [non-C99-based standards] (ilogbl): Likewise.
39354         [non-C99-based standards] (log1pl): Likewise.
39355         [non-C99-based standards] (logbl): Likewise.
39356         [non-C99-based standards] (nextafterl): Likewise.
39357         [non-C99-based standards] (remainderl): Likewise.
39358         [non-C99-based standards] (rintl): Likewise.
39359         [non-C99-based standards] (scalbl): Likewise.
39360         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39361         [non-C99-based standards] (FP_*): Do not allow.
39362         [C99-based standards] (FP_*): Change to
39363         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39364         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39365         allow.
39366         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39367         (SIG_ERR): Likewise.
39368         [X/Open-based standards] (SIG_HOLD): Likewise.
39369         (SIG_IGN): Likewise.
39370         (SIGABRT): Use macro-int-constant.  Specify type.  Require
39371         positive value.
39372         (SIGFPE): Likewise.
39373         (SIGILL): Likewise.
39374         (SIGINT): Likewise.
39375         (SIGSEGV): Likewise.
39376         (SIGTER): Likewise.
39377         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39378         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39379         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39380         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39381         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39382         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39383         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39384         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39385         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39386         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39387         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39388         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39389         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39390         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39391         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39392         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39393         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39394         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39395         [X/Open-based standards] (SIGTRAP): Likewise.
39396         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39397         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39398         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39399         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39400         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39401         allow.
39403 2012-05-08  Ian Wienand  <ianw@vmware.com>
39405         [BZ #14080]
39406         * time/tzset.c (__tzset_parse_tz): Update default rules for
39407         daylight time changes in the Energy Policy Act of 2005.
39409 2012-05-09  Andreas Jaeger  <aj@suse.de>
39411         [BZ #13983]
39412         * elf/ldconfig.c (parse_conf): Change string to make clear that
39413         ldconfig only issued a warning if ld.so.conf does not exist.
39415 2012-05-08  David S. Miller  <davem@davemloft.net>
39417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39418         movxtod instead of popping the value on the stack.
39420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39422 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
39424         * config.h.in: Add HAVE_ARM_PCS_VFP.
39426 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
39428         [BZ #13979]
39429         * include/features.h: Warn if user requests __FORTIFY_SOURCE
39430         checking but the checks are disabled for any reason.
39432 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
39434         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39435         and ELF64_R_TYPE with ELFW(R_TYPE).
39437 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
39439         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39440         (ulimit): Likewise.
39442         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39443         (settimeofday): Likewise.
39445 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
39447         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
39448         a struct th_u2 inside the union, and move tu_block/tu_code into
39449         a new th_u3 union of tu_block/tu_code inside of that.  Move
39450         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
39451         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
39452         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39453         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39454         (th_stuff): Change to th_u1.tu_stuff.
39455         (th_data): Define.
39456         (th_msg): Change to th_u1.th_u2.tu_data.
39458 2012-05-07  David S. Miller  <davem@davemloft.net>
39460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39462         [BZ #14074]
39463         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39464         (SETUP_PIC_REG): Use it.
39465         (SETUP_PIC_REG_LEAF): Use it.
39467 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
39469         [BZ #13885]
39470         [BZ #13923]
39471         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39472         USE_AS_EXPM1L.
39473         (EXPL_FINITE): Likewise.
39474         (FLDLOG): Likewise.
39475         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39476         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39477         e_expl.S.
39478         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39479         USE_AS_EXPM1L.
39480         (EXPL_FINITE): Likewise.
39481         (FLDLOG): Likewise.
39482         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39483         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39484         e_expl.S.
39485         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
39486         test of -max_value argument for long double.
39487         * sysdeps/i386/fpu/libm-test-ulps: Update.
39488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39490 2012-05-06  David S. Miller  <davem@davemloft.net>
39492         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39493         quad soft-float symbols whose references which are compiler
39494         generated.
39495         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39497 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
39499         [BZ #13884]
39500         [BZ #13914]
39501         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39502         USE_AS_EXP10L.
39503         (EXPL_FINITE): Likewise.
39504         (FLDLOG): Likewise.
39505         (c0): Likewise.
39506         (c1): Likewise.
39507         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39508         Adjust comments for base varying.
39509         (__expl_finite): Change alias to EXPL_FINITE.
39510         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39511         e_expl.S.
39512         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39513         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39514         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39515         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39516         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39517         USE_AS_EXP10L.
39518         (EXPL_FINITE): Likewise.
39519         (FLDLOG): Likewise.
39520         (c0): Likewise.
39521         (c1): Likewise.
39522         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39523         Adjust comments for base varying.
39524         (__expl_finite): Change alias to EXPL_FINITE.
39525         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
39526         tests for bugs.
39527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39529         [BZ #14064]
39530         * math/libm-test.inc (check_float_internal): Correct ulp
39531         calculation for subnormal expected results.
39533 2012-05-06  Andreas Jaeger  <aj@suse.de>
39535         * Makeconfig (+math-flags): New, set to -frounding-math.
39536         (+cflags): Add +math-flags so that all of glibc gets compiled with
39537         it.
39539         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39541 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
39543         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39544         Disable one test.
39546         [BZ #13787]
39547         [BZ #13922]
39548         [BZ #14036]
39549         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39550         (__ieee754_expl): Allow for and saturate large arguments.
39551         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39552         (u_threshold): Likewise.
39553         (__exp): Call __ieee754_exp before checking for overflow and
39554         underflow.
39555         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39556         (u_threshold): Likewise.
39557         (__expf): Call __ieee754_expf before checking for overflow and
39558         underflow.
39559         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39560         (u_threshold): Likewise.
39561         (__expl): Call __ieee754_expl before checking for overflow and
39562         underflow.
39563         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39564         (__ieee754_expl): Allow for and saturate large arguments.
39565         * math/libm-test.inc (exp_test): Add another test.  Do not allow
39566         missing overflow exception on overflow.
39567         (expm1_test): Do not allow missing overflow exception on overflow.
39569         * sysdeps/i386/fpu/e_expl.c: Move to ...
39570         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
39571         rather than using inline asm.
39572         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39573         * sysdeps/x86_64/fpu/e_expl.S: Copy from
39574         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39576         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39577         (nice): Likewise.
39578         (poll): Likewise.
39579         (signal): Likewise.
39580         (time): Likewise.
39581         (times): Likewise.
39583 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39585         * sysdeps/unix/syscalls.list (adjtime): Add entry from
39586         sysdeps/unix/common/syscalls.list.
39587         (fchmod): Likewise.
39588         (fchown): Likewise.
39589         (ftruncate): Likewise.
39590         (getrusage): Likewise.
39591         (gettimeofday): Likewise.
39592         (setpgid): Likewise.
39593         (setregid): Likewise.
39594         (setreuid): Likewise.
39595         (sigaction): Likewise.
39596         (truncate): Likewise.
39597         (vhangup): Likewise.
39598         * sysdeps/unix/common/syscalls.list: Remove file.
39599         * sysdeps/unix/bsd/Implies: Don't include unix/common.
39600         * sysdeps/unix/sysv/linux/Implies: Likewise.
39602 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
39604         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39606         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39607         Moved to ...
39608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39609         Here.
39610         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39611         to ...
39612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39613         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39614         to ...
39615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39616         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39617         to ...
39618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39619         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39620         to ...
39621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39622         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39623         to ...
39624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39625         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39626         to ...
39627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39628         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39629         to ...
39630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39631         Here.
39632         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39633         to ...
39634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39635         Here.
39636         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39637         to ...
39638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39639         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39640         Moved to ...
39641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39642         Here.
39643         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39644         to ...
39645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39647 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39649         * sysdeps/unix/common/bits/dirent.h: Remove file.
39650         * sysdeps/unix/common/bits/fcntl.h: Likewise.
39652         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39653         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39654         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39655         * sysdeps/unix/bsd/isatty.c: Likewise.
39656         * sysdeps/unix/bsd/tcdrain.c: Likewise.
39657         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39658         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39660 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39662         [BZ #13563]
39663         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39664         long double comparison inaccuracies.
39665         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39668 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
39670         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39671         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39673 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39675         [BZ #14049]
39676         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39677         nonzero digits before rounding a hex value.
39678         * stdlib/tst-strtod.c (tests): Add another test.
39680 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39682         * sysdeps/s390/fpu/libm-test-ulps: Update.
39684 2012-05-03  Andreas Jaeger  <aj@suse.de>
39686         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39687         does not get optimized out.
39688         (malloc_opt_barrier): New.
39690 2012-05-03  Andreas Jaeger  <aj@suse.de>
39691             Roland McGrath  <roland@hack.frob.com>
39693         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39694         intermediate file deletion.
39695         (generated): Add .symlist files.
39697 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
39699         [BZ #13775]
39700         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39701         Redirect under this condition.
39702         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39703         [__USE_GNU] (__dprintf_chk): Not under this condition.
39704         [__USE_GNU] (__vdprintf_chk): Likewise.
39705         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39706         under this condition.
39707         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39708         [__USE_XOPEN2K8] (dprintf): Define under this condition.
39709         [__USE_XOPEN2K8] (vdprintf): Likewise.
39710         [__USE_GNU] (__dprintf_chk): Not under this condition.
39711         [__USE_GNU] (__vdprintf_chk): Likewise.
39712         [__USE_GNU] (dprintf): Likewise.
39713         [__USE_GNU] (vdprintf): Likewise.
39715 2012-05-03  Roland McGrath  <roland@hack.frob.com>
39717         * elf/Makefile (common-generated): Set this instead of generated for
39718         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
39719         $(all-built-dso)-derived lists.
39721 2012-05-03  Andreas Jaeger  <aj@suse.de>
39723         * sysdeps/i386/fpu/libm-test-ulps: Update.
39725         * FAQ: Removed.
39726         * FAQ.in: Likewise.
39727         * scripts/gen-FAQ.pl: Likewise.
39728         * manual/install.texi (Installation): Point to online location of
39729         FAQ.
39730         * Makefile (files-for-dist): Remove FAQ.
39731         (FAQ): Remove.
39733 2012-05-02  Allan McRae  <allan@archlinux.org>
39735         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39736         (LDFLAGS-reldepmod5.so): Likewise.
39737         (LDFLAGS-reldep6mod1.so): Likewise.
39738         (LDFLAGS-reldep6mod4.so): Likewise.
39739         (LDFLAGS-reldep8mod3.so): Likewise.
39740         (LDFLAGS-unload4mod1.so): Likewise.
39741         (LDFLAGS-unload4mod2.so): Likewise.
39742         (LDFLAGS-tst-initorder): Likewise.
39743         (LDFLAGS-tst-initordera2.so): Likewise.
39744         (LDFLAGS-tst-initordera3.so): Likewise.
39745         (LDFLAGS-tst-initordera4.so): Likewise.
39746         (LDFLAGS-tst-initorderb2.so): Likewise.
39747         (LDFLAGS-noload): Likewise.
39748         (LDFLAGS-next): Likewise.
39749         (LDFLAGS-order2mod1.so): Likewise.
39750         (LDFLAGS-order2mod2.so): Likewise.
39751         (LDFLAGS-tst-initorder2): Likewise.
39752         (LDFLAGS-tst-initorder2a.so): Likewise.
39753         (LDFLAGS-tst-initorder2b.so): Likewise.
39754         (LDFLAGS-tst-initorder2c.so): Likewise.
39755         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39757 2012-05-02  David S. Miller  <davem@davemloft.net>
39759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39761 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39763         [BZ #14055]
39764         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39766 2012-05-02  Andreas Jaeger  <aj@suse.de>
39768         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39769         since we manipulate rounding mode.
39770         (CPPFLAGS-test-idouble.c): Likewise.
39771         (CPPFLAGS-test-ifloat.c): Likewise.
39772         (CFLAGS-test-ldouble.c): Likewise.
39773         (CFLAGS-test-double.c): Likewise.
39774         (CFLAGS-test-float.c): Likewise.
39775         (CFLAGS-test-misc.c): Likewise.
39776         (CFLAGS-test-test-fenv.c): Likewise.
39778 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39780         [BZ #2550]
39781         [BZ #2570]
39782         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39783         comparisons to determine direction to adjust input.
39785 2012-05-01  Roland McGrath  <roland@hack.frob.com>
39787         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39788         output to the target.
39790         * scripts/localplt.awk: New file.
39791         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39792         (check-localplt-CFLAGS): Variable removed.
39793         ($(all-built-dso:=.jmprel)): New static pattern rule.
39794         (generated): Add those targets.
39795         (localplt-built-dso): New variable.
39796         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39798         * elf/check-localplt.c: File removed.
39800         * scripts/check-execstack.awk: New file.
39801         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39802         (check-execstack-CFLAGS): Variable removed.
39803         ($(objpfx)check-execstack.h): Target removed.
39804         ($(objpfx)execstack-default): New target.
39805         (generated): Add that instead of check-execstack.h.
39806         ($(all-built-dso:=.phdr)): New static pattern rule.
39807         (generated): Add those targets.
39808         * elf/check-execstack.c: File removed.
39810         * scripts/check-textrel.awk: New file.
39811         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39812         (check-textrel-CFLAGS): Variable removed.
39813         (all-built-dso): Use := to define.o
39814         ($(all-built-dso:=.dyn)): New static pattern rule.
39815         (generated): Add those targets.
39816         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39817         * config.make.in (READELF): New substituted variable.
39818         * elf/check-textrel.c: File removed.
39820 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39822         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39823         allow.
39824         * conform/data/ctype.h-data [C99-based standards] (isblank):
39825         Expect function.
39826         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39827         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39828         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39829         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39830         Specify type.  Require positive value.
39831         (EILSEQ): Likewise.
39832         (ERANGE): Likewise.
39833         [ISO || POSIX] (EILSEQ): Do not expect.
39834         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39835         Specify type.  Require positive value.
39836         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39837         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39838         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39839         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39840         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39841         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39842         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39843         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39844         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39845         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39846         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39847         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39848         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39849         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39850         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39851         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39852         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39853         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39854         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39855         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39856         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39857         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39858         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39859         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39860         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39861         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39862         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39863         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39864         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39865         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39866         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39867         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39868         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39869         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39870         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39871         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39872         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39873         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39874         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39875         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39876         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39877         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39878         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39879         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39880         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39881         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39882         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39883         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39884         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39885         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39886         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39887         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39888         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39889         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39890         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39891         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39892         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39893         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39894         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39895         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39896         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39897         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39898         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39899         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39900         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39901         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39902         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39903         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39904         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39905         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39906         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39907         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39908         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39909         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39910         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39911         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39912         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39913         Require >= 2.
39914         (FLT_ROUNDS): Expect as macro, not constant.
39915         (FLT_MANT_DIG): Use macro-int-constant.
39916         (DBL_MANT_DIG): Likewise.
39917         (LDBL_MANT_DIG): Likewise.
39918         (FLT_DIG): Likewise.
39919         (DBL_DIG): Likewise.
39920         (LDBL_DIG): Likewise.
39921         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39922         (DBL_MIN_EXP): Likewise.
39923         (LDBL_MIN_EXP): Likewise.
39924         (FLT_MAX_EXP): Use macro-int-constant.
39925         (DBL_MAX_EXP): Likewise.
39926         (LDBL_MAX_EXP): Likewise.
39927         (FLT_MAX_10_EXP): Likewise.
39928         (DBL_MAX_10_EXP): Likewise.
39929         (LDBL_MAX_10_EXP): Likewise.
39930         (FLT_MAX): Use macro-constant.
39931         (DBL_MAX): Likewise.
39932         (LDBL_MAX): Likewise.
39933         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39934         (DBL_EPSILON): Likewise.
39935         (LDBL_EPSILON): Likewise.
39936         (FLT_MIN): Likewise.
39937         (DBL_MIN): Likewise.
39938         (LDBL_MIN): Likewise.
39939         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39940         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39941         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39942         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39943         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39944         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39945         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39946         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39947         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39948         [ISO11] (FLT_TRUE_MIN): Likewise.
39949         [ISO11] (LDBL_TRUE_MIN): Likewise.
39950         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39951         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39952         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39953         (SCHAR_MAX): Likewise.
39954         (UCHAR_MAX): Likewise.
39955         (CHAR_MIN): Likewise.
39956         (CHAR_MAX): Likewise.
39957         (MB_LEN_MAX): Use macro-int-constant.
39958         (SHRT_MIN): Use macro-int-constant.  Specify type.
39959         (SHRT_MAX): Likewise.
39960         (USHRT_MAX): Likewise.
39961         (INT_MAX): Likewise.
39962         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39963         bound negative.
39964         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39965         bound with "U".
39966         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39967         bound with "L".
39968         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39969         bound negative.  Suffix upper bound with "L".
39970         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39971         bound with "UL".
39972         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39973         Specify type.
39974         [C99-based standards] (LLONG_MAX): Likewise.
39975         [C99-based standards] (ULLONG_MAX): Likewise.
39976         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39977         == 0.
39978         [ISO11] (max_align_t): Require type.
39979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39981         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39982         from $CFLAGS, without defining away __attribute__ calls.
39983         (checknamespace): Use $CFLAGS_namespace.
39985         * conform/conformtest.pl (@keywords): Only include C99 keywords
39986         for standards based on C99 or C11.
39988         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39989         Disable tests.
39990         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39991         UNIX98]: Likewise.
39993         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39994         usability of symbols in #if.
39996         * conform/conformtest.pl: If macro or constant types start
39997         "promoted:", expect the symbol to be of the following type
39998         promoted by the integer promotions.
40000         * conform/conformtest.pl: Parse all "constant" and "macro" lines
40001         in one place.  Also handle "macro-constant".
40003         * conform/conformtest.pl: Only accept expected macro values with
40004         "==".  Parse all "macro" lines in one place.
40005         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40007         * conform/conformtest.pl: Handle braced types on "constant" lines
40008         instead of handling "typed-constant".
40009         * conform/data/signal.h-data: Use "constant" instead of
40010         "typed-constant".
40012         * conform/conformtest.pl: Handle "optional-" at start of lines in
40013         one place rather than duplicating several cases.  Handle each
40014         format of "macro" line with initial "optional-".
40016         * conform/conformtest.pl: Only accept expected constant or
40017         optional-constant values with "==".  Parse all "constant" lines in
40018         one place.  Parse all "optional-constant" lines in one place.
40019         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40020         * conform/data/fmtmsg.h-data: Likewise.
40021         * conform/data/netinet/in.h-data: Likewise.
40022         * conform/data/tar.h-data: Likewise.
40023         * conform/data/limits.h-data: Use "==" form on "constant" and
40024         "optional-constant" lines.
40026         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40027         Use -std=c99 for XOPEN2K.
40028         (@knownproblems): Remove.
40029         (newtoken): Don't check %isknown.
40031         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40032         Do not expect macro.
40033         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40034         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40035         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40036         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40037         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40038         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40039         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40040         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40041         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40042         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40043         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40044         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40045         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40046         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40047         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40048         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40049         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40050         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40051         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40052         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40053         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40054         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40055         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40056         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40057         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40058         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40059         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40060         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40061         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40062         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40063         [XPG3] (acosh): Likewise.
40064         [XPG3] (asinh): Likewise.
40065         [XPG3] (atanh): Likewise.
40066         [XPG3] (cbrt): Likewise.
40067         [XPG3] (expm1): Likewise.
40068         [XPG3] (ilogb): Likewise.
40069         [XPG3] (log1p): Likewise.
40070         [XPG3] (logb): Likewise.
40071         [XPG3] (nextafter): Likewise.
40072         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40073         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40074         [XPG3] (remainder): Likewise.
40075         [XPG3] (rint): Likewise.
40076         [XPG3 || XPG4 || UNIX98] (round): Likewise.
40077         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40078         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40079         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40080         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40081         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40082         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40083         [UNIX98 || XOPEN2K] (scalb): Expect.
40084         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40085         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40086         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40087         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40088         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40089         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40090         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40091         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40092         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40093         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40094         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40095         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40096         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40097         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40098         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40099         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40100         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40101         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40102         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40103         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40104         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40105         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40106         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40107         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40108         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40109         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40110         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40111         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40112         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40113         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40114         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40115         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40116         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40117         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40118         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40119         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40120         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40121         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40122         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40123         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40124         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40125         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40126         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40127         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40128         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40129         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40130         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40131         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40132         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40133         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40134         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40135         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40136         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40137         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40138         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40139         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40140         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40141         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40142         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40143         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40144         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40145         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40146         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40147         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40148         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40149         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40150         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40151         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40152         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40153         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40154         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40155         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40156         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40157         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40158         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40159         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40160         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40161         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40162         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40163         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40164         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40165         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40166         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40167         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40168         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40169         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40170         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40171         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40172         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40173         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40174         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40175         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40176         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40177         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40178         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40179         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40180         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40181         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40182         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40183         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40184         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40185         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40186         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40187         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40188         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40189         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40190         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40191         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40192         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40193         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40194         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40195         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40196         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40197         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40198         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40199         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40200         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40201         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40202         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40203         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40204         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40205         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40206         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40207         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40208         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40209         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40210         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40211         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40212         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40213         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40214         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40215         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40216         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40217         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40218         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40219         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40220         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40222         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40223         _XOPEN_SOURCE_EXTENDED for XPG4.
40225         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40227         * Makeconfig (localtime): Remove variable.
40228         (inst_localtime-file): Likewise.
40230 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40233         Update.
40234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40235         Update.
40236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40237         Update.
40238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40239         Update.
40240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40241         Update.
40242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40243         Update.
40244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40245         Update.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40247         Update.
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40249         Update.
40251 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40253         [BZ #2550]
40254         [BZ #2570]
40255         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40256         comparisons to determine direction to adjust input.
40257         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40258         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40259         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40260         Likewise.
40261         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40262         Likewise.
40263         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40264         Likewise.
40265         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40266         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40267         Likewise.
40268         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40269         Likewise.
40270         * math/libm-test.inc (nexttoward_test): Add more tests.
40272 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40274         [BZ #14040]
40275         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40276         in version GLIBC_2.1, not GLIBC_2.0.
40277         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40278         Likewise.
40280 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40282         [BZ #13942]
40283         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40284         (1 - x) * (1 + x).
40285         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40286         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40287         * math/libm-test.inc (acos_test): Add more tests.
40288         (asin_test): Likewise.
40289         * sysdeps/i386/fpu/libm-test-ulps: Update.
40290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40292         [BZ #14034]
40293         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40294         of square root.
40295         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40296         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40297         * math/libm-test.inc (acos_test_tonearest): New function.
40298         (acos_test_towardzero): Likewise.
40299         (acos_test_downward): Likewise.
40300         (acos_test_upward): Likewise.
40301         (asin_test_tonearest): Likewise.
40302         (asin_test_towardzero): Likewise.
40303         (asin_test_downward): Likewise.
40304         (asin_test_upward): Likewise.
40305         (main): Call the new functions.
40306         * sysdeps/i386/fpu/libm-test-ulps: Update.
40307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40309         [BZ #13884]
40310         [BZ #13924]
40311         * math/e_exp10.c: Include <float.h>.
40312         (__ieee754_exp10): Handle underflow here rather than multiplying
40313         large negative argument by M_LN10.
40314         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40315         of __ieee754_expf.
40316         * math/e_exp10l.c: Include <float.h>.
40317         (__ieee754_exp10l): Handle underflow here rather than multiplying
40318         large negative argument by M_LN10l.
40319         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
40320         spurious overflow exception on underflow.
40322 2012-04-29  Marek Polacek  <polacek@redhat.com>
40324         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40325         (__fortify_function): New macro.
40326         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40327         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40328         __extern_always_inline.
40329         * libio/bits/stdio2.h: Likewise.
40330         * libio/bits/stdio.h: Likewise.
40331         * string/string.h: Likewise.
40332         * string/bits/string3.h: Likewise.
40333         * include/stdio.h: Likewise.
40334         * stdlib/bits/stdlib.h: Likewise.
40335         * stdlib/stdlib.h: Likewise.
40336         * rt/bits/mqueue2.h: Likewise.
40337         * rt/mqueue.h: Likewise.
40338         * posix/bits/unistd.h: Likewise.
40339         * posix/unistd.h: Likewise.
40340         * io/bits/poll2.h: Likewise.
40341         * io/bits/fcntl2.h: Likewise.
40342         * io/fcntl.h: Likewise.
40343         * io/sys/poll.h: Likewise.
40344         * misc/bits/syslog.h: Likewise.
40345         * misc/bits/syslog-ldbl.h: Likewise.
40346         * misc/sys/syslog.h: Likewise.
40347         * socket/bits/socket2.h: Likewise.
40348         * socket/sys/socket.h: Likewise.
40349         * debug/tst-chk1.c: Likewise.
40350         * wcsmbs/bits/wchar2.h: Likewise.
40351         * wcsmbs/bits/wchar-ldbl.h: Likewise.
40352         * wcsmbs/wchar.h: Likewise.
40354 2012-04-29  Andreas Jaeger  <aj@suse.de>
40356         * Makerules (tests): Remove enable-check-abi protection.
40357         (check-abi-warn): Remove.
40358         (check-abi-%): Remove check-abi-warn usage.
40360         * configure.in: Remove check-abi configure option.
40361         * configure: Regenerated.
40362         * config.make.in (enable-check-abi): Remove.
40364 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
40366         [BZ #14033]
40367         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40368         double functions to double *_finite functions.
40370         [BZ #13941]
40371         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40372         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40373         LDBL_MIN_EXP.
40374         * stdio-common/Makefile (tests): Add tst-sprintf3.
40375         * stdio-common/tst-sprintf3.c: New file.
40377         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40378         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40380 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40382         * conform/conformtest.pl: Remove duplicate typed-constant
40383         handling.
40385 2012-04-28  David S. Miller  <davem@davemloft.net>
40387         * Makerules (%.abilist): Add vpath on sysdep_dirs.
40388         (check-abi-%): Remove AWK script prerequisite and explicit
40389         abilist directory.
40390         (check-abi): Rewrite to just diff the symlist with the abilist.
40391         (config-tls, config-abi-config): Delete, no longer used.
40392         (update-abi-%): Remove AWK script and explicit abilist directory.
40393         (update-abi): Rewrite to simply compare and conditionally copy the
40394         symlist and the sysdep abilist file.  Remove update-abi-config
40395         checks.
40396         * abilist/ld.abilist: Remove.
40397         * abilist/libBrokenLocale.abilist: Remove.
40398         * abilist/libanl.abilist: Remove.
40399         * abilist/libcrypt.abilist: Remove.
40400         * abilist/libdl.abilist: Remove.
40401         * abilist/librt.abilist: Remove.
40402         * abilist/libthread_db.abilist: Remove.
40403         * abilist/libutil.abilist: Remove.
40404         * scripts/extract-abilist.awk: Remove.
40405         * scripts/merge-abilist.awk: Remove.
40406         * sysdeps/generic/libcidn.abilist: New file.
40407         * sysdeps/generic/libnss_compat.abilist: New file.
40408         * sysdeps/generic/libnss_db.abilist: New file.
40409         * sysdeps/generic/libnss_dns.abilist: New file.
40410         * sysdeps/generic/libnss_files.abilist: New file.
40411         * sysdeps/generic/libnss_hesiod.abilist: New file.
40412         * sysdeps/generic/libnss_nis.abilist: New file.
40413         * sysdeps/generic/libnss_nisplus.abilist: New file.
40414         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40415         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40416         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40417         file.
40418         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40419         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40420         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40421         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40422         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40423         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40424         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40425         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40426         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40427         file.
40428         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40429         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40430         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40431         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40432         file.
40433         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40434         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40435         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40436         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40437         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40438         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40439         file.
40440         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40441         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40442         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40443         file.
40444         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40445         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40446         New file.
40447         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40448         New file.
40449         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40450         New file.
40451         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40452         New file.
40453         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40454         New file.
40455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40456         New file.
40457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40458         New file.
40459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40460         New file.
40461         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40462         New file.
40463         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40464         New file.
40465         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40466         New file.
40467         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40468         New file.
40469         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40470         New file.
40471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40472         file.
40473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40474         New file.
40475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40476         New file.
40477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40478         file.
40479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40480         New file.
40481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40482         New file.
40483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40484         file.
40485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40486         New file.
40487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40488         New file.
40489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40490         New file.
40491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40492         New file.
40493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40494         New file.
40495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40496         New file.
40497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40499         file.
40500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40501         New file.
40502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40503         file.
40504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40505         file.
40506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40507         file.
40508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40509         file.
40510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40511         file.
40512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40513         New file.
40514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40515         file.
40516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40517         file.
40518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40519         New file.
40520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40521         file.
40522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40524         file.
40525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40526         New file.
40527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40528         file.
40529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40530         file.
40531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40532         file.
40533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40534         file.
40535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40536         file.
40537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40538         New file.
40539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40540         file.
40541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40542         file.
40543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40544         New file.
40545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40546         file.
40547         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40548         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40549         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40550         file.
40551         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40552         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40553         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40554         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40555         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40556         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40557         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40558         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40559         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40560         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40563         file.
40564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40565         New file.
40566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40567         file.
40568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40569         file.
40570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40571         file.
40572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40573         file.
40574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40575         file.
40576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40577         New file.
40578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40579         New file.
40580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40581         file.
40582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40583         New file.
40584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40585         file.
40586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40588         file.
40589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40590         New file.
40591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40592         file.
40593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40594         file.
40595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40596         file.
40597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40598         file.
40599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40600         file.
40601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40602         New file.
40603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40604         New file.
40605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40606         file.
40607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40608         New file.
40609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40610         file.
40612 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40614         * conform/conformtest.pl: Fix typo in handling typed-constant from
40615         allow-header.
40617 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40619         * README: Cut down references to pre-2.6 Linux kernels and
40620         Linuxthreads.  Update lists of configurations in libc and ports
40621         and sort alphabetically.  Say "or newer" with Linux kernel version
40622         requirements.
40624         * config.h.in [IS_IN_build]: Allow compiling without optimization.
40626 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40628         [BZ #887]
40629         * math/libm-test.inc (logb_test_downward): New test to expose
40630         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40631         rounding mode.
40633 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40635         [BZ #14027]
40636         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40637         to be done.
40638         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40639         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40641 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
40643         * sysdeps/unix/i386/brk.S: Remove file.
40644         * sysdeps/unix/i386/dl-brk.S: Likewise.
40645         * sysdeps/unix/i386/pipe.S: Likewise.
40646         * sysdeps/unix/i386/sigreturn.S: Likewise.
40647         * sysdeps/unix/i386/syscall.S: Likewise.
40648         * sysdeps/unix/i386/vfork.S: Likewise.
40649         * sysdeps/unix/i386/wait.S: Likewise.
40651         * sysdeps/unix/common/tcsendbrk.c: Move to ...
40652         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40654         * configure.in (arm*-none*): Do not allow without
40655         --enable-hacker-mode.
40656         (netbsd*): Remove case setting base_os.
40657         (386bsd*): Likewise.
40658         (freebsd*): Likewise.
40659         (bsdi*): Likewise.
40660         (osf*): Likewise.
40661         (sunos*): Likewise.
40662         (ultrix*): Likewise.
40663         (newsos*): Likewise.
40664         (dynix*): Likewise.
40665         (*bsd*): Likewise.
40666         (sysv*): Likewise.
40667         (isc*): Likewise.
40668         (esix*): Likewise.
40669         (sco*): Likewise.
40670         (minix*): Likewise.
40671         (irix4*): Likewise.
40672         (irix6*): Likewise.
40673         (solaris[2-9]*): Likewise.
40674         (none): Likewise.
40675         * configure: Regenerated.
40677 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40679         [BZ #11521]
40680         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40681         overflow or cancellation in calculating denominator.
40682         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40683         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40684         down expression to avoid unexpected rounding in newer GCCs.
40685         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40687 2012-04-26  David S. Miller  <davem@davemloft.net>
40689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40690         long-double compat symbols.
40691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40705 2012-04-25  David S. Miller  <davem@davemloft.net>
40707         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40708         HWCAP_* values only after the memory barriers have been defined.
40709         (atomic_full_barrier): Define.
40710         (atomic_read_barrier): Define.
40711         (atomic_write_barrier): Define.
40713 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40715         * shlib-versions: Add libgcc_s version information.
40716         * sysdeps/generic/libgcc_s.h: Remove.
40717         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40718         libgcc_s.h.
40719         * sysdeps/gnu/unwind-resume.c: Likewise.
40720         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40722 2012-04-25  David S. Miller  <davem@davemloft.net>
40724         * sysdeps/unix/sparc/brk.S: Delete.
40725         * sysdeps/unix/sparc/dl-brk.S: Delete.
40726         * sysdeps/unix/sparc/pipe.S: Delete.
40727         * sysdeps/unix/sparc/sysdep.S: Delete.
40728         * sysdeps/unix/sparc/sysdep.h: Delete.
40729         * sysdeps/unix/sparc/vfork.S: Delete.
40730         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40731         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40732         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40733         (ret_ERRVAL, r0, r1, MOVE): Define.
40734         (JUMPTARGET): Remove.
40735         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40736         sysdeps/unix/sparc/sysdep.h
40737         (ENTRY, END): Remove.
40738         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40740 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
40742         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40743         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40744         -DIS_IN_build.
40746         * timezone/README: Update upstream location and email address for
40747         tzcode and tzdata.
40748         * timezone/zdump.c: Update from tzcode 2012b.
40749         * timezone/zic.c: Likewise.
40751         * configure.in (libc_cv_as_needed): Remove test.
40752         * configure: Regenerated.
40753         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40754         conditional definition.
40755         [$(have-as-needed) != yes] (no-as-needed): Likewise.
40756         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40757         * config.make.in (have-as-needed): Remove variable.
40759 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40760             Paul Pluzhnikov  <ppluzhnikov@google.com>
40762         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40763         strings correctly.
40765 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
40767         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40768         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40769         * sysdeps/sh/strlen.S: Likewise.
40771 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40773         * sysdeps/unix/fork.S: Remove file.
40774         * sysdeps/unix/i386/fork.S: Likewise.
40775         * sysdeps/unix/sparc/fork.S: Likewise.
40777         * sysdeps/unix/system.c: Remove file.
40778         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40780         * sysdeps/unix/getegid.S: Remove file.
40781         * sysdeps/unix/geteuid.S: Likewise.
40783 2012-04-24  Roland McGrath  <roland@hack.frob.com>
40785         * scripts/check-localplt.awk: New file.
40786         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40787         of diff.
40788         * scripts/data/localplt-generic.data: Add a comment.
40790         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40791         NODE when __dir_mkfile failed.
40792         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40793         Reported by Ludovic Courtès <ludo@gnu.org>.
40795 2012-04-24  Andreas Jaeger  <aj@suse.de>
40797         * Makerules (common-clean): Also remove gen-as-const-headers
40798         files.
40800 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40802         * Makerules (native-compile): Do not change working directory for
40803         build.  Use $(OUTPUT_OPTION) in command.
40804         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40806 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40808         [BZ #13886]
40809         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40810         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40811         * math/libm-test.inc (floor_test): Add more tests.
40812         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40814 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40816         * sysdeps/unix/getdents.c: Remove file.
40817         * sysdeps/unix/sysv/getdents.c: Likewise.
40818         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40820         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40821         sysdeps/unix/mman/syscalls.list.
40822         (mmap): Likewise.
40823         (mprotect): Likewise.
40824         (msync): Likewise.
40825         (munmap): Likewise.
40826         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40827         * sysdeps/unix/mman/syscalls.list: Remove.
40828         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40830         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40831         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40832         * configure: Regenerated.
40833         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40834         $(libgcc_s_suffix).
40835         * config.make.in (libgcc_s_suffix): Remove variable.
40837 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40839         * sysdeps/unix/sysv/gethostname.c: Move to ...
40840         * sysdeps/posix/gethostname.c: ... here.
40842         * sysdeps/unix/execve.S: Remove file.
40844         * sysdeps/unix/_exit.S: Remove file.
40846 2012-04-23  Andreas Jaeger  <aj@suse.de>
40848         [BZ #13739]
40849         * manual/Makefile: Remove make dist support, there's no
40850         need for a stand-alone documentation tar ball.
40851         (TEXI2DVI): Define always, it's not in Makeconfig.
40852         (dist): Removed.
40853         (tar-it): Removed.
40854         (edition): Removed.
40855         (glibc-doc-$(edition).tar): Removed
40856         (%.Z): Removed.
40857         (%.gz): Removed.
40858         (%.uu): Removed.
40859         (ETAGS): Remove, it's in Makeconfig.
40860         (move-if-change): Remove, it's in Makeconfig.
40862 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40864         [BZ #13970]
40865         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40866         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40867         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40868         (strtod_l, strtof_l, strtold_l): Remove __wur.
40869         It is not necessarily an error to ignore strtol's return value.
40870         One can reliably look at the stored endptr to decide whether
40871         the number had valid syntax.
40873 2012-04-21  Andreas Jaeger  <aj@suse.de>
40875         [BZ #13739]
40876         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40878 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40880         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40881         * sysdeps/unix/sysv/Versions: Remove file.
40883 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40885         [BZ #13927]
40886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40888 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40890         [BZ #7064]
40891         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40892         version from __vm86.
40894 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40896         * sysdeps/unix/common/lxstat.c: Remove file.
40897         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40899         * sysdeps/unix/sysv/Makefile: Remove file.
40901         * sysdeps/unix/sysv/direct.h: Remove file.
40903         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40904         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40905         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40906         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40907         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40908         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40909         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40911         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40913         * sysdeps/unix/xmknod.c: Remove file.
40914         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40916         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40918         * sysdeps/unix/sysv/i386/time.S: Remove file.
40920         * sysdeps/unix/fxstat.c: Remove file.
40921         * sysdeps/unix/xstat.c: Likewise.
40922         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40924         * sysdeps/unix/sysv/sigaction.c: Remove file.
40926         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40927         (sysdep_headers): Remove variable.
40928         [termio.h not in sysdep_headers] (generated): Likewise.
40929         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40930         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40931         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40932         * sysdeps/unix/sysv/tcflow.c: Likewise.
40933         * sysdeps/unix/sysv/tcflush.c: Likewise.
40934         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40935         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40936         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40937         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40938         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40940         * sysdeps/unix/siglist.c: Remove file.
40942         * sysdeps/unix/getppid.S: Remove file.
40944         * sysdeps/unix/mkdir.c: Remove file.
40945         * sysdeps/unix/rmdir.c: Likewise.
40947 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40949         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40950         ERR_MAX value.
40951         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40952         errlist-compat value.
40954 2012-04-18  David S. Miller  <davem@davemloft.net>
40956         * sysdeps/generic/memcopy.h (reg_char): Delete.
40957         * debug/strcat_chk.c: Use char, not reg_char.
40958         * debug/strcpy_chk.c: Likewise.
40959         * debug/strncat_chk.c: Likewise.
40960         * debug/strncpy_chk.c: Likewise.
40961         * string/memchr.c: Likewise.
40962         * string/memrchr.c: Likewise.
40963         * string/rawmemchr.c: Likewise.
40964         * string/strcat.c: Likewise.
40965         * string/strchr.c: Likewise.
40966         * string/strchrnul.c: Likewise.
40967         * string/strcmp.c: Likewise.
40968         * string/strcpy.c: Likewise.
40969         * string/strncat.c: Likewise.
40970         * string/strncmp.c: Likewise.
40971         * string/strncpy.c: Likewise.
40973 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40975         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40976         __builtin_memcopy is called when src and dest ranges are known to not
40977         overlap.
40979 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40981         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40982         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40983         fwd_align_merge macro call.
40984         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40985         bwd_align_merge macro call.
40986         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40988 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40990         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40991         bwd_align_merge macros.
40992         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40993         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40994         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40996 2012-04-18  David S. Miller  <davem@davemloft.net>
40998         * sysdeps/sparc/sparc64/memcopy.h: Delete.
41000 2012-04-18  Andreas Jaeger  <aj@suse.de>
41002         [BZ# 6794]
41003         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41004         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41005         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41007         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41008         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41009         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41011         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41012         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41013         Adjust for changed ldbl-128 files.
41015         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41016         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41017         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41019 2012-04-17  David S. Miller  <davem@davemloft.net>
41021         * sysdeps/sparc/sparc32/memcopy.h: Delete.
41023 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
41025         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41026         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41027         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41028         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41029         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41030         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41032 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41034         [BZ #6794]
41035         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41036         * math/libm-test.inc: Add ilogb errno and exception tests.
41037         * math/w_ilogb.c: New file: ilogb wrapper.
41038         * math/w_ilogbf.c: New file: ilogbf wrapper.
41039         * math/w_ilogbl.c: New file: ilogbl wrapper.
41040         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41041         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41042         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41043         exception being thrown with 0.0 as argument.
41044         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41045         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41046         exception being thrown with 0.0 as argument.
41047         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41048         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41049         exception being thrown with 0.0 as argument.
41050         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41051         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41052         exception being thrown with 0.0 as argument.
41053         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41054         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41055         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41056         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41057         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41058         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41059         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41060         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41061         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41063 2012-04-17  Petr Baudis  <pasky@ucw.cz>
41065         * include/sys/uio.h: Change __vector to __iovec to avoid clash
41066         with altivec.
41068 2012-04-16  Marek Polacek  <polacek@redhat.com>
41070         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41072 2012-04-16  Marek Polacek  <polacek@redhat.com>
41074         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41075         operands of fdivp instruction.
41077 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41079         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41080         * elf/tst-auditmod3b.c: Likewise.
41081         * elf/tst-auditmod4b.c: Likewise.
41082         * elf/tst-auditmod5b.c: Likewise.
41083         * elf/tst-auditmod6b.c: Likewise.
41084         * elf/tst-auditmod6c.c: Likewise.
41085         * elf/tst-auditmod7b.c: Likewise.
41086         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41087         * sysdeps/x86_64/preconfigure.in: Likewise.
41088         * sysdeps/x86_64/preconfigure: Regenerated.
41090 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41092         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41093         __ILP32__.
41095 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
41097         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41098         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41100 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
41102         [BZ #13973]
41103         * locale/iso-639.def: Fix gl language name. Spotted by
41104         Yaron Shahrabani.
41106 2012-04-12  Roland McGrath  <roland@hack.frob.com>
41108         [BZ #2074]
41109         * libio/libio.h (__io_write_fn): Update comment.
41111 2012-04-12  Petr Baudis  <pasky@ucw.cz>
41113         [BZ #2074]
41114         * stdio.texi (Hook Functions): The user provided writer function
41115         is not allowed to return -1.
41117 2012-04-11  David S. Miller  <davem@davemloft.net>
41119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41121 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
41123         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41124         Add a leading slash to rtkaio.
41126 2012-04-11  Jim Meyering  <meyering@redhat.com>
41128         [BZ #11959]
41129         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41130         It is not necessarily an error to ignore fwrite's return
41131         value.  One can reliably use ferror to test for errors after
41132         the fact.
41134 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41136         * bits/types.h (__snseconds_t): New type.
41137         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41139         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41140         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41141         (__SNSECONDS_T_TYPE): Likewise.
41142         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41143         (__SNSECONDS_T_TYPE): Likewise.
41144         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41145         (__SNSECONDS_T_TYPE): Likewise.
41147 2012-04-10  Andreas Jaeger  <aj@suse.de>
41149         [BZ #2636]
41150         * manual/time.texi (Processor Time): Return type of times is
41151         elapsed real time since an arbitrary point in the past.
41152         (CPU Time): Move CLK_TCK from here...
41153         (Processor Time): ...to here.  Correct description.
41154         * manual/conf.texi (Constants for Sysconf): Correct description of
41155         _SC_CLK_TCK.
41157 2012-04-10  David S. Miller  <davem@davemloft.net>
41159         [BZ #13967]
41160         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41161         where the is a gap between DT_REL(A) and DT_JMPREL.
41163 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41165         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41166         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41167         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41169 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41171         * elf/dl-support.c (_dl_inhibit_cache): New variable.
41172         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41173         (dl_main): Handle --inhibit-cache.
41174         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41175         _dl_inhibit_cache.
41176         * elf/dl-load.c (_dl_map_object): Use it.
41177         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41179 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41181         [BZ #13872]
41182         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41183         (__ieee754_powl): Saturate large exponents rather than testing for
41184         overflow of y*log2(x).
41185         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41186         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41187         exceptions.
41189         [BZ #11521]
41190         * math/s_ctan.c: Include <float.h>.
41191         (__ctan): Avoid internal overflow or cancellation in calculating
41192         denominator.
41193         * math/s_ctanf.c: Likewise.
41194         * math/s_ctanl.c: Likewise.
41195         * math/s_ctanh.c: Likewise.
41196         * math/s_ctanhf.c: Likewise.
41197         * math/s_ctanhl.c: Likewise.
41198         * math/libm-test.inc (ctan_test): Add more tests.
41199         (ctanh_test): Likewise.
41200         * sysdeps/i386/fpu/libm-test-ulps: Update.
41201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41203 2012-04-09  Andreas Jaeger  <aj@suse.de>
41205         [BZ #6894]
41206         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41207         is an optional BSD extension.
41209         [BZ #10254]
41210         * manual/stdio.texi (Opening Streams): Document additional fopen
41211         parameters.
41213 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41215         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41216         %eax without telling the compiler.
41218 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41220         [BZ # 13963]
41221         * manual/install.texi: Use sourceware.org.
41223 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41225         [BZ #13873]
41226         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41227         (__ieee754_pow): Generate overflow and underflow using huge*huge
41228         and tiny*tiny rather than just returning constant infinity or zero
41229         for large exponents.
41230         * math/libm-test.inc (pow_test): Require overflow exceptions for
41231         applicable cases of large exponents.
41233         [BZ #706]
41234         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41235         (__ieee754_pow): Use iterative multiplication algorithm only for
41236         integer exponents with absolute value below 1024.  Check for odd
41237         integer exponents when using algorithm for real exponents.
41238         * math/libm-test.inc (pow_test): Add more tests.
41239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41241 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41243         [BZ #13705]
41244         * math/libm-test.inc (exp_test): Do not allow overflow exception
41245         on underflow test.
41247 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41249         [BZ #13705]
41250         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41251         instead of __kernel_standard_f.
41253 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41255         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41256         * sysdeps/x86_64/memset_chk.S: Likewise.
41258 2012-04-08  Andreas Jaeger  <aj@suse.de>
41260         [BZ #10153]
41261         * manual/startup.texi (Environment Access): Describe return value
41262         for putenv and setenv.
41264         [BZ #6895]
41265         * manual/filesys.texi (Directory Entries): Add description for
41266         DT_LNK.
41268         [BZ #6890]
41269         * manual/filesys.texi (Directory Entries): Clarify that it's file
41270         system not operating system in the description of DT_UNKNOWN.
41272         [BZ #6578]
41273         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41275 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41277         [BZ #6649]
41278         * manual/llio.texi (Opening and Closing Files): Add cross
41279         reference to explain mode argument.
41281 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41283         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41284         * sysdeps/x86_64/memset_chk.S: Likewise.
41286 2012-04-07  David S. Miller  <davem@davemloft.net>
41288         * elf/elf.h (R_SPARC_WDISP10): Define.
41289         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41290         R_SPARC_SIZE32.
41291         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41292         R_SPARC_SIZE64 and R_SPARC_H34.
41294 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
41296         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41297         conditions and remove no longer applicable assertion.
41299 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41301         * bits/byteswap.h: Include <features.h>.
41302         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41303         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41305 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41307         * bits/byteswap.h (__bswap_16): Removed.
41308         Include <bits/byteswap-16.h> to get __bswap_16.
41309         * sysdeps/i386/bits/byteswap.h: Likewise.
41310         * sysdeps/s390/bits/byteswap.h: Likewise.
41311         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41312         * bits/byteswap-16.h: New file.
41313         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41314         * sysdeps/s390/bits/byteswap-16.h: Likewise.
41315         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41316         * string/Makefile (headers): Add bits/byteswap-16.h.
41318 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41320         [BZ #13895]
41321         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41322         extra indirection.
41323         * nss/Makefile (tests-static, tests): Add tst-nss-static.
41324         * nss/tst-nss-static.c: New.
41326 2012-04-06  Robert Millan  <rmh@gnu.org>
41328         [BZ #6486]
41329         * manual/llio.texi (File Position Primitive): lseek
41330         refers to WHENCE when it really means OFFSET.
41332 2012-04-06  Andreas Jaeger  <aj@suse.de>
41334         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41335         strncmp declarations.
41337         * abilist/libc.abilist: Add __poll and __ppoll.
41339 2012-04-05  David S. Miller  <davem@davemloft.net>
41341         * scripts/check-local-headers.sh: Accept a host triplet in the
41342         path matched by the exclude regexp.
41344         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41345         definition.
41346         * sysdeps/powerpc/powerpc32/dl-machine.h
41347         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41348         * sysdeps/s390/s390-32/dl-machine.h
41349         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41350         * sysdeps/sparc/sparc32/dl-machine.h
41351         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41352         * sysdeps/sparc/sparc64/dl-machine.h
41353         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41355         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41356         lazy binding.
41357         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41358         undefined symbol errors.
41360         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41361         DT_NEEDED entries.
41363 2012-04-05  Michael Matz  <matz@suse.de>
41365         [BZ #13592]
41366         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41368 2012-04-05  Andreas Jaeger  <aj@suse.de>
41370         [BZ #13908]
41371         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41372         comment.
41374 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41376         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41377         which ROUND is no valid rounding mode.
41379 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41381         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41382         read again.
41383         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41385 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41387         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41388         an exception using FPU order intentionally.
41390 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41392         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41393         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41394         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41395         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41397 2012-04-05  Simon Josefsson  <simon@josefsson.org>
41399         [BZ #12340]
41400         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41401         EINVAL when BUFLEN is too smal.
41403 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41405         [BZ #13553]
41406         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41407         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41409 2012-04-03  Andreas Jaeger  <aj@suse.de>
41411         [BZ #13938]
41412         * manual/setjmp.texi (System V contexts): Fix sentence.
41414         [BZ #13926]
41415         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41416         New macro for this case.
41417         [!__GNUC__] (__bswap_64): New inline function for this case.
41418         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41419         * bits/byteswap.h: Likewise.
41420         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41421         ull, guard with __GLIBC_HAVE_LONG_LONG.
41423         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41424         __GLIBC_HAVE_LONG_LONG.
41426         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41427         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41429 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41431         [BZ #13691]
41432         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41433         inptr and inend, rather than using last_ch.
41435 2012-04-02  David S. Miller  <davem@davemloft.net>
41437         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41438         * stdio-common/printf-parse.h (read_int): Change return type to
41439         'int', return -1 on INT_MAX overflow.
41440         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41441         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
41442         overflows INT_MAX.  Check for overflow of in-format-string precision
41443         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
41444         SIZE_MAX not INT_MAX for integer overflow test.
41445         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41446         skip the construct in the format string but do not record anything.
41447         * stdio-common/bug22.c: Adjust to test both width/prevision
41448         INT_MAX overflow as well as total length INT_MAX overflow.  Check
41449         explicitly for proper errno values.
41451 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41453         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41454         CHAR_MAX.
41455         * string/test-strcmp.c [! WIDE]: Likewise.
41456         * time/tst-mktime2.c: Likewise for INT_MAX.
41457         * string/test-string.h: #include <sys/param.h> for MIN.
41459         * csu/init-first.c (__libc_init_first): Call __ctype_init.
41460         * sysdeps/i386/init-first.c (init): Likewise.
41461         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41462         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41463         * sysdeps/sh/init-first.c (init): Likewise.
41465 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
41467         * po/ru.po: Update from translation team.
41468         * po/vi.po: Likewise.
41470 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41472         * resolv/nss_dns/dns-host.c: Merge copyright years.
41474 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41476         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41477         Optimize memcpy with prefetch if
41478         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
41479         src, dst pointers have unequal 16 byte alignments.
41481 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41483         [BZ #13928]
41484         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41485         from a CNAME entry and return the minimum ttl for the query.
41486         (gaih_getanswer_slice): Likewise.
41488 2012-03-30  Jeff Law  <law@redhat.com>
41490         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41491         due to long keys.
41492         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41493         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41495         * resolv/nss_dns/dns-host.c: Update copyright year.
41497 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
41499         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41500         requests to save a system call.  Fix check that all bytes are sent.
41502         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41503         comments for sendmmsg.
41505 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41507         [BZ #13691]
41508         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41509         with only 1 character between 0x0041 and 0x01b0.
41510         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41511         * wcsmbs/tst-mbsnrtowcs.c: New file.
41513 2012-03-29  David S. Miller  <davem@davemloft.net>
41515         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41516         small copies by hand.
41518 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41520         [BZ #13761]
41521         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41522         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41523         group memberships.
41525 2012-03-28  David S. Miller  <davem@davemloft.net>
41527         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41528         that branches into memcpy.
41529         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41530         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41531         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41532         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41533         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41534         bits.
41535         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41536         implementation too.
41537         * sysdeps/sparc/mempcpy.S: New file.
41539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41540         the IFUNC routine in the libc case.
41541         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41543         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41544         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41545         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41546         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41547         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41548         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41549         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41550         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41552         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41553         loop to 256 bytes instead of 64 bytes and fix test signedness.
41555         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41556         * sysdeps/sparc/sparc32/Makefile: rather than here...
41557         * sysdeps/sparc/sparc64/Makefile: and here.
41559 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
41561         * malloc/mallocbug.c: Avoid warnings about unused variables.
41563 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41565         [BZ #13760]
41566         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41567         in the right place. Discard and retry query if response is
41568         larger than input buffer size.
41570 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
41572         [BZ #369]
41573         [BZ #2678]
41574         [BZ #3866]
41575         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41576         x for large integer exponent.
41577         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41578         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
41579         sign of result as needed afterwards.
41580         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41581         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41582         result for underflowing pow the same as for overflow.
41583         (__kernel_standard_l): Handle powl overflow and underflow here
41584         rather than calling __kernel_standard.
41585         * math/libm-test.inc (pow_test): Add more tests.
41587         [BZ #3868]
41588         [BZ #13879]
41589         [BZ #13910]
41590         [BZ #13911]
41591         [BZ #13912]
41592         [BZ #13913]
41593         [BZ #13915]
41594         [BZ #13916]
41595         [BZ #13917]
41596         [BZ #13918]
41597         [BZ #13919]
41598         [BZ #13920]
41599         [BZ #13921]
41600         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41601         * sysdeps/ieee754/k_standard.c: Include <float.h>.
41602         (__kernel_standard_l): New function.
41603         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41604         __kernel_standard.
41605         * math/w_acosl.c (__acosl): Likewise.
41606         * math/w_asinl.c (__asinl): Likewise.
41607         * math/w_atan2l.c (__atan2l): Likewise.
41608         * math/w_atanhl.c (__atanhl): Likewise.
41609         * math/w_coshl.c (__coshl): Likewise.
41610         * math/w_exp10l.c (__exp10l): Likewise.
41611         * math/w_exp2l.c (__exp2l): Likewise.
41612         * math/w_fmodl.c (__fmodl): Likewise.
41613         * math/w_hypotl.c (__hypotl): Likewise.
41614         * math/w_j0l.c (__j0l, __y0l): Likewise.
41615         * math/w_j1l.c (__j1l, __y1l): Likewise.
41616         * math/w_jnl.c (__jnl, __ynl): Likewise.
41617         * math/w_lgammal.c (__lgammal): Likewise.
41618         * math/w_log10l.c (__log10l): Likewise.
41619         * math/w_log2l.c (__log2l): Likewise.
41620         * math/w_logl.c (__logl): Likewise.
41621         * math/w_powl.c (__powl): Likewise.
41622         * math/w_remainderl.c (__remainderl): Likewise.
41623         * math/w_scalbl.c (sysv_scalbl): Likewise.
41624         * math/w_sinhl.c (__sinhl): Likewise.
41625         * math/w_sqrtl.c (__sqrtl): Likewise.
41626         * math/w_tgammal.c (__tgammal): Likewise.
41627         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41628         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41629         * math/libm-test.inc (acos_test): Add more tests.
41630         (acosh_test): Likewise.
41631         (asin_test): Likewise.
41632         (atanh_test): Likewise.
41633         (exp_test): Likewise.
41634         (exp10_test): Likewise.
41635         (exp2_test): Likewise.
41636         (expm1_test): Likewise.
41637         (lgamma_test): Likewise.
41638         (log_test): Likewise.
41639         (log10_test): Likewise.
41640         (log1p_test): Likewise.
41641         (log2_test): Likewise.
41642         (pow_test): Do not allow some spurious overflow exceptions.
41643         (sqrt_test): Add more tests.
41644         (tgamma_test): Likewise.
41645         (y0_test): Likewise.
41646         (y1_test): Likewise.
41647         (yn_test): Likewise.
41649 2012-03-27  Anton Blanchard  <anton@samba.org>
41651         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41652         MAP_HUGETLB.
41653         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41654         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41655         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41657 2012-03-27  David S. Miller  <davem@davemloft.net>
41659         * conform/Makefile: Run run-conformtest.sh using $(BASH).
41661         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41662         have-as-vis3 check.
41664 2012-03-27  Andreas Jaeger  <aj@suse.de>
41666         * sysdeps/x86_64/elf/configure.in: Moved to ...
41667         * sysdeps/x86_64/configure.in: ... here.
41668         * sysdeps/x86_64/elf/start.S: Moved to ...
41669         * sysdeps/x86_64/start.S: ... here.
41670         * sysdeps/x86_64/elf/configure: Delete.
41672         * sysdeps/x86_64/configure.in: Merge contents from
41673         sysdeps/i386/configure.in (without i686 check).
41675         * sysdeps/i386/elf/Versions: Merge into ...
41676         * sysdeps/i386/Versions: ... this.
41677         * sysdeps/i386/elf/Versions: Delete file.
41678         * sysdeps/i386/elf/start.S: Moved to ...
41679         * sysdeps/i386/start.S: ...here.
41680         * sysdeps/i386/elf/configure.in: Merge into...
41681         * sysdeps/i386/configure.in: ...here.
41682         * sysdeps/i386/elf/configure.in: Delete file.
41683         * sysdeps/i386/elf/configure: Delete file.
41685         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41686         * debug/backtracesyms.c: ... here.
41687         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41688         * debug/backtracesymsfd.c: ... here.
41689         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41690         * sysdeps/generic/ifunc-sel.h: ... here.
41692         * sysdeps/unix/i386/start.c: Delete file.
41693         * sysdeps/unix/sparc/start.c: Delete file.
41694         * sysdeps/unix/start.c: Delete file.
41696         * sysdeps/sh/elf/configure.in: Moved to ...
41697         * sysdeps/sh/configure.in: ... here.
41698         * sysdeps/sh/elf/start.S: Moved to ...
41699         * sysdeps/sh/start.S: ... here.
41700         * sysdeps/sh/elf/configure: Delete file.
41702         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41703         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41704         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41705         * sysdeps/powerpc/powerpc64/entry.h: ... here.
41706         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41707         * sysdeps/powerpc/powerpc64/start.S: here.
41708         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41709         * sysdeps/powerpc/powerpc64/Makefile: ... this.
41710         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41711         * sysdeps/powerpc/powerpc64/configure.in: ... this.
41712         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41714         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41715         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41716         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41717         * sysdeps/powerpc/powerpc32/start.S: ... here.
41718         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41719         * sysdeps/powerpc/powerpc32/configure.in: ... this.
41720         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41722         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41723         * sysdeps/powerpc/ifunc-sel.h: ... here.
41724         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41725         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41727         * sysdeps/sparc/elf/configure.in: Moved to ...
41728         * sysdeps/sparc/configure.in: ... here.
41729         * sysdeps/sparc/elf/configure: Delete file.
41730         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41731         * sysdeps/sparc/sparc32/start.S: ... here.
41732         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41733         * sysdeps/sparc/sparc64/start.S: ... here.
41734         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41735         * sysdeps/sparc/sparc32/Makefile: ... this.
41736         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41737         * sysdeps/sparc/sparc64/Makefile: ... this.
41739         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41740         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41741         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41742         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41743         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41744         * sysdeps/s390/s390-32/setjmp.S: ... here.
41745         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41746         * sysdeps/s390/s390-32/configure.in: ... here.
41747         * sysdeps/s390/s390-32/elf/configure: Delete file.
41748         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41749         * sysdeps/s390/s390-32/start.S: ... here.
41751         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41752         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41753         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41754         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41755         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41756         * sysdeps/s390/s390-64/setjmp.S: ... here.
41757         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41758         * sysdeps/s390/s390-64/configure.in: ... here
41759         * sysdeps/s390/s390-64/elf/configure: Delete file.
41760         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41761         * sysdeps/s390/s390-64/start.S: ... here.
41762         * sysdeps/s390/s390-64/elf/configure: Delete.
41764         * configure.in: Remove support for elf directories in sysdeps.
41766         * configure: Regenerated.
41767         * sysdeps/i386/configure: Regenerated.
41768         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41769         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41770         * sysdeps/s390/s390-32/configure: Regenerated.
41771         * sysdeps/s390/s390-64/configure: Regenerated.
41772         * sysdeps/sh/configure: Regenerated.
41773         * sysdeps/sparc/configure: Regenerated.
41774         * sysdeps/x86_64/configure: Regenerated.
41776 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
41778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41780         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41781         denormal result into account.
41783 2012-03-25  Roland McGrath  <roland@hack.frob.com>
41785         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41786         Reported by Allan McRae <allan@archlinux.org>.
41788 2012-03-23  Jeff Law  <law@redhat.com>
41790         * nss/getnssent.c (__nss_getent): Fix typo.
41792 2012-03-23  David S. Miller  <davem@davemloft.net>
41794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41796 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41798         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41799         to pad to uint64_t for each field.
41800         (dl_tls_index): Replace unsigned long with uint64_t.
41802 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41803         Paul Pluzhnikov  <ppluzhnikov@google.com>
41805         [BZ #6528]
41806         * grp/Makefile (otherlibs): Don't set it.
41807         * inet/Makefile (otherlibs): Likewise.
41808         * login/Makefile (otherlibs): Likewise.
41809         * nscd/Makefile (otherlibs): Likewise.
41810         * posix/Makefile (otherlibs): Likewise.
41811         * pwd/Makefile (otherlibs): Likewise.
41812         * rt/Makefile (otherlibs): Likewise.
41813         * sunrpc/Makefile (otherlibs): Likewise.
41814         * nss/Makefile (otherlibs): Likewise.
41815         Add libnss_files to routines and static-only-routines.
41816         ($(objpfx)getent): Remove rule.
41817         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41818         static-only-routines.
41820 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41822         [BZ #13892]
41823         * math/s_cexp.c: Include <float.h>.
41824         (__cexp): Handle exp result overflowing not necessarily
41825         overflowing both real and imaginary parts of result.
41826         * math/s_cexpf.c: Likewise.
41827         * math/s_cexpl.c: Likewise.
41828         * math/libm-test.inc (cexp_test): Add more tests.
41829         * sysdeps/i386/fpu/libm-test-ulps: Update.
41830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41832 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41834         * include/link.h (ELFW): New macro.
41835         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41836         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41838 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41840         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41841         with uint64_t.
41843 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41845         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41846         declaration.
41847         (struct La_x32_retval): Likewise.
41849 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41851         * sysdeps/x86_64/preconfigure.in: New file.
41852         * sysdeps/x86_64/preconfigure: New generated file.
41854 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41856         [BZ #13824]
41857         * math/e_exp2l.c: Include <float.h>.
41858         (__ieee754_exp2l): Handle overflow and underflow cases
41859         separately.  Only pass fractional part of argument to
41860         __ieee754_expl.
41861         * math/libm-test.inc (exp2_test): Add more tests.
41863         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41864         negating x to take absolute value.
41865         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41866         Likewise.
41867         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41868         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41869         Likewise.
41870         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41871         computing low part if x was negated.
41872         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41874 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41876         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41877         la_x32_gnu_pltexit.
41878         (pltexit): Cast int_retval to ptrdiff_t.
41879         * elf/tst-auditmod3b.c: Likewise.
41880         * elf/tst-auditmod4b.c: Likewise.
41881         * elf/tst-auditmod5b.c: Likewise.
41882         * elf/tst-auditmod6b.c: Likewise.
41883         * elf/tst-auditmod6c.c: Likewise.
41884         * elf/tst-auditmod7b.c: Likewise.
41886         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41887         and x32_gnu_pltexit.
41889         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41890         __ELF_NATIVE_CLASS.
41891         (La_x32_regs): New macro.
41892         (La_x32_retval): Likewise.
41893         (la_x32_gnu_pltenter): New function prototype.
41894         (la_x32_gnu_pltexit): Likewise.
41896 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41898         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41899         exponent.
41901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41903         * configure.in (libc_cv_cc_nofma): Check for option to disable
41904         generation of FMA instructions.
41905         * configure: Regenerate.
41906         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41907         * sysdeps/ieee754/dbl-64/Makefile: New file.
41908         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41909         Remove brandred-fma4.
41910         (CFLAGS-brandred-fma4.c): Remove.
41911         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41912         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41913         define.
41914         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41915         define.
41917 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41919         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41920         LLONG_MAX != LONG_MAX.
41921         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41922         (_fitoa_word): Likewise.
41923         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41924         LLONG_MAX != LONG_MAX.
41925         * stdio-common/_itowa.h: Include <_itoa.h>.
41926         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41927         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41928         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41929         only if not defined.
41930         (_ITOA_WORD_TYPE): Likewise.
41931         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41932         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41934 2012-03-21  David S. Miller  <davem@davemloft.net>
41936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41938 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41940         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41941         of x86_64 when setting libc_cv_slibdir, libdir and
41942         libc_cv_localedir.
41943         * sysdeps/unix/sysv/linux/configure: Regenerated.
41945 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41947         * manual/lang.texi (Old Varargs): Remove section.
41948         (How Variadic): Update menu.
41949         (va_start): Do not mention varargs.h.
41951 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41952             Joseph Myers  <joseph@codesourcery.com>
41954         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41955         link test.
41956         * configure: Regenerated.
41958 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41960         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41961         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41962         conformtest.pl
41964 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41966         * NOTES: Remove.
41967         * Makefile (files-for-dist): Remove NOTES.
41968         (NOTES): Remove rule.
41969         * README: Don't refer to NOTES.
41970         * manual/creature.texi: Don't include macros.texi.
41971         * manual/intro.texi (creature.texi): Remove comment referring to
41972         NOTES.
41974         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41975         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41976         * configure: Regenerated.
41977         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41978         LIBC_TRY_CC_OPTION.
41979         (libc_cv_as_i686): Likewise.
41980         (libc_cv_cc_avx): Likewise.
41981         (libc_cv_cc_sse2avx): Likewise.
41982         (libc_cv_cc_fma4): Likewise.
41983         (libc_cv_cc_novzeroupper): Likewise.
41984         * sysdeps/i386/configure: Regenerated.
41986         [BZ #13883]
41987         * sysdeps/i386/fpu/s_cexp.S: Remove.
41988         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41989         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41990         * math/libm-test.inc (cexp_test): Add more tests.
41991         * sysdeps/i386/fpu/libm-test-ulps: Update.
41992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41994 2012-03-21  Allan McRae  <allan@archlinux.org>
41996         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41998 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42000         [BZ #13871]
42001         * math/w_exp2.c: Do not include <float.h>.
42002         (o_threshold, u_threshold): Remove.
42003         (__exp2): Calculate result before checking finiteness and calling
42004         __kernel_standard.
42005         * math/w_exp2f.c: Likewise.
42006         * math/w_exp2l.c: Likewise.
42007         * math/libm-test.inc (exp2_test): Require overflow exception for
42008         1e6 input.
42010         [BZ #3866]
42011         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42012         range of signed 64-bit integers before using fistpll.  Remove
42013         checks for whether integers fit in mantissa bits.
42014         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42015         the range of signed 32-bit integers before using fistpl.  Remove
42016         checks for whether integers fit in mantissa bits.
42017         * sysdeps/i386/fpu/e_powl.S (p64): New object.
42018         (__ieee754_powl): Test for y outside the range of signed 64-bit
42019         integers before using fistpll.  Reduce 64-bit values to 63-bit
42020         ones as needed.
42021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42022         divide-by-zero is raised for zero to large negative powers.
42023         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42024         (__ieee754_powl): Test for y outside the range of signed 64-bit
42025         integers before using fistpll.  Reduce 64-bit values to 63-bit
42026         ones as needed.
42027         * math/libm-test.inc (pow_test): Add more tests.
42029 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42031         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42032         <stdio-common/_itoa.h>.
42033         * debug/segfault.c: Likewise.
42034         * elf/dl-cache.c: Likewise.
42035         * elf/dl-minimal.c: Likewise.
42036         * elf/dl-misc.c: Likewise.
42037         * elf/dl-sysdep.c: Likewise.
42038         * elf/dl-version.c: Likewise.
42039         * elf/rtld.c: Likewise.
42040         * hurd/hurdsock.c: Likewise.
42041         * hurd/lookup-retry.c: Likewise.
42042         * malloc/malloc.c: Likewise.
42043         * malloc/mtrace.c: Likewise.
42044         * nscd/nscd_getgr_r.c: Likewise.
42045         * nscd/nscd_getpw_r.c: Likewise.
42046         * nscd/nscd_getserv_r.c: Likewise.
42047         * posix/getopt_init.c: Likewise.
42048         * posix/wordexp.c: Likewise.
42049         * stdio-common/_itoa.c: Likewise.
42050         * stdio-common/printf_fphex.c: Likewise.
42051         * stdio-common/vfprintf.c: Likewise.
42052         * string/_strerror.c: Likewise.
42053         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42054         * sysdeps/i386/i686/hp-timing.h: Likewise.
42055         * sysdeps/mach/_strerror.c: Likewise.
42056         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42057         * sysdeps/mach/hurd/sethostid.c: Likewise.
42058         * sysdeps/mach/hurd/xmknodat.c: Likewise.
42059         * sysdeps/mach/xpg-strerror.c: Likewise.
42060         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42061         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42062         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42063         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42064         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42065         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42067         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42068         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42069         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42070         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42071         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42072         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42073         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42074         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42075         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42076         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42077         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42078         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42079         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42080         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42082         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42084         * stdio-common/_itoa.h: Moved to ...
42085         * sysdeps/generic/_itoa.h: Here.
42087         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42089         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42090         instead of "_itoa.h" and "_itowa.h".
42091         * stdio-common/vfprintf.: Likewise.
42093 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42095         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42096         <bits/wordsize.h>.
42097         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42098         (__signbit): Likwise.
42099         (llrintf): Likwise.
42100         (llrint): Likwise.
42102 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42104         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42105         __WORDSIZE != 64.
42107 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
42109         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42110         OVERFLOW_EXCEPTION_OK.
42111         * math/libm-test.inc ("Philosophy"): Update comment about
42112         exception testing.
42113         (OVERFLOW_EXCEPTION): Define.
42114         (OVERFLOW_EXCEPTION_OK): Likewise.
42115         (INVALID_EXCEPTION_OK): Renumber.
42116         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42117         (IGNORE_ZERO_INF_SIGN): Likewise.
42118         (test_exceptions): Handle FE_OVERFLOW.
42119         (exp10_test): Expect overflow exceptions.
42120         (exp2_test): Likewise.
42121         (expm1_test): Likewise.
42122         (nextafter_test): Likewise.
42123         (pow_test): Likewise.
42124         (scalbn_test): Likewise.
42125         (scalbln_test): Likewise.
42127 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42129         * sysdeps/x86_64/bits/atomic.h
42130         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42131         64bit integer.
42132         (atomic_exchange_acq): Likewise.
42133         (__arch_exchange_and_add_body): Likewise.
42134         (__arch_add_body): Likewise.
42135         (atomic_add_negative): Likewise.
42136         (atomic_add_zero): Likewise.
42138 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42140         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42141         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42143 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42145         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42146         Check __x86_64__ instead of __WORDSIZE.
42148 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42150         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42152 2012-03-19  David S. Miller  <davem@davemloft.net>
42154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42156         * sysdeps/sparc/fpu/fenv_private.h: New file.
42157         * sysdeps/sparc/fpu/math_private.h: Use it.
42158         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42159         Remove.
42160         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42161         (libc_feholdexcept_setroundl): Remove.
42162         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42163         Remove.
42164         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42165         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42167 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42169         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42170         int64_t instead of long int.
42171         (INSERT_WORDS64): Likwise.
42173 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42175         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42176         _Unwind_GetCFA return to _Unwind_Ptr first.
42178 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42180         [BZ #13629]
42181         * math/s_clog.c: Include <float.h>.
42182         (__clog): Scale large or subnormal inputs.
42183         * math/s_clogf.c: Likewise.
42184         * math/s_clogl.c: Likewise.
42185         * math/s_clog10.c: Include <float.h>.
42186         (M_LOG10_2): Define.
42187         (__clog10): Scale large or subnormal inputs.
42188         * math/s_clog10f.c: Likewise.
42189         * math/s_clog10l.c: Likewise.
42190         * math/libm-test.inc (clog_test): Add more tests.
42191         (clog10_test): Likewise.
42192         * sysdeps/i386/fpu/libm-test-ulps: Update.
42193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42195         [BZ #11451]
42196         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42197         x and y.
42198         * math/libm-test.inc (atan2_test): Add another test.
42200         * Makerules (common-objdir-compile): Remove.
42201         * sysdeps/unix/Makefile (config-generated): Do not add
42202         $(unix-generated) to variable.
42203         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42204         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42205         Remove rule.
42206         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42207         Likewise.
42208         [generic bits/local_lim.h] (before-compile): Do not append to
42209         variable.
42210         [generic bits/local_lim.h] (common-generated): Likewise.
42211         [generic sys/param.h] (before-compile): Do not append to variable.
42212         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42213         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42214         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42215         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42216         include.
42217         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42218         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42219         [generic sys/param.h] ($(addprefix
42220         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42221         [generic sys/param.h] (common-generated): Do not append to
42222         variable.
42223         [generic sys/param.h] (sysdep_headers): Likewise.
42224         [generic bits/errno.h] (before-compile): Do not append to
42225         variable.
42226         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42227         rule.
42228         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42229         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42230         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42231         [generic bits/errno.h] (common-generated): Do not append to
42232         variable.
42233         [generic bits/ioctls.h] (before-compile): Do not append to
42234         variable.
42235         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42236         rule.
42237         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42238         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42239         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42240         rule.
42241         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42242         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42243         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42244         [generic bits/ioctls.h] (common-generated): Do not append to
42245         variable.
42246         [generic sys/syscall.h] (syscall.h): Remove variable.
42247         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42248         rule.
42249         [generic sys/syscall.h] (before-compile): Do not append to
42250         variable.
42251         [generic sys/syscall.h] (common-generated): Likewise.
42252         * sysdeps/unix/errnos-tmpl.c: Remove file.
42253         * sysdeps/unix/errnos.awk: Likewise.
42254         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42255         * sysdeps/unix/ioctls.awk: Likewise.
42256         * sysdeps/unix/mk-local_lim.c: Likewise.
42257         * sysdeps/unix/snarf-ioctls: Likewise.
42259 2012-03-19  Richard Henderson  <rth@twiddle.net>
42261         * sysdeps/i386/fpu/fenv_private.h: New file.
42262         * sysdeps/i386/fpu/math_private.h: Use it.
42263         (math_opt_barrier, math_force_eval): Remove.
42264         (libc_feholdexcept_setround_53bit): Remove.
42265         (libc_feupdateenv_53bit): Remove.
42266         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42267         (math_opt_barrier, math_force_eval): Remove.
42268         (libc_feholdexcept): Remove.
42269         (libc_feholdexcept_setround): Remove.
42270         (libc_fetestexcept, libc_fesetenv): Remove.
42271         (libc_feupdateenv_test): Remove.
42272         (libc_feupdateenv, libc_feholdsetround): Remove.
42273         (libc_feresetround): Remove.
42275         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42276         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42278         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42279         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42280         (libc_feupdateenv_testl): New.
42281         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42282         (libc_feupdateenv_testf): New.
42283         (libc_feupdateenv): Use libc_feupdateenv_test.
42284         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42285         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42287         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42288         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42289         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42290         (libc_feresetround_noex): New.
42291         (libc_feresetround_noexf): New.
42292         (libc_feresetround_noexl): New.
42293         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42294         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42295         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42296         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42297         SET_RESTORE_ROUND.
42298         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42299         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42300         (__cos): Likewise.
42301         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42302         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42303         SET_RESTORE_ROUND_NOEX.
42304         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42305         SET_RESTORE_ROUND_NOEXF.
42306         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42307         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42308         (libc_feholdsetroundf): New.
42309         (libc_feresetround, libc_feresetroundf): New.
42311         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42312         (libc_feholdexcept_setround_53bit): Convert from macro to function.
42313         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
42315         * sysdeps/generic/math_private.h: Include <fenv.h>.
42316         (default_libc_feholdexcept): New.
42317         (default_libc_feholdexcept_setround): New.
42318         (default_libc_fesetenv, default_libc_feupdateenv): New.
42319         (libc_feholdexcept): Only define if undefined.
42320         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42321         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42322         (libc_feholdexcept_setroundl): Likewise.
42323         (libc_feholdexcept_setround_53bit): Likewise.
42324         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42325         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42326         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42327         (libc_feupdateenv_53bit): Likewise.
42328         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42329         (libc_feholdexcept): Convert from macro to inline function.
42330         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42331         (libc_fesetenv, libc_feupdateenv): Likewise.
42333         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42334         not previously defined.
42335         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42336         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42337         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42338         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42339         * sysdeps/ieee754/flt-32/math_private.h: New file.
42340         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42341         math_private.h below SET_FLOAT_WORD.
42342         (__isnan, __isinf_ns, __finite): Remove.
42343         (__isnanf, __isinf_nsf, __finitef): Remove.
42345 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
42347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42349 2012-03-17  David S. Miller  <davem@davemloft.net>
42351         [BZ #6471]
42352         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42353         for 2.16.
42355 2012-03-16  David S. Miller  <davem@davemloft.net>
42357         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42358         warnings.
42360         [BZ #6471]
42361         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42362         properly.
42363         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42364         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42365         sysdep_routines when subdir is sysvipc.
42366         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42367         __getshmlba helper.
42369         * sysdeps/sparc/fpu/libm-test/ulps: Update.
42371 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42373         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42374         [__LP64__].
42376 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42378         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42379         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42380         (__lround): Renamed to ...
42381         (__llround): This.  Replace long int with long long int.
42382         Define lround functions as aliases of llround functions.
42383         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42385 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42387         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42388         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
42389         adresses to uintptr_t.  Replace "long int" and "unsigned long
42390         int" with "greg_t" on va_arg.
42392 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42394         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42395         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42397         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42398         Move e_machine check before EI_CLASS check.  Handle x32
42399         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42400         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42401         SKIP_EM_IA_64 and include
42402         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42404         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42405         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42406         (add_system_dir): New macro.
42408         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42409         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42411 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42413         [BZ #2551]
42414         [BZ #2552]
42415         [BZ #2553]
42416         [BZ #2554]
42417         [BZ #2562]
42418         [BZ #2563]
42419         [BZ #2565]
42420         [BZ #2566]
42421         [BZ #2576]
42422         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42423         (y0): Likewise.
42424         * math/w_j0f.c (j0f): Likewise.
42425         (y0f): Likewise.
42426         * math/w_j0l.c (__j0l): Likewise.
42427         (__y0l): Likewise.
42428         * math/w_j1.c (j1): Likewise.
42429         (y1): Likewise.
42430         * math/w_j1f.c (j1f): Likewise.
42431         (y1f): Likewise.
42432         * math/w_j1l.c (__j1l): Likewise.
42433         (__y1l): Likewise.
42434         * math/w_jn.c (jn): Likewise.
42435         (yn): Likewise.
42436         * math/w_jnf.c (jnf): Likewise.
42437         (ynf): Likewise.
42438         * math/w_jnl.c (__jnl): Likewise.
42439         (__ynl): Likewise.
42440         * math/libm-test.inc (j0_test): Add more tests.
42441         (j1_test): Likewise.
42442         (jn_test): Likewise.  Add trailing semicolon to existing test.
42443         (y0_test): Likewise.
42444         (y1_test): Likewise.
42445         * sysdeps/i386/fpu/libm-test-ulps: Update.
42446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42448         [BZ #13851]
42449         [BZ #13854]
42450         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42451         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42452         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42453         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42454         (__tanl): Set errno for infinite argument.
42455         * sysdeps/i386/fpu/mptan.c: Remove.
42456         * sysdeps/i386/fpu/s_tan.S: Likewise.
42457         * sysdeps/i386/fpu/s_tanl.S: Likewise.
42458         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42459         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42460         * math/libm-test.inc (tan_test): Add more tests and enable more
42461         tests for double and long double.
42462         * sysdeps/i386/fpu/libm-test-ulps: Update.
42463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42465 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
42467         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42468         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42470 2012-03-16  Roland McGrath  <roland@hack.frob.com>
42472         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42473         * configure.in: Use it for both main tree and add-ons.
42474         * configure: Regenerated.
42476 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42478         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42480 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42482         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42483         in comment.
42485         [BZ #13851]
42486         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42487         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42488         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42489         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42490         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42491         infinite argument.
42492         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42493         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42494         != 0 for prec == 2.
42495         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42496         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42497         * sysdeps/i386/fpu/s_cosl.S: Likewise.
42498         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42499         * sysdeps/i386/fpu/s_sinl.S: Likewise.
42500         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42501         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42502         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42503         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42504         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42505         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42506         * math/libm-test.inc (cos_test): Add more tests and enable more
42507         tests for long double.
42508         (sin_test): Likewise.
42509         (sincos_test): Likewise.
42510         * sysdeps/i386/fpu/libm-test-ulps: Update.
42511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42513 2012-03-16  David S. Miller  <davem@davemloft.net>
42515         * sysdeps/sparc/fpu/math_private.h: New file.
42517 2012-03-15  David S. Miller  <davem@davemloft.net>
42519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42520         file.
42521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42523         file.
42524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42529         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42530         sysdep routines.
42531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42533         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42534         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42536         * sysdeps/sparc/sparc-ifunc.h: New file.
42537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42538         sparc-ifunc.h
42539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42541         Likewise.
42542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42543         Likewise.
42544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42548         Likewise.
42549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42554         Likewise.
42555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42556         Likewise.
42557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42561         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42562         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42563         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42564         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42565         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42566         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42571         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42572         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42573         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42574         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42575         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42576         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42577         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42578         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42579         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42580         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42582 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42584         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42585         scaling.
42586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42588 2012-03-15  Andreas Jaeger  <aj@suse.de>
42590         [BZ #13852]
42591         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42592         ieee754/flt-32 implementation for sin, cos and sincos.
42593         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42594         * sysdeps/i386/fpu/s_cosf.S: Likewise.
42595         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42596         * sysdeps/i386/fpu/s_sinf.S: Likewise.
42597         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42598         ieee754/flt-32 implementation for tan.
42600         * math/libm-test.inc (cos_test): Enable some large input tests for
42601         float as well
42602         (sin_test): Likewise.
42603         (sincos_test): Likewise.
42604         (tan_test): Add tests for large input.
42606         * sysdeps/i386/fpu/libm-test-ulps: Update.
42608 2012-03-15  Andreas Jaeger  <aj@suse.de>
42610         [BZ #13658]
42611         * math/libm-test.inc (cos_test): Add more test cases.
42612         (sin_test): Likewise.
42613         (sincos_test): Likewise.
42615 2012-03-15  Andreas Jaeger  <aj@suse.de>
42617         [BZ #13837]
42618         * math/libm-test.inc (cos_test): Add a test case for large input
42619         value.
42620         (sin_test): Likewise.
42621         (sincos_test): Likewise.
42623 2012-03-15  Andreas Jaeger  <aj@suse.de>
42624             Joseph Myers  <joseph@codesourcery.com>
42626         [BZ #13658]
42627         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42628         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42629         * sysdeps/i386/fpu/branred.c: Likewise.
42630         * sysdeps/i386/fpu/dosincos.c: Likewise.
42631         * sysdeps/i386/fpu/mpa.c: Likewise.
42632         * sysdeps/i386/fpu/s_cos.S: Likewise.
42633         * sysdeps/i386/fpu/s_sin.S: Likewise.
42634         * sysdeps/i386/fpu/s_sincos.S: Likewise.
42635         * sysdeps/i386/fpu/sincos32.c: Likewise.
42637         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42638         Define.
42639         (libc_feupdateenv_53bit): Define.
42640         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42641         Define.
42642         (libc_feupdateenv_53bit): Define.
42644         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42645         53 bit (without extend i386 double precision).
42647         * math/libm-test.inc (sincos_test): Add tests for large input.
42648         (sin): Likewise.
42649         (cos): Likewise.
42651         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42653 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42657 2012-03-15  David S. Miller  <davem@davemloft.net>
42659         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42660         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42661         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42662         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42667         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42668         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42669         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42670         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42671         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42672         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42675         file.
42676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42678         file.
42679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42681         file.
42682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42684         file.
42685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42686         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42687         fmin/fmax sysdep routines.
42688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42690 2012-03-14  David S. Miller  <davem@davemloft.net>
42692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42693         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42694         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42696         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42697         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42698         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42699         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42701         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42702         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42703         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42704         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42705         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42706         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42707         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42708         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42709         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42712         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42713         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42714         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42715         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42716         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42717         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42718         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42719         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42720         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42721         routines.
42722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42723         file.
42724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42726         file.
42727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42729         file.
42730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42732         file.
42733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42735         file.
42736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42738         file.
42739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42740         file.
42741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42742         file.
42743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42744         file.
42745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42746         New file.
42747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42748         file.
42749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42750         file.
42751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42753         file.
42754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42756         file.
42757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42759         file.
42760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42762         VIS3 routines.
42764         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42765         New file.
42767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42769         * sysdeps/sparc/configure.in: New file.
42770         * sysdeps/sparc/configure: Generate.
42771         * configure.in (libc_cv_sparc_as_vis3): Substitute.
42772         * configure: Regenerate.
42773         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42774         * config.make.in (have-as-vis3): New.
42775         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42776         available use -Av9d instead of -Av9a.
42777         * sysdeps/sparc/sparc64/Makefile: Likewise.
42778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42780         New file.
42781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42782         file.
42783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42784         New file.
42785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42786         file.
42787         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42788         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42789         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42790         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42791         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42793         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42794         fzeros/fnegs to load 0x80000000 into a float register instead of
42795         using the stack.
42796         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42798 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42800         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42801         bits/syscall.h.
42802         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42803         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42804         ($(inst_includedir)/bits/syscall.h): Remove rule.
42805         ($(objpfx)bits/syscall.d): Include instead of
42806         $(objpfx)syscall-list.d.
42807         (generated): Change syscall-list.h and syscall-list.d to
42808         bits/syscall.h and bits/syscall.d.
42810 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42812         [BZ #13846]
42813         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42815 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42817         [BZ #13841]
42818         * math/s_csqrt.c: Include <float.h>.
42819         (__csqrt): Scale large or subnormal inputs.
42820         * math/s_csqrtf.c: Likewise.
42821         * math/s_csqrtl.c: Likewise.
42822         * math/libm-test.inc (csqrt_test): Add more tests.
42823         * sysdeps/i386/fpu/libm-test-ulps: Update.
42824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42826         [BZ #13840]
42827         * math/libm-test.inc (hypot_test): Add more tests.
42829 2012-03-13  David S. Miller  <davem@davemloft.net>
42831         [BZ #13840]
42832         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42833         double-precision for the calculation instead of scaling.
42835 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42837         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42838         manipulate bits before adding and subtracting TWO52[sx].
42839         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42840         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42841         Likewise.
42842         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42844 2012-03-13  David S. Miller  <davem@davemloft.net>
42846         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42847         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42848         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42849         rtld-global-offsets.h
42850         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42852         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42853         large parameters.
42855         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42857         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42858         'err' in the ifdef scope in which it is actually used.
42860         * nss/nss_db/db-init.c: Include string.h
42862 2012-03-12  David S. Miller  <davem@davemloft.net>
42864         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42865         masking out of the most significant byte of random value used.
42866         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42867         Fix coding style in previous change.
42869         * sysdeps/unix/sysv/linux/kernel-features.h
42870         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42871         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42872         expression.
42873         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42874         later.
42876 2012-03-11  David S. Miller  <davem@davemloft.net>
42878         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42879         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42880         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42881         for 'resultvar' otherwise things get truncated on 64-bit.
42883         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42884         Fix masking out of the most significant byte of random value used.
42886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42888 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42892 2012-03-09  David S. Miller  <davem@davemloft.net>
42894         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42895         variables with appropriate CPP guards.
42896         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42897         from the frame pointer, not the stack pointer.  Correct layout
42898         comments.  Fix test on resulting framesize and the management of
42899         the outregs buffer for pltexit.  Preserve floating point return
42900         values across _dl_call_pltexit call.
42901         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42902         framesize and the management of the outregs buffer for pltexit.
42903         Preserve floating point return values across _dl_call_pltexit
42904         call.
42905         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42906         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42907         (la_sparc64_gnu_pltexit): New functions.
42908         (print_exit): Fix format string for return register value.
42910 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42912         * sunrpc/Makefile (others): Add rpcgen.
42913         ($(objpfx)rpcgen): Remove special build rule and dependency on
42914         libc.
42915         * sunrpc/rpcgen.c: New file.
42917 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42919         [BZ #13673]
42920         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42921         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42922         * sysdeps/i386/crti.S: Likewise.
42923         * sysdeps/i386/crtn.S: Likewise.
42924         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42925         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42926         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42927         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42928         * sysdeps/sh/crti.S: Likewise.
42929         * sysdeps/sh/crtn.S: Likewise.
42930         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42932         [BZ #13673]
42933         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42934         with URL.
42935         * locale/programs/locfile-kw.gperf: Likewise.
42936         * locale/programs/charmap-kw.h: Regenerated.
42937         * locale/programs/locfile-kw.h: Likewise.
42939         [BZ #13673]
42940         * intl/plural.y: Replace FSF snail mail address with URL.
42941         * intl/plural.c: Regenerated.
42943 2012-03-09  Richard Henderson  <rth@twiddle.net>
42945         * include/math_private.h: Remove file.
42946         * math/math_private.h: Move file ...
42947         * sysdeps/generic/math_private.h: ... here.
42949         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42950         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42951         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42953         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42954         and <math_private.h>.
42955         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42956         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42957         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42958         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42959         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42960         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42961         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42962         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42963         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42964         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42965         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42966         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42967         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42968         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42969         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42970         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42971         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42972         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42973         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42974         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42975         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42976         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42977         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42978         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42979         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42980         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42981         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42982         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42983         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42984         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42985         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42986         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42987         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42988         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42989         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42990         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42991         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42992         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42993         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42994         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42995         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42996         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42997         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42998         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42999         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43000         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43001         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43002         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43003         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43004         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43005         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43006         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43007         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43008         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43009         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43010         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43011         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43012         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43013         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43014         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43015         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43016         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43017         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43018         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43019         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43020         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43021         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43022         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43023         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43024         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43025         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43026         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43027         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43028         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43029         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43030         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43031         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43032         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43033         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43034         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43035         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43036         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43037         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43038         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43039         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43040         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43041         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43042         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43043         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43044         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43045         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43046         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43047         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43048         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43049         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43050         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43051         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43052         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43053         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43054         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43055         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43056         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43057         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43058         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43059         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43060         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43061         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43062         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43063         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43064         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43065         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43066         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43067         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43068         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43069         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43070         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43071         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43072         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43073         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43074         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43075         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43076         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43077         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43078         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43079         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43080         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43081         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43082         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43083         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43084         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43085         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43086         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43087         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43088         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43089         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43090         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43091         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43092         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43093         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43094         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43095         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43096         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43097         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43098         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43099         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43100         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43101         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43102         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43103         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43104         * sysdeps/ieee754/k_standard.c: Likewise.
43105         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43106         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43107         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43108         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43109         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43110         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43111         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43112         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43113         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43114         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43115         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43116         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43117         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43118         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43119         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43120         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43121         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43122         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43123         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43124         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43125         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43126         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43127         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43128         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43129         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43130         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43131         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43132         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43133         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43134         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43135         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43136         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43137         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43138         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43139         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43140         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43141         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43142         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43143         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43144         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43145         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43146         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43147         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43148         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43149         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43150         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43151         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43152         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43154         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43155         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43156         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43157         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43158         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43159         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43160         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43161         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43162         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43163         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43164         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43165         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43166         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43167         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43168         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43169         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43170         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43171         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43172         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43173         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43174         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43175         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43177         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43178         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43179         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43180         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43181         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43182         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43183         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43184         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43185         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43186         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43187         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43188         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43189         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43190         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43191         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43192         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43193         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43194         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43195         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43196         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43197         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43198         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43199         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43200         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43201         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43202         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43203         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43204         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43205         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43206         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43207         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43208         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43209         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43210         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43211         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43212         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43213         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43214         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43215         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43216         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43217         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43218         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43219         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43220         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43221         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43222         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43223         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43224         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43225         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43226         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43227         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43228         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43229         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43230         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43231         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43232         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43233         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43234         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43235         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43236         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43237         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43238         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43239         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43240         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43241         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43242         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43243         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43244         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43245         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43246         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43247         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43248         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43249         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43250         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43251         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43252         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43253         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43254         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43255         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43256         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43257         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43258         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43259         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43260         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43261         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43262         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43263         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43264         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43265         * sysdeps/ieee754/s_lib_version.c: Likewise.
43266         * sysdeps/ieee754/s_matherr.c: Likewise.
43267         * sysdeps/ieee754/s_signgam.c: Likewise.
43268         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43269         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43270         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43271         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43272         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43273         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43274         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43275         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43276         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43277         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43278         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43279         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43280         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43281         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43282         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43283         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43284         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43285         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43286         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43287         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43288         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43290 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43292         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43293         * sunrpc/rpc_main.c: Likewise.
43294         * sunrpc/rpc_svcout.c: Likewise.
43296 2012-03-09  David S. Miller  <davem@davemloft.net>
43298         * include/math_private.h: New file.
43300 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43302         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43303         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43304         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43305         from <bits/socket_type.h>.
43306         (enum __socket_type): Don't define here.
43307         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43308         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43309         bits/socket_type.h.
43311         [BZ #13566]
43312         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43313         checking __USE_GNU.
43315         * Makerules ($(inst_includedir)/%.h): New rule.
43316         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43317         (install-others): Remove variable setting.
43318         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43320 2012-03-08  Richard Henderson  <rth@twiddle.net>
43322         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43323         from macro to inline function; merge with the
43324         !__LIBC_INTERNAL_MATH_INLINES version.
43325         (__ieee754_sqrtf): Likewise.
43327         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43328         to inline function.
43329         (__rintf, __floor, __floorf): Likewise.
43331         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43332         macro to inline function.
43333         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43335         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43336         not <math/math_private.h>.
43338 2012-03-08  David S. Miller  <davem@davemloft.net>
43340         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43341         copyright year.
43342         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43344 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
43346         * resolv/gai_misc.c (handle_requests): Fix struct timespec
43347         normalization.
43348         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43349         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43351 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
43353         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
43354         be defined individually, they must be defined as a block.  Define
43355         S for printing a string instead of hidint the different by using a
43356         macro for adding the 'l'.
43357         * stdio-common/tst-fphex-wide.c: Adjust.
43359 2012-03-07  Marek Polacek  <polacek@redhat.com>
43361         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43363 2012-03-08  Marek Polacek  <polacek@redhat.com>
43365         [BZ #13806]
43366         * stdio-common/Makefile (tests): Add tst-fphex-wide.
43367         * stdio-common/tst-fphex.c: Define a few macros to make the
43368         test reusable.  Use them.
43369         * stdio-common/tst-fphex-wide.c: New file.
43371 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
43373         [BZ #6911]
43374         * manual/macros.texi (gnusystems): New macro.
43375         (nongnusystems): Likewise.
43376         (gnulinuxhurdsystems): Likewise.
43377         (gnuhurdsystems): Likewise..
43378         (gnulinuxsystems): Likewise.
43379         * manual/charset.texi: Use new macros or @theglibc{} to refer to
43380         variants of the GNU system, not "GNU system".
43381         * manual/conf.texi: Likewise.
43382         * manual/errno.texi: Likewise.  Update example of errno macro
43383         expansion.
43384         * manual/filesys.texi: Likewise.
43385         (getumask): Document as specific to GNU/Hurd.
43386         * manual/install.texi: Likewise.  Reword some references to
43387         GNU/Linux.
43388         * manual/intro.texi: Likewise.
43389         * manual/io.texi: Likewise.
43390         (File Name Portability): Detail which constraints are inapplicable
43391         to all GNU systems and which are only inapplicable to GNU/Hurd.
43392         * manual/job.texi: Likewise.
43393         * manual/llio.texi: Likewise.
43394         (O_NOCTTY): Document as present on GNU/Linux.
43395         * manual/maint.texi: Likewise.
43396         * manual/memory.texi: Likewise.
43397         * manual/pattern.texi: Likewise.
43398         * manual/pipe.texi: Likewise.
43399         * manual/process.texi: Likewise.
43400         * manual/resource.texi: Likewise.
43401         (RUSAGE_CHILDREN): Remove statement about specifying a particular
43402         child on GNU/Hurd.
43403         * manual/setjmp.texi: Likewise.
43404         * manual/signal.texi: Likewise.
43405         * manual/startup.texi: Likewise.
43406         * manual/stdio.texi: Likewise.
43407         * manual/terminal.texi: Likewise.
43408         (ONLCR): Document as POSIX.
43409         (OXTABS): Document availability on GNU/Linux as XTABS.
43410         (ONOEOT): Document availability separately from other bits.
43411         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43412         * manual/time.texi: Likewise.
43413         * manual/users.texi: Likewise.
43414         * INSTALL: Regenerated.
43415         * sysdeps/gnu/errlist.c: Regenerated.
43417         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43418         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43419         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
43420         puts.
43421         * configure: Regenerated.
43423 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
43425         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43426         default includes instead of AC_HEADER_CHECK.
43427         * sysdeps/i386/configure: Regenerated.
43429         [BZ #10716]
43430         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43431         * math/s_cacoshf.c (__cacoshf): Likewise.
43432         * math/s_cacoshl.c (__cacoshl): Likewise.
43433         * math/s_casinh.c (__casinh): Set signs of result from argument.
43434         * math/s_casinhf.c (__casinhf): Likewise.
43435         * math/s_casinhl.c (__casinhl): Likewise.
43436         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43437         (casinh_test): Add more tests.
43438         * sysdeps/i386/fpu/libm-test-ulps: Update.
43439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43441 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
43443         * po/zh_TW.po: Update from translation team.
43445         * login/Makefile (distribute): Remove variable.
43446         * catgets/Makefile: Likewise.
43447         * mach/Makefile: Likewise.
43448         * malloc/Makefile: Likewise.
43449         * misc/Makefile: Likewise.
43450         * iconv/Makefile: Likewise.
43451         * nscd/Makefile: Likewise.
43452         * hurd/Makefile: Likewise.
43453         * manual/Makefile: Likewise.
43454         * locale/Makefile: Likewise.
43455         * intl/Makefile: Likewise.
43456         * conform/Makefile: Likewise.
43457         * nss/Makefile: Likewise.
43458         * time/Makefile: Likewise.
43459         * soft-fp/Makefile: Likewise.
43460         * dirent/Makefile: Likewise.
43461         * gmon/Makefile: Likewise.
43462         * po/Makefile: Likewise.
43463         * rt/Makefile: Likewise.
43464         * socket/Makefile: Likewise.
43465         * math/Makefile: Likewise.
43466         * signal/Makefile: Likewise.
43467         * debug/Makefile: Likewise.
43468         * elf/Makefile: Likewise.
43469         * timezone/Makefile: Likewise.
43470         * stdlib/Makefile: Likewise.
43471         * iconvdata/Makefile: Likewise.
43472         * sunrpc/Makefile: Likewise.
43473         * io/Makefile: Likewise.
43474         * argp/Makefile: Likewise.
43475         * inet/Makefile: Likewise.
43476         * hesiod/Makefile: Likewise.
43477         * grp/Makefile: Likewise.
43478         * csu/Makefile: Likewise.
43479         * wctype/Makefile: Likewise.
43480         * crypt/Makefile: Likewise.
43481         * libio/Makefile: Likewise.
43482         * string/Makefile: Likewise.
43483         * nis/Makefile: Likewise.
43484         * resolv/Makefile: Likewise.
43485         * stdio-common/Makefile: Likewise.
43486         * wcsmbs/Makefile: Likewise.
43487         * dlfcn/Makefile: Likewise.
43488         * posix/Makefile: Likewise.
43490         [BZ #6959]
43491         * timezone/Makefile: Don't install timezone files, just the programs
43492         and scripts.
43494 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
43496         * nss/databases.def: Add missing gshadow entry.
43498         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
43500 2012-03-06  Marek Polacek  <polacek@redhat.com>
43502         [BZ #13726]
43503         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43504         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43505         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43506         * stdio-common/tst-long-dbl-fphex.c: New file.
43508 2012-03-06  David S. Miller  <davem@davemloft.net>
43510         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43511         (set_obp_int): New function.
43512         (get_obp_int): New function.
43513         (__get_clockfreq_via_dev_openprom): Likewise.
43514         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43515         Avoid unused variable warnings on 'val' and use builtin_expect.
43516         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43517         __builtin_expect.
43518         (INLINE_CLONE_SYSCALL): Likewise.
43520 2012-03-05  David S. Miller  <davem@davemloft.net>
43522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43524 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
43526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43528         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43529         only for |x| >= 40.
43530         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43532 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
43534         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43535         Replace gettimeofday with __vdso_gettimeofday.
43537         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43538         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43539         __vdso_clock_gettime and __vdso_getcpu.
43541         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43542         time with __vdso_time.
43544 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43546         * manual/lang.texi (size_t): Note types to which size_t may be
43547         equivalent with the GNU C Library, but do not describe when
43548         differences between them are significant.
43550 2012-03-05  Andreas Jaeger  <aj@suse.de>
43552         * sysdeps/i386/fpu/libm-test-ulps: Update.
43554 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43556         [BZ #3976]
43557         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43558         (__ieee754_pow): Save and restore rounding mode and use
43559         round-to-nearest for main computations.
43560         * math/libm-test.inc (pow_test_tonearest): New function.
43561         (pow_test_towardzero): Likewise.
43562         (pow_test_downward): Likewise.
43563         (pow_test_upward): Likewise.
43564         (main): Call the new functions.
43565         * sysdeps/i386/fpu/libm-test-ulps: Update.
43566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43568         [BZ #3976]
43569         * math/libm-test.inc (cosh_test_tonearest): New function.
43570         (cosh_test_towardzero): Likewise.
43571         (cosh_test_downward): Likewise.
43572         (cosh_test_upward): Likewise.
43573         (sinh_test_tonearest): Likewise.
43574         (sinh_test_towardzero): Likewise.
43575         (sinh_test_downward): Likewise.
43576         (sinh_test_upward): Likewise.
43577         (main): Call the new functions.
43578         * sysdeps/i386/fpu/libm-test-ulps: Update.
43579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43581 2012-03-05  Tom de Vries  <tom@codesourcery.com>
43583         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43584         default stack guard is set in last bytes.
43585         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43587 2012-03-05  Kees Cook  <keescook@chromium.org>
43589         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43591         [BZ #13656]
43592         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43593         possibly allocate from heap instead of stack.
43594         * stdio-common/bug-vfprintf-nargs.c: New file.
43595         * stdio-common/Makefile (tests): Add nargs overflow test.
43597 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
43599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43601 2012-03-03  Marek Polacek  <polacek@redhat.com>
43603         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43604         * math/math_private.h: Likewise.
43605         * stdlib/tst-strtod.c: Likewise.
43606         * sysdeps/i386/i486/bits/atomic.h: Likewise.
43607         * sysdeps/x86_64/bits/atomic.h: Likewise.
43609 2012-03-02  David S. Miller  <davem@davemloft.net>
43611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43615         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43616         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43617         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43618         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43620 2012-03-02  Roland McGrath  <roland@hack.frob.com>
43622         [BZ #13792]
43623         * manual/examples/README: New file, says the example source files
43624         can be used under GPL>=2.
43625         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43626         line containing just "*/".
43627         * manual/examples/add.c: Add copyright header (GPL>=2).
43628         * manual/examples/argp-ex1.c: Likewise.
43629         * manual/examples/argp-ex2.c: Likewise.
43630         * manual/examples/argp-ex3.c: Likewise.
43631         * manual/examples/argp-ex4.c: Likewise.
43632         * manual/examples/atexit.c: Likewise.
43633         * manual/examples/db.c: Likewise.
43634         * manual/examples/dir.c: Likewise.
43635         * manual/examples/dir2.c: Likewise.
43636         * manual/examples/execinfo.c: Likewise.
43637         * manual/examples/filecli.c: Likewise.
43638         * manual/examples/filesrv.c: Likewise.
43639         * manual/examples/fmtmsgexpl.c: Likewise.
43640         * manual/examples/genpass.c: Likewise.
43641         * manual/examples/inetcli.c: Likewise.
43642         * manual/examples/inetsrv.c: Likewise.
43643         * manual/examples/isockad.c: Likewise.
43644         * manual/examples/longopt.c: Likewise.
43645         * manual/examples/memopen.c: Likewise.
43646         * manual/examples/memstrm.c: Likewise.
43647         * manual/examples/mkfsock.c: Likewise.
43648         * manual/examples/mkisock.c: Likewise.
43649         * manual/examples/mygetpass.c: Likewise.
43650         * manual/examples/pipe.c: Likewise.
43651         * manual/examples/popen.c: Likewise.
43652         * manual/examples/rprintf.c: Likewise.
43653         * manual/examples/search.c: Likewise.
43654         * manual/examples/select.c: Likewise.
43655         * manual/examples/setjmp.c: Likewise.
43656         * manual/examples/sigh1.c: Likewise.
43657         * manual/examples/sigusr.c: Likewise.
43658         * manual/examples/stpcpy.c: Likewise.
43659         * manual/examples/strdupa.c: Likewise.
43660         * manual/examples/strftim.c: Likewise.
43661         * manual/examples/strncat.c: Likewise.
43662         * manual/examples/subopt.c: Likewise.
43663         * manual/examples/swapcontext.c: Likewise.
43664         * manual/examples/termios.c: Likewise.
43665         * manual/examples/testopt.c: Likewise.
43666         * manual/examples/testpass.c: Likewise.
43667         * manual/examples/timeval_subtract.c: Likewise.
43669         [BZ #13792]
43670         * manual/time.texi (Elapsed Time): Move timeval_subtract example
43671         function to ...
43672         * manual/timeval_subtract.c.texi: ... here, new file.
43674 2012-03-02  David S. Miller  <davem@davemloft.net>
43676         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43678 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
43680         [BZ #3976]
43681         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43682         (__sin): Save and restore rounding mode and use round-to-nearest
43683         for all computations.
43684         (__cos): Save and restore rounding mode and use round-to-nearest
43685         for all computations.
43686         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43687         <fenv.h>.
43688         (tan): Save and restore rounding mode and use round-to-nearest for
43689         all computations.
43690         * math/libm-test.inc (cos_test_tonearest): New function.
43691         (cos_test_towardzero): Likewise.
43692         (cos_test_downward): Likewise.
43693         (cos_test_upward): Likewise.
43694         (sin_test_tonearest): Likewise.
43695         (sin_test_towardzero): Likewise.
43696         (sin_test_downward): Likewise.
43697         (sin_test_upward): Likewise.
43698         (tan_test_tonearest): Likewise.
43699         (tan_test_towardzero): Likewise.
43700         (tan_test_downward): Likewise.
43701         (tan_test_upward): Likewise.
43702         (main): Call the new functions.
43703         * sysdeps/i386/fpu/libm-test-ulps: Update.
43704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43706         [BZ #10135]
43707         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43708         small n, then large n, before computing and testing k+n.
43709         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43710         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43711         Likewise.
43712         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43713         Likewise.
43714         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43715         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43716         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43717         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43718         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43719         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43720         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43721         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43722         * math/libm-test.inc (scalbn_test): Add more tests.
43723         (scalbln_test): Likewise.
43725         * manual/filesys.texi (mode_t): Describe constraints on size and
43726         signedness, not exact equivalence to a particular type.
43727         (ino_t): Likewise.
43728         (ino64_t): Likewise.
43729         (dev_t): Likewise.
43730         (nlink_t): Likewise.
43731         (blkcnt_t): Likewise.
43732         (blkcnt64_t): Likewise.
43733         * manual/llio.texi (off_t): Likewise.
43735         [BZ #3976]
43736         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43737         (__ieee754_exp): Save and restore rounding mode and use
43738         round-to-nearest for all computations.
43739         * math/libm-test.inc (exp_test_tonearest): New function.
43740         (exp_test_towardzero): Likewise.
43741         (exp_test_downward): Likewise.
43742         (exp_test_upward): Likewise.
43743         (main): Call the new functions.
43744         * sysdeps/i386/fpu/libm-test-ulps: Update.
43745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43747 2012-03-01  Chris Demetriou  <cgd@google.com>
43749         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43750         have predictable order.
43752 2012-03-01  David S. Miller  <davem@davemloft.net>
43754         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43756         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43757         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43758         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43759         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43761         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43762         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43763         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43765         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43766         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43767         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43768         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43769         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43773         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43774         * sysdeps/sparc/fpu/libm-test-ulps: to here.
43775         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43777         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43778         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43779         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43780         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43781         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43782         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43783         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43784         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43785         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43786         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43787         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43788         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43789         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43790         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43791         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43792         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43793         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43794         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43795         * sysdeps/sparc/elf/configure: Regenerated.
43797 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43799         * configure.in (AS, LD): Require binutils 2.20 or later.
43800         * configure: Regenerated.
43801         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43802         as required minimum version.
43803         * INSTALL: Regenerated.
43805         [BZ #2541]
43806         [BZ #4108]
43807         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43808         before squaring exponent.
43809         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43810         bottom long double and 27 bits of top long double before squaring
43811         exponent.
43812         * math/libm-test.inc (erfc_test): Add more tests.
43813         * sysdeps/i386/fpu/libm-test-ulps: Update.
43814         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43817 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43819         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43820         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43821         containing bit-fields.
43822         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43823         * soft-fp/single.h (_FP_UNION_S): Likewise.
43824         * soft-fp/double.h (_FP_UNION_D): Likewise.
43826 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43828         [BZ #13786]
43829         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43830         not include ../strcmp.S.
43831         [USE_AS_STRNCASECMP_L]: Likewise.
43832         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43833         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43834         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43835         (__strncasecmp_l_ia32): Define as alias to
43836         __strncasecmp_l_nonascii.
43838         [BZ #5794]
43839         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43840         * sysdeps/i386/fpu/libm-test-ulps: Update.
43841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43843         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43846 2012-02-29  Jeff Law  <law@redhat.com>
43848         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43849         out of bounds read.
43851 2012-02-29  Marek Polacek  <polacek@redhat.com>
43853         [BZ #13706]
43854         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43855         * elf/Makefile: Add rules to run tst-unused-dep.out.
43857 2012-02-28  David S. Miller  <davem@davemloft.net>
43859         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43860         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43861         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43862         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43863         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43864         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43866 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43868         * math/libm-test.inc (llround_test): Move one test from
43869         lround_test.  Use TEST_f_L in moved test.
43870         (lround_test): Move misplaced test to llround_test.  Add testcase
43871         from bug 2561.
43873 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43875         * sysdeps/x86_64/fpu/e_expf.S: New file.
43876         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43878 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43880         [BZ #13637]
43881         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43882         of remain_len that may cause incomplete multi-byte character and
43883         false match.
43884         * posix/bug-regex33.c: New file.
43885         * posix/Makefile (tests): Add bug-regex33.
43887 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43889         * manual/macros.texi: New file.
43890         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43891         * manual/libc.texinfo: Include macros.texi.
43892         * manual/creatute.texi: Likewise.
43893         * manual/install.texi: Likewise.
43894         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43895         @glibcadj{} in references to the GNU C Library.
43896         * manual/charset.texi: Likewise.
43897         * manual/conf.texi: Likewise.
43898         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43899         when not using those macros.
43900         * manual/creature.texi: Likewise.
43901         * manual/crypt.texi: Likewise.
43902         * manual/errno.texi: Likewise.
43903         * manual/filesys.texi: Likewise.
43904         * manual/header.texi: Likewise.
43905         * manual/install.texi: Likewise.
43906         * manual/intro.texi: Likewise.
43907         * manual/io.texi: Likewise.
43908         * manual/job.texi: Likewise.
43909         * manual/lang.texi: Likewise.
43910         * manual/libc.texiinfo: Likewise.
43911         * manual/llio.texi: Likewise.
43912         * manual/locale.texi: Likewise.
43913         * manual/maint.texi: Likewise.
43914         * manual/math.texi: Likewise.
43915         * manual/memory.texi: Likewise.
43916         * manual/message.texi: Likewise.
43917         * manual/nss.texi: Likewise.
43918         * manual/pattern.texi: Likewise.
43919         * manual/process.texi: Likewise.
43920         * manual/resource.texi: Likewise.
43921         * manual/search.texi: Likewise.
43922         * manual/setjmp.texi: Likewise.
43923         * manual/signal.texi: Likewise.
43924         * manual/socket.texi: Likewise.
43925         * manual/startup.texi: Likewise.
43926         * manual/stdio.texi: Likewise.
43927         * manual/string.texi: Likewise.
43928         * manual/sysinfo.texi: Likewise.
43929         * manual/syslog.texi: Likewise.
43930         * manual/terminal.texi: Likewise.
43931         * manual/time.texi: Likewise.
43932         * manual/users.texi: Likewise.
43933         * INSTALL: Regenerated.
43934         * NOTES: Regenerated.
43935         * sysdeps/gnu/errlist.c: Regenerated.
43937 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43939         * include/dirent.h: Include <dirstream.h> before
43940         <dirent/dirent.h>.
43942 2012-02-28  David S. Miller  <davem@davemloft.net>
43944         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43945         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43946         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43947         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43949 2012-02-27  David S. Miller  <davem@davemloft.net>
43951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43953         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43954         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43957         frame pointer instead of stack pointer relative arg slot.
43958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43959         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43960         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43962 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43964         [BZ #3992]
43965         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43967 2012-02-27  David S. Miller  <davem@davemloft.net>
43969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43973         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43974         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43975         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43976         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43978 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43980         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43981         later.  Allow versions 5-9.
43982         * configure: Regenerated.
43983         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43984         required minimum version and 4.6 as recommended version.  Do not
43985         mention bugs in GCC 2.7 and 2.8.
43986         * INSTALL: Regenerated.
43988 2012-02-27  David S. Miller  <davem@davemloft.net>
43990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43994         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43995         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43996         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43997         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43999         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44000         manipulate bits before adding and subtracting TWO112[sx].
44001         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44003 2012-02-27  Roland McGrath  <roland@hack.frob.com>
44005         [BZ #13775]
44006         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44007         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44008         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44009         being in POSIX, because they are in 1003.1-2008.
44011         * rt/tst-aio.c: Include <fcntl.h>.
44012         * rt/tst-aio7.c: Likewise.
44013         * rt/tst-aio64.c: Likewise.
44015         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44017 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44019         * manual/install.texi (--with-headers): Describe headers as
44020         interface headers, not private headers.
44021         (Specific advice for GNU/Linux systems): Describe use of headers
44022         from "make headers_install", not private headers from older
44023         kernels.
44024         * INSTALL: Regenerated.
44025         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44026         Change to 2.6.19.
44027         * sysdeps/unix/sysv/linux/configure: Regenerated.
44029         * manual/llio.texi (fclean): Remove documentation.
44031         * manual/Makefile (libc-texi-generated): New variable.  Include
44032         version.texi.
44033         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44034         $(libc-texi-generated), not duplicated list of files.
44035         (version.texi, stamp-version): New rules.
44036         (realclean): Remove $(libc-texi-generated), not individual files
44037         from that list.  Do not remove dir-add.texinfo.
44038         * manual/libc.texinfo: Comment out uses of edition numbers and
44039         references to printed manual.  Remove last-updated dates.
44040         (EDITION): Comment out.
44041         (ISBN): Likewise.
44042         (VERSION, UPDATED): Remove.
44043         (version.texi): Include.
44045 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
44047         * sysdeps/posix/spawni.c: Include <signal.h>.
44048         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44049         * sysdeps/pthread/aio_fsync.c: Likewise.
44051 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
44053         * conform/Makefile (tests): Run only when not cross-compiling and
44054         when fast-check is not defined.
44056         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44057         * conform/data/limits.h-data: Fixes for POSIX2008.
44058         * conform/run-conformtest.sh: Run all tests.
44059         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44060         headers.
44061         * include/bits/dlfcn.h: Likewise.
44062         * include/langinfo.h: Likewise.
44063         * include/monetary.h: Likewise.
44064         * include/sys/poll.h: Likewise.
44066         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44067         for __USE_GNU.
44068         * posix/spawn.h: Define __need_sigset_t.
44069         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44070         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44071         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
44072         to get sigevent_t only.
44073         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44074         only for __USE_GNU.
44075         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44076         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44077         process_vm_writev only for __USE_GNU.
44078         * termios/termios.h: Declare tcgetsid also for POSIX2008.
44080         * conform/Makefile: For now ignore errors from run-conformtest.
44081         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
44082         POSIX to avoid namespace pollution.  Don't prepend headers.
44083         * conform/data/aio.h-data: Fixes for POSIX testing.
44084         * conform/data/fcntl.h-data: Likewise.
44085         * conform/data/glob.h-data: Likewise.
44086         * conform/data/grp.h-data: Likewise.
44087         * conform/data/pthread.h-data: Likewise.
44088         * conform/data/pwd.h-data: Likewise.
44089         * conform/data/signal.h-data: Likewise.
44090         * conform/data/spawn.h-data: Likewise.
44091         * conform/data/stdio.h-data: Likewise.
44092         * conform/data/stdlib.h-data: Likewise.
44093         * conform/data/stropts.h-data: Likewise.
44094         * conform/data/sys/mman.h-data: Likewise.
44095         * conform/data/sys/stat.h-data: Likewise.
44096         * conform/data/sys/types.h-data: Likewise.
44097         * conform/data/sys/wait.h-data: Likewise.
44098         * conform/data/time.h-data: Likewise.
44099         * conform/data/unistd.h-data: Likewise.
44100         * conform/data/utime.h-data: Likewise.
44102         * io/sys/stat.h: fchmod was always in POSIX.
44103         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44104         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44105         * rt/aio.h: Define __need_timespec before including <time.h>.
44106         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44107         struct.  Add forward declaration of pthread_attr_t and use it in
44108         sigevent.
44109         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44110         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44111         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44112         always remove CLK_TCK definition.
44114 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
44116         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44118 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
44120         * conform/run-conformtest.sh: New file.
44121         * conform/Makefile: Run run-conformtest for tests.
44122         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
44123         support.
44125         * conform/data/uchar.h-data: New file.
44126         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44127         * conform/data/arpa/inet.h-data: Likewise.
44128         * conform/data/assert.h-data: Likewise.
44129         * conform/data/complex.h-data: Likewise.
44130         * conform/data/cpio.h-data: Likewise.
44131         * conform/data/ctype.h-data: Likewise.
44132         * conform/data/dirent.h-data: Likewise.
44133         * conform/data/dlfcn.h-data: Likewise.
44134         * conform/data/errno.h-data: Likewise.
44135         * conform/data/fcntl.h-data: Likewise.
44136         * conform/data/float.h-data: Likewise.
44137         * conform/data/fmtmsg.h-data: Likewise.
44138         * conform/data/fnmatch.h-data: Likewise.
44139         * conform/data/ftw.h-data: Likewise.
44140         * conform/data/glob.h-data: Likewise.
44141         * conform/data/grp.h-data: Likewise.
44142         * conform/data/iconv.h-data: Likewise.
44143         * conform/data/inttypes.h-data: Likewise.
44144         * conform/data/langinfo.h-data: Likewise.
44145         * conform/data/libgen.h-data: Likewise.
44146         * conform/data/limits.h-data: Likewise.
44147         * conform/data/locale.h-data: Likewise.
44148         * conform/data/math.h-data: Likewise.
44149         * conform/data/monetary.h-data: Likewise.
44150         * conform/data/mqueue.h-data: Likewise.
44151         * conform/data/ndbm.h-data: Likewise.
44152         * conform/data/net/if.h-data: Likewise.
44153         * conform/data/netdb.h-data: Likewise.
44154         * conform/data/netinet/in.h-data: Likewise.
44155         * conform/data/nl_types.h-data: Likewise.
44156         * conform/data/poll.h-data: Likewise.
44157         * conform/data/pthread.h-data: Likewise.
44158         * conform/data/pwd.h-data: Likewise.
44159         * conform/data/regex.h-data: Likewise.
44160         * conform/data/sched.h-data: Likewise.
44161         * conform/data/search.h-data: Likewise.
44162         * conform/data/semaphore.h-data: Likewise.
44163         * conform/data/setjmp.h-data: Likewise.
44164         * conform/data/signal.h-data: Likewise.
44165         * conform/data/spawn.h-data: Likewise.
44166         * conform/data/stdarg.h-data: Likewise.
44167         * conform/data/stdio.h-data: Likewise.
44168         * conform/data/stdlib.h-data: Likewise.
44169         * conform/data/string.h-data: Likewise.
44170         * conform/data/strings.h-data: Likewise.
44171         * conform/data/stropts.h-data: Likewise.
44172         * conform/data/sys/ipc.h-data: Likewise.
44173         * conform/data/sys/mman.h-data: Likewise.
44174         * conform/data/sys/msg.h-data: Likewise.
44175         * conform/data/sys/resource.h-data: Likewise.
44176         * conform/data/sys/select.h-data: Likewise.
44177         * conform/data/sys/sem.h-data: Likewise.
44178         * conform/data/sys/shm.h-data: Likewise.
44179         * conform/data/sys/socket.h-data: Likewise.
44180         * conform/data/sys/stat.h-data: Likewise.
44181         * conform/data/sys/statvfs.h-data: Likewise.
44182         * conform/data/sys/time.h-data: Likewise.
44183         * conform/data/sys/timeb.h-data: Likewise.
44184         * conform/data/sys/times.h-data: Likewise.
44185         * conform/data/sys/types.h-data: Likewise.
44186         * conform/data/sys/uio.h-data: Likewise.
44187         * conform/data/sys/un.h-data: Likewise.
44188         * conform/data/sys/utsname.h-data: Likewise.
44189         * conform/data/sys/wait.h-data: Likewise.
44190         * conform/data/syslog.h-data: Likewise.
44191         * conform/data/tar.h-data: Likewise.
44192         * conform/data/termios.h-data: Likewise.
44193         * conform/data/utime.h-data: Likewise.
44194         * conform/data/utmpx.h-data: Likewise.
44195         * conform/data/varargs.h-data: Likewise.
44196         * conform/data/wchar.h-data: Likewise.
44197         * conform/data/wctype.h-data: Likewise.
44198         * conform/data/wordexp.h-data: Likewise.
44200         * include/stropts.h: New file.
44201         * include/uchar.h: New file.
44202         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44203         * include/assert.h: Likewise.
44204         * include/ctype.h: Likewise.
44205         * include/dirent.h: Likewise.
44206         * include/dlfcn.h: Likewise.
44207         * include/fcntl.h: Likewise.
44208         * include/fnmatch.h: Likewise.
44209         * include/glob.h: Likewise.
44210         * include/grp.h: Likewise.
44211         * include/libio.h: Likewise.
44212         * include/locale.h: Likewise.
44213         * include/math.h: Likewise.
44214         * include/net/if.h: Likewise.
44215         * include/netdb.h: Likewise.
44216         * include/netinet/in.h: Likewise.
44217         * include/pthread.h: Likewise.
44218         * include/pwd.h: Likewise.
44219         * include/regex.h: Likewise.
44220         * include/sched.h: Likewise.
44221         * include/search.h: Likewise.
44222         * include/setjmp.h: Likewise.
44223         * include/signal.h: Likewise.
44224         * include/stdio.h: Likewise.
44225         * include/stdlib.h: Likewise.
44226         * include/string.h: Likewise.
44227         * include/sys/cdefs.h: Likewise.
44228         * include/sys/mman.h: Likewise.
44229         * include/sys/msg.h: Likewise.
44230         * include/sys/resource.h: Likewise.
44231         * include/sys/select.h: Likewise.
44232         * include/sys/socket.h: Likewise.
44233         * include/sys/stat.h: Likewise.
44234         * include/sys/statvfs.h: Likewise.
44235         * include/sys/time.h: Likewise.
44236         * include/sys/times.h: Likewise.
44237         * include/sys/uio.h: Likewise.
44238         * include/sys/utsname.h: Likewise.
44239         * include/sys/wait.h: Likewise.
44240         * include/termios.h: Likewise.
44241         * include/time.h: Likewise.
44242         * include/ulimit.h: Likewise.
44243         * include/unistd.h: Likewise.
44244         * include/utime.h: Likewise.
44245         * include/wchar.h: Likewise.
44246         * include/wctype.h: Likewise.
44247         * include/wordexp.h: Likewise.
44249         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44251         * time/time.h: TIME_UTC must be a macro.
44252         Make timespec_get available for ISO C11 only as well.
44254 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44256         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44257         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44259 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44261         * configure.in: Use -o not -a in test for unsupported multi-arch.
44263 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44265         * manual/texinfo.tex: Update to version 2012-01-19.16.
44267 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44269         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44271 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44273         [BZ #13738]
44274         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44275         * manual/fdl-1.3.texi: New file.
44276         * manual/fdl-1.1.texi: File removed.
44278         [BZ #13738]
44279         * manual/libc.texinfo (FDL_VERSION): New @set.
44280         Use it for mention of FDL in cover text.
44281         (Documentation License): Use it in @include file name.
44283 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44284             Roland McGrath  <roland@hack.frob.com>
44286         [BZ #5461]
44287         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44288         (not LONG_LONG_MAX and LONG_LONG_MIN.
44289         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44290         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44291         name.
44292         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44294 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44296         [BZ #2547]
44297         [BZ #11365]
44298         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44299         manipulate bits before adding and subtracting TWO23[sx].
44300         * math/libm-test.inc (nearbyint_test): Add more tests.
44302 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44304         [BZ #2548]
44305         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44306         bits before adding and subtracting TWO23[sx].
44307         * math/libm-test.inc (rint_test): Add more tests.
44308         (rint_test_tonearest): Likewise.
44309         (rint_test_towardzero): Likewise.
44310         (rint_test_downward): Likewise.
44311         (rint_test_upward: Likewise.
44313 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44315         [BZ #10110]
44316         * include/stdc-predef.h: New file.  Extracted from features.h.
44317         * include/features.h: Include stdc-predef.h.
44318         * Makefile (headers): Add stdc-predef.h.
44319         * CONFORMANCE (Compiler limitations): Update.
44321 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44323         * manual/libc.texinfo (VERSION, UPDATED): Revert.
44325 2012-02-21  David S. Miller  <davem@davemloft.net>
44327         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44328         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44330 2012-02-20  David S. Miller  <davem@davemloft.net>
44332         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44333         using a normal save/restore sequence, rather than allocating a
44334         dummy stack frame just to store a frame pointer and restore.
44335         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44337 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44339         * manual/install.texi: Fix stray word in line-wrapped comment.
44341 2012-02-20  David S. Miller  <davem@davemloft.net>
44343         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44344         both binutils and gcc support GOTDATA.
44346         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44347         "rd %pc" in the PIC register setup sequences.
44349         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44350         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44351         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44352         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44353         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44354         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44355         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44356         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44358         (SYSCALL_ERROR_HANDLER): Likewise.
44359         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44360         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44361         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44362         (SYSCALL_ERROR_HANDLER): Likewise.
44364         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44365         (HAVE_GCC_GOTDATA): New.
44366         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44367         relocation support in both binutils and gcc.
44368         * sysdeps/sparc/elf/configure: Regenerate.
44370         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44371         * sysdeps/sparc/sparc32/elf/configure: Delete.
44372         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44373         * sysdeps/sparc/sparc64/elf/configure: Delete.
44374         * sysdeps/sparc/elf/configure.in: New file.
44375         * sysdeps/sparc/elf/configure: Generate.
44377         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44378         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44379         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44380         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44381         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44383 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44385         * manual/install.texi: Do not mention specific glibc version
44386         numbers.
44387         * manual/libc.texinfo (VERSION, UPDATED): Update.
44388         (@copying): Use @copyright{} and range of years.
44390 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44392         [BZ #13695]
44393         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44394         [crti.S not in sysdirs] (generated): Do not append.
44395         [crti.S not in sysdirs] (omit-deps): Likewise.
44396         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44397         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44398         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44399         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44400         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44401         Likewise.
44402         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44403         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44404         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44405         * csu/defs.awk: Remove file.
44406         * sysdeps/generic/initfini.c: Likewise.
44407         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44408         variable.
44409         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44410         Likewise.
44412 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44414         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44415         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44416         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44417         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44418         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44419         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44420         <bits/epoll.h>.
44421         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44422         (__EPOLL_PACKED): Define to empty if not defined by
44423         <bits/epoll.h>.
44424         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44425         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44426         bits/epoll.h.
44428 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44430         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44431         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44432         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44433         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44434         <bits/timerfd.h>.
44435         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44436         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44437         bits/timerfd.h.
44439 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44441         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44442         in C locale.
44443         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44444         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44445         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44448 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
44450         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44451         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44453 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
44455         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44456         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44457         defined.
44458         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44459         Likewise.
44460         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44461         entry for 2.16.
44463 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
44465         * math/w_acos.c: Use non-signaling floating-point comparisons.
44466         * math/w_acosf.c: Likewise.
44467         * math/w_acosh.c: Likewise.
44468         * math/w_acoshf.c: Likewise.
44469         * math/w_acoshl.c: Likewise.
44470         * math/w_acosl.c: Likewise.
44471         * math/w_asin.c: Likewise.
44472         * math/w_asinf.c: Likewise.
44473         * math/w_asinl.c: Likewise.
44474         * math/w_atanh.c: Likewise.
44475         * math/w_atanhf.c: Likewise.
44476         * math/w_atanhl.c: Likewise.
44477         * math/w_exp2.c: Likewise.
44478         * math/w_exp2f.c: Likewise.
44479         * math/w_exp2l.c: Likewise.
44480         * math/w_j0.c: Likewise.
44481         * math/w_j0f.c: Likewise.
44482         * math/w_j0l.c: Likewise.
44483         * math/w_j1.c: Likewise.
44484         * math/w_j1f.c: Likewise.
44485         * math/w_j1l.c: Likewise.
44486         * math/w_jn.c: Likewise.
44487         * math/w_jnf.c: Likewise.
44488         * math/w_log.c: Likewise.
44489         * math/w_log10.c: Likewise.
44490         * math/w_log10f.c: Likewise.
44491         * math/w_log10l.c: Likewise.
44492         * math/w_log2.c: Likewise.
44493         * math/w_log2f.c: Likewise.
44494         * math/w_log2l.c: Likewise.
44495         * math/w_logf.c: Likewise.
44496         * math/w_logl.c: Likewise.
44497         * math/w_sqrt.c: Likewise.
44498         * math/w_sqrtf.c: Likewise.
44499         * math/w_sqrtl.c: Likewise.
44500         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44501         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44502         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44503         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44504         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44506 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44508         [BZ #9739]
44509         * manual/string.texi (strnlen): Use correct parameter name in
44510         equivalent expression.
44512 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44514         [BZ #11174]
44515         * manual/users.texi (seteuid): Consistently use neweuid for
44516         argument name.
44518 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44520         [BZ #13704]
44521         * manual/nss.texi (Services in the NSS configuration): Correct
44522         list of services in example configuration file.
44524 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
44526         [BZ #11322]
44527         * manual/arith.texi: Remove statements about negative zero
44528         behaving identically to zero.
44530 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44532         [BZ #5993]
44533         * manual/install.texi: Do not document upgrading from libc5.
44535 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44537         [BZ #4596]
44538         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44540 2012-02-18  David S. Miller  <davem@davemloft.net>
44542         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44543         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44544         %o7 across the call.
44545         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44546         instead.
44547         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44548         SETUP_PIC_REG_LEAF.
44549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44550         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44551         * sysdeps/sparc/crtn.S: Likewise.
44553 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
44555         * aout/Makefile: Remove.
44557 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
44559         [BZ #13058]
44560         * manual/examples/argp-ex1.c (main): Format definition in GNU
44561         style.
44562         * manual/examples/argp-ex2.c (main): Likewise.
44563         * manual/examples/argp-ex3.c (main): Likewise.
44564         * manual/examples/argp-ex4.c (main): Likewise.
44565         * manual/examples/longopt.c (main): Use new-style prototype
44566         definition.
44567         * manual/examples/strncat.c (main): Specify return type and use
44568         (void) for arguments.
44569         * manual/examples/subopt.c (main): Use char **argv argument.
44571 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44573         [BZ #5077]
44574         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44575         rounding modes.
44577 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
44579         [BZ #6907]
44580         * manual/string.texi (strchr): Change when strchrnul is
44581         recommended.
44583 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
44585         [BZ #174]
44586         * manual/locale.texi (setlocale): Document LOCPATH.
44588 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44590         [BZ #10210]
44591         * manual/process.texi (execle): Move @dots{} before last argument.
44593 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
44595         [BZ #12047]
44596         * manual/charset.texi (Generic Charset Conversion): Fix typo
44597         (LC_TYPE -> LC_CTYPE).
44599 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
44601         [BZ #5805]
44602         * manual/arith.texi (scalbn): Use @var{} on parameter names.
44603         (scalbnf): Likewise.
44604         (scalbnl): Likewise.
44605         (scalbln): Likewise.
44606         (scalblnf): Likewise.
44607         (scalblnl): Likewise.
44608         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44609         (vwarnx): Likewise.
44610         (verr): Likewise.
44611         (verrx): Likewise.
44612         * manual/filesys.texi (telldir): Use braces around return type.
44613         * manual/llio.texi (mmap): Add space after comma.
44614         (mmap64): Likewise.
44615         * manual/math.texi (jn): Use @var{} on parameter names.
44616         (jnf): Likewise.
44617         (jnl): Likewise.
44618         (yn): Likewise.
44619         (ynf): Likewise.
44620         (ynl): Likewise.
44621         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44622         line.
44623         * manual/resource.texi (ulimit): Use @dots{} instead of literal
44624         "...".
44625         (sched_get_priority_min): Remove semicolon on @deftypefun line.
44626         (sched_get_priority_max): Likewise.
44627         * manual/signal.texi (sigvec): Add space after comma.
44628         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44629         names.
44630         (if_indextoname): Likewise.
44631         (if_freenameindex): Likewise.
44632         (sendto): Use ',' instead of '.' in prototype.
44633         * manual/startup.texi (syscall): Use @dots{} instead of literal
44634         "...".
44635         * manual/stdio.texi (__fpending): Separate initial words of
44636         paragraph from @deftypefun line.
44637         * manual/syslog.texi (syslog): Use @dots{} instead of literal
44638         "...".
44639         (vsyslog): Use @var{} on parameter names.
44640         * manual/terminal.texi (stty): Use @var{} on parameter names.
44641         * manual/users.texi (getutmp): Use @var{} on parameter names.
44642         (getutmpx): Likewise.
44644 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44646         [BZ #6884]
44647         * manual/stdio.texi (fopen): Fix typos in description of
44648         ",ccs=STRING".
44650 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
44652         [BZ #4026]
44653         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44654         get clock_id definition.
44656 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
44658         [BZ #4822]
44659         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44660         (madvise): Cast every argument to void on its own.
44662 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44664         [BZ #9902]
44665         * manual/startup.texi (Exit Status): Fix typo.
44667 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44669         [BZ #10140]
44670         * manual/examples/argp-ex1.c: Include <stdlib.h>.
44671         * manual/examples/argp-ex2.c: Likewise.
44672         * manual/examples/argp-ex3.c: Likewise.
44674 2012-02-16  Richard Henderson  <rth@redhat.com>
44676         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44677         * sysdeps/s390/s390-32/initfini.c: Remove.
44678         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44679         * sysdeps/s390/s390-64/initfini.c: Remove.
44681 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44683         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44684         compiler output for sysdeps/generic/initfini.c.
44685         * sysdeps/sh/elf/initfini.c: Remove file.
44687 2012-02-16  David S. Miller  <davem@davemloft.net>
44689         [BZ #11494]
44690         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44692         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44693         * sysdeps/sparc/crti.S: New file.
44694         * sysdeps/sparc/crtn.S: New file.
44695         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44696         * sysdeps/sparc/sparc64/Makefile: Likewise.
44698 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
44700         [BZ #3335]
44701         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44703 2012-02-15  Roland McGrath  <roland@hack.frob.com>
44705         [BZ #4822]
44706         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44708         * mach/devstream.c (cookie_io_functions_t): Macro removed.
44709         (write, read, close): Likewise.
44710         Patch by Aurelien Jarno <aurelien@aurel32.net>.
44712 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
44714         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44715         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44716         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44717         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44718         <bits/signalfd.h>.
44719         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44721         bits/signalfd.h.
44723 2012-02-14  Marek Polacek  <polacek@redhat.com>
44725         * sysdeps/x86_64/crti.S: New file.
44726         * sysdeps/x86_64/crtn.S: New file.
44727         * sysdeps/x86_64/elf/initfini.c: Remove file.
44729 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44731         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44732         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44733         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44734         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44735         <bits/inotify.h>.
44736         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44738         bits/inotify.h.
44740 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44742         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44743         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44744         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44745         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44746         <bits/eventfd.h>.
44747         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44748         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44749         bits/eventfd.h.
44751 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
44753         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44754         __feraiseexcept instead of feraiseexcept.
44756         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44757         nanosleep invocations.
44758         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44759         strings, and add error checking for a nanosleep invocations.
44761 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
44763         Replace FSF snail mail address with URLs, as per GNU coding standards.
44764         Most of the snail mail addresses were wrong anyway, and omitting
44765         them makes the source code easier to maintain.  Almost all of the
44766         changes are to license notices and to locale LC_IDENTIFICATION
44767         addresses, except for this one:
44768         * manual/libc.texinfo: In "Published by", give the FSF's URL,
44769         not its snail mail address.
44771 2012-02-09  Richard Henderson  <rth@twiddle.net>
44773         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44774         of kernel-features.h.
44776         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44778 2012-02-08  Marek Polacek  <polacek@redhat.com>
44780         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44781         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44782         * sysdeps/gnu/_G_config.h: Likewise.
44783         * sysdeps/generic/_G_config.h: Likewise.
44785 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
44787         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44788         tests.
44789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44791         * sysdeps/powerpc/powerpc32/crti.S: New file.
44792         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44793         * sysdeps/powerpc/powerpc64/crti.S: New file.
44794         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44796         * Makeconfig (have-initfini): Don't set.
44797         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44798         * configure.in (nopic_initfini): Don't substitute.
44799         * config.h.in (HAVE_INITFINI): Don't #undef.
44800         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44801         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44803 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44805         Support crti.S and crtn.S provided directly by architectures.
44806         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44807         [crti.S in sysdirs] (omit-deps): Likewise.
44808         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44809         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44810         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44811         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44812         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44813         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44814         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44815         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44816         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44817         compiler output for sysdeps/generic/initfini.c.
44818         * sysdeps/i386/elf/Makefile: Remove file.
44819         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44821 2012-02-07  Marek Polacek  <polacek@redhat.com>
44823         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44824         * sysdeps/gnu/_G_config.h: Likewise.
44825         * sysdeps/mach/hurd/_G_config.h: Likewise.
44827 2012-02-07  Marek Polacek  <polacek@redhat.com>
44829         * math/Makefile (tests): Add tst-CMPLX2.
44830         * math/tst-CMPLX2.c: New file.
44832 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44834         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44836         * math/libm-test.inc (jn_test): Add missing L suffix.
44838 2012-02-06  Marek Polacek  <polacek@redhat.com>
44840         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44841         * sysdeps/i386/fpu/e_powf.S: Likewise.
44842         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44843         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44844         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44845         * sysdeps/i386/fpu/e_pow.S: Likewise.
44846         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44847         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44848         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44849         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44850         * sysdeps/i386/fpu/e_log2.S: Likewise.
44851         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44852         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44853         * sysdeps/i386/fpu/e_powl.S: Likewise.
44854         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44855         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44856         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44857         * sysdeps/i386/fpu/e_logl.S: Likewise.
44858         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44859         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44860         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44861         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44862         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44863         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44864         * sysdeps/i386/fpu/e_log.S: Likewise.
44865         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44866         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44867         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44868         * sysdeps/i386/fpu/e_logf.S: Likewise.
44869         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44870         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44871         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44872         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44873         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44874         * sysdeps/i386/fpu/e_log10.S: Likewise.
44875         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44876         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44877         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44878         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44879         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44880         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44881         * sysdeps/i386/asm-syntax.h: Likewise.
44882         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44883         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44884         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44885         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44886         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44887         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44888         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44889         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44890         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44891         * sysdeps/powerpc/sysdep.h: Likewise.
44892         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44893         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44895 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44897         [BZ #411]
44898         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44900 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44902         * sysdeps/i386/sysdep.h: Include <features.h>.
44903         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44904         version.
44906 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44908         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44909         Define.
44910         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44911         LOAD_PIC_REG_STR.
44913 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44915         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44916         (SETUP_PIC_REG): Use GET_PC_THUNK.
44917         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44918         macro.
44920 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44922         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44923         for non-PIC compilation.
44924         (SETUP_PIC_REG): Add .p2align directive.
44925         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44926         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44927         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44928         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44929         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44930         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44931         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44932         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44933         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44934         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44935         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44936         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44937         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44938         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44939         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44940         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44941         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44942         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44943         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44944         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44945         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44946         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44947         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44948         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44949         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44950         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44951         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44952         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44953         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44954         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44955         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44956         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44957         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44958         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44959         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44960         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44961         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44962         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44963         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44964         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44965         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44967 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44969         * math/tst-CMPLX.c: Include <stdio.h>.
44971 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44973         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44974         float.
44975         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44976         * sysdeps/sparc/bits/mathdef.h: Likewise.
44978 2012-01-31  Marek Polacek  <polacek@redhat.com>
44980         * libio/libio.h: Don't define _PARAMS.
44981         * locale/programs/config.h: Don't define PARAMS.
44982         * stdlib/strtol_l.c: Likewise.
44983         (__strtol_l): Remove PARAMS from the prototype.
44985 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44987         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44988         names.  Just use the correct names.  Remove unnecessary wrapper
44989         functions.
44990         * malloc/arena.c: Likewise.
44991         * malloc/hooks.c: Likewise.
44993         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44994         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44995         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44997 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44999         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45000         into tail calls.
45001         (update_get_addr): New function.
45002         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45003         GET_ADDR_MODULE parameter.
45005 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45007         * crypt/cert.c: Remove __STDC__ conditionals.
45008         * crypt/crypt-entry.c: Likewise.
45009         * crypt/crypt_util.c: Likewise.
45010         * libio/filedoalloc.c: Likewise.
45011         * libio/fileops.c: Likewise.
45012         * libio/genops.c: Likewise.
45013         * libio/iofclose.c: Likewise.
45014         * libio/iofdopen.c: Likewise.
45015         * libio/iofopen.c: Likewise.
45016         * libio/iofopen64.c: Likewise.
45017         * libio/iogetdelim.c: Likewise.
45018         * libio/iopopen.c: Likewise.
45019         * libio/obprintf.c: Likewise.
45020         * libio/oldfileops.c: Likewise.
45021         * libio/oldiofclose.c: Likewise.
45022         * libio/oldiofdopen.c: Likewise.
45023         * libio/oldiofopen.c: Likewise.
45024         * libio/oldiopopen.c: Likewise.
45025         * libio/wfiledoalloc.c: Likewise.
45026         * libio/wgenops.c: Likewise.
45027         * locale/programs/xmalloc.c: Likewise.
45028         * misc/syslog.c: Likewise.
45029         * stdio-common/xbug.c: Likewise.
45030         * string/memchr.c: Likewise.
45031         * string/memcmp.c: Likewise.
45032         * string/memrchr.c: Likewise.
45033         * string/rawmemchr.c: Likewise.
45034         * sysdeps/posix/getcwd.c: Likewise.
45035         * time/strftime_l.c: Likewise.
45037 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45039         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45040         * config.make.in (config-cflags-sse2avx): Define.
45041         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45042         Fix typo.
45044 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
45046         * scripts/config.guess: Update from upstream config git repository.
45047         * scripts/config.sub: Likewise.
45049 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
45051         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45052         (EM_NUM): Update.
45053         (R_TILEPRO_*, R_TILEGX_*): New macros.
45055         * scripts/firstversions.awk: Fix bug in version range handling.
45057         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45059         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45061         * include/sys/epoll.h: New file.
45062         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45063         libc_hidden_def.
45065 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
45067         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45068         Avoid unnecessary __WORDSIZE == 64 test.
45069         (fmaxf): Use VEX format if possible.
45070         (fmax): Likewise.
45071         (fminf): Likewise.
45072         (fmin): Likewise.
45074         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45075         * math/math_private.h: Remove libc_fegetround* and
45076         libc_fesetround*.
45077         * sysdeps/i386/configure.in: Check for -msse2avx.
45078         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45079         also if SSE2AVX is defined.
45080         Remove libc_fegetround* and libc_fesetround*.
45081         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45082         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
45083         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45084         of HAS_YMM_USABLE.
45085         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45086         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45087         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45088         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45089         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45091         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45093 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45095         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45096         size is not set.
45097         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45099 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
45101         [BZ #13618]
45102         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45103         relocation.
45104         * Makeconfig (libm): Define.
45105         * elf/Makefile: Add rules to build and run tst-relsort1.
45106         * elf/tst-relsort1.c: New file.
45107         * elf/tst-relsort1mod1.c: New file.
45108         * elf/tst-relsort1mod2.c: New file.
45110 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
45112         * math/s_ldexp.c: Remove __STDC__ conditionals.
45113         * math/s_ldexpf.c: Likewise.
45114         * math/s_ldexpl.c: Likewise.
45115         * math/s_nextafter.c: Likewise.
45116         * math/s_nexttowardf.c: Likewise.
45117         * math/s_significand.c: Likewise.
45118         * math/s_significandf.c: Likewise.
45119         * math/s_significandl.c: Likewise.
45120         * math/w_jnl.c: Likewise.
45121         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45122         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45123         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45124         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45125         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45126         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45127         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45128         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45129         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45130         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45131         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45132         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45133         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45134         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45135         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45136         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45137         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45138         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45139         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45140         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45141         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45142         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45143         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45144         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45145         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45146         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45147         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45148         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45149         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45150         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45151         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45152         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45153         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45154         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45155         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45156         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45157         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45158         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45159         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45160         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45161         * sysdeps/ieee754/k_standard.c: Likewise.
45162         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45163         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45164         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45165         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45166         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45167         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45168         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45169         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45170         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45171         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45172         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45173         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45174         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45175         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45176         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45177         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45178         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45179         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45180         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45181         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45182         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45183         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45184         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45185         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45186         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45187         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45188         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45189         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45190         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45191         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45192         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45193         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45194         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45195         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45196         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45197         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45198         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45199         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45200         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45201         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45202         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45203         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45204         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45205         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45206         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45207         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45208         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45209         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45210         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45211         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45212         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45213         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45214         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45215         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45216         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45217         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45218         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45219         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45220         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45221         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45222         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45223         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45224         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45225         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45226         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45227         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45228         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45229         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45230         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45231         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45232         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45233         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45234         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45235         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45236         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45237         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45238         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45239         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45240         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45241         * sysdeps/ieee754/s_matherr.c: Likewise.
45242         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45243         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45244         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45245         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45247 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45249         * crypt/md5.h: Remove __STDC__ conditionals.
45250         * libio/libioP.h: Likewise.
45251         * locale/programs/config.h: Likewise.
45252         * sysdeps/generic/sysdep.h: Likewise.
45253         * sysdeps/i386/asm-syntax.h: Likewise.
45254         * sysdeps/s390/asm-syntax.h: Likewise.
45255         * sysdeps/unix/sysdep.h: Likewise.
45256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45259 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45261         * libio/libio.h: Remove __STDC__ conditionals.
45262         * malloc/obstack.h: Likewise.
45263         * math/complex.h: Likewise.
45264         * math/math.h: Likewise.
45265         * sysdeps/generic/_G_config.h: Likewise.
45266         * sysdeps/gnu/_G_config.h: Likewise.
45267         * sysdeps/mach/hurd/_G_config.h: Likewise.
45268         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45269         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45270         * sysdeps/sparc/bits/mathdef.h: Likewise.
45272 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45274         [BZ #13583]
45275         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45276         Clean up HAS_* macros.
45277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45278         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45279         possible.
45280         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45281         HAS_AVX.
45282         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45283         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45284         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45285         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45286         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45288 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45290         * elf/tst-unique3.cc (gets): Remove declaration.
45291         * elf/tst-unique3lib.cc (gets): Likewise.
45292         * elf/tst-unique3lib2.cc (gets): Likewise.
45293         * elf/tst-unique4.cc (gets): Likewise.
45295 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
45297         * include/stdio.h: Add C++ protection.  Add gets declarations and
45298         definitions.
45299         * debug/tst-chk1.c: Don't declare gets here.
45300         * stdio-common/tst-gets.c: Likewise.
45302 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45304         * posix/glob: Remove directory.
45306 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45308         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45310 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
45312         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45313         of the non-standard EPFNOSUPPORT.
45315 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45317         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45318         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45319         ANYWHERE set to 1 only on KERN_NO_SPACE error.
45321 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
45323         * wcsmbs/uchar.h: Test __STDC_VERSION__.
45325 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
45327         * nscd/aicache.c (addhstaiX): Do not cache negative results of
45328         transient errors.
45329         * nscd/grpcache.c (cache_addgr): Likewise.
45330         * nscd/hstcache.c (cache_addhst): Likewise.
45331         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45332         * nscd/pwdcache.c (cache_addpw): Likewise.
45333         * nscd/servicescache.c (cache_addserv): Likewise.
45335 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
45337         * malloc/malloc.c: Various cleanups.
45338         * malloc/hooks.c: Likewise.
45340         * stdlib/Makefile (tests): Add bug-fmtmsg1.
45341         * stdlib/bug-fmtmsg1.c: New file.
45343         * stdlib/fmtmsg.c (init): Add missing unlock.
45344         Patch by Peng Haitao <penght@cn.fujitsu.com>.
45346 2012-01-12  Marek Polacek  <polacek@redhat.com>
45348         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45349         and _GNU_SOURCE.
45351 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45353         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45354         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45355         macro to ensure uniqueness of label name.
45356         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45357         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45359 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
45361         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45363         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45364         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45365         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45366         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45368 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
45370         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45372         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45373         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45374         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45376         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45378         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45379         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45380         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45381         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45383         * math/bits/math-finite.h: Add ldexp support.
45385 2012-01-10  Marek Polacek  <polacek@redhat.com>
45387         * locale/programs/localedef.h (show_archive_content): Add noreturn
45388         attribute.
45390 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
45392         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45394 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45396         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45398         * io/Makefile (headers): Add bits/poll2.h.
45400 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
45402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45403         typo #include statement.
45405 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45407         * include/sys/cdefs.h: Define __attribute_alloc_size.
45408         * catgets/gencat.c: Add alloc_size attribute and apply consistently
45409         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45410         * elf/pldd.c: Likewise.
45411         * iconv/iconv_charmap.c: Likewise.
45412         * iconv/iconvconfig.c: Likewise.
45413         * iconv/strtab.c: Likewise.
45414         * locale/programs/locale.c: Likewise.
45415         * locale/programs/localedef.h: Likewise.
45416         * locale/programs/simple-hash.c: Likewise.
45417         * nscd/nscd.h: Likewise.
45418         * nss/makedb.c: Likewise.
45419         * sysdeps/generic/ldconfig.h: Likewise.
45420         * locale/programs/localedef.c: Remove xmalloc prototype.
45421         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45423 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45425         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45426         appropriate.
45428 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45430         * math/Makefile (tests): Add tst-CMPLX.
45431         * math/tst-CMPLX.c: New file.
45433         * math/complex.h (CMPLXL): Fix typo.
45435         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45436         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45437         GLIBC_2.16.
45438         * debug/tst-chk1.c: Add poll and ppoll tests.
45439         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45440         * include/sys/poll.h: Add hidden proto for ppoll.
45441         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45442         * sysdeps/mach/hurd/ppoll.c: Likewise.
45443         * io/ppoll.c: Likewise.
45444         * debug/poll_chk.c: New file.
45445         * debug/ppoll_chk.c: New file.
45446         * include/bits/poll2.h: New file.
45447         * io/bits/poll2.h: New file.
45449         [BZ #1350]
45450         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45452         * configure.in: static is always set to yes.  Remove.
45453         * config.make.in: Don't set build-static.
45454         * Makeconfig: Remove use of build-static.
45455         * dlfcn/Makefile: Likewise.
45456         * elf/Makefile: Likewise.
45457         * math/Makefile: Likewise.
45458         * misc/Makefile: Likewise.
45459         * nptl/Makefile: Likewise.
45460         * sysdeps/mach/hurd/Makefile: Likewise.
45462         * configure.in: PWD_P is not used anymore.
45463         * config.make.in: Remove PWD_P entry.
45465         * configure.in: Remove last remnants of RANLIB.
45466         No need to check for signed size_t anymore.
45467         Don't set libc_commonpagesize and libc_relro_required here for Alpha
45468         and IA-64.
45469         Remove __builtin_expect test because we require at least gcc 3.4.
45470         * aclocal.m4: Likewise.
45472         * wcsmbs/mbrtoc16.c: Implement using towc function.
45473         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45474         * wcsmbs/wcsmbsload.c: Likewise.
45475         * iconv/gconv_simple.c: Likewise.
45476         * iconv/gconv_int.h: Likewise.
45477         * iconv/gconv_builtin.h: Likewise.
45478         * iconv/iconv_prog.c: Remove CHAR16 handling.
45480         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45482         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45484         * configure.in: Remove --with-elf and --enable-bounded options.
45485         Dont set base_machine for ia64.  More non-ELF conditions removed.
45486         Remove testing and setting of leading underscore information.
45487         * config.make.in (build-bounded): Set to no.
45488         * config.h.in: Remove NO_UNDERSCORES entry.
45489         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
45490         them.
45491         * csu/start.c: Remove !NO_UNDERSCORE code.
45492         * locale/localeinfo.h: Likewise.
45493         * sysdeps/generic/machine-gmon.h: Likewise.
45494         * sysdeps/generic/sysdep.h: Likewise.
45495         * sysdeps/i386/sysdep.h: Likewise.
45496         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45497         * sysdeps/mach/sysdep.h: Likewise.
45498         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45499         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45500         * sysdeps/sh/sysdep.h: Likewise.
45501         * sysdeps/sparc/sparc32/alloca.S: Likewise.
45502         * sysdeps/unix/i386/sysdep.S: Likewise.
45503         * sysdeps/unix/sparc/start.c: Likewise.
45504         * sysdeps/unix/sparc/sysdep.S: Likewise.
45505         * sysdeps/unix/sparc/sysdep.h: Likewise.
45506         * sysdeps/unix/start.c: Likewise.
45507         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45508         * sysdeps/x86_64/sysdep.h: Likewise.
45510 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
45512         [BZ #13553]
45513         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45514         for non-gcc.
45515         * argp/argp-fmtstream.h: Use const instead __const.
45516         * argp/argp.h: Likewise.
45517         * assert/assert.h: Likewise.
45518         * bits/fenv.h: Likewise.
45519         * bits/sched.h: Likewise.
45520         * bits/sigset.h: Likewise.
45521         * bits/sigthread.h: Likewise.
45522         * catgets/nl_types.h: Likewise.
45523         * conform/data/pthread.h-data: Likewise.
45524         * crypt/crypt-private.h: Likewise.
45525         * crypt/crypt.h: Likewise.
45526         * crypt/crypt_util.c: Likewise.
45527         * ctype/ctype.h: Likewise.
45528         * debug/execinfo.h: Likewise.
45529         * debug/mbsnrtowcs_chk.c: Likewise.
45530         * debug/mbsrtowcs_chk.c: Likewise.
45531         * debug/wcsnrtombs_chk.c: Likewise.
45532         * debug/wcsrtombs_chk.c: Likewise.
45533         * debug/wcstombs_chk.c: Likewise.
45534         * dirent/dirent.h: Likewise.
45535         * dlfcn/dlfcn.h: Likewise.
45536         * elf/neededtest4.c: Likewise.
45537         * grp/grp.h: Likewise.
45538         * gshadow/gshadow.h: Likewise.
45539         * iconv/gconv.h: Likewise.
45540         * iconv/gconv_int.h: Likewise.
45541         * iconv/gconv_simple.c: Likewise.
45542         * iconv/iconv.h: Likewise.
45543         * iconv/loop.c: Likewise.
45544         * iconv/skeleton.c: Likewise.
45545         * include/aio.h: Likewise.
45546         * include/aliases.h: Likewise.
45547         * include/argz.h: Likewise.
45548         * include/arpa/inet.h: Likewise.
45549         * include/assert.h: Likewise.
45550         * include/dirent.h: Likewise.
45551         * include/dlfcn.h: Likewise.
45552         * include/execinfo.h: Likewise.
45553         * include/fcntl.h: Likewise.
45554         * include/fenv.h: Likewise.
45555         * include/glob.h: Likewise.
45556         * include/grp.h: Likewise.
45557         * include/libintl.h: Likewise.
45558         * include/mntent.h: Likewise.
45559         * include/netdb.h: Likewise.
45560         * include/pwd.h: Likewise.
45561         * include/rpc/netdb.h: Likewise.
45562         * include/sched.h: Likewise.
45563         * include/search.h: Likewise.
45564         * include/shadow.h: Likewise.
45565         * include/signal.h: Likewise.
45566         * include/stdio.h: Likewise.
45567         * include/stdlib.h: Likewise.
45568         * include/string.h: Likewise.
45569         * include/sys/socket.h: Likewise.
45570         * include/sys/stat.h: Likewise.
45571         * include/sys/statfs.h: Likewise.
45572         * include/sys/statvfs.h: Likewise.
45573         * include/sys/syslog.h: Likewise.
45574         * include/sys/time.h: Likewise.
45575         * include/sys/uio.h: Likewise.
45576         * include/time.h: Likewise.
45577         * include/unistd.h: Likewise.
45578         * include/utmp.h: Likewise.
45579         * include/wchar.h: Likewise.
45580         * include/wctype.h: Likewise.
45581         * inet/aliases.h: Likewise.
45582         * inet/arpa/inet.h: Likewise.
45583         * inet/netinet/ether.h: Likewise.
45584         * inet/netinet/in.h: Likewise.
45585         * intl/libintl.h: Likewise.
45586         * io/bits/fcntl2.h: Likewise.
45587         * io/fcntl.h: Likewise.
45588         * io/ftw.h: Likewise.
45589         * io/sys/poll.h: Likewise.
45590         * io/sys/stat.h: Likewise.
45591         * io/sys/statfs.h: Likewise.
45592         * io/sys/statvfs.h: Likewise.
45593         * io/utime.h: Likewise.
45594         * libio/bits/stdio.h: Likewise.
45595         * libio/bits/stdio2.h: Likewise.
45596         * libio/libio.h: Likewise.
45597         * libio/libioP.h: Likewise.
45598         * libio/stdio.h: Likewise.
45599         * locale/lc-ctype.c: Likewise.
45600         * locale/locale.h: Likewise.
45601         * login/utmp.h: Likewise.
45602         * malloc/arena.c: Likewise.
45603         * malloc/malloc.c: Likewise.
45604         * malloc/malloc.h: Likewise.
45605         * malloc/mcheck.c: Likewise.
45606         * malloc/mtrace.c: Likewise.
45607         * math/bits/mathcalls.h: Likewise.
45608         * math/fenv.h: Likewise.
45609         * math/math_private.h: Likewise.
45610         * misc/bits/error.h: Likewise.
45611         * misc/bits/syslog.h: Likewise.
45612         * misc/err.h: Likewise.
45613         * misc/error.h: Likewise.
45614         * misc/fstab.h: Likewise.
45615         * misc/mntent.h: Likewise.
45616         * misc/regexp.h: Likewise.
45617         * misc/search.h: Likewise.
45618         * misc/sgtty.h: Likewise.
45619         * misc/sys/mman.h: Likewise.
45620         * misc/sys/syslog.h: Likewise.
45621         * misc/sys/uio.h: Likewise.
45622         * misc/sys/xattr.h: Likewise.
45623         * misc/ttyent.h: Likewise.
45624         * nis/rpcsvc/ypclnt.h: Likewise.
45625         * nss/nss.h: Likewise.
45626         * posix/bits/unistd.h: Likewise.
45627         * posix/fnmatch.h: Likewise.
45628         * posix/glob.h: Likewise.
45629         * posix/sched.h: Likewise.
45630         * posix/spawn.h: Likewise.
45631         * posix/sys/wait.h: Likewise.
45632         * posix/unistd.h: Likewise.
45633         * posix/wordexp.h: Likewise.
45634         * pwd/pwd.h: Likewise.
45635         * resolv/netdb.h: Likewise.
45636         * resource/sys/resource.h: Likewise.
45637         * rt/aio.h: Likewise.
45638         * rt/bits/mqueue2.h: Likewise.
45639         * rt/mqueue.h: Likewise.
45640         * shadow/shadow.h: Likewise.
45641         * signal/signal.h: Likewise.
45642         * socket/send.c: Likewise.
45643         * socket/sendto.c: Likewise.
45644         * socket/sys/socket.h: Likewise.
45645         * stdio-common/printf.h: Likewise.
45646         * stdlib/bits/stdlib.h: Likewise.
45647         * stdlib/fmtmsg.h: Likewise.
45648         * stdlib/monetary.h: Likewise.
45649         * stdlib/stdlib.h: Likewise.
45650         * stdlib/ucontext.h: Likewise.
45651         * streams/stropts.h: Likewise.
45652         * string/argz.h: Likewise.
45653         * string/bits/string2.h: Likewise.
45654         * string/string.h: Likewise.
45655         * string/strings.h: Likewise.
45656         * sunrpc/rpc/auth.h: Likewise.
45657         * sunrpc/rpc/auth_des.h: Likewise.
45658         * sunrpc/rpc/clnt.h: Likewise.
45659         * sunrpc/rpc/netdb.h: Likewise.
45660         * sunrpc/rpc/pmap_clnt.h: Likewise.
45661         * sunrpc/rpc/xdr.h: Likewise.
45662         * sysdeps/generic/inttypes.h: Likewise.
45663         * sysdeps/generic/net/if.h: Likewise.
45664         * sysdeps/generic/sys/swap.h: Likewise.
45665         * sysdeps/gnu/net/if.h: Likewise.
45666         * sysdeps/gnu/utmpx.h: Likewise.
45667         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45668         * sysdeps/i386/i486/bits/string.h: Likewise.
45669         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45670         * sysdeps/s390/bits/string.h: Likewise.
45671         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45672         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45673         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45674         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45675         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45676         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45677         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45678         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45679         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45680         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45681         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45682         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45683         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45684         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45685         * sysdeps/unix/sysv/linux/readv.c: Likewise.
45686         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45687         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45688         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45689         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45690         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45691         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45692         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45693         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45694         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45695         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45696         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45697         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45698         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45699         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45700         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45701         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45702         * sysvipc/sys/ipc.h: Likewise.
45703         * sysvipc/sys/msg.h: Likewise.
45704         * sysvipc/sys/sem.h: Likewise.
45705         * sysvipc/sys/shm.h: Likewise.
45706         * termios/termios.h: Likewise.
45707         * time/sys/time.h: Likewise.
45708         * time/time.h: Likewise.
45709         * wcsmbs/bits/wchar2.h: Likewise.
45710         * wcsmbs/uchar.h: Likewise.
45711         * wcsmbs/wchar.h: Likewise.
45712         * wctype/wctype.h: Likewise.
45714         [BZ #13551]
45715         * Makeconfig: Remove all but ELF support including AIX support.
45716         * Makerules: Likewise.
45717         * config.h.in: Likewise.
45718         * config.make.in: Likewise.
45719         * configure: Likewise.
45720         * configure.in: Likewise.
45721         * csu/Makefile: Likewise.
45722         * csu/version.c: Likewise.
45723         * debug/Makefile: Likewise.
45724         * dlfcn/Makefile: Likewise.
45725         * elf/Makefile: Likewise.
45726         * extra-lib.mk: Likewise.
45727         * iconv/Makefile: Likewise.
45728         * include/libc-symbols.h: Likewise.
45729         * include/shlib-compat.h: Likewise.
45730         * resolv/Makefile: Likewise.
45731         * resolv/res_libc.c: Likewise.
45732         * rt/Makefile: Likewise.
45733         * sysdeps/i386/asm-syntax.h: Likewise.
45734         * sysdeps/i386/sysdep.h: Likewise.
45735         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45736         * sysdeps/mach/sysdep.h: Likewise.
45737         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45738         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45739         * sysdeps/s390/asm-syntax.h: Likewise.
45740         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45741         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45742         * sysdeps/sh/sysdep.h: Likewise.
45743         * sysdeps/unix/sparc/sysdep.h: Likewise.
45744         * sysdeps/wordsize-32/divdi3.c: Likewise.
45745         * sysdeps/x86_64/sysdep.h: Likewise.
45747         * argp/Versions: Remove _argp_unlock_xxx.
45749         [BZ #13559]
45750         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
45751         * abilist/libBrokenLocale.abilist: Likewise.
45752         * abilist/libanl.abilist: Likewise.
45753         * abilist/libc.abilist: Likewise.
45754         * abilist/libcrypt.abilist: Likewise.
45755         * abilist/libdl.abilist: Likewise.
45756         * abilist/libm.abilist: Likewise.
45757         * abilist/libnsl.abilist: Likewise.
45758         * abilist/libpthread.abilist: Likewise.
45759         * abilist/libresolv.abilist: Likewise.
45760         * abilist/librt.abilist: Likewise.
45761         * abilist/libthread_db.abilist: Likewise.
45762         * abilist/libutil.abilist: Likewise.
45763         * abilist/libnss_db.abilist: New file.
45765         * scripts/abilist.awk: Add support for indirect functions.
45767         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45769         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45771         * shlib-versions: Remove entries for ports architectures.
45773         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
45774         files in ports.
45775         * elf/stackguard-macros.h: Remove support for IA-64.
45776         * elf/tst-auditmod1.c: Likewise.
45777         * sysdeps/generic/ldsodefs.h: Likewise.
45779         * sysdeps/unix/sysv/linux/configure.in: Ports should define
45780         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45781         configure files.
45783         [BZ #13552]
45784         * configure.in: Remove --enable-omitfp support.
45785         * FAQ.in: Adjust.
45786         * config.make.in: Likewise.
45787         * Makeconfig: Likewise.
45788         * manual/install.texi: Likewise.
45790         In case anyone cares, the IA-64 architecture could move to ports.
45791         * sysdeps/ia64/*: Removed.
45792         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45793         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45795         [BZ #13555]
45796         * configure.in: Remove entries for unsupported architectures.
45798         [BZ #13533]
45799         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45800         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45801         routines.
45802         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45803         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45804         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45805         fall back to using wcrtomb.
45806         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45807         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45808         renaming.
45809         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45810         * wcsmbs/tst-c16c32-1.c: New file.
45812         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45813         local variable.
45815         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45817         * elf/tst-unique3.cc: Add explicit declaration of gets.
45818         * elf/tst-unique3lib.cc: Likewise.
45819         * elf/tst-unique3lib2.cc: Likewise.
45820         * elf/tst-unique4.cc: Likewise.
45822         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45824 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45826         [BZ #13566]
45827         * assert/assert.h (static_assert): Don't define for C++.
45828         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45829         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45831 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45833         * iconv/loop.c (single loop): Fix assertion in storing of
45834         remaining bytes.
45836         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45838 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45840         * posix/getconf.c: Update copyright year.
45841         * nss/getent.c: Likewise.
45842         * nss/makedb.c: Likewise.
45843         * iconv/iconvconfig.c: Likewise.
45844         * iconv/iconv_prog.c: Likewise.
45845         * elf/ldconfig.c: Likewise.
45846         * elf/pldd.c: Likewise.
45847         * elf/sotruss.ksh: Likewise.
45848         * catgets/gencat.c: Likewise.
45849         * csu/version.c: Likewise.
45850         * elf/ldd.bash.in: Likewise.
45851         * elf/sprof.c (print_version): Likewise.
45852         * locale/programs/locale.c: Likewise.
45853         * locale/programs/localedef.c: Likewise.
45854         * login/programs/pt_chown.c: Likewise.
45855         * nscd/nscd.c (print_version): Likewise.
45856         * debug/xtrace.sh: Likewise.
45857         * malloc/memusage.sh: Likewise.
45858         * malloc/mtrace.pl: Likewise.
45859         * debug/catchsegv.sh: Likewise.
45861 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45863         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45864         pure attribute.
45866 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45868         [BZ #13533]
45869         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45870         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45871         transformations.
45872         * iconv/gconv_int.h: Likewise.
45873         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45874         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45875         from libc for GLIBC_2.16.
45876         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45877         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45878         * wcsmbs/uchar.h: Really define mbstate_t.
45879         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45880         * wcsmbs/c16rtomb.c: New file.
45881         * wcsmbs/mbrtoc16.c: New file.
45882         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45883         for C/POSIX locale.
45884         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45885         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45887         * wcsmbs/wchar.h: Add missing __restrict.
45889 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45891         [BZ #13532]
45892         * time/Makefile (routines): Add timespec_get.
45893         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45894         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45895         timespec for ISO C11.
45896         * time/timespec_get.c: New file.
45897         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45898         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45900         [BZ #13531]
45901         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45902         * stdlib/stdlib.h: Declare aligned_alloc.
45903         * Versions.def: Add GLIBC_2.16 for libc.
45904         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45906         [BZ 13527]
45907         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45908         ISO C11.
45910         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45911         code.
45913         [BZ #13528]
45914         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45916         [BZ #13529]
45917         * assert/assert.h (static_assert): Define.
45919         * version.h: Update for 2.16 development version.
45921         [BZ #13526]
45922         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45923         _ISOC11_SOURCE.
45925         * version.h (RELEASE): Bump for 2.15 release.
45926         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45928         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45929         Patch by Marek Polacek <mpolacek@redhat.com>.
45931         * bits/byteswap.h: Protect long long constants with __extension__.
45932         * sysdeps/i386/bits/byteswap.h: Likewise.
45933         * sysdeps/ia64/bits/byteswap.h: Likewise.
45934         * sysdeps/s390/bits/byteswap.h: Likewise.
45935         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45937 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45939         [BZ #13540]
45940         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45941         destination buffer.
45942         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45944 2011-12-23  Marek Polacek  <polacek@redhat.com>
45946         * elf/dl-addr.c (determine_info): Add inline keyword.
45947         * elf/tst-auditmod4b.c (check_avx): Likewise.
45948         * elf/tst-auditmod6b.c (check_avx): Likewise.
45949         * elf/tst-auditmod6c.c (check_avx): Likewise.
45950         * elf/tst-auditmod7b.c (check_avx): Likewise.
45952 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45954         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45955         !__SSE_MATH__.
45957 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45959         [BZ #13540]
45960         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45961         processing for last bytes.
45963 2011-08-06  Bruno Haible  <bruno@clisp.org>
45965         [BZ #13061]
45966         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45967         U+0385, not to U+1FEE.
45969         [BZ #13062]
45970         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45971         entry for U+00A5 U+0301.
45973 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45975         [BZ #13166]
45976         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45977         buffer for the output is too small.
45979         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45980         optimization.
45982         [BZ #13185]
45983         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45984         SSE flags if possible.
45986 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45988         [BZ #13540]
45989         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45990         processing for last bytes.
45992 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45994         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45995         (syscall-list-default-options, syscall-list-default-condition)
45996         (syscall-list-includes): Define.
45997         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45998         list of ABIs and options and #if conditions for each ABI.  Do not
45999         handle common syscalls between ABIs specially.
46000         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46001         Remove.
46002         (syscall-list-variants, syscall-list-32bit-options)
46003         (syscall-list-32bit-condition, syscall-list-64bit-options)
46004         (syscall-list-64bit-condition): Define.
46005         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46006         (syscall-list-variants, syscall-list-32bit-options)
46007         (syscall-list-32bit-condition, syscall-list-64bit-options)
46008         (syscall-list-64bit-condition): Define.
46009         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46010         Remove.
46011         (syscall-list-variants, syscall-list-32bit-options)
46012         (syscall-list-32bit-condition, syscall-list-64bit-options)
46013         (syscall-list-64bit-condition): Define.
46014         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46015         Remove.
46016         (syscall-list-variants, syscall-list-32bit-options)
46017         (syscall-list-32bit-condition, syscall-list-64bit-options)
46018         (syscall-list-64bit-condition): Define.
46020 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46022         * locale/iso-639.def: Add brx entry.
46024         [BZ #13328]
46025         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46026         Proposed by Mariusz_Cukr <marcukr@op.pl>.
46028         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46029         __feraiseexcept_renamed.
46031 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46033         [BZ #13538]
46034         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46035         EPOLLET with unsigned values.
46036         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46037         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46039         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46040         to large cancellation.
46041         * math/s_cacoshf.c: Likewise.
46042         * math/s_cacoshl.c: Likewise.
46044 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
46046         [BZ #13305]
46047         [BZ #12786]
46048         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46049         * math/s_cacoshf.c: Likewise.
46050         * math/s_cacoshl.c: Likewise.
46052 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46054         [BZ #13439]
46055         * iconv/gconv.h: Define __GCONV_SWAP.
46056         * iconvdata/unicode.c: The swap bit must be stored in __flags.
46057         * iconvdata/utf-16.c: Likewise.
46058         * iconvdata/utf-32.c: Likewise.
46060 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
46062         [BZ #13524]
46063         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46064         numerator after shifting it by one limb.
46066 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
46068         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46069         under [__USE_EXTERN_INLINES].
46071 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46073         [BZ #13446]
46074         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46076 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46078         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46079         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46080         optimized code.
46081         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46082         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46083         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46084         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46085         for strncasecmp/strncasecmp_l compilation.
46086         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46087         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46089 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
46091         [BZ #13484]
46092         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46093         of __asm__.
46095 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46097         [BZ #13506]
46098         * time/tzfile.c (__tzfile_read): Check values from file header.
46100 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46102         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46103         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46104         * powerpc/powerpc32/dl-start.S: Likewise.
46105         * powerpc/powerpc32/elf/start.S: Likewise.
46106         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46107         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46108         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46109         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46110         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46111         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46112         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46113         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46114         * powerpc/powerpc32/fpu/s_round.S: Likewise.
46115         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46116         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46117         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46118         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46119         * powerpc/powerpc32/memset.S: Likewise.
46120         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46121         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46122         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46123         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46124         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46125         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46126         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46127         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46128         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46129         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46130         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46131         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46132         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46134 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46136         * math/libm-test.inc: Added more nearbyint tests.
46137         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46138         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46139         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46140         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46142 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
46144         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46145         FD_CLOEXEC.
46147 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46149         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46150         Add wcscpy-ssse3 wcscpy-c.
46151         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46152         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46153         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46154         * sysdeps/x86_64/wcschr.S: New file.
46155         * sysdeps/x86_64/wcsrchr.S: New file.
46156         * string/test-strcmp.c: Remove checking of wcscmp function for
46157         wrong alignments.
46158         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46159         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46160         wcsrchr-sse2 wcsrchr-c.
46161         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46162         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46163         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46164         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46165         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46166         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46167         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46168         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46169         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46170         * wcsmbc/wcschr.c (WCSCHR): New macro.
46172 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46174         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46175         * wcsmbs/test-wcsrchr.c: New file.
46176         * string/test-strrchr.c: Add wcsrchr support.
46177         (WIDE): New macro.
46178         * wcsmbs/test-wcscpy.c: New file.
46179         * string/test-strcpy.c: Add wcscpy support.
46180         (WIDE): New macro.
46182 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46184         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46185         the inner loop.
46187 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46189         [BZ #13472]
46190         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46192 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46194         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46195         Minor optimizations.
46197         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46198         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46199         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46201 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46203         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46204         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46205         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46206         for gcc to avoid warnings.
46207         * inet/Makefile (tests): Add tst-checks.
46208         * inet/tst-checks.c: New file.
46210         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46211         warning.
46213         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46214         __wmemcmp_sse2.
46216         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46217         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46219         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46221 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46223         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46224         problem.
46226         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46228 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46230         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46231         conditional on GCC version.
46232         (__arch_compare_and_exchange_val_8_acq)
46233         (__arch_compare_and_exchange_val_16_acq)
46234         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46235         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46236         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46238 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46240         * sysdeps/sh/backtrace.c: New file.
46242 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46244         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46245         parenthesis.
46247 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46249         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46250         falling back to utime.
46252 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46254         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46255         expectations for float.
46257 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46259         * locale/weight.h (findidx): Add parameter len.
46260         * locale/weightwc.h (findidx): Likewise.
46261         * posix/fnmatch_loop.c (FCT): Adjust caller.
46262         * posix/regcomp.c (build_equiv_class): Likewise.
46263         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46264         * posix/regexec.c (check_node_accept_bytes): Likewise.
46265         * string/strcoll_l.c (STRCOLL): Likewise.
46266         * string/strxfrm_l.c (STRXFRM): Likewise.
46268 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46270         * Makefile.in: Remove CVSOPT handling.
46271         * configure.in: Remove use of AC_REVISION.
46272         * iconvdata/Makefile (distribute): No need to filter out CVS.
46273         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46274         handling.
46276 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46278         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46279         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46280         [USE_AS_STRNCASECMP_L]: Likewise.
46281         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46282         NO_TLS_DIRECT_SEG_REFS.
46283         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46284         Fix argument offsets for non-PIC.
46285         [USE_AS_STRNCASECMP_L]: Likewise.
46286         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46287         NO_TLS_DIRECT_SEG_REFS.
46289 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46291         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46292         O_CLOEXEC.
46293         * locale/loadlocale.c (_nl_load_locale): Likewise.
46295 2011-11-15  Andreas Schwab  <schwab@redhat.com>
46297         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46298         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46299         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46300         (SYSCALL_GETTIME): Set errno on error.
46302         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46303         count references to noai6ai_cached.
46305 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46307         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46309         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46310         FD_CLOEXEC for /proc/self/maps.
46312         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46313         FD_CLOEXEC for /proc/meminfo.
46315         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46316         gai.conf.
46318         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
46319         FD_CLOEXEC for given file.
46321         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46323         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46324         FD_CLOEXEC for /etc/hosts.
46325         (_gethtent): Likewise.
46327         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46329         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46330         cancellation and set FD_CLOEXEC for /etc/netgroup.
46332         * nss/nss_files/files-key.c (search): Don't allow cancellation when
46333         reading /etc/publickey.
46335         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46336         allow cancellation when reading /etc/group.
46338         * nss/nss_files/files-alias.c (internal_setent): Don't allow
46339         cancellation.
46340         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
46342         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46343         when using data file.
46345         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46347         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46348         (write_nis_obj): Use "c" and "e" in fopen.
46350         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46352         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46354         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46356         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46358         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46359         locale.alias.
46361         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46363         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46365         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46367         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46368         file parsing and set FD_CLOEXEC.
46370 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46372         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46374 2011-11-14  Andreas Schwab  <schwab@redhat.com>
46376         * malloc/arena.c (arena_get2): Don't call reused_arena when
46377         _int_new_arena failed.
46379 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46381         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46382         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46383         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46384         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46385         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46386         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46387         to compile strcasecmp and strncasecmp.
46388         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46389         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46391         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46393 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
46395         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46396         locale-defines.sym to gen-as-const-headers.
46397         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46398         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46399         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46400         to compile strcasecmp and strncasecmp.
46401         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46402         strcasecmp_l and strncasecmp_l.
46403         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46404         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46405         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46406         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46407         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46408         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46409         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46410         * sysdeps/i386/i686/multiarch/strncase.S: New file.
46411         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46412         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46413         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46415 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
46417         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46418         result of SYSDEP_GETTIME_CPU to retval.
46419         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46420         parameter list to macro.  Remove trailing semicolon.  Adjust users.
46422         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46423         variable.
46425         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46426         mantissa words.
46427         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46429         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46430         from unused variable.
46432         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46433         DWARF definitions.
46434         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46435         for assembling.
46437         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46438         over namespaces.
46440         * sunrpc/rpc_prot.c (rejected): Fix case value.
46442         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46443         unsigned long long int to avoid warnings in shift.
46445         * posix/regex_internal.c (re_string_reconstruct): Actually use result
46446         of use of trans.
46447         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46448         variable tmp.
46450         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46451         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46452         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46454         * nis/nis_table.c (nis_list): Use variable of correct type for
46455         result of __follow_path call.
46457 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46459         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46460         of math functions ceil, trunc, floor, round, and sqrt, when
46461         avaliable on the platform.
46462         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46463         name clash.
46464         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46465         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46466         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46468 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
46470         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46471         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46473 2011-11-11  Roland McGrath  <roland@hack.frob.com>
46475         * include/unistd.h: Fix __readlink return type.
46476         Reported by Chris Metcalf <cmetcalf@tilera.com>.
46478 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
46480         * stdlib/ucontext.h: Undo last change for makecontext.
46482 2011-11-11  Andreas Schwab  <schwab@redhat.com>
46484         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46486         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46487         * setjmp/setjmp.h: Mark functions as non-leaf.
46488         * setjmp/bits/setjmp2.h: Likewise.
46489         * stdlib/ucontext.h: Likewise.
46491 2011-11-10  Andreas Schwab  <schwab@redhat.com>
46493         * malloc/arena.c (_int_new_arena): Don't increment narenas.
46494         (reused_arena): Don't check arena limit.
46495         (arena_get2): Atomically check arena limit.
46497 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
46499         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46500         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46502         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46503         instructions.
46505 2011-11-07  Andreas Schwab  <schwab@redhat.com>
46507         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46508         handler when locking.
46510         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46511         Fix size of allocated buffer.
46513 2011-11-04  Andreas Schwab  <schwab@redhat.com>
46515         [BZ #10103]
46516         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46517         declarations for long double functions.
46518         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46520         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46522 2011-11-03  Andreas Schwab  <schwab@redhat.com>
46524         * nscd/nscd.c (main): Don't start AVC thread until credentials are
46525         installed.
46527         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46528         is disabled.
46530 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46532         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46534 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46536         * include/alloca.h (stackinfo_alloca_round): Define.
46537         (extend_alloca): Use it.
46538         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46539         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46540         here.
46542         * scripts/check-local-headers.sh: Ignore libaudit.h.
46544         * nscd/Makefile (extra-objs): Make recursively expanded.
46546 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
46548         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46549         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46551         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46552         * posix/tst-rfc3484-2.c: Likewise.
46553         * posix/tst-rfc3484-3.c: Likewise.
46555         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46556         process_vm_writev.
46557         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46558         process_vm_writev.
46559         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46560         process_vm_writev from libc using GLIBC_2.15 version.
46562         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46564 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
46566         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46567         stack usage.
46569 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
46571         [BZ #13367]
46572         * nss/getent.c (initgroups_keys): Show error message in case no group
46573         names are given.
46575         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46576         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46577         __bump_nl_timestamp.
46578         * nscd/connections (nscd_init): When host database is served open
46579         netlink socket and request notification about configuration changes.
46580         (main_loop_poll): Track netlink file descriptor and bump timestamp
46581         in case data becomes available.
46582         (main_loop_epoll): Likewise.
46583         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46584         (database_pers_head): Add extra_data fileds.
46585         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46586         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46587         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46588         Adjust caller.
46589         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46590         in6ai data, call __free_in6ai.
46591         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46592         Add -DHAVE_NETLINK.
46593         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
46594         interface information.  Reuse previous data if netlink timestamp
46595         is not changed.
46596         (__bump_nl_timestamp): New function.
46597         (__free_in6ai): New function.
46599 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
46601         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46602         close_not_cancel_no_status here.
46603         (__check_pf): Reorganize code a bit to not call close twice if OOM.
46605 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46607         [BZ #13276]
46608         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46609         return value.
46611         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46612         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46613         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46615 2011-07-03  Andreas Jaeger  <aj@suse.de>
46617         [BZ #10709]
46618         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46619         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46620         * math/libm-test.inc (sin_test): Add test case.
46622 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46624         [BZ #13337]
46625         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46626         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46628         * elf/chroot_canon.c (chroot_canon): Cleanups.
46630         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46632         [BZ #13335]
46633         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46634         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46636         * string/test-strchr.c: Make usable for strchrnul testing.
46637         * string/test-strchrnul.c: New file.
46638         * string/Makefile (strop-tests): Add strchrnul.
46640         * po/it.po: Update from translation team.
46641         * po/es.po: Likewise.
46643 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
46645         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46646         the three constants needed as parameters.  Drop the others.
46647         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46648         __m128i_strloadu_tolower.
46649         Create and initialize variable zero and use it in all the places
46650         where _mm_setzero_si128 was used.
46652         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46653         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46654         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46655         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46656         anymore.
46657         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46658         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46659         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46660         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46661         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46662         __mpranred, __mptan.
46663         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46664         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46665         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46666         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46667         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46668         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46669         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46670         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46671         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46673 2011-10-28  Andreas Schwab  <schwab@redhat.com>
46675         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46676         redefine if SHARED.
46677         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46679         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46680         wide char related routines to wcsmbs subdir.
46682 2011-10-27  Andreas Schwab  <schwab@redhat.com>
46684         [BZ #13344]
46685         * misc/sys/cdefs.h (__THROWNL): Define.
46686         * posix/unistd.h: Use __THREADNL instead of __THREAD
46687         for memory synchronization functions.
46689 2011-10-26  Roland McGrath  <roland@hack.frob.com>
46691         [BZ #13349]
46692         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46693         doesn't exist.
46694         * manual/stdio.texi (Obstack Streams): Node removed.
46696 2011-10-26  Andreas Schwab  <schwab@redhat.com>
46698         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46699         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46700         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46702         * math/math_private.h (math_force_eval): Allow non-addressable
46703         arguments.
46704         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46706 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46708         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46709         file is not needed.
46711         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46712         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46713         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46714         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46715         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46716         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46717         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46718         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46719         Add AVX variants.
46720         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46721         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46722         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46723         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46724         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46725         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46726         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46727         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46728         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46729         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46730         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46731         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46732         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46733         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46734         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46735         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46736         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46737         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46738         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46740         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46741         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
46743         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46744         place.  Use VEX encoding when compiling for AVX.
46746 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46748         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46749         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46751         * string/test-strchr.c (do_test): Don't generate NUL bytes.
46753 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46755         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46756         useless if() expression.
46757         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46758         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46759         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46760         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46761         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46762         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46763         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46766         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46767         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46768         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46769         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46770         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46771         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46772         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46773         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46774         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46775         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46777         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46779 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46781         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46782         condition.
46783         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46785 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46787         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46788         .text section.  Avoid duplicate constants.
46789         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46790         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46791         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46792         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46793         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46794         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46795         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46796         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46797         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46798         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46799         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46800         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46801         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46802         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46803         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46804         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46805         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46806         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46807         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46808         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46809         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46810         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46811         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46812         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46813         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46814         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46815         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46816         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46817         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46818         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46819         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46820         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46821         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46822         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46823         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46824         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46825         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46826         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46827         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46828         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46829         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46830         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46831         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46832         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46833         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46835 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46837         * sysdeps/x86_64/dla.h: Move to ...
46838         * sysdeps/x86_64/fpu/dla.h: ...here.
46839         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46840         situations.  Use __builtin_fma only for gcc 4.6 and up.
46842         * config.make.in: Add have-mfma4 entry.
46843         * configure.in: Substitute libc_cv_cc_fma4.
46844         * math/Makefile (dbl-only-routines): Add sincostab.
46845         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46846         Use __sincostab not sincos.
46847         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46848         name is a macro.
46849         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46850         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46851         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46852         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46853         using __copysign.
46854         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46855         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46856         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46857         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46858         and __inv.
46859         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46860         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46861         __copysign.
46862         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46863         define aliases when function name is a macro.
46864         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46865         sysdeps/ieee754/dbl-64/sincos.tbl.
46866         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46867         fma4-enabled routines.
46868         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46869         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46870         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46871         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46872         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46873         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46874         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46875         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46876         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46877         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46878         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46879         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46880         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46881         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46882         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46883         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46884         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46885         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46886         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46887         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46888         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46889         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46890         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46891         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46892         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46893         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46894         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46895         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46896         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46897         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46899         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46900         rename.
46901         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46902         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46903         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46904         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46905         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46906         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46907         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46908         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46910 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46912         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46914 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46916         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46918         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46919         prediction.
46920         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46922         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46923         Remove unused variable magic_bits.
46924         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46926         * string/strnlen.c: Define and use STRNLEN macro.
46927         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46928         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46929         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46930         * wcsmbs/wcslen.c: Define and use WCSLEN.
46931         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46932         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46933         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46934         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46935         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46936         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46937         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46939 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46942         strnlen-sse2-no-bsf.
46943         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46944         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46945         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46946         Add strnlen support.
46947         (USE_AS_STRNLEN): New macro.
46948         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46949         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46950         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46951         * sysdeps/x86_64/wcslen.S: New file.
46953 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46955         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46956         XMM-moves are used for copying on small sizes.
46958 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46960         * wcsmbs/Makefile (strop-tests): Add wcschr.
46961         * wcsmbs/test-wcschr.c: New file.
46962         * string/test-strchr.c: Update.
46963         Add wcschr support.
46964         (WIDE): New macro.
46966 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46968         * wcsmbs/Makefile (strop-tests): Add wcslen.
46969         * wcsmbs/test-wcslen.c: New file.
46970         * string/test-strlen.c: Update.
46971         Add wcslen support.
46972         (WIDE): New macro.
46974 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46976         * po/it.po: Update from translation team.
46978 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46980         * sysdeps/x86_64/wcscmp.S: Update.
46981         Fix wrong comparison semantics.
46982         wcscmp shall use signed comparison not unsigned.
46983         Don't use substraction to avoid overflow bug.
46984         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46985         * wcsmbc/wcscmp.c: Likewise.
46986         * string/test-strcmp.c: Likewise.
46987         Add new tests to check cases with negative values.
46989 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46991         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46992         * sysdeps/x86_64/dla.h: ...here.  New file.
46993         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46994         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46995         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46997         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46998         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46999         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47000         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47001         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47003 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
47005         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47006         __ynl_finite aliases.
47008 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47012         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47013         define DLA_FMA.
47014         [DLA_FMA] (EMULV): Use DLA_FMA.
47015         [DLA_FMA] (MUL12): Use EMULV.
47016         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47017         that are not needed.
47018         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47019         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47020         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47021         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47022         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47023         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47024         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47026 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
47028         * math/s_nan.c: Undef __nan.
47029         * math/s_nanf.c: Undef __nanf.
47030         * math/s_nanl.c: Undef __nanl.
47031         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47032         "math_private.h".
47034 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47036         * math/s_catan.c: Add branch predictions.
47037         * math/s_catanf.c: Likewise.
47038         * math/s_catanh.c: Likewise.
47039         * math/s_catanhf.c: Likewise.
47040         * math/s_catanhl.c: Likewise.
47041         * math/s_catanl.c: Likewise.
47042         * math/s_cexp.c: Likewise.
47043         * math/s_cexpf.c: Likewise.
47044         * math/s_cexpl.c: Likewise.
47045         * math/s_clog.c: Likewise.
47046         * math/s_clog10.c: Likewise.
47047         * math/s_clog10f.c: Likewise.
47048         * math/s_clog10l.c: Likewise.
47049         * math/s_clogf.c: Likewise.
47050         * math/s_clogl.c: Likewise.
47051         * math/s_csqrt.c: Likewise.
47052         * math/s_csqrtf.c: Likewise.
47053         * math/s_csqrtl.c: Likewise.
47054         * math/s_ctanf.c: Likewise.
47055         * math/s_ctanh.c: Likewise.
47056         * math/s_ctanhf.c: Likewise.
47057         * math/s_ctanhl.c: Likewise.
47058         * math/s_ctanl.c: Likewise.
47060         * math/math_private.h: Define __nan, __nanf, __nanl.
47061         * math/s_cacosh.c: Include <math_private.h>.
47062         * math/s_cacoshl.c: Likewise.
47063         * math/s_casinh.c: Likewise.
47064         * math/s_casinhf.c: Likewise.
47065         * math/s_casinhl.c: Likewise.
47066         * math/s_ccos.c: Rely entire on ccosh.
47067         * math/s_ccosf.c: Rely entire on ccoshf.
47068         * math/s_ccosl.c: Rely entirely on ccoshl.
47069         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
47070         Remove tests for FE_INVALID.
47071         * math/s_ccoshf.c: Likewise.
47072         * math/s_ccoshl.c: Likewise.
47073         * math/s_csin.c: Likewise.
47074         * math/s_csinf.c: Likewise.
47075         * math/s_csinh.c Likewise.
47076         * math/s_csinhf.c: Likewise.
47077         * math/s_csinhl.c: Likewise.
47078         * math/s_csinl.c: Likewise.
47079         * math/s_ctan.c: Likewise.
47080         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47081         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47082         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47084 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
47086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47087         compilation problems.
47089         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47090         __builtin_expect.
47092 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
47094         * sysdeps/i386/configure.in: Test for -mfma4 option.
47095         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47096         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47097         COMMON_CPUID_INDEX_80000001.
47098         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47099         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47100         use it if FMA3 is not supported.
47101         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47103         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47104         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47106 2011-10-20  Andreas Schwab  <schwab@redhat.com>
47108         [BZ #12892]
47109         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47110         it would create a cycle with a link time dependency.
47112 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
47114         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47115         instruction.
47116         * string/Makefile (strop-tests): Add rawmemchr.
47117         * string/test-rawmemchr.c: New file.
47119         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47120         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
47121         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
47122         when compiling str{,n}casecmp and when AVX is available.  Hook up
47123         new optimized code in initializers.
47125 2011-10-19  Andreas Schwab  <schwab@redhat.com>
47127         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47128         __feraiseexcept instead of feraiseexcept.
47130 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
47132         * math/math_private.h: Define defaults for libc_fetestexcept and
47133         libc_feupdateenv.
47134         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47135         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47136         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47137         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47138         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47139         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47140         libc_fetestexcept and libc_feupdateenv.
47142         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47143         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47144         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47145         * sysdeps/x86_64/fpu/math_private.h: Define special version of
47146         libc_feholdexcept_setround.
47148         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47149         Add s_nearbyint-c and s_nearbyintf-c.
47150         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47151         nearbyintf inlines.
47152         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47153         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47154         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47155         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47157         * math/math_private.h: Define defaults for libc_fegetround,
47158         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47159         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47160         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47161         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47162         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47163         standard functions.
47164         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47165         Remove comments and hacks for old compiler versions.
47166         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47167         libc_fegetround, libc_fesetround, libc_feholdexcept, and
47168         libc_feholdexceptl.
47170 2011-10-18  Andreas Schwab  <schwab@redhat.com>
47172         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47173         (__feraiseexcept_renamed): Add __NTH.
47174         (feraiseexcept): Add __NTH.  Rename local variables to fix
47175         namespace violations.
47177 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47179         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47181         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47183         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47184         recently added interfaces.
47185         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47187         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47188         about macro parameter expansion.
47190         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47191         __NO_MATH_INLINES is defined.  Cleanups.
47193         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47194         and __floorf is target has SSE4.1.
47195         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47196         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47197         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47198         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47200         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47201         name.
47202         (floorf): Likewise.
47204         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47206 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47208         * misc/sys/cdefs.h: Fix last change.
47210         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47211         database lookup.
47213 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47215         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47217         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47218         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47219         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47220         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47221         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47222         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47223         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47224         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47225         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47226         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47227         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47228         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47229         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47230         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47231         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47232         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47233         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47234         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47235         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47236         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47237         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47238         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47240         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47241         ceil, ceilf, floor, floorf.
47243         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47244         Perform IRELATIVE relocations last.
47246         * elf/do-rel.h: Add another parameter nrelative, replacing the
47247         local variable with the same name.  Change name of the function
47248         to end in Rel or Rela (uppercase).
47249         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47250         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47251         elf_dynamic_do_##reloc function.
47253 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47255         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47256         is sufficient, at least on modern CPUs.
47258         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47260         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47261         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47263         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47264         __expl_finite.
47265         * math/bits/math-finite.h: Add entries for exp.
47266         * math/e_expl.c: Add __*_finite alias.
47267         * sysdeps/i386/fpu/e_exp.S: Likewise.
47268         * sysdeps/i386/fpu/e_expf.S: Likewise.
47269         * sysdeps/i386/fpu/e_expl.c: Likewise.
47270         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47271         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47272         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47273         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47274         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47275         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47276         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47278         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47279         is sufficient, at least on modern CPUs.
47281         * ctype/ctype-info.c (__ctype_init): Define.
47282         * include/ctype.h (__ctype_init): Declare.
47283         (__ctype_b_loc): The variable is always initialized.
47284         (__ctype_toupper_loc): Likewise.
47285         (__ctype_tolower_loc): Likewise.
47286         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47287         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47289 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47291         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47293         * configure.in: Also look in $cxxmachine/include for C++ system
47294         headers.
47296 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47298         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47299         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47300         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47301         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
47302         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47303         (USE_AS_WMEMCMP): New macro.
47304         Fixing indents.
47305         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47306         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47307         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47308         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47309         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47310         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47311         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47312         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47313         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47314         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47315         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47316         (USE_AS_WMEMCMP): New macro.
47317         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47318         * sysdeps/string/test-memcmp.c: Update.
47319         Fix simple_wmemcmp.
47320         Add new tests.
47321         * wcsmbs/wmemcmp.c: Update.
47322         (WMEMCMP): New macro.
47323         Fix overflow bug.
47325 2011-10-12  Andreas Jaeger  <aj@suse.de>
47327         [BZ #13268]
47328         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47330 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47332         * libio/iofwide.c (do_length): Avoid warning.
47334         * ctype/ctype.h (__isctype_f): Add missing __THROW.
47336 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
47338         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47340         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47341         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47342         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47343         * sysdeps/i386/i686/fpu/e_log.S: New file.
47344         * sysdeps/i386/i686/fpu/e_logf.S: New file.
47345         * sysdeps/i386/i686/fpu/e_logl.S: New file.
47347         * ctype/ctype.h: Add support for inlined isXXX functions when
47348         compiling C++ code.
47350 2011-10-14  Andreas Schwab  <schwab@redhat.com>
47352         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47354         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47356 2011-10-13  Roland McGrath  <roland@hack.frob.com>
47358         [BZ #13291]
47359         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47361 2011-10-13  Andreas Schwab  <schwab@redhat.com>
47363         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47364         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47365         feraiseexcept.
47367         * sysdeps/x86_64/memrchr.S: Check for zero size.
47369         * string/stratcliff.c: Add memrchr tests.
47371 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47373         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47374         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47375         rawmemchr-sse2 rawmemchr-sse2-bsf.
47376         * sysdeps/i386/i686/multiarch/memchr.S: New file.
47377         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47378         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47379         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47380         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47381         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47382         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47383         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47384         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47385         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47386         * string/memrchr.c (MEMRCHR): New macro.
47388 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
47390         Add integration with gcc's -ffinite-math-only and optimize wrapper
47391         functions in libm.
47392         * Versions.def: Define GLIBC_2.15 version for libm.
47393         * math/Makefile (headers): Add bits/math-finite.h.
47394         * math/bits/math-finite.h: New file.
47395         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47396         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47397         * math/e_acoshl.c: Add __*_finite alias.
47398         * math/e_acosl.c: Likewise.
47399         * math/e_asinl.c: Likewise.
47400         * math/e_atan2l.c: Likewise.
47401         * math/e_atanhl.c: Likewise.
47402         * math/e_coshl.c: Likewise.
47403         * math/e_exp10.c: Likewise.
47404         * math/e_exp10f.c: Likewise.
47405         * math/e_exp10l.c: Likewise.
47406         * math/e_exp2l.c: Likewise.
47407         * math/e_fmodl.c: Likewise.
47408         * math/e_gammal_r.c: Likewise.
47409         * math/e_hypotl.c: Likewise.
47410         * math/e_j0l.c: Likewise.
47411         * math/e_j1l.c: Likewise.
47412         * math/e_jnl.c: Likewise.
47413         * math/e_lgammal_r.c: Likewise.
47414         * math/e_log10l.c: Likewise.
47415         * math/e_log2l.c: Likewise.
47416         * math/e_logl.c: Likewise.
47417         * math/e_powl.c: Likewise.
47418         * math/e_sinhl.c: Likewise.
47419         * math/e_sqrtl.c: Likewise.
47420         * math/e_scalb.c: Completely rewritten and optimized.
47421         * math/e_scalbf.c: Likewise.
47422         * math/e_scalbl.c: Likewise.
47423         * math/w_acos.c: Likewise.
47424         * math/w_acosf.c: Likewise.
47425         * math/w_acosl.c: Likewise.
47426         * math/w_acosh.c: Likewise.
47427         * math/w_acoshf.c: Likewise.
47428         * math/w_acoshl.c: Likewise.
47429         * math/w_asin.c: Likewise.
47430         * math/w_asinf.c: Likewise.
47431         * math/w_asinl.c: Likewise.
47432         * math/w_atan2.c: Likewise.
47433         * math/w_atan2f.c: Likewise.
47434         * math/w_atan2l.c: Likewise.
47435         * math/w_atanh.c: Likewise.
47436         * math/w_atanhf.c: Likewise.
47437         * math/w_atanhl.c: Likewise.
47438         * math/w_exp10.c: Likewise.
47439         * math/w_exp10f.c: Likewise.
47440         * math/w_exp10l.c: Likewise.
47441         * math/w_fmod.c: Likewise.
47442         * math/w_fmodf.c: Likewise.
47443         * math/w_fmodl.c: Likewise.
47444         * math/w_j0.c: Likewise.
47445         * math/w_j0f.c: Likewise.
47446         * math/w_j0l.c: Likewise.
47447         * math/w_j1.c: Likewise.
47448         * math/w_j1f.c: Likewise.
47449         * math/w_j1l.c: Likewise.
47450         * math/w_jn.c: Likewise.
47451         * math/w_jnf.c: Likewise.
47452         * math/w_log.c: Likewise.
47453         * math/w_logf.c: Likewise.
47454         * math/w_logl.c: Likewise.
47455         * math/w_log10.c: Likewise.
47456         * math/w_log10f.c: Likewise.
47457         * math/w_log10l.c: Likewise.
47458         * math/w_log2.c: Likewise.
47459         * math/w_log2f.c: Likewise.
47460         * math/w_log2l.c: Likewise.
47461         * math/w_pow.c: Likewise.
47462         * math/w_powf.c: Likewise.
47463         * math/w_powl.c: Likewise.
47464         * math/w_remainder.c: Likewise.
47465         * math/w_remainderf.c: Likewise.
47466         * math/w_remainderl.c: Likewise.
47467         * math/w_scalb.c: Likewise.
47468         * math/w_scalbf.c: Likewise.
47469         * math/w_scalbl.c: Likewise.
47470         * math/w_sqrt.c: Likewise.
47471         * math/w_sqrtf.c: Likewise.
47472         * math/w_sqrtl.c: Likewise.
47473         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47474         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
47475         used.
47476         * math/math_private.h: Declare __kernel_standard_f.
47477         * math/w_cosh.c: Remove cruft and optimize a bit.
47478         * math/w_coshf.c: Likewise.
47479         * math/w_coshl.c: Likewise.
47480         * math/w_exp2.c: Likewise.
47481         * math/w_exp2f.c: Likewise.
47482         * math/w_exp2l.c: Likewise.
47483         * math/w_hypot.c: Likewise.
47484         * math/w_hypotf.c: Likewise.
47485         * math/w_hypotl.c: Likewise.
47486         * math/w_lgamma.c: Likewise.
47487         * math/w_lgamma_r.c: Likewise.
47488         * math/w_lgammaf.c: Likewise.
47489         * math/w_lgammaf_r.c: Likewise.
47490         * math/w_lgammal.c: Likewise.
47491         * math/w_lgammal_r.c: Likewise.
47492         * math/w_sinh.c: Likewise.
47493         * math/w_sinhf.c: Likewise.
47494         * math/w_sinhl.c: Likewise.
47495         * math/w_tgamma.c: Likewise.
47496         * math/w_tgammaf.c: Likewise.
47497         * math/w_tgammal.c: Likewise.
47498         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47499         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47500         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47501         Minor optimizations.  Pretty printing.  Remove cruft.
47502         * sysdeps/i386/fpu/e_acosf.S: Likewise.
47503         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47504         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47505         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47506         * sysdeps/i386/fpu/e_acosl.c: Likewise.
47507         * sysdeps/i386/fpu/e_asin.S: Likewise.
47508         * sysdeps/i386/fpu/e_asinf.S: Likewise.
47509         * sysdeps/i386/fpu/e_atan2.S: Likewise.
47510         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47511         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47512         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47513         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47514         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47515         * sysdeps/i386/fpu/e_exp10.S: Likewise.
47516         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47517         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47518         * sysdeps/i386/fpu/e_exp2.S: Likewise.
47519         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47520         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47521         * sysdeps/i386/fpu/e_fmod.S: Likewise.
47522         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47523         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47524         * sysdeps/i386/fpu/e_hypot.S: Likewise.
47525         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47526         * sysdeps/i386/fpu/e_log.S: Likewise.
47527         * sysdeps/i386/fpu/e_log10.S: Likewise.
47528         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47529         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47530         * sysdeps/i386/fpu/e_log2.S: Likewise.
47531         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47532         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47533         * sysdeps/i386/fpu/e_logf.S: Likewise.
47534         * sysdeps/i386/fpu/e_logl.S: Likewise.
47535         * sysdeps/i386/fpu/e_pow.S: Likewise.
47536         * sysdeps/i386/fpu/e_powf.S: Likewise.
47537         * sysdeps/i386/fpu/e_powl.S: Likewise.
47538         * sysdeps/i386/fpu/e_remainder.S: Likewise.
47539         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47540         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47541         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47542         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47543         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47544         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47545         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47546         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47547         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47548         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47549         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47550         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47551         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47552         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47553         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47554         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47555         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47556         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47557         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47558         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47560         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47561         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47562         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47563         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47564         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47565         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47566         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47567         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47568         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47569         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47570         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47571         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47572         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47573         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47574         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47575         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47576         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47577         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47578         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47579         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47580         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47581         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47582         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47583         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47584         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47585         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47586         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47587         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47588         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47589         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47590         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47591         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47592         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47593         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47594         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47595         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47596         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47597         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47598         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47599         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47600         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47601         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47602         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47603         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47604         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47605         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47606         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47607         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47608         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47609         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47610         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47611         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47612         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47613         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47614         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47615         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47616         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47617         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47618         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47619         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47620         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47621         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47622         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47623         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47624         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47625         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47626         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47627         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47628         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47629         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47630         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47631         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47632         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47633         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47634         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47635         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47636         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47637         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47638         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47639         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47640         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47641         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47642         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47643         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47644         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47645         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47646         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47647         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47648         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47649         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47650         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47651         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47652         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47653         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47654         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47655         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47656         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47657         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
47658         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47659         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47660         (__isnanf): Likewise.
47661         (__isinf_ns): Likewise.
47662         (__isinf_nsf): Likewise.
47663         (__finite): Likewise.
47664         (__finitef): Likewise.
47665         (__ieee754_sqrt): Define as macro.
47666         (__ieee754_sqrtf): Define as macro.
47667         (__ieee754_sqrtl): Define as macro.
47668         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47669         inlined copy.
47670         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47671         __FINITE_MATH_ONLY__ consistent.
47672         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47674 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
47676         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47677         of rawmemchr.
47679         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47681 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
47683         * po/ja.po: Update from translation team.
47685 2011-10-08  Roland McGrath  <roland@hack.frob.com>
47687         * locale/programs/locarchive.c (prepare_address_space): New function.
47688         (create_archive, enlarge_archive, open_archive): Use it.
47690         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47691         inside [SHARED], where it is used.
47693         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47695         * nss/getent.c (netgroup_keys): Remove unused variable.
47696         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47698 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
47700         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47701         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47702         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47703         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47704         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47705         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47706         * math/Makefile (libm-calls): Add s_isinf_ns.
47707         * math/divtc3.c: Use __isinf_nsl instead of isinf.
47708         * math/multc3.c: Likewise.
47709         * math/s_casin.c: Likewise.
47710         * math/s_casinf.c: Likewise.
47711         * math/s_casinl.c: Likewise.
47712         * math/s_ccos.c: Likewise.
47713         * math/s_ccosf.c: Likewise.
47714         * math/s_ccosl.c: Likewise.
47715         * math/s_ctan.c: Likewise.
47716         * math/s_ctanf.c: Likewise.
47717         * math/s_ctanh.c: Likewise.
47718         * math/s_ctanhf.c: Likewise.
47719         * math/s_ctanhl.c: Likewise.
47720         * math/s_ctanl.c: Likewise.
47721         * math/w_fmod.c: Likewise.
47722         * math/w_fmodf.c: Likewise.
47723         * math/w_fmodl.c: Likewise.
47724         * math/w_remainder.c: Likewise.
47725         * math/w_remainderf.c: Likewise.
47726         * math/w_remainderl.c: Likewise.
47727         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47728         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47729         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47730         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47731         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47732         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47733         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47734         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47736         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47737         of the number.
47738         * stdio-common/printf_fphex.c: Likewise.
47739         * stdio-common/printf_size.c: Likewise.
47741         * math/e_exp10.c: Include math_private.h using <...> not "...".
47742         * math/e_exp10f.c: Likewise.
47743         * math/e_exp10l.c: Likewise.
47744         * math/e_exp2l.c: Likewise.
47745         * math/e_j0l.c: Likewise.
47746         * math/e_j1l.c: Likewise.
47747         * math/e_jnl.c: Likewise.
47748         * math/e_lgammal_r.c: Likewise.
47749         * math/e_rem_pio2l.c: Likewise.
47750         * math/e_scalb.c: Likewise.
47751         * math/e_scalbf.c: Likewise.
47752         * math/e_scalbl.c: Likewise.
47753         * math/k_cosl.c: Likewise.
47754         * math/k_sinl.c: Likewise.
47755         * math/k_tanl.c: Likewise.
47756         * math/s_cacoshf.c: Likewise.
47757         * math/s_catan.c: Likewise.
47758         * math/s_catanf.c: Likewise.
47759         * math/s_catanh.c: Likewise.
47760         * math/s_catanhf.c: Likewise.
47761         * math/s_catanhl.c: Likewise.
47762         * math/s_catanl.c: Likewise.
47763         * math/s_ccosh.c: Likewise.
47764         * math/s_ccoshf.c: Likewise.
47765         * math/s_ccoshl.c: Likewise.
47766         * math/s_cexp.c: Likewise.
47767         * math/s_cexpf.c: Likewise.
47768         * math/s_cexpl.c: Likewise.
47769         * math/s_clog.c: Likewise.
47770         * math/s_clog10.c: Likewise.
47771         * math/s_clog10f.c: Likewise.
47772         * math/s_clog10l.c: Likewise.
47773         * math/s_clogf.c: Likewise.
47774         * math/s_clogl.c: Likewise.
47775         * math/s_csin.c: Likewise.
47776         * math/s_csinf.c: Likewise.
47777         * math/s_csinh.c: Likewise.
47778         * math/s_csinhf.c: Likewise.
47779         * math/s_csinhl.c: Likewise.
47780         * math/s_csinl.c: Likewise.
47781         * math/s_csqrt.c: Likewise.
47782         * math/s_csqrtf.c: Likewise.
47783         * math/s_csqrtl.c: Likewise.
47784         * math/s_ctan.c: Likewise.
47785         * math/s_ctanf.c: Likewise.
47786         * math/s_ctanh.c: Likewise.
47787         * math/s_ctanhf.c: Likewise.
47788         * math/s_ctanhl.c: Likewise.
47789         * math/s_ctanl.c: Likewise.
47790         * math/s_ldexp.c: Likewise.
47791         * math/s_ldexpf.c: Likewise.
47792         * math/s_ldexpl.c: Likewise.
47793         * math/s_significand.c: Likewise.
47794         * math/s_significandf.c: Likewise.
47795         * math/s_significandl.c: Likewise.
47796         * math/w_acos.c: Likewise.
47797         * math/w_acosf.c: Likewise.
47798         * math/w_acosh.c: Likewise.
47799         * math/w_acoshf.c: Likewise.
47800         * math/w_acoshl.c: Likewise.
47801         * math/w_acosl.c: Likewise.
47802         * math/w_asin.c: Likewise.
47803         * math/w_asinf.c: Likewise.
47804         * math/w_asinl.c: Likewise.
47805         * math/w_atan2.c: Likewise.
47806         * math/w_atan2f.c: Likewise.
47807         * math/w_atan2l.c: Likewise.
47808         * math/w_atanh.c: Likewise.
47809         * math/w_atanhf.c: Likewise.
47810         * math/w_atanhl.c: Likewise.
47811         * math/w_cosh.c: Likewise.
47812         * math/w_coshf.c: Likewise.
47813         * math/w_coshl.c: Likewise.
47814         * math/w_dremf.c: Likewise.
47815         * math/w_exp10.c: Likewise.
47816         * math/w_exp10f.c: Likewise.
47817         * math/w_exp10l.c: Likewise.
47818         * math/w_exp2.c: Likewise.
47819         * math/w_exp2f.c: Likewise.
47820         * math/w_fmod.c: Likewise.
47821         * math/w_fmodf.c: Likewise.
47822         * math/w_fmodl.c: Likewise.
47823         * math/w_hypot.c: Likewise.
47824         * math/w_hypotf.c: Likewise.
47825         * math/w_hypotl.c: Likewise.
47826         * math/w_j0.c: Likewise.
47827         * math/w_j0f.c: Likewise.
47828         * math/w_j0l.c: Likewise.
47829         * math/w_j1.c: Likewise.
47830         * math/w_j1f.c: Likewise.
47831         * math/w_j1l.c: Likewise.
47832         * math/w_jn.c: Likewise.
47833         * math/w_jnf.c: Likewise.
47834         * math/w_jnl.c: Likewise.
47835         * math/w_lgamma.c: Likewise.
47836         * math/w_lgamma_r.c: Likewise.
47837         * math/w_lgammaf.c: Likewise.
47838         * math/w_lgammaf_r.c: Likewise.
47839         * math/w_lgammal.c: Likewise.
47840         * math/w_lgammal_r.c: Likewise.
47841         * math/w_log.c: Likewise.
47842         * math/w_log10.c: Likewise.
47843         * math/w_log10f.c: Likewise.
47844         * math/w_log10l.c: Likewise.
47845         * math/w_log2.c: Likewise.
47846         * math/w_log2f.c: Likewise.
47847         * math/w_log2l.c: Likewise.
47848         * math/w_logf.c: Likewise.
47849         * math/w_logl.c: Likewise.
47850         * math/w_pow.c: Likewise.
47851         * math/w_powf.c: Likewise.
47852         * math/w_powl.c: Likewise.
47853         * math/w_remainder.c: Likewise.
47854         * math/w_remainderf.c: Likewise.
47855         * math/w_remainderl.c: Likewise.
47856         * math/w_scalb.c: Likewise.
47857         * math/w_scalbf.c: Likewise.
47858         * math/w_scalbl.c: Likewise.
47859         * math/w_sinh.c: Likewise.
47860         * math/w_sinhf.c: Likewise.
47861         * math/w_sinhl.c: Likewise.
47862         * math/w_sqrt.c: Likewise.
47863         * math/w_sqrtf.c: Likewise.
47864         * math/w_sqrtl.c: Likewise.
47865         * math/w_tgamma.c: Likewise.
47866         * math/w_tgammaf.c: Likewise.
47867         * math/w_tgammal.c: Likewise.
47869         * po/ja.po: Update from translation team.
47871 2011-09-29  Andreas Jaeger  <aj@suse.de>
47873         [BZ #13179]
47874         * sunrpc/netname.c (netname2host): Fix logic.
47876         [BZ #6779]
47877         [BZ #6783]
47878         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47879         correctly.
47880         * math/w_remainder.c (__remainder): Likewise.
47881         * math/w_remainderf.c (__remainderf): Likewise.
47882         * math/libm-test.inc (remainder_test): Add test cases.
47884 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47886         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47887         sdiv_qrnnd.
47889 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47891         * string/test-memcmp.c: Avoid unncessary #defines.
47892         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47894 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47896         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47897         Use new sse2 version for core i3 - i7 as it's faster
47898         than sse42 version.
47899         (bit_Prefer_PMINUB_for_stringop): New.
47900         * sysdeps/x86_64/rawmemchr.S: Update.
47901         Replace with faster SSE2 version.
47902         * sysdeps/x86_64/memrchr.S: New file.
47903         * sysdeps/x86_64/memchr.S: Update.
47904         Replace with faster SSE2 version.
47906 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47908         * elf/dl-load.c (lose): Add cast to avoid warning.
47910 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47912         * po/ca.po: Update from translation team.
47914         * inet/getnetgrent_r.c: Hook up nscd.
47915         * nscd/Makefile (routines): Add nscd_netgroup.
47916         (nscd-modules): Add netgroupcache.
47917         (CFLAGS-netgroupcache.c): Define.
47918         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47919         (cache_search): Add const to second parameter.
47920         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47921         INNETGR.
47922         (dbs): Add netgrdb entry.
47923         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47924         (verify_persistent_db): Handle netgrdb.
47925         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47926         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47927         GETFDNETGR.
47928         (netgroup_response_header): Define.
47929         (innetgroup_response_header): Define.
47930         (datahead): Add netgroup_response_header and innetgroup_response_header
47931         elements.
47932         * nscd/nscd.conf: Add entries for netgroup cache.
47933         * nscd/nscd.h (dbtype): Add netgrdb.
47934         (_PATH_NSCD_NETGROUP_DB): Define.
47935         (netgroup_iov_disabled): Declare.
47936         (xmalloc, xcalloc, xrealloc): Move declarations here.
47937         (cache_search): Adjust prototype.
47938         Add netgroup-related prototypes.
47939         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47940         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47941         (__nscd_innetgr): Declare.
47942         * nscd/selinux.c (perms): Use access_vector_t as element type and
47943         add netgroup-related initializers.
47944         * nscd/netgroupcache.c: New file.
47945         * nscd/nscd_netgroup.c: New file.
47946         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47947         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47948         For four parameters use innetgr.
47949         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47950         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47951         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47952         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47954         * nscd/connections.c (register_traced_file): Don't register file
47955         for disabled databases.
47957 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47959         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47961         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47962         from tree and freeing node.
47964 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47966         * nss/nsswitch.c (__nss_database_lookup): Handle
47967         nss_parse_service_list out of memory case.
47969 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47971         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47972         out of memory case.
47974 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47976         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47977         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47978         pass it down.
47979         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47980         elf_machine_rela, elf_machine_lazy_rel.
47981         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47982         (ELF_DYNAMIC_DO_REL): Likewise.
47983         (ELF_DYNAMIC_DO_RELA): Likewise.
47984         (ELF_DYNAMIC_RELOCATE): Likewise.
47985         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47986         to ELF_DYNAMIC_DO_REL.
47987         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47988         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47989         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47990         elf_machine_rela.
47991         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47992         skip_ifunc, don't call ifunc function if non-zero.
47993         (elf_machine_rela): Likewise.
47994         (elf_machine_lazy_rel): Likewise.
47995         (elf_machine_lazy_rela): Likewise.
47996         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47997         (elf_machine_lazy_rel): Likewise.
47998         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47999         Likewise.
48000         (elf_machine_lazy_rel): Likewise.
48001         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48002         Likewise.
48003         (elf_machine_lazy_rel): Likewise.
48004         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48005         (elf_machine_lazy_rel): Likewise.
48006         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48007         (elf_machine_lazy_rel): Likewise.
48008         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48009         (elf_machine_lazy_rel): Likewise.
48010         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48011         (elf_machine_lazy_rel): Likewise.
48012         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48013         (elf_machine_lazy_rel): Likewise.
48014         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48015         (elf_machine_lazy_rel): Likewise.
48017 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
48019         * nss/nss_files/files-init.c (_nss_files_init): Use static
48020         initialization for all the *_traced_file variables.
48022 2011-09-28  Andreas Schwab  <schwab@redhat.com>
48024         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48026 2011-09-27  Roland McGrath  <roland@hack.frob.com>
48028         [BZ #13226]
48029         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48031 2011-09-27  Andreas Schwab  <schwab@redhat.com>
48033         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48034         Reread the line before reparsing it.
48036 2011-09-26  Andreas Schwab  <schwab@redhat.com>
48038         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48040 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
48041             Maxim Kuvyrkov  <maxim@codesourcery.com>
48042             Joseph Myers  <joseph@codesourcery.com>
48044         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48045         if needed for __stack_chk_guard.
48047 2011-09-19  Roland McGrath  <roland@hack.frob.com>
48049         * sysdeps/posix/spawni.c (script_execute): Always define it.
48050         It will be optimized away if unused.
48051         (maybe_script_execute): New function.
48052         (__spawni): Call it.
48054         * Makerules: Don't include tls.make.
48055         (config-tls): Always set to thread.
48056         * tls.make.c: File removed.
48058 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
48060         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48061         * config.make.in (CPPFLAGS-config): New substituted variable.
48063 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48065         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48067         [BZ #13192]
48068         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48069         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48071 2011-09-15  Roland McGrath  <roland@hack.frob.com>
48073         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48074         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48075         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48076         (CALL_FAIL): Likewise.
48077         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48078         (CALL_FAIL): Macro removed.
48079         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48081 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48083         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48084         for __FINITE_MATH_ONLY__ == 1.
48086 2011-09-15  Andreas Schwab  <schwab@redhat.com>
48088         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48089         __ieee754_sqrt instead of sqrt.
48090         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48091         __ieee754_sqrtf instead of sqrtf.
48092         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48093         __floorf instead of floorf.
48094         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48095         __floorf, __truncf instead of floorf, truncf.
48097 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
48099         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48101         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48102         __extern_always_inline.
48103         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48104         32-bit.
48106 2011-09-14  Andreas Schwab  <schwab@redhat.com>
48108         * elf/rtld.c (dl_main): Also relocate in dependency order when
48109         doing symbol dependency testing.
48111 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
48113         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48114         Always define `refsym'.
48116 2011-09-13  Andreas Schwab  <schwab@redhat.com>
48118         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48119         (__FD_ELT): Renamed from __FDELT.
48120         * misc/bits/select2.h (__FD_ELT): Likewise.
48121         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48122         __FD_MASK instead of __FDELT, __FDMASK.
48123         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48124         Likewise.
48125         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48126         Likewise.
48128         * elf/Makefile (gen-ldd): Fix pattern.
48130         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48131         (init_tls): Likewise.
48133 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
48135         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48137 2011-09-12  Andreas Schwab  <schwab@redhat.com>
48139         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48140         `struct cmsghdr *' instead of `void *'.
48141         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48142         Likewise.
48144 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
48146         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48147         if non-absolute.
48148         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48149         ldd_rewrite_script.
48151 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
48153         * configure.in: Remove --with-tls option.
48154         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48155         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48156         out in case it is missing.
48157         * sysdeps/ia64/elf/configure.in: Likewise.
48158         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48159         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48160         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48161         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48162         * sysdeps/sh/elf/configure.in: Likewise.
48163         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48164         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48165         * sysdeps/x86_64/elf/configure.in: Likewise.
48166         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48167         * sysdeps/mach/hurd/tls.h: Likewise.
48169         [BZ #13067]
48170         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48172         [BZ #13090]
48173         * configure.in: Fix use of AC_INIT.
48175         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48177 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48179         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48180         __set_errno.
48181         * malloc/hooks.c: Likewise.
48183         [BZ #11929]
48184         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48185         variables statically.
48186         (narenas): Initialize.
48187         (list_lock): Initialize.
48188         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48189         initializtion of main_arena and list_lock.  Small cleanups.
48190         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48191         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48192         Add initializers to main_arena and mp_.
48193         (malloc_state): Remove pagesize member.  Change all users to use
48194         GLRO(dl_pagesize).
48196         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48197         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48198         is always initialized.
48200         * malloc/malloc.c: Removed unused configurations and dead code.
48201         * malloc/arena.c: Likewise.
48202         * malloc/hooks.c: Likewise.
48203         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48205         * include/tls.h: Removed.  USE___THREAD must always be defined.
48206         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48207         * elf/dl-libc.c: Likewise.
48208         * elf/dl-tsd.c: Likewise.
48209         * include/errno.h: Likewise.
48210         * include/netdb.h: Likewise.
48211         * include/resolv.h: Likewise.
48212         * inet/herrno-loc.c: Likewise.
48213         * inet/herrno.c: Likewise.
48214         * malloc/arena.c: Likewise.
48215         * malloc/hooks.c: Likewise.
48216         * malloc/malloc.c: Likewise.
48217         * resolv/res-state.c: Likewise.
48218         * resolv/res_libc.c: Likewise.
48219         * sysdeps/i386/dl-machine.h: Likewise.
48220         * sysdeps/ia64/dl-machine.h: Likewise.
48221         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48222         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48223         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48224         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48225         * sysdeps/sh/dl-machine.h: Likewise.
48226         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48227         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48228         * sysdeps/unix/i386/sysdep.S: Likewise.
48229         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48230         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48231         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48232         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48233         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48235         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48236         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48237         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48239         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48240         * sysdeps/x86_64/dl-machine.h: Likewise.
48241         * tls.make.c: Likewise.
48243         * configure.in: Remove --with-__thread option.  Make tests for
48244         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48245         tls_model attribute fail if no support is available.  Remove
48246         USE_IN_LIBIO.
48247         * Makeconfig: Adjust for dropped configure option.  All features are
48248         now mandatory.
48249         * Makerules: Likewise.
48250         * Versions.def: Likewise.
48251         * argp/argp-fmtstream.c: Likewise.
48252         * argp/argp-fmtstream.h: Likewise.
48253         * argp/argp-help.c: Likewise.
48254         * assert/assert.c: Likewise.
48255         * config.h.in: Likewise.
48256         * config.make.in: Likewise.
48257         * configure: Likewise.
48258         * configure.in: Likewise.
48259         * csu/Versions: Likewise.
48260         * csu/init.c: Likewise.
48261         * elf/tst-audit2.c: Likewise.
48262         * elf/tst-tls10.c: Likewise.
48263         * elf/tst-tls10.h: Likewise.
48264         * elf/tst-tls11.c: Likewise.
48265         * elf/tst-tls12.c: Likewise.
48266         * elf/tst-tls14.c: Likewise.
48267         * elf/tst-tlsmod11.c: Likewise.
48268         * elf/tst-tlsmod12.c: Likewise.
48269         * elf/tst-tlsmod13.c: Likewise.
48270         * elf/tst-tlsmod13a.c: Likewise.
48271         * elf/tst-tlsmod14a.c: Likewise.
48272         * elf/tst-tlsmod15b.c: Likewise.
48273         * elf/tst-tlsmod16a.c: Likewise.
48274         * elf/tst-tlsmod16b.c: Likewise.
48275         * elf/tst-tlsmod7.c: Likewise.
48276         * elf/tst-tlsmod8.c: Likewise.
48277         * elf/tst-tlsmod9.c: Likewise.
48278         * gmon/gmon.c: Likewise.
48279         * grp/fgetgrent_r.c: Likewise.
48280         * grp/putgrent.c: Likewise.
48281         * hurd/fopenport.c: Likewise.
48282         * include/libc-symbols.h: Likewise.
48283         * include/tls.h: Likewise.
48284         * intl/gettextP.h: Likewise.
48285         * intl/loadinfo.h: Likewise.
48286         * locale/global-locale.c: Likewise.
48287         * locale/localeinfo.h: Likewise.
48288         * mach/devstream.c: Likewise.
48289         * malloc/arena.c: Likewise.
48290         * malloc/set-freeres.c: Likewise.
48291         * misc/err.c: Likewise.
48292         * misc/getttyent.c: Likewise.
48293         * misc/mntent_r.c: Likewise.
48294         * posix/getopt.c: Likewise.
48295         * posix/wordexp.c: Likewise.
48296         * pwd/fgetpwent_r.c: Likewise.
48297         * resolv/Versions: Likewise.
48298         * resolv/res_hconf.c: Likewise.
48299         * shadow/fgetspent_r.c: Likewise.
48300         * shadow/putspent.c: Likewise.
48301         * stdio-common/printf_fphex.c: Likewise.
48302         * stdio-common/tmpfile.c: Likewise.
48303         * stdlib/abort.c: Likewise.
48304         * stdlib/fmtmsg.c: Likewise.
48305         * sunrpc/auth_unix.c: Likewise.
48306         * sunrpc/clnt_perr.c: Likewise.
48307         * sunrpc/clnt_tcp.c: Likewise.
48308         * sunrpc/clnt_udp.c: Likewise.
48309         * sunrpc/clnt_unix.c: Likewise.
48310         * sunrpc/openchild.c: Likewise.
48311         * sunrpc/svc_simple.c: Likewise.
48312         * sunrpc/svc_tcp.c: Likewise.
48313         * sunrpc/svc_udp.c: Likewise.
48314         * sunrpc/svc_unix.c: Likewise.
48315         * sunrpc/xdr.c: Likewise.
48316         * sunrpc/xdr_array.c: Likewise.
48317         * sunrpc/xdr_rec.c: Likewise.
48318         * sunrpc/xdr_ref.c: Likewise.
48319         * sunrpc/xdr_stdio.c: Likewise.
48321 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48323         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48325 2011-07-03  Andreas Jaeger  <aj@suse.de>
48327         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48328         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48329         regenerate with gen-libm-tests.pl.
48331 2010-05-12  Petr Baudis  <pasky@suse.cz>
48333         [BZ #11589]
48334         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48335         around j0() zero points by switching to j1().
48336         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48337         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48338         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48339         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48341 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48343         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48344         instead of 0.
48345         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48346         instead of 0.
48347         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48348         Patch in part by Pavel Roskin <proski@gnu.org>.
48350         [BZ #13138]
48351         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48352         realloc.
48353         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
48354         Free memory block if necessary.
48356         [BZ #12847]
48357         * libio/genops.c (INTDEF): For string streams the _lock pointer can
48358         be NULL.  Don't lock in this case.
48360 2011-09-09  Roland McGrath  <roland@hack.frob.com>
48362         * elf/elf.h (ELFOSABI_GNU): New macro.
48363         (ELFOSABI_LINUX): Define to that.
48365 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
48367         * string/strncat.c (strncat): Undef the symbol in case it has been
48368         defined in bits/string.h.
48370 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48372         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48374         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48375         link map.
48377 2011-08-17  Andreas Jaeger  <aj@suse.de>
48379         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48381 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48382             Ian Lance Taylor  <iant@google.com>
48384         * math/libm-test.inc (lround_test): New testcase.
48385         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48387 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
48389         * Makefile: Remove support for automatic cvs check-ins.
48390         * Makerules: Likewise.
48391         * config.make.in: Likewise.
48392         * configure.in: Likewise.
48393         * intl/Makefile: Likewise.
48394         * locale/Makefile: Likewise.
48395         * po/Makefile: Likewise.
48396         * posix/Makefile: Likewise.
48397         * sysdeps/gnu/Makefile: Likewise.
48398         * sysdeps/mach/hurd/Makefile: Likewise.
48399         * sysdeps/sparc/sparc32/Makefile: Likewise.
48401         [BZ #13118]
48402         * posix/Makefile (bug-regex32-ENV): Define.
48403         Patch by John Stanley <jpsinthemix@verizon.net>.
48405         * misc/Makefile (headers): Add bits/select2.h.
48406         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48407         * misc/bits/select2.h: New file.
48408         * include/bits/select2.h: New file.
48409         * debug/Makefile (routines): Add fdelt_chk.
48410         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48411         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48412         FD_ISSET.
48413         * debug/fdelt_chk.c: New file.
48415         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
48416         * wcsmbs/test-wmemcmp.c: Likewise.
48417         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48418         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48420 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48422         * string/Makefile (strop-tests): Add memcmp.
48423         * string/test-wmemcmp.c: New file.
48424         * string/test-memcmp.c: Add wmemcmp support.
48426 2011-09-08  Roland McGrath  <roland@hack.frob.com>
48428         [BZ #13153]
48429         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48430         2011-07-19 change.
48432         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48433         garbage value in a __mach_port_mod_refs call in the cases of the
48434         task-self and thread-self ports.
48436 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48438         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48440 2011-09-08  Andreas Schwab  <schwab@redhat.com>
48442         * elf/dl-load.c (lose): Check for non-null L.
48444 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48446         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48448         * elf/dl-libc.c (dlerror_run): Pass back error code from
48449         dl_catch_error.
48451         [BZ #13123]
48452         * elf/dl-load.c (lose): Free l_origin if it is valid.
48454         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48455         names.
48456         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48457         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48458         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48459         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48460         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48461         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48463 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48465         * sysdeps/powerpc/fpu/e_hypot.c: New file.
48466         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48467         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48468         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48469         * sysdeps/powerpc/fpu/k_cosf.c: New file.
48470         * sysdeps/powerpc/fpu/k_sinf.c: New file.
48471         * sysdeps/powerpc/fpu/s_cosf.c: New file.
48472         * sysdeps/powerpc/fpu/s_sinf.c: New file.
48473         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48474         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48476 2011-08-15  Alan Modra  <amodra@gmail.com>
48478         [BZ #13092]
48479         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48480         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48481         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
48482         ppc_mcount to static-only-routines.
48483         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48484         __mcount_internal.
48485         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48486         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
48488 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
48490         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48491         for finite and infinity parameters.
48493 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48495         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48496         and add nop instructions for throughput optimization.
48497         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48499 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
48501         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48502         aligned copy for power7 with vector-scalar instructions.
48503         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48505 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
48507         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48508         AVX check.
48510 2011-09-07  Andreas Schwab  <schwab@redhat.com>
48512         [BZ #13144]
48513         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48514         last change.
48516 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48518         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48519         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48520         syscall wrapper around clock_gettime in __vdso_clock_gettime.
48521         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48522         clock_gettime.
48524 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48526         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48527         Forgot to demangle the pointer.
48529         * sysdeps/i386/sysdep.h: Define atom_text_section.
48530         * sysdeps/x86_64/sysdep.h: Likewise.
48531         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48532         section with atom_text_section.
48533         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48534         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48535         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48536         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48537         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48539         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48540         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48541         already be defined.  Change to take two parameters and don't assign
48542         result to variable.  Adjust all users.
48543         Define INTERNAL_GETTIME if not already defined.
48544         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48545         call.
48546         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48547         HAVE_CLOCK_GETTIME_VSYSCALL.
48548         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48550         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48551         gettimeofday vsyscall, just use time.
48553 2011-09-06  Andreas Schwab  <schwab@redhat.com>
48555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48556         <errno.h>.
48558 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48560         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48561         syscall on x86-64.
48562         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48563         syscall.
48564         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48565         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48566         syscall if possible.
48568 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48570         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48571         e_ident.  Don't pass to find_mapsXX.
48572         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48574 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48577         strchr-sse2-no-bsf strrchr-sse2-no-bsf
48578         * sysdeps/x86_64/multiarch/strchr.S: Update.
48579         Check bit_slow_BSF bit.
48580         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48581         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48582         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48584 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48586         [BZ #13134]
48587         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48588         before glibc 2.15.
48589         (tryshell): Define.
48590         (__spawni): Change last parameter to be flag.  Test
48591         SPAWN_XFLAGS_USE_PATH flag to use path or not.
48592         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48593         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48594         * posix/spawni.c: Likewise.
48595         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48596         * posix/spawnp.c: Likewise.  Change normal version to use
48597         SPAWN_XFLAGS_USE_PATH.
48598         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48599         SPAWN_XFLAGS_TRY_SHELL.
48601         [BZ #13150]
48602         * posix/glob.h: Remove gcc 1.x support.
48604         [BZ #13068]
48605         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48607 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48609         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48610         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48611         strrchr-sse2-bsf
48612         * sysdeps/i386/i686/multiarch/strchr.S: New file.
48613         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48614         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48615         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48616         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48617         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48619 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48621         * sysdeps/x86_64/wcscmp.S: New file.
48623         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48624         wcscmp-c wcscmp-sse2
48625         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48626         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48627         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48628         * wcsmbs/wcscmp.c: Allow renaming.
48630 2011-09-05  David S. Miller  <davem@davemloft.net>
48632         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48633         stack slot, rather than the struct return pointer slot.
48634         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48635         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48637         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48639 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48641         * po/ja.po: Update from translation team.
48643         [BZ #13144]
48644         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48645         kernel in 64-bit binaries.
48647 2011-09-01  David S. Miller  <davem@davemloft.net>
48649         * elf/elf.h (HWCAP_SPARC_*): Move to..
48650         * sysdeps/sparc/sysdep.h: this new file and add new values.
48651         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48652         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48653         _DL_HWCAP_COUNT to 24.
48654         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48655         entries.
48656         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48657         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48658         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48659         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48660         instead of magic constants.
48661         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48663 2011-08-31  David S. Miller  <davem@davemloft.net>
48665         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48667         Reimplement to do errno handling inline.
48668         (SYSCALL_ERROR_HANDLER): New macro.
48669         (__SYSCALL_STRING): Do not do errno handling in asm.
48670         (__CLONE_SYSCALL_STRING): Delete.
48671         (__INTERNAL_SYSCALL_STRING): Delete.
48672         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48673         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48674         (PSEUDO): Reimplement to do errno handling inline.
48675         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48676         (SYSCALL_ERROR_HANDLER): New macro.
48677         (__SYSCALL_STRING): Do not do errno handling in asm.
48678         (__CLONE_SYSCALL_STRING): Delete.
48679         (__INTERNAL_SYSCALL_STRING): Delete.
48680         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48681         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48682         i386.
48683         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48684         (inline_syscall*): Add 'err' argument.
48685         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48686         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48687         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48688         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48690         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48691         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48693 2011-08-30  Andreas Schwab  <schwab@redhat.com>
48695         * elf/rtld.c (dl_main): Relocate objects in dependency order.
48697 2011-08-29  Jiri Olsa <jolsa@redhat.com>
48699         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48700         directive.
48702 2011-08-24  David S. Miller  <davem@davemloft.net>
48704         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48706 2011-08-24  Andreas Schwab  <schwab@redhat.com>
48708         * elf/Makefile: Add rules to build and run unload8 test.
48709         * elf/unload8.c: New file.
48710         * elf/unload8mod1.c: New file.
48711         * elf/unload8mod1x.c: New file.
48712         * elf/unload8mod2.c: New file.
48713         * elf/unload8mod3.c: New file.
48715         * elf/dl-close.c (_dl_close_worker): Reset private search list if
48716         it wasn't used.
48718 2011-08-23  David S. Miller  <davem@davemloft.net>
48720         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48721         subtract stack bias.
48722         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48723         %sp not %fp in calculations.
48724         (_JMPBUF_UNWINDS_ADJ): Likewise.
48726         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48727         (aio_suspend): Call it to force an exception region around the
48728         AIO_MISC_WAIT() invocation.
48730 2011-08-23  Andreas Schwab  <schwab@redhat.com>
48732         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48733         backslash.
48735 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
48737         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48738         protection macro.
48739         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48740         and <dl-machine.h>.
48741         (Elf64_FuncDesc): Remove.
48743 2011-08-22  David S. Miller  <davem@davemloft.net>
48745         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48746         sigaltstack check, add missing cfi directives.
48747         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48748         missing cfi directives, and sigaltstack handling.
48750 2011-08-16  Andreas Schwab  <schwab@redhat.com>
48752         [BZ #11724]
48753         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48754         object is seen twice.
48755         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48757         * elf/Makefile (distribute): Add tst-initorder2.c.
48758         (tests): Add tst-initorder2.
48759         (modules-names): Add tst-initorder2a tst-initorder2b
48760         tst-initorder2c tst-initorder2d.  Add rules to build them.
48761         ($(objpfx)tst-initorder2.out): New rule.
48762         * elf/tst-initorder2.c: New file.
48763         * elf/tst-initorder2.exp: New file.
48765 2011-08-22  Andreas Schwab  <schwab@redhat.com>
48767         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48769         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48770         dependencies back to end of function.
48772         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48773         $(elfobjdir)/ld.so.
48775 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
48777         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48778         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48779         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48780         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48781         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48782         of __vdso_gettimeofday.
48783         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48784         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
48785         attribute_hidden.
48786         (_libc_vdso_platform_setup): Remove initialization of
48787         __vdso_gettimeofday and __vdso_time.
48789 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48791         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48792         and fgetc_unlocked.
48793         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48794         getc_unlocked.
48796         * elf/dl-open.c (add_to_global): Report additions to the global scope
48797         for LD_DEBUG=scopes.
48798         (dl_open_worker): Also print scope of newly loaded dependencies.
48799         (_dl_show_scope): Indicate if there is no scope.
48801         [BZ #13114]
48802         * stdio-common/Makefile (tests): Add bug24.
48803         * stdio-common/bug24.c: New file.
48805 2011-08-19  Andreas Jaeger  <aj@suse.de>
48807         [BZ #13114]
48808         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48809         non-existant file when using close-on-exec mode.
48811 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48814         the very first instruction.
48816         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48817         the CFI state in the end.
48818         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48819         inclusion of dl-trampoline.h.
48820         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48822 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48824         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48825         expectations for long double.
48827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48828         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48830 2011-08-14  David S. Miller  <davem@davemloft.net>
48832         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48833         artificual limit depends upon the system page size.
48835 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48837         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48838         * resolv/Makefile: Define CFLAGS-libresolv.
48840 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48842         * nss/makedb.c (compute_tables): Make variables used in nested
48843         function static.
48845 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48847         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48848         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48849         if buffer was too small.
48851         * elf/pldd.c (main): Attach to all threads in the process.
48852         Rewrite /proc handling to use *at functions.
48854 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48856         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48857         specifies first scope to show.
48858         (dl_open_worker): Update callers.  Move printing scope of new
48859         object to before the relocation.
48860         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48861         * sysdeps/generic/ldsodefs.h: Update declaration.
48863         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48864         string for the scope number.
48866 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48868         * nscd/servicescache.c (cache_addserv): Make sure written is always
48869         initialized.
48871 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48873         * sysdeps/i386/i486/bits/atomic.h
48874         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48875         statement expression, so as to suppress "set but not used" warning.
48876         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48878         * string/strncat.c (STRNCAT): Use prototype definition.
48880         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48881         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48882         -Iprograms here.
48883         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48884         (localedef-modules): Add localedef.
48885         (locale-modules): Add locale.
48887         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48888         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48889         to avoid a warning.
48891 2011-08-14  David S. Miller  <davem@davemloft.net>
48893         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48894         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48896 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48898         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48899         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48900         * elf/rtld.c (dl_main): Set l_name of vDSO.
48901         Call _dl_show_scope when DL_DEBUG_SCOPES.
48902         (process_dl_debug): Recognize scopes flag and also set it for all.
48903         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48904         Declare _dl_show_scope.
48906         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48907         (do_dlopen): Pass caller_dlopen to dl_open.
48908         (__libc_dlopen_mode): Initialize caller_dlopen.
48910         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48911         of libc.  Make tolower call locale-independent.  Optimize a bit by
48912         using isdigit instead of isalnum.
48913         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48915 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48917         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48918         was a dependency or dynamically loaded.
48920 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48922         * intl/l10nflist.c: Allow architecture-specific pop function.
48923         * sysdeps/x86_64/l10nflist.c: New file.
48925         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48926         classification.
48928 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48930         * include/dirent.h: Add libc_hidden_proto for scandirat and
48931         scandirat64.  Don't declare __scandirat64.
48932         * dirent/scandirat.c: Add libc_hidden_def.
48933         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48934         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48936 2011-08-10  David S. Miller  <davem@davemloft.net>
48938         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48939         enum.
48940         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48941         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48942         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48944 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48946         * Versions.def [libc]: Add GLIBC_2.15.
48947         * dirent/Makefile (routines): Add scandirat and scandirat64.
48948         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48949         GLIBC_2.15.
48950         * dirent/dirent.h: Declare scandirat and scandirat64.
48951         * dirent/scandirat.c: New file.
48952         * dirent/scandirat64.c: New file.
48953         * sysdeps/wordsize-64/scandirat.c: New file.
48954         * sysdeps/wordsize-64/scandirat64.c: New file.
48955         * dirent/opendir.c: Define opendirat.
48956         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48957         using scandirat.
48958         * dirent/scandir64.c: Adjust for scandir.c change.
48959         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48960         __scandirat64, and __scandir_cancel_handler.
48961         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48962         additional parameter and use openat instead of open (outside of ld.so).
48963         Add new __opendir as wrapper around __opendirat.
48964         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48965         here without requiring old scandirat implementation.
48967 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48969         * dirent/scandir.c (cancel_handler): Renamed to
48970         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48971         defined.  Adjust users.
48972         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48973         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48975 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48977         * string/test-string.h (IMPL): Use __STRING to expand name and then
48978         stringify it.
48980         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48981         of cleanups.
48983 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48985         * string/Makefile: Update.
48986         (strop-tests): Append strncat.
48987         * string/test-wcscmp.c: New file.
48988         New comprehensive test for wcscmp.
48989         * string/test-strcmp.c: Update.
48990         (WIDE): New define.
48992 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48994         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48995         line.
48997 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49000         encoding to ACE if AI_IDN.
49002 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
49004         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49005         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49007 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49009         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49010         Fix overflow bug in strncat.
49011         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49013         * string/test-strncat.c: Update.
49014         Add new tests for checking overflow bugs.
49016 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49018         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49019         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49020         * sysdeps/i386/i686/multiarch/strcat.S: New file.
49021         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49022         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49023         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49024         * sysdeps/i386/i686/multiarch/strncat.S: New file.
49025         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49026         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49028         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49029         (USE_AS_STRCAT): Define.
49030         Add strcat and strncat support.
49031         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49033 2011-07-25  Andreas Schwab  <schwab@redhat.com>
49035         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49036         __n bigger than INT_MAX+1.
49037         (__strncmp_g): Likewise.
49039 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
49041         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49042         * libio/stido.h: Likewise.
49044         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49045         (AF_NFC): Define.
49046         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49047         (AF_NFC): Define.
49049         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49050         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49051         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49052         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49053         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49055         [BZ #13021]
49056         * scripts/test-installation.pl: Don't expect libnss_test1 to be
49057         installed.
49059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49060         typo.
49061         (_dl_x86_64_save_sse): Likewise.
49063 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
49065         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49066         OSXSAVE.
49067         (_dl_x86_64_save_sse): Likewise.
49069         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49071         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49073 2011-07-21  Andreas Schwab  <schwab@redhat.com>
49075         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49076         change.
49077         (_dl_x86_64_save_sse): Use correct AVX check.
49079 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49081         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49082         bug in strncpy/strncat.
49083         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49085 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
49087         * string/tester.c (test_strcat): Add tests for different alignments
49088         of source and destination.
49089         (test_strncat): Likewise.
49091 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49093         [BZ #12852]
49094         * posix/glob.c (glob): Check passed in values before using them in
49095         expressions to avoid some overflows.
49096         (glob_in_dir): Likewise.
49098         [BZ #13007]
49099         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49100         check for AVX enablement so that we don't crash with old kernels and
49101         new hardware.
49102         * elf/tst-audit4.c: Add same checks here.
49103         * elf/tst-audit6.c: Likewise.
49105         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49107 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
49109         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49111 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49113         * po/cs.po: Update from translation team.
49114         * po/bg.po: Likewise.
49116 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
49118         * misc/sys/cdefs.h: Add support for const attribute.
49119         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49120         to gnu_dev_{major,minor,makedev} functions.
49122 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
49124         * intl/dcigettext.c (get_output_charset): Add missing bracket.
49126 2011-07-20  Andreas Schwab  <schwab@redhat.com>
49128         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49129         strlen results.
49131 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49133         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49134         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49135         register in order to avoid conflicts with the soft frame pointer
49136         being held in r11 when necessary.
49137         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49138         (INTERNAL_VSYSCALL_NCS): Likewise.
49140 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
49142         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49143         * elf/dl-fini.c (_dl_fini): Adjust caller.
49144         * elf/dl-close.c (_dl_close_worker): Likewise.
49145         * sysdeps/generic/ldsodefs.h: Adjust declaration.
49147 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49149         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49150         "aux_cache->nlibs < 0".
49152         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49153         in the reload-count case.
49155 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49158         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49159         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49160         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49161         * sysdeps/x86_64/multiarch/strcat.S: New file.
49162         * sysdeps/x86_64/multiarch/strncat.S: New file.
49163         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49164         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49165         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49166         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49167         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49168         (USE_AS_STRCAT): Define.
49169         Add strcat and strncat support.
49170         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49171         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49172         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49173         * string/strncat.c: Update.
49174         (USE_AS_STRNCAT): Define.
49175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49176         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49177         and i7.
49178         * sysdeps/x86_64/multiarch/init-arch.h
49179         (bit_Prefer_PMINUB_for_stringop): New.
49180         (index_Prefer_PMINUB_for_stringop): Likewise.
49181         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49182         bit_Prefer_PMINUB_for_stringop.
49184 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49186         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49187         buffer64.
49188         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49189         of casting of buffer.
49190         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49191         buffer32 and buffer64.
49192         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49193         writes instead of casting of buffer.
49194         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49195         buffer32.
49196         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49197         casting of buffer.
49199 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49201         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49203 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49205         * nscd/nscd.c (termination_handler): Don't do anything for a database
49206         if it has not yet been initialized.
49208 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49210         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49212 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49214         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49216 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49218         * po/nl.po: Update from translation team.
49219         * po/sv.po: Likewise.
49221 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49223         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49224         now disallowed by GCC.
49226         * configure.in (use-default-link): Default to yes if a test -shared
49227         link meets our qualifications.
49228         * configure: Regenerated.
49230         * config.make.in (output-format): New variable.
49231         * configure.in: Check for ld --print-output-format support.
49232         * configure: Regenerated.
49233         * Makerules ($(common-objpfx)format.lds)
49234         [$(output-format) != unknown]: Just use $(output-format),
49235         instead of the linker-script munging.
49237 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49239         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49240         of $(common-objpfx)shlib.lds.
49241         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49243         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49244         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49246         * configure.in (-z relro check): Adjust test code to add a large
49247         writable data section after it.
49248         * configure: Regenerated.
49250 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49252         * configure.in (-z relro check): Fix test code to make the variable
49253         truly const.
49254         * configure: Regenerated.
49256 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49258         * nscd/nscd.h (struct traced_file): Define.
49259         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49260         elements.  Add traced_files.
49261         (inotify_fd): Declare.
49262         (register_traced_file): Declare.
49263         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49264         (inotify_fd): Export.
49265         (resolv_conf_descr): Remove.
49266         (nscd_init): Move inotify descriptor creation to main.
49267         Don't register files for notification here.
49268         (register_traced_file): New function.
49269         (invalidate_cache): Don't use reset_res to determine whether to call
49270         res_init, go through the list of registered files.
49271         (main_loop_poll): The inotify descriptors are now stored in the
49272         structures for the traced files.
49273         (main_loop_epoll): Likewise
49274         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49275         to __nss_disable_nscd.
49276         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49277         for a database anymore.  Check the records for all the registered
49278         files instead.
49279         * nss/Makefile (libnss_files-routines): Add files-init.
49280         (libnss_db-routines): Add db-init.
49281         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49282         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49283         * nss/nss_db/db-init.c: New file.
49284         * nss/nss_files/files-init.c: New file.
49285         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49286         __nss_lookup_function.
49287         (__nss_lookup_function): Call nss_load_library.
49288         (nss_load_all_libraries): New function.
49289         (__nss_disable_nscd): Take parameter with callback function for files
49290         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49291         used for the cached services.
49292         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49293         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49294         options for features to all the files in nscd.
49296         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49298 2011-07-10  Roland McGrath  <roland@hack.frob.com>
49300         * csu/elf-init.c (__libc_csu_init): Comment typo.
49302 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
49304         * po/pl.po: Update from translation team.
49305         * po/ja.po: Likewise.
49306         * po/ru.po: Likewise.
49307         * po/ko.po: Likewise.
49308         * po/fr.po: Likewise.
49310 2011-07-09  Roland McGrath  <roland@hack.frob.com>
49312         * configure.in (.ctors/.dtors header and trailer check):
49313         Use an empirical test on a built program.
49314         * configure: Regenerated.
49316         * configure.in (-z relro check): Use an empirical test on a built DSO.
49317         Detect, but do not require, on ia64.
49318         * configure: Regenerated.
49320         * configure.in (READELF): Find it with AC_CHECK_TOOL.
49321         Update tests that use readelf to use $READELF instead.
49322         * configure: Regenerated.
49324 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
49326         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49327         if the result is not used.
49329 2011-07-05  Andreas Jaeger  <aj@suse.de>
49331         [BZ#9696]
49332         * stdlib/tst-strtod.c: Add testcase.
49334 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
49336         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49337         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49338         The latter has a higher limit.  Take additional parameter to pass to
49339         the new function.
49340         (__pathconf): Pass file to __statfs_link_max.
49341         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49342         __statfs_link_max.
49343         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49344         __statfs_link_max.
49346         [BZ #12868]
49347         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49348         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49349         Handle Lustre.
49350         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49351         (__statfs_filesize_max): Likewise.
49352         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49354 2011-07-05  Andreas Jaeger  <aj@suse.de>
49356         * resolv/res_comp.c (dn_skipname): Remove unused variable.
49358 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
49360         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49361         `status' variable.
49362         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49363         Likewise.
49365 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
49367         * Makefile (strop-tests): Add strncat.
49368         * string/test-strncat.c: New file.
49370 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
49372         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49374 2011-06-21  Andreas Jaeger  <aj@suse.de>
49376         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49377         Copy rule from iconvdata/Makefile.
49379 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49381         [BZ #12922]
49382         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49383         but no long options are defined, just return 'W'.
49385 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
49387         [BZ #9696]
49388         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49390 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49392         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49393         netgroups to read.
49394         (innetgr): Likewise.
49396 2011-07-05  Roland McGrath  <roland@hack.frob.com>
49398         * config.make.in (install_root): Default to $(DESTDIR).
49400 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
49402         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49404 2011-07-02  Roland McGrath  <roland@hack.frob.com>
49406         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49408         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49409         containing directory rather than embedding absolute directory names.
49411         * scripts/check-local-headers.sh: Rewritten using awk.
49412         Match by word, not by line.  Print error messages for matches.
49413         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49415         * Makerules [shlib-lds-flags empty]:
49416         ($(common-objpfx)libc_pic.opts): New target.
49417         ($(common-objpfx)libc_pic.os.clean): New target.
49418         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49420         * config.make.in (OBJCOPY): New variable.
49421         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49422         * configure: Regenerated.
49424         * config.make.in (use-default-link): New variable.
49425         * configure.in (use_default_link): Grok --with-default-link to set it.
49426         * configure: Regenerated.
49427         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49428         (shlib-lds, shlib-lds-flags): Define to empty.
49430         * Makerules (shlib-lds): New variable.
49431         (shlib-lds-flags): New variable.
49432         (build-shlib, build-moduile, build-module-asneeded): Use it.
49433         ($(common-objpfx)libc.so): Use $(shlib-lds).
49434         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49435         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49437         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49438         DT_FLAGS/DT_FLAGS_1 with zero flags.
49440         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49441         linker script munging.
49443 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
49445         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49446         as 128-bit value.
49447         * crypt/sha512.c (sha512_process_block): Perform total addition using
49448         128-bit if possible.
49449         (__sha512_finish_ctx): Likewise.
49450         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49451         as 64-bit value.
49452         * crypt/sha256.c (SWAP64): Define.
49453         (sha256_process_block): Perform total addition using 64-bit if
49454         possible.
49455         (__sha256_finish_ctx): Likewise.
49457 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
49459         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
49460         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49461         * nscd/hstcache.c (cache_addhst): Likewise.
49462         * nscd/grpcache.c (cache_addgr): Likewise.
49463         * nscd/aicache.c (addhstaiX): Likewise
49464         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49466 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
49468         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49470         * nscd/hstcache.c (cache_addhst): Likewise.
49471         * nscd/grpcache.c (cache_addgr): Likewise.
49472         * nscd/aicache.c (addhstaiX): Likewise
49474 2011-07-01  Andreas Schwab  <schwab@redhat.com>
49476         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49477         domain only when needed.
49479 2011-06-30  Andreas Schwab  <schwab@redhat.com>
49481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49482         is always restored.
49484 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
49486         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49487         are re-adding the entry.
49488         * nscd/servicescache.c (cache_addserv): Likewise.
49490 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
49492         * sysdeps/generic/dl-irel.h: fix protection against multiple
49493         inclusions.
49494         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49496 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
49498         [BZ #12935]
49499         * malloc/memusage.sh: Fix quoting in message.
49500         * debug/xtrace.sh: Likewise.
49502         * configure.in: Remove support for --experimental-malloc option, make
49503         it the default.
49504         * config.make.in: Likewise.
49505         * malloc/Makefile: Likewise.
49507 2011-06-27  Andreas Schwab  <schwab@redhat.com>
49509         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49510         two-byte characters.
49512 2011-06-27  Roland McGrath  <roland@hack.frob.com>
49514         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49515         AC_CACHE_CHECK invocation.
49516         * configure: Regenerated.
49518         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49520 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
49522         [BZ #12350]
49523         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
49524         bit from old_res_options.
49526         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49528         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49529         value type for setfct.
49531 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
49533         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49534         __gettimeofday instead of gettimeofday.
49536 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
49538         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49540 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
49542         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49544         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49545         info.
49547 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49550         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49551         strcpy-sse2-unaligned strncpy-sse2-unaligned
49552         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49553         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49554         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49555         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49556         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49557         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49558         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49559         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49560         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49561         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49562         (STRCPY): Support SSE2 and SSSE3 versions.
49564 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
49566         [BZ #12874]
49567         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49568         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49569         kernels which artificially limit size of requests.
49571 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49574         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49575         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49576         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49577         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49578         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49579         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49580         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49581         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49582         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49583         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49584         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49585         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49586         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49587         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49589         Enable unaligned load optimization for Intel Core i3, i5 and i7
49590         processors.
49591         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49592         Define.
49593         (index_Fast_Unaligned_Load): Define.
49594         (HAS_FAST_UNALIGNED_LOAD): Define.
49596 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
49598         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49600 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49602         [BZ #12907]
49603         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49604         until it is clear that the information is realy needed.
49605         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49607 2011-06-22  Andreas Schwab  <schwab@redhat.com>
49609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49611 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49613         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49614         /sys/devices/system/cpu/online if it is usable.
49616         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49617         reading the information from the /proc filesystem to once a second.
49619 2011-06-21  Andreas Jaeger  <aj@suse.de>
49621         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49622         NULL after inclusion of kernel headers.
49624 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
49626         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49627         calls to internal_setent.
49629         [BZ #12885]
49630         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49631         addresses using gethostbyname4_r ignore IPv4 addresses.
49633         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49634         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
49636         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49638 2011-06-20  David S. Miller  <davem@davemloft.net>
49640         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49641         inclusions.
49642         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49644         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49645         (elf_irel): Use it.
49646         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49647         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49648         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49649         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49650         * sysdeps/x86_64/dl-irel.h: Likewise.
49652         * elf/dl-runtime.c: Use elf_ifunc_invoke.
49653         * elf/dl-sym.c: Likewise.
49655 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49657         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
49658         need to dereference resplen2.
49660 2011-06-14  Andreas Schwab  <schwab@redhat.com>
49662         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49664 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49666         * Makeconfig: Define vardbdir and inst_vardbdir.
49667         * nss/Makefile: Add rules to install db-Makefile.
49669         * nss/nss_db/db-XXX.c: Cleanup.
49671         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49672         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49673         GLIBC_PRIVATE.
49674         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49675         * nss/makedb.c: Implement -g option to specify that value strings
49676         are generated and should not be added to table iterated over for
49677         get*ent calls.
49678         * nss/nss_db/db-initgroups.c: New file.
49680         * nss/getent.c: Add support for initgroups lookups through getgrouplist
49681         interface.
49683         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49684         (internal_getgrouplist): Adjust to name change.
49685         Update use_initgroups_entry if this is not the first call.
49686         * nss/databases.def: Add initgroups entry.
49688         * nss/makedb.c (compute_tables): Check result of multiple hash table
49689         sizes to minimize maximum chain length.
49691 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
49693         * Versions.def: Add entry for libnss_db.
49694         * shlib-versions: Likewise.
49695         * nss/Makefile: Add rules to build libnss_db.
49696         * nss/Versions: Add libnss_db information.  Organize libnss_files
49697         entries better.
49698         * nss/db-Makefile: Add gshadow support.  Change rules for the new
49699         makedb progra.  Some minor improvements to generate smaller files.
49700         * nss/nss_db/nss_db.h: Move NSS database header data structures to
49701         here from...
49702         * nss/makedb.c: ...here.
49703         Improve database format to be smaller and require less memory at
49704         runtime.
49705         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
49706         db anymore.
49707         * nss/nss_db/db-netgrp.c: Likewise.
49708         * nss/nss_db/db-open.c: Likewise.
49709         * nss/nss_files/flies-XXX.x: Adjust comments.
49710         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49711         * nss/nss_files/files-grp.c: Likewise.
49712         * nss/nss_files/files-hosts.c: Likewise.
49713         * nss/nss_files/files-network.c: Likewise.
49714         * nss/nss_files/files-proto.c: Likewise.
49715         * nss/nss_files/files-pwd.c: Likewise.
49716         * nss/nss_files/files-rpc.c: Likewise.
49717         * nss/nss_files/files-service.c: Likewise.
49718         * nss/nss_files/files-sgrp.c: Likewise.
49719         * nss/nss_files/files-spwd.c: Likewise.
49720         * nss/nss_db/db-alias.c: Removed.
49721         * nss/nss_db/dummy-db.h: Removed.
49723 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
49725         * nss/makedb.c: Rewritten to not use database library.
49726         * nss/Makefile: Update to build new makedb program.
49728 2011-06-14  Andreas Jaeger  <aj@suse.de>
49730         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49731         memset declaration.
49733 2011-06-10  Andreas Schwab  <schwab@redhat.com>
49735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49736         tmpbuf.
49738 2011-06-10  Roland McGrath  <roland@hack.frob.com>
49740         * Makerules (shlib.lds): Fail if the linker script comes out empty.
49741         * elf/Makefile ($(objpfx)ld.so): Likewise.
49743         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49744         Don't list ld.so twice in dependencies.
49746         * posix/bug-regex31.c: Include <stdlib.h>.
49748         * nscd/hstcache.c (cache_addhst): Remove unused variable.
49750         * nis/nss_compat/compat-spwd.c
49751         (getspent_next_nss_netgr): Remove unused variable.
49752         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49754         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49755         nonmembers" output to use the right array.
49757         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49759         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49761         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49762         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49763         * catgets/gencat.c (read_input_file): Likewise.
49764         * locale/programs/locarchive.c (enlarge_archive): Likewise.
49766         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49767         variable definition inside #if's controlling its use.
49769         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49771         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49773         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49775         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49776         unreachable code.
49778         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49780         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49781         * configure: Regenerated.
49783         * Makerules: Revert last change.
49784         * elf/Makefile: Likewise.
49786 2011-06-09  Roland McGrath  <roland@hack.frob.com>
49788         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49789         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49790         (reloc-link): Likewise.
49792 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49794         * elf/Makefile: Add rules to build pldd.
49795         * elf/pldd.c: New file.
49796         * elf/pldd-xx.c: New file.
49798 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49800         * version.h: Update for 2.15 development version.
49802 2011-06-07  David S. Miller  <davem@davemloft.net>
49804         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49805         ifuncs.
49806         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49807         elf_machine_lazy_rel): Likewise.
49808         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49809         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49810         elf_machine_lazy_rel): Likewise.
49811         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49812         dl_hwcap via passed in argument.
49813         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49814         Likewise.
49816 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49818         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49820 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49822         [BZ #12849]
49823         * manual/fdl-1.1.texi: New file, verbatim from:
49824         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49825         * manual/lgpl-2.1.texi: New file, verbatim from:
49826         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49827         * manual/Makefile (licenses): New variable, list those new file names.
49828         (texis): Use it.
49829         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49831         * manual/fdl.texi: File removed.
49832         * manual/lesser.texi: File removed.
49833         * manual/libc.texinfo (Copying, Documentation License):
49834         Use new @include file names, put @appendix directive before @include.
49836 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49838         [BZ #12841]
49839         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49840         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49841         (mq_open): Add __NTH.
49843 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49846         Assume Intel Core i3/i5/i7 processor if AVX is available.
49848 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49850         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49851         typo.
49853 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49855         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49856         memory.  Use alloca_account.  Fix memory leak when retrying.
49858 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49860         * version.h (RELEASE): Bump for 2.14 release.
49861         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49863         * config.make.in (RANLIB): Remove entry.
49865 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49867         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49868         (libc.pot): Work around missing support for .ksh extension in xgettext.
49870         [BZ #12684]
49871         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49872         if both request failed.
49873         (send_dg): In case of server errors clear resplen or *resplen2.
49875         [BZ #12454]
49876         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49877         when there are multiple maps.
49878         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49879         (_dl_fini): Remove test here.
49881         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49883 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49885         [BZ #12350]
49886         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49887         bit from old_res_options.
49888         (gaih_inet): Likewise.
49890         [BZ #11099]
49891         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49892         as signed.
49894         * resolv/res_init.c (res_setoptions): Make the code more compact.
49896         [BZ #11558]
49897         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49898         set RES_USEVC.
49900         [BZ #11634]
49901         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49903         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49905         [BZ #11781]
49906         * malloc/malloc.h: Declare malloc hook variables as volatile.
49908         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49909         in last patch.
49911         [BZ #11799]
49912         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49913         raise in the comment.
49914         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49915         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49916         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49918 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49920         [BZ #12811]
49921         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49922         grow the buffers more if it already has to be sufficient.
49923         (build_wcs_upper_buffer): Likewise.
49924         * posix/regexec.c (check_matching): Likewise.
49925         (clean_state_log_if_needed): Likewise.
49926         (extend_buffers): Don't enlarge buffers beyond size of the input
49927         buffer.
49928         Patches mostly by Emil Wojak <emil@wojak.eu>.
49929         * posix/bug-regex32.c: New file.
49930         * posix/Makefile (tests): Add bug-regex32.
49932         * locale/findlocale.c (_nl_find_locale): Return right away if
49933         _nl_explode_name failed.
49934         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49936         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49938         * debug/xtrace.sh: Unify messages.
49939         * malloc/memusage.sh: Likewise.
49941         [BZ #12813]
49942         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49943         time symbol from vDSO.  Substitute with vsyscall if not available.
49944         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49945         __vdso_time.
49947         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49948         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49949         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49950         Add sendmmsg and internal_sendmmsg.
49951         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49952         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49953         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49955         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49956         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49957         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49959 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49961         [BZ #12813]
49962         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49963         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49964         available.
49965         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49966         __vdso_getcpu.
49968         [BZ #12814]
49969         * iconvdata/Makefile (tests): Add bug-iconv9.
49970         * iconvdata/bug-iconv9.c: New file.
49972 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49974         [BZ #12814]
49975         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49977 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49979         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49980         (struct user_regs_struct): Change intcs field back to cs.
49982 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49984         * po/ja.po: Update from translation team.
49986 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49988         [BZ #12795]
49989         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49990         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49992 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49994         * stdlib/longlong.h: Update from GCC.
49996 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49998         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49999         parameter name.
50000         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50001         Add parameter name.
50002         (__sysconf): Pass it down.
50004 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
50006         [BZ #12671]
50007         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50008         some situations.
50009         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50010         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50011         add in in __libc_use_alloca calls.  Adjust callers.
50012         (glob): Use malloc in some situations.
50014         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50015         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50016         pltexit.
50018 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
50020         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50021         and CLOCK_BOOTTIME_ALARM.
50023         [BZ #12782]
50024         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50025         is returned.
50027         * string/_strerror.c (__strerror_r): Print negative errors as signed
50028         numbers.
50030         [BZ #12777]
50031         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50032         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50033         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50035         * configure.in: Fix typo in redirection and correct removal of test
50036         files in two cases.
50038         [BZ #12788]
50039         * locale/setlocale.c (new_composite_name): Fix test to check for
50040         identical name of all categories.
50042         [BZ #12792]
50043         * libio/filedoalloc.c (local_isatty): New function.
50044         (_IO_file_doallocate): Use local_isatty.
50045         * stdio-common/perror.c (perror): In case a new stream is used
50046         forward the stream error.
50047         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50048         error flag.
50050 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
50052         [BZ #11869]
50053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50054         alloca.
50055         * include/alloca.h (extend_alloca_account): Define.
50057         [BZ #11857]
50058         * posix/regex.h: Fix comments with documentation of user-accessible
50059         fields after compilation and describe correct free'ing of pattern
50060         after re_compile_pattern.
50061         Patch by Reuben Thomas <rrt@sc3d.org>.
50063 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
50065         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50066         and -mno-altivec to prevent the compiler from using Altivec and/or
50067         VSX instructions when the corresponding registers are not available.
50069 2011-05-19  Andreas Schwab  <schwab@redhat.com>
50071         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50073 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
50075         * libio/freopen.c (freopen): Use __dup2, not dup2.
50076         * libio/freopen64.c (freopen64): Likewise.
50078 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50080         [BZ #12775]
50081         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50082         * math/Makefile (tests): Add test-powl.
50083         (CFLAGS-test-powl.c): Define.
50084         * math/test-powl.c: New file.
50086 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50088         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50090 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
50092         [BZ #11837]
50093         * iconvdata/gb18030.c: Update to GB18020-2005.
50095 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
50097         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50098         RE_SYNTAX_POSIX_AWK): Update to match recent development.
50099         Patch by Aharon Robbins <arnold@skeeve.com>.
50101         [BZ #11892]
50102         * stdlib/putenv.c (putenv): Don't always create copy of the variable
50103         on the stack.
50105         [BZ #11895]
50106         * misc/pselect.c (__pselect): Handle timeout value errors hidden
50107         through underflows.
50109         [BZ #12766]
50110         * misc/error.c (error_at_line): Ensure file_name and old_file_name
50111         point to strings before performing equality test for error_one_per_line
50112         mode.
50114         [BZ #11697]
50115         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50117         [BZ #11820]
50118         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50119         (struct user_fpregs_struct): Avoid __uint*_t types.
50121         [BZ #6420]
50122         * malloc/mtrace.c (tr_where): Add additional parameter to point to
50123         symbol info.  Use it instead of calling _dl_addr locally.
50124         (lock_and_info): New function.
50125         (tr_freehook): Call lock_and_info and pass symbol info as additional
50126         parameter to tr_where.
50127         (tr_mallochook): Likewise.
50128         (tr_reallochook): Likewise.
50129         (tr_memalignhook): Likewise.
50131         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
50132         used and couldn't be at all thread-safe.
50134 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
50136         * libio/freopen.c (freopen): Don't close old file descriptor
50137         before the new one is opened.  Instead dup the new file descriptor
50138         to the old one after the new stream is created.
50139         * libio/freopen64.c (freopen64): Likewise.
50140         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50141         * libio/fileops.c (_IO_new_file_close_it): Handle new
50142         _IO_FLAGS2_NOCLOSE flag.
50143         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50144         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50145         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50146         _IO_FLAGS2_NOCLOSE flag.
50147         * include/unistd.h: Add hidden_proto for dup3.
50148         Define __have_dup3.
50149         * io/dup3.c: Define hidden symbol.
50150         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50152         [BZ #7101]
50153         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50154         when an incomplete long option is used.
50155         * posix/tst-getopt_long1.c: New file.
50156         * posix/Makefile (tests): Add tst-getopt_long1.
50158         [BZ #10138]
50159         * scripts/config.guess: Update from autoconf-2.68.
50160         * scripts/config.sub: Likewise.
50162         [BZ #10157]
50163         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50164         tests into ...
50165         (has_cpuclock): ...this.  New function.
50166         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50167         macro here based on has_cpuclock code.
50169         [BZ #10149]
50170         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50171         First byte (not low byte) is now always NUL.
50172         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50174         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50175         Use non-cancelable interfaces.
50177         [BZ #9809]
50178         * locale/iso-639.def: Add entry for Sorani.
50180         [BZ #11901]
50181         * include/stdlib.h: Move include protection to the right place.
50182         Define abort_msg_s.  Declare __abort_msg with it.
50183         * stdlib/abort.c (__abort_msg): Adjust type.
50184         * assert/assert.c (__assert_fail_base): New function.  Majority
50185         of code from __assert_fail.  Allocate memory for __abort_msg with
50186         mmap.
50187         (__assert_fail): Now call __assert_fail_base.
50188         * assert/assert-perr.c: Remove bulk of implementation.  Use
50189         __assert_fail_base.
50190         * include/assert.hL Declare __assert_fail_base.
50191         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50192         mmap.
50193         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50195 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50197         [BZ #11952]
50198         [BZ #12453]
50199         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50200         until all modules are registered in the DTV.
50201         * elf/Makefile: Add rules to build and run tst-tls19.
50202         * elf/tst-tls19.c: New file.
50203         * elf/tst-tls19mod1.c: New file.
50204         * elf/tst-tls19mod2.c: New file.
50205         * elf/tst-tls19mod3.c: New file.
50206         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50208         [BZ #12083]
50209         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50210         correctly.
50212         [BZ #12601]
50213         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50214         two-byte sequence errors.
50215         * iconvdata/Makefile (tests): Add bug-iconv8.
50216         * iconvdata/bug-iconv8.c: New file.
50218         [BZ #12626]
50219         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50220         buf2 definition.
50222         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50224         [BZ #12432]
50225         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50226         (dummy_getcfa): New function.
50227         (init): Get _Unwind_GetCFA address, use dummy if not found.
50228         (backtrace_helper): In recursion check, also check whether CFA changes.
50229         (__backtrace): Completely initialize arg.
50231         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50232         storing incomplete byte sequence in state object.  Avoid testing for
50233         guaranteed too small input if we know there is enough data available.
50235 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50237         * Makeconfig (+link-pie): Indent.
50238         * Rules (binaries-pie): Define if $(have-fpie) and
50239         $(build-shared).
50240         (binaries-shared): Also filter out $(binaries-pie).
50241         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50242         * nscd/Makefile (others-pie): Add nscd.
50243         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50244         ($(objpfx)nscd): Remove command override.
50245         * login/Makefile (others-pie): Add pt_chown.
50246         ($(objpfx)pt_chown): Remove command override.
50247         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50248         remove command overrides.
50250 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50252         * libio/tst_putwc.c: Fix error messages.
50254         [BZ #12724]
50255         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50256         currently writing and seek to current position when not.
50257         * libio/Makefile (tests): Add bug-fclose1.
50258         * libio/bug-fclose1.c: New file.
50260 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50262         [BZ #12511]
50263         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50264         don't set DF_1_NODELETE here.
50265         (do_lookup_x): When entering new entry test for copy relocation
50266         and if necessary set DF_1_NODELETE flag.
50267         * elf/tst-unique4.cc: New file.
50268         * elf/tst-unique4.h: New file.
50269         * elf/tst-unique4lib.cc: New file.
50270         * elf/Makefile: Add rules to build and run tst-unique4.
50271         Patch by Piotr Bury <pbury@goahead.com>.
50273 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50275         [BZ #12052]
50276         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50278         [BZ #12625]
50279         * misc/mntent_r.c (addmntent): Flush the stream after the output
50281         [BZ #12393]
50282         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50283         (is_trusted_path_normalize): Skip initial colon.  Append slash
50284         to empty buffer.  Duplicate is_trusted_path code but allow
50285         constructed patch to be prefix.
50286         (is_dst): Allow $ORIGIN followed by /.
50287         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50288         Correct testing of result of is_trusted_path_normalize
50289         (decompose_rpath): Fix warning.
50291 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
50293         [BZ #11257]
50294         * grp/initgroups.c (internal_getgrouplist): When we found the service
50295         list through the initgroups entry in nsswitch.conf do not always
50296         continue on a successful lookup.  Don't always use the
50297         __nss_group_database value if it is set.
50298         * nss/nsswitch.conf (initgroups): Change action for successful db
50299         lookup to continue for compatibility.
50301 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
50303         [BZ #11532]
50304         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50305         and CP774 modules.
50306         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50307         and CP774 modules.
50308         * iconvdata/tst-tables.sh: Likewise.
50309         * iconvdata/cp770.c: New file.
50310         * iconvdata/cp771.c: New file.
50311         * iconvdata/cp772.c: New file.
50312         * iconvdata/cp773.c: New file.
50313         * iconvdata/cp774.c: New file.
50314         * iconvdata/testdata/CP770: New file.
50315         * iconvdata/testdata/CP770..UTF8: New file.
50316         * iconvdata/testdata/CP771: New file.
50317         * iconvdata/testdata/CP771..UTF8: New file.
50318         * iconvdata/testdata/CP772: New file.
50319         * iconvdata/testdata/CP772..UTF8: New file.
50320         * iconvdata/testdata/CP773: New file.
50321         * iconvdata/testdata/CP773..UTF8: New file.
50322         * iconvdata/testdata/CP774: New file.
50323         * iconvdata/testdata/CP774..UTF8: New file.
50325         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50326         END CHARMAP line.
50327         * iconvdata/gen-8bit-gap.sh: Likewise.
50328         * iconvdata/gen-8bit.sh: Likewise.
50330         * locale/iso-639.def: Add ary entry.
50332         [BZ #11258]
50333         * locale/C-translit.h.in: Add U20A1 transliteration.
50335         [BZ #12178]
50336         * locale/iso-639.def: Add wae entry.
50337         Patch by Kevin Bortis <bortis@translate-wae.ch>.
50339         [BZ #12545]
50340         * locale/programs/localedef.c (construct_output_path): Use ssize_t
50341         for n.
50343         [BZ #12711]
50344         * locale/C-translit.h.in: Add entry for U20B9.
50345         Patch by pravin.d.s@gmail.com.
50347 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
50349         [BZ #12713]
50350         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50351         ENAMETOOLONG use generic getcwd.
50352         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
50353         in rtld.  Use *stat64.
50354         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50355         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50356         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50357         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50358         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50359         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50360         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50361         __fstatat64 macros.
50362         * include/dirent.h: Add libc_hidden_proto for rewinddir.
50363         * dirent/rewinddir.c: Add libc_hidden_def.
50364         * sysdeps/mach/hurd/rewinddir.c: Likewise.
50365         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
50367         * include/dirent.h (__alloc_dir): Add flags parameter.
50368         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50369         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50370         __alloc_dir.
50371         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
50372         from fdopendir if O_CLOEXEC is already set.
50374 2011-03-15  Alan Modra  <amodra@gmail.com>
50376         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50377         l_tls_firstbyte_offset non-zero.  Save padding offset in
50378         l_tls_firstbyte_offset for later use.
50379         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50380         freeing static tls block.
50382 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
50384         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50385         where #ifdef was intended.  The intent is to prevent ARG_MAX from
50386         being defined by the kernel headers.
50388 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
50390         [BZ #12734]
50391         * resolv/resolv.h: Define RES_NOTLDQUERY.
50392         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50393         no-tld-query and set RES_NOTLDQUERY.
50394         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50395         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50396         modern BIND to search name as TLD unless forbidden.
50398 2011-05-07  Petr Baudis  <pasky@suse.cz>
50399             Ulrich Drepper  <drepper@gmail.com>
50401         [BZ #12393]
50402         * elf/dl-load.c (fillin_rpath): Move trusted path check...
50403         (is_trusted_path): ...to here.
50404         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50405         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50406         using is_trusted_path_normalize() in setuid scripts.
50408 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50410         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50411         __BEGIN/__END_DECLS.
50413 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
50415         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50416         NSS_STATUS_NOTFOUND if no record was found.
50418 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50420         * sunrpc/Makefile (headers): Add rpc/netdb.h.
50421         (headers-not-in-tirpc): Remove rpc/netdb.h
50422         * resolv/netdb.h: Revert last change.
50424 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50426         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50427         circular dependency between libgcc.a and libc.a.
50429 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50431         * resolv/netdb.h: Don't include <rpc/netdb.h>.
50432         * nis/Makefile: Don't install rpcsvc/*.
50433         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50434         instead of <rpc/types.h>.
50435         (MAXHOSTNAMELEN): Define.
50437 2011-05-03  Andreas Schwab  <schwab@redhat.com>
50439         * elf/ldconfig.c (add_dir): Don't crash on empty path.
50441 2011-04-28  Maciej Babinski  <mbabinski@google.com>
50443         [BZ #12714]
50444         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50445         gethostbyname4_r when IPv6 results are possible.
50447 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
50449         [BZ #12723]
50450         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50451         _PC_PIPE_BUF handling.
50453 2011-04-30  Bruno Haible  <bruno@clisp.org>
50455         [BZ #12717]
50456         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50457         * resolv/netdb.h (getnameinfo): Change type of flags parameter
50458         to 'int'.
50459         * inet/getnameinfo.c (getnameinfo): Likewise.
50461 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
50463         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50464         to groups setting in database lookup.
50465         * nss/nsswitch.conf: Add initgroups entry.
50467 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
50469         [BZ #12685]
50470         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50471         mode string.
50472         Patch by Eric Blake <eblake@redhat.com>.
50474 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
50476         * sunrpc/Makefile (need-export-routines): Add svc_run.
50477         (routines): Remove svc_run.
50478         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50479         * sunrpc/clnt_perr.c (clnt_perrno): Export.
50480         * sunrpc/svc_run.c (svc_run): Likewise.
50481         * sunrpc/svc_udp.c (svcudp_create): Likewise.
50483 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
50485         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50486         problem in reallocation in last patch.
50488 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
50490         * sunrpc/Makefile: Move inclusion of Rules.
50492 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50494         * nss/nss_files/files-initgroups.c: New file.
50495         * nss/Makefile (libnss_files-routines): Add files-initgroups.
50496         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50497         _nss_files_initgroups_dyn.
50499 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
50501         * elf/elf.h (R_ARM_IRELATIVE): Define.
50503 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50505         * po/ru.po: Update from translation team.
50507 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50509         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50510         dependencies.
50512 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
50514         [BZ #12653]
50515         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50516         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50517         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50518         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50519         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50521 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
50523         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50524         differing bytes.
50525         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50526         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50527         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50529 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50531         [BZ #12420]
50532         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50533         storing it.
50534         * stdlib/bug-getcontext.c: New file.
50535         * stdlib/Makefile: Add rules to build and run bug-getcontext.
50537 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50539         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50540         instructions into .machine "z9-109".
50541         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50542         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50544 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50546         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50547         between environment variables and auxiliary vector.
50549 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
50551         * Makefile: Add rules to build linkobj/libc.so.
50552         * include/libc-symbols.h: Define libc_hidden_nolink.
50553         * include/rpc/auth.h: Mark functions which are to be hidden.
50554         * include/rpc/auth_des.h: Likewise.
50555         * include/rpc/auth_unix.h: Likewise.
50556         * include/rpc/clnt.h: Likewise.
50557         * include/rpc/des_crypt.h: Likewise.
50558         * include/rpc/key_prot.h: Likewise.
50559         * include/rpc/pmap_clnt.h: Likewise.
50560         * include/rpc/pmap_prot.h: Likewise.
50561         * include/rpc/pmap_rmt.h: Likewise.
50562         * include/rpc/rpc_msg.h: Likewise.
50563         * include/rpc/svc.h: Likewise.
50564         * include/rpc/svc_auth.h: Likewise.
50565         * include/rpc/xdr.h: Likewise.
50566         * nis/Makefile: Link all DSOs against linkobj/libc.so.
50567         * nss/Makefile: Likewise.
50568         * sunrpc/Makefile: Don't install headers.  Build library with normal
50569         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
50570         * sunrpc/auth_des.c: Hide exported symbols by default, export some
50571         for the compat linking library.  Remove use of INTDEF/INTUSE.
50572         * sunrpc/auth_none.c: Likewise.
50573         * sunrpc/auth_unix.c: Likewise.
50574         * sunrpc/authdes_prot.c: Likewise.
50575         * sunrpc/authuxprot.c: Likewise.
50576         * sunrpc/clnt_gen.c: Likewise.
50577         * sunrpc/clnt_perr.c: Likewise.
50578         * sunrpc/clnt_raw.c: Likewise.
50579         * sunrpc/clnt_simp.c: Likewise.
50580         * sunrpc/clnt_tcp.c: Likewise.
50581         * sunrpc/clnt_udp.c: Likewise.
50582         * sunrpc/clnt_unix.c: Likewise.
50583         * sunrpc/des_crypt.c: Likewise.
50584         * sunrpc/des_soft.c: Likewise.
50585         * sunrpc/get_myaddr.c: Likewise.
50586         * sunrpc/key_call.c: Likewise.
50587         * sunrpc/key_prot.c: Likewise.
50588         * sunrpc/netname.c: Likewise.
50589         * sunrpc/pm_getmaps.c: Likewise.
50590         * sunrpc/pm_getport.c: Likewise.
50591         * sunrpc/pmap_clnt.c: Likewise.
50592         * sunrpc/pmap_prot.c: Likewise.
50593         * sunrpc/pmap_prot2.c: Likewise.
50594         * sunrpc/pmap_rmt.c: Likewise.
50595         * sunrpc/publickey.c: Likewise.
50596         * sunrpc/rpc_cmsg.c: Likewise.
50597         * sunrpc/rpc_common.c: Likewise.
50598         * sunrpc/rpc_dtable.c: Likewise.
50599         * sunrpc/rpc_prot.c: Likewise.
50600         * sunrpc/rpc_thread.c: Likewise.
50601         * sunrpc/rtime.c: Likewise.
50602         * sunrpc/svc.c: Likewise.
50603         * sunrpc/svc_auth.c: Likewise.
50604         * sunrpc/svc_authux.c: Likewise.
50605         * sunrpc/svc_raw.c: Likewise.
50606         * sunrpc/svc_run.c: Likewise.
50607         * sunrpc/svc_simple.c: Likewise.
50608         * sunrpc/svc_tcp.c: Likewise.
50609         * sunrpc/svc_udp.c: Likewise.
50610         * sunrpc/svc_unix.c: Likewise.
50611         * sunrpc/svcauth_des.c: Likewise.
50612         * sunrpc/xcrypt.c: Likewise.
50613         * sunrpc/xdr.c: Likewise.
50614         * sunrpc/xdr_array.c: Likewise.
50615         * sunrpc/xdr_float.c: Likewise.
50616         * sunrpc/xdr_intXX_t.c: Likewise.
50617         * sunrpc/xdr_mem.c: Likewise.
50618         * sunrpc/xdr_rec.c: Likewise.
50619         * sunrpc/xdr_ref.c: Likewise.
50620         * sunrpc/xdr_sizeof.c: Likewise.
50621         * sunrpc/xdr_stdio.c: Likewise.
50623 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
50625         [BZ #12650]
50626         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50627         * sysdeps/ia64/dl-tls.h: Likewise.
50628         * sysdeps/powerpc/dl-tls.h: Likewise.
50629         * sysdeps/s390/dl-tls.h: Likewise.
50630         * sysdeps/sh/dl-tls.h: Likewise.
50631         * sysdeps/sparc/dl-tls.h: Likewise.
50632         * sysdeps/x86_64/dl-tls.h: Likewise.
50633         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50635 2011-03-14  Andreas Schwab  <schwab@redhat.com>
50637         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50638         rpath element also skip the following colon.
50639         (expand_dynamic_string_token): Add is_path parameter and pass
50640         down to DL_DST_REQUIRED and _dl_dst_substitute.
50641         (decompose_rpath): Call expand_dynamic_string_token with
50642         non-zero is_path.  Ignore empty rpaths.
50643         (_dl_map_object_from_fd): Call expand_dynamic_string_token
50644         with zero is_path.
50646 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
50648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50649         Make cancelable.
50651 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
50653         [BZ #12655]
50654         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50655         Patch by Filipe David Manana <fdmanana@apache.org>.
50657 2011-04-07  Andreas Schwab  <schwab@redhat.com>
50659         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50660         Maintain aligned stack.
50661         (CHECK_RSP): Remove unused macro.
50663 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
50665         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50666         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50668 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
50670         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50672         * include/features.h: Mention __USE_XOPEN2K8 in comment.
50674 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
50676         [BZ #12518]
50677         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50678         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50679         * sysdeps/x86_64/memmove.c: New file.
50680         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50681         (memcpy): Renamed to ...
50682         (__new_memcpy): This.
50683         (memcpy): Provide GLIBC_2_14 memcpy.
50684         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50685         (memcpy): Provide GLIBC_2_2_5 memcpy.
50687 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50689         [BZ #12631]
50690         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50692 2011-03-30  Andreas Schwab  <schwab@redhat.com>
50694         * misc/syncfs.c: New file.
50695         * misc/Makefile (routines): Add syncfs.
50696         * posix/unistd.h: Declare syncfs.
50697         * sysdeps/unix/syscalls.list: Add syncfs.
50699 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50701         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50702         open_by_handle_at.
50703         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50704         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50705         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50706         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50707         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50708         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50709         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50711 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50713         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50714         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50715         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50716         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50717         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50718         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50719         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50721         * io/Makefile: Compile fallocate.c, fallocate64.c, and
50722         sync_file_range.c with -fexceptions.
50723         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50724         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50725         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50726         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50727         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50728         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50730         sync_file_range as cancellation point
50731         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
50732         now a wrapper around __call_sync_file_range with cancellation handling.
50733         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50734         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
50735         function name to __call_sync_file_range.
50736         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50737         Add call_sync_file_range.
50739 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50742         bits/timex.h.
50744 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50746         * iconv/iconv.h: Fix typo in comment.
50747         * io/fcntl.h: Likewise.
50748         * libio/stdio.h: Likewise.
50749         * posix/spawn.h: Likewise.
50750         * posix/unistd.h: Likewise.
50751         * stdlib/stdlib.h: Likewise.
50752         * time/time.h: Likewise.
50753         * wcsmbs/wchar.h: Likewise.
50755         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50756         open_by_handle): Add.
50757         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50758         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
50759         Augment a few comments.
50760         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50762         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50763         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50764         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50765         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50766         open_by_handle.
50768         * io/fcntl.h (AT_EMPTY_PATH): Define.
50770 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
50772         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50773         * sysdeps/unix/sysv/linux/bits/time.h: New file.
50774         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50775         to...
50776         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
50777         * Versions.def: Add GLIBC_2.14.
50778         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50779         Export.
50781 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
50783         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50784         round counter.
50785         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50787 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50789         [BZ #12597]
50790         * string/test-strncmp.c (do_page_test): New function.
50791         (check2): Likewise.
50792         (test_main): Call check2.
50793         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50795 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50797         [BZ #12587]
50798         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50799         Handle cache information in CPU leaf 4.
50800         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50802 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50804         [BZ #12583]
50805         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50806         character representation.
50807         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50809 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50811         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50812         END(__isnan) to END(__isnanf) to match function entry point/label
50813         EALIGN(__isnanf,...).
50815 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50817         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50819 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50821         [BZ #12510]
50822         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50823         copy from the symbol referenced in the relocation to initialize the
50824         used variable.
50825         Patch by Piotr Bury <pbury@goahead.com>.
50826         * elf/Makefile: Add rules to build and tst-unique3.
50827         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50828         * elf/tst-unique3.cc: New file.
50829         * elf/tst-unique3.h: New file.
50830         * elf/tst-unique3lib.cc: New file.
50831         * elf/tst-unique3lib2.cc: New file.
50833         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50835 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50837         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50838         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50839         to _start.
50841 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50843         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50844         to-be-loaded object along a path to loader is ld.so.
50846 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50847             Ulrich Drepper  <drepper@gmail.com>
50849         * sysdeps/x86_64/memset.S: After aligning destination, code
50850         branches to different locations depending on the value of
50851         misalignment, when multiarch is enabled. Fix this.
50853 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50855         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50856         Set _x86_64_preferred_memory_instruction for AMD processsors.
50857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50858         Set bit_Prefer_SSE_for_memop for AMD processors.
50860 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50862         * libio/fmemopen.c (fmemopen): Optimize a bit.
50864 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50866         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50868 2011-03-03  Roland McGrath  <roland@redhat.com>
50870         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50872 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50874         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50875         __bzero_ultra1 instead of __memset_ultra1.
50877 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50878             Ulrich Drepper  <drepper@gmail.com>
50880         [BZ #12509]
50881         * include/link.h (struct link_map): Add l_orig_initfini.
50882         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50883         returning unsuccessfully.
50884         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50885         close of a file loaded at startup, restore the original l_initfini
50886         list.
50887         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50888         list, store the pointer.
50889         * elf/Makefile ($(objpfx)noload-mem): New rule.
50890         (noload-ENV): Define.
50891         (tests): Add $(objpfx)noload-mem.
50892         * elf/noload.c: Include <memcheck.h>.
50893         (main): Call mtrace.  Close all opened handles.
50895 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50897         [BZ #12454]
50898         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50899         dependencies are missing.
50901 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50903         Fix __if_freereq crash: Unlike the generic version which uses free,
50904         Hurd needs munmap.
50905         * sysdeps/mach/hurd/ifreq.h: New file.
50907 2011-01-27  Petr Baudis  <pasky@suse.cz>
50908             Ulrich Drepper  <drepper@gmail.com>
50910         [BZ 12445]#
50911         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50912         to extend_alloca().
50913         * stdio-common/bug23.c: New file.
50914         * stdio-common/Makefile (tests): Add bug23.
50916 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50917             Ulrich Drepper  <drepper@gmail.com>
50919         [BZ #12489]
50920         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50921         before performing relro protection.  At old place add assertion
50922         to make sure nothing changed.
50924 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50925             Glauber de Oliveira Costa  <glommer@gmail.com>
50927         * elf/elf.h: Add new ARM TLS relocs.
50929 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50932         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50933         cast from r3.
50934         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50935         'tests' variable.
50936         * sysdeps/wordsize-64/tst-writev.c: New file.
50938 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50940         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50941         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50942         insns in _dl_start to prevent a TOC reference before relocs are
50943         resolved.
50945 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50947         [BZ #12469]
50948         * Makeconfig: Remove RANLIB definition.
50949         * Makerules: Don't use RANLIB.
50950         * aclocal.m4: Remove ranlib test.
50951         * configure.in: No need to check for ranlib.
50952         * elf/rtld-Rules: Don't use RANLIB.
50954 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50956         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50957         protection macro.
50958         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50959         inclusion protection macro.
50961         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50962         SIGRTMIN and SIGRTMAX and print information in that case only when
50963         SIGRTMIN is defined.
50965 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50967         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50968         arginfo fn returning -1.
50970         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50971         and thousands string is zero terminated.
50973 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50975         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50976         sysdeps/unix/sysv/linux/bits/socket.h.
50978 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50980         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50981         (__CPU_COUNT): Remove old macros.
50982         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50983         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50984         (__CPU_ALLOC, __CPU_FREE): Add macros.
50985         (__sched_cpualloc, __sched_cpufree): Add declarations.
50987 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50989         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50990         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50991         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50992         (readdhstai): Return value of addhstaiX call.
50993         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50994         (addgrbyX): Return value returned by cache_addgr.
50995         (readdgrbyname): Return value returned by addgrbyX.
50996         (readdgrbygid): Likewise.
50997         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50998         (addpwbyX): Return value returned by cache_addpw.
50999         (readdpwbyname): Return value returned by addhstbyX.
51000         (readdpwbyuid): Likewise.
51001         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51002         (addservbyX): Return value returned by cache_addserv.
51003         (readdservbyname): Return value returned by addservbyX:
51004         (readdservbyport): Likewise.
51005         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51006         (addhstbyX): Return value returned by cache_addhst.
51007         (readdhstbyname): Return value returned by addhstbyX.
51008         (readdhstbyaddr): Likewise.
51009         (readdhstbynamev6): Likewise.
51010         (readdhstbyaddrv6): Likewise.
51011         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51012         (readdinitgroups): Return value returned by addinitgroupsX.
51013         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51014         (prune_cache): Keep track of timeout value of re-added entries.
51015         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51016         * nscd/nscd.h: Adjust prototypes of readd* functions.
51018 2011-02-04  Roland McGrath  <roland@redhat.com>
51020         * nis/nis_server.c (nis_servstate): Use the right name for 0.
51021         (nis_stats): Likewise.
51022         * nis/nis_modify.c (nis_modify): Likewise.
51023         * nis/nis_remove.c (nis_remove): Likewise.
51024         * nis/nis_add.c (nis_add): Likewise.
51026         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51028         * posix/fnmatch_loop.c: Add some consts.
51030         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51032 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
51034         [BZ #12460]
51035         * config.make.in (config-cflags-novzeroupper): Define.
51036         * configure.in: Substitute libc_cv_cc_novzeroupper.
51037         * elf/Makefile (AVX-CFLAGS): Define.
51038         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51039         (CFLAGS-tst-auditmod4a.c): Likewise.
51040         (CFLAGS-tst-auditmod4b.c): Likewise.
51041         (CFLAGS-tst-auditmod6b.c): Likewise.
51042         (CFLAGS-tst-auditmod6c.c): Likewise.
51043         (CFLAGS-tst-auditmod7b.c): Likewise.
51044         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51046 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
51048         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51049         function to the callback.
51050         Patch partly by Jiri Olsa <jolsa@redhat.com>.
51052 2011-02-02  Andreas Schwab  <schwab@redhat.com>
51054         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51055         of errno.
51057 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
51059         [BZ #11724]
51060         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51061         of constructors.
51062         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51063         of destructors.
51064         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51066         [BZ #11724]
51067         * elf/Makefile: Add rules to build and run new test.
51068         * elf/tst-initorder.c: New file.
51069         * elf/tst-initorder.exp: New file.
51070         * elf/tst-initordera1.c: New file.
51071         * elf/tst-initordera2.c: New file.
51072         * elf/tst-initordera3.c: New file.
51073         * elf/tst-initordera4.c: New file.
51074         * elf/tst-initorderb1.c: New file.
51075         * elf/tst-initorderb2.c: New file.
51076         * elf/tst-order-a1.c: New file.
51077         * elf/tst-order-a2.c: New file.
51078         * elf/tst-order-a3.c: New file.
51079         * elf/tst-order-a4.c: New file.
51080         * elf/tst-order-b1.c: New file.
51081         * elf/tst-order-b2.c: New file.
51082         * elf/tst-order-main.c: New file.
51083         New test case by George Gensure <werkt0@gmail.com>.
51085 2010-10-01  Andreas Schwab  <schwab@redhat.com>
51087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51088         decoding ACE if AI_CANONIDN.
51090 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
51092         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51094 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
51096         * version.h (RELEASE): Bump for 2.13 release.
51097         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51099         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51101         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51102         MADV_NOHUGEPAGE.
51103         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51104         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51105         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51106         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51107         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51108         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51110         * posix/getconf.c: Update copyright year.
51111         * catgets/gencat.c: Likewise.
51112         * csu/version.c: Likewise.
51113         * debug/catchsegv.sh: Likewise.
51114         * debug/xtrace.sh: Likewise.
51115         * elf/ldconfig.c: Likewise.
51116         * elf/ldd.bash.in: Likewise.
51117         * elf/sprof.c (print_version): Likewise.
51118         * iconv/iconv_prog.c: Likewise.
51119         * iconv/iconvconfig.c: Likewise.
51120         * locale/programs/locale.c: Likewise.
51121         * locale/programs/localedef.c: Likewise.
51122         * malloc/memusage.sh: Likewise.
51123         * malloc/mtrace.pl: Likewise.
51124         * nscd/nscd.c (print_version): Likewise.
51125         * nss/getent.c: Likewise.
51127         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51128         PF_CAIF, and PF_ALG.
51129         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51131 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
51133         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51134         (modules-names): Use them.
51135         (ifunc-test-modules, ifunc-pie-tests): Define.
51136         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51137         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51138         (test-extras): Likewise.
51139         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51140         $(compile-command.c).
51141         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51142         (all-built-dso): Define.
51143         (check-textrel.out, check-execstack.out): Depend on it.
51145         * configure.in: Don't override --enable-multi-arch.
51147 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
51149         [BZ #6812]
51150         * nscd/hstcache.c (tryagain): Define.
51151         (cache_addhst): Return tryagain not notfound for temporary errors.
51152         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51153         failed.
51155 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
51157         [BZ #10563]
51158         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51159         to make the syscall.
51160         * sysdeps/unix/sysv/linux/setgroups.c: New file.
51162         [BZ #12378]
51163         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51164         and fall back to matching as normal character if the string ends before
51165         the matching ']' is found.  This is what POSIX requires.
51166         * posix/testfnm.c: Adjust test result.
51167         * posix/globtest.sh: Adjust test result.  Add new test.
51168         * posix/tst-fnmatch.input: Likewise.
51169         * posix/tst-fnmatch2.c: Add new test.
51171 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
51173         * elf/Makefile (check-execstack): Revert last change.  Depend on
51174         check-execstack.h.
51175         (check-execstack.h): New target.
51176         (generated): Add check-execstack.h.
51177         * elf/check-execstack.c: Include "check-execstack.h".
51178         (main): Revert last change.
51179         (handle_file): Return zero if GNU_STACK is absent and
51180         DEFAULT_STACK_PERMS doesn't include PF_X.
51182 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51184         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51185         in child fails because the descriptor is already closed.
51186         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51187         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51188         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51190         [BZ #12397]
51191         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51192         syscall.
51194         [BZ #10484]
51195         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51196         temporary buffer used to handle multi lookups locally.
51197         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51199 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51201         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51202         loader is ld.so.
51204 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51206         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51207         alignment for SSE2.
51209 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51211         [BZ #12394]
51212         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51213         characters.  When rounding increased number of integer digits recompute
51214         number of groups.
51215         * stdio-common/tst-grouping.c: New file.
51216         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51218 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51220         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51221         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51223         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51224         void.
51225         * bits/select.h: Likewise.
51227 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51229         * po/ja.po: Update from translation team.
51231 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51233         [BZ #11155]
51234         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51235         implementation just like for lxstat, fxstatat, et al.
51237 2010-12-27  Jim Meyering  <meyering@redhat.com>
51239         [BZ #12348]
51240         * posix/regexec.c (build_trtable): Return failure indication upon
51241         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51243 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51245         [BZ #12201]
51246         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51247         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51248         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51249         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51251         [BZ #12207]
51252         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51254         [BZ #12204]
51255         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51256         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51258 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51260         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51261         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51262         script has SORT_BY_INIT_PRIORITY.
51263         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51264         NO_CTORS_DTORS_SECTIONS is defined.
51265         * elf/soinit.c: Likewise.
51266         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51267         NO_CTORS_DTORS_SECTIONS is defined.
51268         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51269         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51270         * sysdeps/sh/init-first.c: Likewise.
51271         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51273 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51275         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51276         always use the slow path.
51278 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51280         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51281         similar rule which adds the sysdep directories to the header search in
51282         order to pick up the correct platform stackinfo.h.
51283         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51284         perform test if it is, otherwise return successfully without testing.
51285         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51286         DEFAULT_STACK_PERMS define in stackinfo.h.
51287         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51288         defined in stackinfo.h.
51289         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51290         DEFAULT_STACK_PERMS defined in stackinfo.h.
51291         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51292         * sysdeps/ia64/stackinfo.h: Likewise.
51293         * sysdeps/s390/stackinfo.h: Likewise.
51294         * sysdeps/sh/stackinfo.h: Likewise.
51295         * sysdeps/sparc/stackinfo.h: Likewise.
51296         * sysdeps/x86_64/stackinfo.h: Likewise.
51297         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51298         PF_X for powerpc64.  Retain PF_X for powerpc32.
51300 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
51302         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51303         accurately.
51304         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51305         GETDENTS_64BIT_ALIGNED.
51307 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
51309         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51311 2010-12-10  Andreas Schwab  <schwab@redhat.com>
51313         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51314         _GNU_SOURCE.
51316         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51317         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51318         Remove __restrict.
51319         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51320         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51322 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
51324         [BZ #11655]
51325         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51326         are initialized.
51328 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
51330         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51332 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
51334         * po/it.po: Update from translation team.
51336 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
51338         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51339         unused codes.
51341 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
51343         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51345 2010-11-24  Andreas Schwab  <schwab@redhat.com>
51347         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51348         specially.
51349         (gaih_getanswer_slice): Likewise.
51351 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
51353         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51355 2010-05-31  Petr Baudis  <pasky@suse.cz>
51357         [BZ #11149]
51358         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51359         silently even in the chroot mode.
51361 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
51363         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51364         last patch a bit.  Pretty printing
51366 2010-05-31  Petr Baudis <pasky@suse.cz>
51368         [BZ #10085]
51369         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51370         initialization of skip_initgroups_dyn.
51372 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
51374         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51375         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51377 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
51379         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51381 2010-11-11  Andreas Schwab  <schwab@redhat.com>
51383         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51384         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51385         (tst-fnmatch-ENV): Set MALLOC_TRACE.
51386         ($(objpfx)tst-fnmatch-mem): New rule.
51387         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51388         * posix/tst-fnmatch.c (main): Call mtrace.
51390 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
51392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51393         Support Intel processor model 6 and model 0x2c.
51395 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
51397         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51398           signed comparison.
51400 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
51402         [BZ #12205]
51403         * string/test-strncasecmp.c (check_result): New function.
51404         (do_one_test): Use it.
51405         (check1): New function.
51406         (test_main): Use it.
51407         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51408         Support strcasecmp and strncasecmp.
51410 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
51412         [BZ #12194]
51413         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51414         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51416 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51418         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51419         IFUNC support.
51420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51421         memset-x86-64.
51422         * sysdeps/x86_64/multiarch/bzero.S: New file.
51423         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51424         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51425         * sysdeps/x86_64/multiarch/memset.S: New file.
51426         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51428         Set bit_Prefer_SSE_for_memop for Intel processors.
51429         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51430         Define.
51431         (index_Prefer_SSE_for_memop): Define.
51432         (HAS_PREFER_SSE_FOR_MEMOP): Define.
51434 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
51436         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51437         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51439 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
51441         [BZ #12191]
51442         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51443         (__x86_64_raw_data_cache_size_half): Likewise.
51444         (__x86_64_raw_shared_cache_size): Likewise.
51445         (__x86_64_raw_shared_cache_size_half): Likewise.
51447         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51448         (__x86_64_raw_data_cache_size_half): Likewise.
51449         (__x86_64_raw_shared_cache_size): Likewise.
51450         (__x86_64_raw_shared_cache_size_half): Likewise.
51451         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51452         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51453         and __x86_64_raw_shared_cache_size_half.  Round
51454         __x86_64_data_cache_size_half, __x86_64_data_cache_size
51455         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51456         to multiple of 256 bytes.
51458 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
51460         [BZ #12167]
51461         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51462         of inacessible symlinks.  Verify result of symlink before returning it.
51463         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51464         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51466 2010-10-28  Erich Ritz  <erichritz@gmail.com>
51468         * math/math.h (isinf): Fix typo in comment.
51470 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
51472         * po/da.po: Update from translation team.
51474 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
51476         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51477         is added to the list.
51479 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51480             Ulrich Drepper  <drepper@gmail.com>
51482         * elf/dl-object.c (_dl_new_object): Don't append the new object to
51483         the global list here.  Move code to...
51484         (_dl_add_to_namespace_list): ...here.  New function.
51485         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51486         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51487         * elf/dl-load.c (lose): Don't remove the element from the list.
51488         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51489         (_dl_map_object): Likewise.
51491 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
51493         [BZ #12159]
51494         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51495         into all bytes of SSE register.
51496         Patch by Richard Li <richardpku@gmail.com>.
51498 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
51500         [BZ #12140]
51501         * malloc/malloc.c (_int_free): Fill correct number of bytes when
51502         perturbing.
51504 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
51506         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51507         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51508         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51509         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51511         submachine.
51512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51514 2010-10-22  Andreas Schwab  <schwab@redhat.com>
51516         * include/dlfcn.h (__RTLD_SECURE): Define.
51517         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
51518         mode & __RTLD_SECURE instead.
51519         (open_path): Rename preloaded parameter to secure.
51520         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51521         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51522         * elf/dl-deps.c (openaux): Likewise.
51523         * elf/rtld.c (struct map_args): Remove is_preloaded.
51524         (map_doit): Don't use it.
51525         (dl_main): Likewise.
51526         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51527         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51529 2010-09-09  Andreas Schwab  <schwab@redhat.com>
51531         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51532         (sysd-rules-targets): Remove duplicates.
51533         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51534         rtld-%.$o dependency.
51536 2010-10-18  Andreas Schwab  <schwab@redhat.com>
51538         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51539         _dl_map_object do it.
51541 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
51543         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51544         fast fma builtins, define the macros in the C99 standard.
51545         (FP_FAST_FMAF): Likewise.
51546         (FP_FAST_FMAL): Likewise.
51547         * sysdeps/x86_64/bits/mathdef.h: Likewise.
51549         * bits/mathdef.h: Update copyright year.
51550         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51552 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
51554         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51555         builtins, define the macros in the C99 standard.
51556         (FP_FAST_FMAF): Likewise.
51557         (FP_FAST_FMAL): Likewise.
51558         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51559         multiply/add.
51560         (FP_FAST_FMAF): Likewise.
51562 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
51564         [BZ #3268]
51565         * math/libm-test.inc (fma_test): Some new testcases.
51566         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51567         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51568         y and infinite z.  Do multiplication by C already in long double.
51569         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51571         y and infinite z.  Do bitwise or of inexact bit into u.d.
51572         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51573         * sysdeps/i386/fpu/s_fmaf.S: Removed.
51574         * sysdeps/i386/fpu/s_fma.S: Removed.
51575         * sysdeps/i386/fpu/s_fmal.S: Removed.
51577 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
51579         [BZ #3268]
51580         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51581         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51582         computation is not scheduled after fetestexcept.  Fix value
51583         of minimum denormal long double.
51585 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
51587         [BZ #3268]
51588         * math/libm-test.inc (fma_test): Add some more tests.
51589         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51590         correctly.
51592 2010-10-15  Andreas Schwab  <schwab@redhat.com>
51594         * scripts/data/localplt-s390-linux-gnu.data: New file.
51595         * scripts/data/localplt-s390x-linux-gnu.data: New file.
51597 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
51599         [BZ #3268]
51600         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51601         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51602         instead of dbl-64.
51603         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51604         inlines.
51605         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51607         if one of x and y is very large and the other is subnormal.
51608         * sysdeps/s390/fpu/s_fmaf.c: New file.
51609         * sysdeps/s390/fpu/s_fma.c: New file.
51610         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51611         * sysdeps/powerpc/fpu/s_fma.S: New file.
51612         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51613         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51614         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51616 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
51618         [BZ #3268]
51619         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51620         fma tests.
51621         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51622         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51623         * sysdeps/i386/i686/multiarch/s_fma.c: Include
51624         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51625         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51626         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51627         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51629 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
51631         [BZ #12078]
51632         * posix/regcomp.c (parse_branch): One more memory leak plugged.
51633         * posix/bug-regex31.input: Add test case.
51635 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51637         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51638         * posix/bug-regex31.input: New file.
51640         [BZ #12078]
51641         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51642         (parse_sub_exp): Fix last change, use postorder.
51644         * posix/bug-regex31.c: New file.
51645         * posix/Makefile: Add rules to build and run bug-regex31.
51647         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51649         [BZ #12078]
51650         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51652         [BZ #12108]
51653         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51654         to have entries in sys_siglist.
51656         [BZ #12093]
51657         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51658         be NULL.
51660 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
51662         [BZ #3268]
51663         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51664         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51665         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51666         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51667         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51668         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51669         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51670         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51671         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51672         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51673         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51674         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51675         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51676         * math/ftestexcept.c (fetestexcept): Likewise.
51677         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51678         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51679         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51680         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51681         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51682         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51683         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51685 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51687         [BZ #12107]
51688         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51689         newline.
51691 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
51693         * string/bug-strstr1.c: New file.
51694         * string/Makefile: Add rules to build and run bug-strstr1.
51696 2010-10-05  Eric Blake  <eblake@redhat.com>
51698         [BZ #12092]
51699         * string/str-two-way.h (two_way_long_needle): Always clear memory
51700         when skipping input due to the shift table.
51702 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
51704         [BZ #12005]
51705         * malloc/mcheck.c: Handle large requests.
51707         [BZ #12077]
51708         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51709         for strncmp and strncasecmp.
51710         * string/stratcliff.c: Add tests for strcmp and strncmp.
51711         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51713 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51715         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51716         __set_fpscr.
51718 2010-09-30  Andreas Jaeger  <aj@suse.de>
51720         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51721         (CGROUP_SUPER_MAGIC): Define.
51722         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51723         Handle btrfs and cgroup file systems.
51724         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51725         Likewise.
51727 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
51729         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51730         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51732 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51734         [BZ #12067]
51735         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51736         trying to locate the ELF header.
51738 2010-09-27  Andreas Schwab  <schwab@redhat.com>
51740         [BZ #11611]
51741         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51742         Mask out sign-bit copies when constructing f_fsid.
51744 2010-09-24  Petr Baudis <pasky@suse.cz>
51746         * debug/stack_chk_fail_local.c: Add missing licence exception.
51747         * debug/warning-nop.c: Likewise.
51749 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
51751         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51752         implementing getdents64 using getdents syscall, set d_type if
51753         __ASSUME_GETDENTS32_D_TYPE.
51755 2010-09-16  Andreas Schwab  <schwab@redhat.com>
51757         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51758         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51760 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
51762         [BZ #12037]
51763         * posix/unistd.h: Undo change of feature selection for ftruncate from
51764         2010-01-11.
51766 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
51768         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51769         detection.
51771 2010-09-20  Andreas Schwab  <schwab@redhat.com>
51773         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51774         fanotify_mark.
51775         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51777 2010-09-14  Andreas Schwab  <schwab@redhat.com>
51779         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51780         variables after CHECK_SP call.
51781         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51783 2010-09-13  Andreas Schwab  <schwab@redhat.com>
51784             Ulrich Drepper  <drepper@redhat.com>
51786         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51787         re-relocationg ld.so.
51788         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51789         _dl_init_paths call.
51790         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51791         here anymore.
51793 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51795         * resolv/res_init.c (__res_vinit): Count the default server we added.
51797 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51798             Ulrich Drepper  <drepper@redhat.com>
51800         [BZ #11968]
51801         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51802         (____longjmp_chk): Use %ebx for saving value across system call.
51803         Add unwind info.
51805 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51807         * manual/Makefile: Don't mix pattern rules with normal rules.
51809 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51811         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51812         operation.
51813         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51814         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51815         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51816         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51817         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51818         Likewise.
51820 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51822         [BZ #11979]
51823         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51824         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51826 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51828         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51829         * sysdeps/x86_64/addmul_1.S: Likewise.
51830         * sysdeps/x86_64/lshift.S: Likewise.
51831         * sysdeps/x86_64/mul_1.S: Likewise.
51832         * sysdeps/x86_64/rshift.S: Likewise.
51833         * sysdeps/x86_64/sub_n.S: Likewise.
51834         * sysdeps/x86_64/submul_1.S: Likewise.
51836 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51838         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51839         Define __sched_param instead of SCHED_* and sched_param when
51840         <bits/sched.h> is included with __need_schedparam defined.
51841         * bits/sched.h [__need_schedparam]
51842         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51843         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51844         (__defined_schedparam): Define to 1.
51845         (__sched_param): New structure, identical to sched_param.
51846         (__need_schedparam): Undefine.
51848 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51850         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51851         (epoll_create1): Declare.
51853         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51855 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51857         [BZ #7066]
51858         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51859         shifting retval into place.
51861 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51863         * nis/rpcsvc/nis.h: Update copyright notice.
51864         * nis/rpcsvc/nis.x: Likewise.
51865         * nis/rpcsvc/nis_callback.h: Likewise.
51866         * nis/rpcsvc/nis_callback.x: Likewise.
51867         * nis/rpcsvc/nis_object.x: Likewise.
51868         * nis/rpcsvc/nis_tags.h: Likewise.
51869         * nis/rpcsvc/yp.h: Likewise.
51870         * nis/rpcsvc/yp.x: Likewise.
51871         * nis/rpcsvc/ypupd.h: Likewise.
51872         * nis/yp_xdr.c: Likewise.
51873         * nis/ypupdate_xdr.c: Likewise.
51875         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51876         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51877         (pmap_getport): Use __libc_rpc_getport.
51878         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51879         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51880         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51882 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51885         fanotify_mark.
51887 2010-08-27  Roland McGrath  <roland@redhat.com>
51889         * sysdeps/i386/i686/multiarch/Makefile
51890         (CFLAGS-varshift.c): New variable.
51892 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51894         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51895         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51897         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51899         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51901 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51903         * sysdeps/x86_64/strlen.S: Unroll the loop.
51904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51905         strlen-sse2 strlen-sse2-bsf.
51906         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51907         __strlen_no_bsf if bit_Slow_BSF is set.
51908         (__strlen_sse42): Removed.
51909         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51910         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51912 2010-08-25  Roland McGrath  <roland@redhat.com>
51914         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51915         * sysdeps/x86_64/multiarch/varshift.c: New file.
51916         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51917         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51918         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51919         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51921 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51923         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51924         strlen-sse2 strlen-sse2-bsf.
51925         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51926         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51927         (__strlen_sse2): Removed.
51928         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51929         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51931         bit_Slow_BSF for Atom.
51932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51933         (index_Slow_BSF): Define.
51934         (HAS_SLOW_BSF): Define.
51936 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51938         [BZ #10851]
51939         * resolv/res_init.c (__res_vinit): When no server address at all
51940         is given default to loopback.
51942 2010-08-24  Roland McGrath  <roland@redhat.com>
51944         * configure.in: Remove config-name.h generation.
51945         * configure: Regenerated.
51946         * config-name.in: File removed.
51947         * scripts/config-uname.sh: New file.
51948         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51949         ($(objdir)config-name.h): New target.
51951         * sunrpc/rpc_parse.h: Avoid nested comment.
51953 2010-08-24  Richard Henderson  <rth@redhat.com>
51954             Ulrich Drepper  <drepper@redhat.com>
51955             H.J. Lu  <hongjiu.lu@intel.com>
51957         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51959         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51960         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51961         _mm_alignr_epi8 with _mm_loadu_si128.
51962         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51963         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51964         (__m128i_shift_right): Removed.
51965         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51966         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51967         * sysdeps/x86_64/multiarch/varshift.h: New file.
51968         * sysdeps/x86_64/multiarch/varshift.S: New file.
51970 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51972         * configure.in: Move assembler checks to before sysdep dir checking.
51974 2010-08-20  Petr Baudis  <pasky@suse.cz>
51976         * LICENSES: Sync the sunrpc license.
51978 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51980         * sunrpc/auth_des.c: Update copyright notice once again.
51981         * sunrpc/auth_none.c: Likewise.
51982         * sunrpc/auth_unix.c: Likewise.
51983         * sunrpc/authdes_prot.c: Likewise.
51984         * sunrpc/authuxprot.c: Likewise.
51985         * sunrpc/bindrsvprt.c: Likewise.
51986         * sunrpc/clnt_gen.c: Likewise.
51987         * sunrpc/clnt_perr.c: Likewise.
51988         * sunrpc/clnt_raw.c: Likewise.
51989         * sunrpc/clnt_simp.c: Likewise.
51990         * sunrpc/clnt_tcp.c: Likewise.
51991         * sunrpc/clnt_udp.c: Likewise.
51992         * sunrpc/clnt_unix.c: Likewise.
51993         * sunrpc/des_crypt.c: Likewise.
51994         * sunrpc/des_soft.c: Likewise.
51995         * sunrpc/get_myaddr.c: Likewise.
51996         * sunrpc/getrpcport.c: Likewise.
51997         * sunrpc/key_call.c: Likewise.
51998         * sunrpc/key_prot.c: Likewise.
51999         * sunrpc/openchild.c: Likewise.
52000         * sunrpc/pm_getmaps.c: Likewise.
52001         * sunrpc/pm_getport.c: Likewise.
52002         * sunrpc/pmap_clnt.c: Likewise.
52003         * sunrpc/pmap_prot.c: Likewise.
52004         * sunrpc/pmap_prot2.c: Likewise.
52005         * sunrpc/pmap_rmt.c: Likewise.
52006         * sunrpc/rpc/auth.h: Likewise.
52007         * sunrpc/rpc/auth_unix.h: Likewise.
52008         * sunrpc/rpc/clnt.h: Likewise.
52009         * sunrpc/rpc/des_crypt.h: Likewise.
52010         * sunrpc/rpc/key_prot.h: Likewise.
52011         * sunrpc/rpc/netdb.h: Likewise.
52012         * sunrpc/rpc/pmap_clnt.h: Likewise.
52013         * sunrpc/rpc/pmap_prot.h: Likewise.
52014         * sunrpc/rpc/pmap_rmt.h: Likewise.
52015         * sunrpc/rpc/rpc.h: Likewise.
52016         * sunrpc/rpc/rpc_des.h: Likewise.
52017         * sunrpc/rpc/rpc_msg.h: Likewise.
52018         * sunrpc/rpc/svc.h: Likewise.
52019         * sunrpc/rpc/svc_auth.h: Likewise.
52020         * sunrpc/rpc/types.h: Likewise.
52021         * sunrpc/rpc/xdr.h: Likewise.
52022         * sunrpc/rpc_clntout.c: Likewise.
52023         * sunrpc/rpc_cmsg.c: Likewise.
52024         * sunrpc/rpc_common.c: Likewise.
52025         * sunrpc/rpc_cout.c: Likewise.
52026         * sunrpc/rpc_dtable.c: Likewise.
52027         * sunrpc/rpc_hout.c: Likewise.
52028         * sunrpc/rpc_main.c: Likewise.
52029         * sunrpc/rpc_parse.c: Likewise.
52030         * sunrpc/rpc_parse.h: Likewise.
52031         * sunrpc/rpc_prot.c: Likewise.
52032         * sunrpc/rpc_sample.c: Likewise.
52033         * sunrpc/rpc_scan.c: Likewise.
52034         * sunrpc/rpc_scan.h: Likewise.
52035         * sunrpc/rpc_svcout.c: Likewise.
52036         * sunrpc/rpc_tblout.c: Likewise.
52037         * sunrpc/rpc_util.c: Likewise.
52038         * sunrpc/rpc_util.h: Likewise.
52039         * sunrpc/rpcinfo.c: Likewise.
52040         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52041         * sunrpc/rpcsvc/key_prot.x: Likewise.
52042         * sunrpc/rpcsvc/klm_prot.x: Likewise.
52043         * sunrpc/rpcsvc/mount.x: Likewise.
52044         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52045         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52046         * sunrpc/rpcsvc/rex.x: Likewise.
52047         * sunrpc/rpcsvc/rstat.x: Likewise.
52048         * sunrpc/rpcsvc/rusers.x: Likewise.
52049         * sunrpc/rpcsvc/sm_inter.x: Likewise.
52050         * sunrpc/rpcsvc/spray.x: Likewise.
52051         * sunrpc/rpcsvc/yppasswd.x: Likewise.
52052         * sunrpc/rtime.c: Likewise.
52053         * sunrpc/svc.c: Likewise.
52054         * sunrpc/svc_auth.c: Likewise.
52055         * sunrpc/svc_authux.c: Likewise.
52056         * sunrpc/svc_raw.c: Likewise.
52057         * sunrpc/svc_run.c: Likewise.
52058         * sunrpc/svc_simple.c: Likewise.
52059         * sunrpc/svc_tcp.c: Likewise.
52060         * sunrpc/svc_udp.c: Likewise.
52061         * sunrpc/svc_unix.c: Likewise.
52062         * sunrpc/svcauth_des.c: Likewise.
52063         * sunrpc/xcrypt.c: Likewise.
52064         * sunrpc/xdr.c: Likewise.
52065         * sunrpc/xdr_array.c: Likewise.
52066         * sunrpc/xdr_float.c: Likewise.
52067         * sunrpc/xdr_mem.c: Likewise.
52068         * sunrpc/xdr_rec.c: Likewise.
52069         * sunrpc/xdr_ref.c: Likewise.
52070         * sunrpc/xdr_sizeof.c: Likewise.
52071         * sunrpc/xdr_stdio.c: Likewise.
52073         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52074         handling.
52076 2010-08-19  Andreas Schwab  <schwab@redhat.com>
52078         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52080 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
52082         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52083         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52084         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52085         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52086         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52087         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52088         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52089         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52090         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52091         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52092         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52093         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52094         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52095         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52097 2010-07-26  Anton Blanchard  <anton@samba.org>
52099         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52100         * malloc/arena.c (heap_trim): Likewise.
52102 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
52104         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52105         here.  Not...
52106         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52107         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52109 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
52111         * sysdeps/i386/elf/Makefile: New file.
52113 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52115         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52116         from fanotify_init.
52117         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52118         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52120 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
52122         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52123         of strncasecmp_l.
52124         * sysdeps/multiarch/strcmp.S: Likewise.
52126 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
52128         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52129         strncase_l-nonascii.
52130         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52131         Add strncase_l-ssse3.
52132         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52133         * sysdeps/x86_64/strcmp.S: Likewise.
52134         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52135         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52136         * sysdeps/x86_64/strncase.S: New file.
52137         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52138         * sysdeps/x86_64/strncase_l.S: New file.
52139         * string/Makefile (strop-tests): Add strncasecmp.
52140         * string/test-strncasecmp.c: New file.
52142         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52143         warning.
52145         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52146         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52148 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52150         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52152 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
52154         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52155         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52156         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52158 2010-05-01  Alan Modra  <amodra@gmail.com>
52160         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52161         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52162         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52163         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52164         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52165         tidying.  Don't tail-call __sigjmp_save for static lib.
52166         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52167         save location.
52168         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52169         (CALL_MCOUNT): Add eh info, and nop after bl.
52170         (TAIL_CALL_SYSCALL_ERROR): New macro.
52171         (PSEUDO_RET): Use it.
52172         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52173         Correct save location of integer regs and cr.
52174         (_dl_profile_resolve): Correct cr save location.  Delete nops
52175         after bl when SHARED.  Reduce cfi size a little by better
52176         placement of cfi directives.
52177         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52178         make a stack frame.  Instead use parm save area as a temp.
52179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52180         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52182         Don't make a stack frame for parent, use parm save area.
52183         Increase child stack frame to 112 bytes.  Don't save unused reg,
52184         and adjust reg usage.  Set up cfi on error recovery and
52185         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52187         (__makecontext): Add dummy nop after jump to exit.
52188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52189         Use correct parm save area and cr save, reduce stack frame.
52190         Correct cfi for possible PSEUDO_RET frame setup.
52191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52192         Branch to local label emitted by PSEUDO_RET rather than
52193         __syscall_error.
52195 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52197         [BZ #11904]
52198         * locale/programs/locale.c (print_assignment): New function.
52199         (show_locale_vars): Use it.
52201 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52203         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52204         field.
52205         (struct statfs64): Likewise.
52206         (_STATFS_F_FLAGS): Define.
52207         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52208         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52209         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52210         (ST_VALID): Define locally.
52211         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52212         __statvfs_getflags, use the provided value.
52213         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52214         __ASSUME_STATFS_F_FLAGS.
52216         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52218         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52219         Add sys/fanotify.h.
52220         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52221         fanotify_mask for GLIBC_2.13.
52222         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52223         fanotify_init and fanotify_mark.
52224         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52225         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52227         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52228         Add prlimit.
52229         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52230         prlimit64 for GLIBC_2.13.
52231         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52232         prlimit64.
52233         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52234         syscall.
52235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52236         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52237         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52238         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52239         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52240         add prlimit alias.
52241         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52243         [BZ #11903]
52244         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52245         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52247         * nss/Makefile: Add rules to build and run tst-nss-test1.
52248         * shlib-versions: Add entry for libnss_test1.
52249         * nss/nss_test1.c: New file.
52250         * nss/tst-nss-test1.c: New file.
52252         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52253         (__nss_configure_lookup): Set appropriate entry in
52254         __nss_configure_lookup to true.
52255         * nss/nsswitch.h: Define enum with indeces of databases in
52256         databases and __nss_database_custom arrays.  Declare
52257         __nss_database_custom.
52258         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52259         to avoid using nscd when custom rules are installed.
52260         * nss/getXXbyYY_r.c: Likewise.
52261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52263         * nss/nss_files/files-parse.c: Whitespace fixes.
52265 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52267         [BZ #11883]
52268         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52269         * posix/fnmatch_loop.c: Likewise.
52271 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52273         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52274         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52275         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52276         * Versions.def [GLIBC_2.13]: Add.
52278 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52280         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52281         Also fail if tpwd after pwuid call is NULL.
52283 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52285         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52286         when converting to ms.
52288 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52290         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52291         EOPNOTSUPP errors with ENOTTY.
52292         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52293         EOPNOTSUPP errors with ENOTTY.
52295 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
52297         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52298         Add strcasecmp_l-ssse3.
52299         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52300         strcasecmp.
52301         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52302         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52303         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52305 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
52307         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52309         * string/Makefile (strop-tests): Add strcasecmp.
52310         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52311         strcasecmp_l-nonascii.
52312         (gen-as-const-headers): Add locale-defines.sym.
52313         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52314         * sysdeps/x86_64/strcasecmp.S: New file.
52315         * sysdeps/x86_64/strcasecmp_l.S: New file.
52316         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52317         * sysdeps/x86_64/locale-defines.sym: New file.
52318         * string/test-strcasecmp.c: New file.
52320         * string/test-strcasestr.c: Test both ends of the range of characters.
52321         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52323 2010-07-29  Roland McGrath  <roland@redhat.com>
52325         [BZ #11856]
52326         * manual/locale.texi (Yes-or-No Questions): Fix example code.
52328 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
52330         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52331         for ld.so.
52333 2010-07-27  Andreas Schwab  <schwab@redhat.com>
52335         * manual/memory.texi (Malloc Tunable Parameters): Document
52336         M_PERTURB.
52338 2010-07-26  Roland McGrath  <roland@redhat.com>
52340         [BZ #11840]
52341         * configure.in (-fgnu89-inline check): Set and substitute
52342         gnu89_inline, not libc_cv_gnu89_inline.
52343         * configure: Regenerated.
52344         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52346 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
52348         * string/test-strnlen.c: New file.
52349         * string/Makefile (strop-tests): Add strnlen.
52350         * string/tester.c (test_strnlen): Add a few more test cases.
52351         * string/tst-strlen.c: Better error reporting.
52353         * sysdeps/x86_64/strnlen.S: New file.
52355 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
52357         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52358         lower-latency instructions.
52360 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
52362         * string/test-strcasestr.c: New file.
52363         * string/test-strstr.c: New file.
52364         * string/Makefile (strop-tests): Add strstr and strcasestr.
52365         * string/str-two-way.h: Don't undefine MAX.
52366         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52368 2010-07-21  Andreas Schwab  <schwab@redhat.com>
52370         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52371         strcasestr-nonascii.
52372         (CFLAGS-strcasestr-nonascii.c): Define.
52373         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52374         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52375         Remove unused attribute.
52377 2010-07-20  Roland McGrath  <roland@redhat.com>
52379         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52380         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
52381         ld.so.cache was broken.  With it, there is no way to disable dsocaps
52382         like LD_HWCAP_MASK can disable hwcaps.
52384 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52386         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52388 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
52390         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52391         call in strcasestr.
52392         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52393         __strcasestr_sse42_nonascii.
52394         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52395         strcasestr-nonascii.c.
52396         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52398 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
52400         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52401         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52402         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52403         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52405 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
52407         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52408         fcntl.
52410 2010-07-06  Andreas Schwab  <schwab@redhat.com>
52412         [BZ #11577]
52413         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52414         dl_signal_cerror.
52416 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
52418         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52419         _PC_PIPE_BUF using F_GETPIPE_SZ.
52421 2010-07-05  Roland McGrath  <roland@redhat.com>
52423         * manual/arith.texi (Rounding Functions): Fix rint description
52424         implicit in round description.
52426 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
52428         * elf/Makefile: Fix linking for a few tests to make recent linker
52429         happy.
52431 2010-06-30  Andreas Schwab  <schwab@redhat.com>
52433         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52434         $(common-objpfx)libc_nonshared.a.
52436 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
52438         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52439         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52440         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52441         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52442         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52443         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52444         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52445         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52460         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52461         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52462         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52463         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52464         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52465         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52466         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52467         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52468         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52469         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52470         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52471         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52487 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
52489         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52490         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
52491         * string/memmove.c (memmove): Renamed to ...
52492         (MEMMOVE): ...this.  Default to memmove.
52493         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52494         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52495         (END_CHK): Define.
52496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52497         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52498         mempcpy-ssse3-back memmove-ssse3-back.
52499         * sysdeps/x86_64/multiarch/bcopy.S: New file .
52500         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52501         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52502         * sysdeps/x86_64/multiarch/memcpy.S: New file.
52503         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52504         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52505         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52506         * sysdeps/x86_64/multiarch/memmove.c: New file.
52507         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52508         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52509         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52510         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52511         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52512         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52513         Define.
52514         (index_Fast_Copy_Backward): Define.
52515         (HAS_ARCH_FEATURE): Define.
52516         (HAS_FAST_REP_STRING): Define.
52517         (HAS_FAST_COPY_BACKWARD): Define.
52519 2010-06-21  Andreas Schwab  <schwab@redhat.com>
52521         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52522         Restore proper fallback handling.
52524 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
52526         [BZ #11701]
52527         * posix/group_member.c (__group_member): Correct checking loop.
52529         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52530         OOM in getpwuid_r correctly.  Return error number when the caller
52531         should return, otherwise -1.
52532         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52533         call returning > 0 value.
52534         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52536 2010-06-07  Andreas Schwab  <schwab@redhat.com>
52538         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52539         libc_nonshared.a from targets in modules-names.
52541 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
52543         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52544         requires it.
52546 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
52548         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52549         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52550         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52551         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52553 2010-06-02  Andreas Schwab  <schwab@redhat.com>
52555         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52557 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
52559         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52560         and F_GETPIPE_SZ.
52561         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52562         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52563         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52564         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52565         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52566         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52568 2010-06-14  Roland McGrath  <roland@redhat.com>
52570         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52572 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
52574         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52575         __REDIRECT followed by __THROW.
52576         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52577         * posix/getopt.h (getopt): Likewise.
52579 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52581         * hurd/lookup-at.c (__file_name_lookup_at): Accept
52582         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
52583         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52584         in AT_FLAGS.
52585         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52586         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52588 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
52590         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52592 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
52594         [BZ #11640]
52595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52596         Properly check family and model.
52598 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
52600         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52602 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
52604         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52606 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
52608         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52609         symbol reference.
52611 2010-05-19  Andreas Schwab  <schwab@redhat.com>
52613         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52614         symbol reference.
52616 2010-05-21  Andreas Schwab  <schwab@redhat.com>
52618         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52619         and internal_recvmmsg.
52620         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52621         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52622         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52623         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52625         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52626         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52627         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52629 2010-05-20  Andreas Schwab  <schwab@redhat.com>
52631         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52633 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
52635         POWER7 optimizations.
52636         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52637         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52639 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
52641         * version.h: Update for 2.13 development version.
52643 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
52645         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52646         exceptions.  Return 0.
52648 2010-05-07  Roland McGrath  <roland@redhat.com>
52650         * elf/ldconfig.c (main): Add a const.
52652 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
52654         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52655         (args_options): Add no-idn option.
52656         (ahosts_keys_int): Add idn_flags to ai_flags.
52657         (parse_option): Handle 'i' option to clear idn_flags.
52659         * malloc/malloc.c (_int_free): Possible race in the most recently
52660         added check.  Only act on the data if no current modification
52661         happened.
52663 See ChangeLog.17 for earlier changes.