hurd: Fix dlopening libraries from static programs
[glibc.git] / ChangeLog
blob0bde88ca376119f6ec45d83de035f0a7cdcecb79
1 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4         __mach_init in dlopened libc.
6 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
8         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9         * sysdeps/arm/preconfigure: Regenerate.
11 2014-11-21  Roland McGrath  <roland@hack.frob.com>
13         * nptl/pthread_create.c (__pthread_create_2_1): Set
14         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
15         when copying values from IATTR into PD.
17 2014-11-21  Will Newton  <will.newton@linaro.org>
18             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
21         Refactor inline-asm.  Also add comment.
23         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24         ElfW macro instead of hardcoded Elf64 types.
25         (la_aarch64_gnu_pltenter): Likewise.
26         * sysdeps/aarch64/dl-machine.h
27         (elf_machine_runtime_setup): Use ElfW(Addr).
29         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
31         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
34         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35         (R_AARCH64_TLS_DTPMOD): This.
36         (R_AARCH64_TLS_DTPREL64): Rename to ...
37         (R_AARCH64_TLS_DTPREL): This.
38         (R_AARCH64_TLS_TPREL64): Rename to ...
39         (R_AARCH64_TLS_TPREL): This.
40         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
41         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42         R_AARCH64_TLS_TPREL64.
43         (elf_machine_rela): Likewise.
45 2014-11-21  Torvald Riegel  <triegel@redhat.com>
47         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
48         by setting it to 0.  64b atomics are not supported currently.
50 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
52         [BZ #16469]
53         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
54         search domain names.
56 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
58         [BZ #16469]
59         * NEWS: Update.
60         * resolv/res_query.c (__libc_res_nquerydomain): Retain
61         trailing dot.
62         * posix/tst-getaddrinfo5.c: New.
63         * posix/Makefile (tests): Add it.
65 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
67         [BZ #14498]
68         * NEWS: Fixed.
69         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
70         after parsing line but before break_if_match.
71         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
72         if there is a protocol mismatch.
74 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
76         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
77         because the potential race is on the user-supplied stream.
79 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
81         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
82         string literal if not passed a buffer.
83         * manual/job.texi (ctermid): Update reasoning, note deviation
84         from posix, suggest mtasurace when not passed a buffer, for
85         future non-preliminary safety notes.
87 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
89         * manual/users.texi (cuserid): Fix MT-Safety note for the case
90         of not passing it a buffer.
91         Reported by Peng Haitao.
93 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
95         * manual/Makefile ($(objpfx)stamp-summary): Require
96         check-safety.sh to pass.
97         * manual/check-safety.sh: Wish for verification that every
98         @deftypefn and @deftypefun is followed by a @safety remark.
100 2014-11-20  Roland McGrath  <roland@hack.frob.com>
102         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
104         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
105         PTHREAD_CANCEL_ASYNCHRONOUS.
106         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
107         send SIGCANCEL.
109         * nptl/default-sched.h: New file.
110         * sysdeps/unix/sysv/linux/default-sched.h: New file.
111         * nptl/pthread_create.c: Include it.
112         (__pthread_create_2_1): Use collect_default_sched instead of making
113         Linux syscalls here directly.
115 2014-11-20  Torvald Riegel  <triegel@redhat.com>
117         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
118         __pthread_once): Use C11 atomics.
120 2014-11-20  Torvald Riegel  <triegel@redhat.com>
122         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
124 2014-11-20  Torvald Riegel  <triegel@redhat.com>
126         * include/atomic.h (__atomic_link_error, __atomic_check_size,
127         atomic_thread_fence_acquire, atomic_thread_fence_release,
128         atomic_thread_fence_seq_cst, atomic_load_relaxed,
129         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
130         atomic_compare_exchange_weak_relaxed,
131         atomic_compare_exchange_weak_acquire,
132         atomic_compare_exchange_weak_release,
133         atomic_exchange_acquire, atomic_exchange_release,
134         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
135         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
136         atomic_fetch_and_acquire,
137         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
139 2014-11-20  Torvald Riegel  <triegel@redhat.com>
141         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
142         USE_ATOMIC_COMPILER_BUILTINS): Define.
143         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
145         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
147         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
149         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
151         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
153         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
155         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
157         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
159         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
161         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
163         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
165         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
167         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
169         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
171         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
173         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
175         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
177         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
178         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
179         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
181         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
184 2014-11-19  Roland McGrath  <roland@hack.frob.com>
186         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
187         the sched_priority value here.  It was already checked when the user
188         called pthread_attr_setschedparam.
190         * nptl/tst-bad-schedattr.c: New file.
191         * nptl/Makefile (tests): Add it.
193 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
194             Florian Weimer  <fweimer@redhat.com>
195             Joseph Myers  <joseph@codesourcery.com>
196             Adam Conrad  <adconrad@0c3.net>
197             Andreas Schwab  <schwab@suse.de>
198             Brooks  <bmoses@google.com>
200         [BZ #17625]
201         * wordexp-test.c (__dso_handle): Add prototype.
202         (__register_atfork): Likewise.
203         (__app_register_atfork): New function.
204         (registered_forks): New global.
205         (register_fork): New function.
206         (test_case): Add 3 new tests for WRDE_CMDSUB.
207         (main): Call __app_register_atfork.
208         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
209         fork count is non-zero fail the test.
210         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
211         is set.
212         (parse_dollars): Remove check for WRDE_NOCMD.
213         (parse_dquote): Likewise.
215 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
217         * Makeconfig (built-modules): List non-library modules to be
218         built.
219         (module-cppflags): Include libc-modules.h for
220         everything except shlib-versions.v.i.
221         (CPPFLAGS): Use it.
222         (before-compile): Add libc-modules.h.
223         ($(common-objpfx)libc-modules.h,
224         $(common-objpfx)libc-modules.stmp): New targets.
225         (common-generated): Add libc-modules.h and libc-modules.stmp.
226         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
227         * include/libc-symbols.h: Don't include libc-modules.h.
228         * include/libc-modules.h: Remove file.
229         * scripts/gen-libc-modules.awk: New script to generate
230         libc-modules.h.
231         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
232         Depend on libc-modules.stmp.
234         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
236         * Makeconfig (in-module): Get value of libof set for the
237         translation unit.
238         (CPPFLAGS): Use $(in-module).
239         * Makerules: Don't suffix routine names for nonlib.
240         * include/libc-modules.h: New file.
241         * include/libc-symbols.h: Include libc-modules.h
242         (IS_IN): New macro to replace IS_IN_* macros.
243         * elf/Makefile: Set libof-* for each routine.
244         * elf/rtld-Rules: Likewise.
245         * extra-modules.mk: Likewise.
246         * iconv/Makefile: Likewise.
247         * iconvdata/Makefile: Likewise.
248         * locale/Makefile: Likewise.
249         * malloc/Makefile: Likewise.
250         * nss/Makefile: Likewise.
251         * sysdeps/gnu/Makefile: Likewise.
252         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
253         * sysdeps/unix/sysv/linux/Makefile: Likewise.
254         * sysdeps/s390/s390-64/Makefile: Likewise.
255         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
256         CPPFLAGS for nscd instead of nonlib.
258 2014-11-18  Roland McGrath  <roland@hack.frob.com>
260         * nptl/createthread.c: New file.
262         * nptl/createthread.c: Moved ...
263         * sysdeps/unix/sysv/linux/createthread.c: ... here.
265         * nptl/createthread.c: Add proper top-line comment.
266         (do_clone): Folded into ...
267         (create_thread): ... here.  Take new arguments STOPPED_START and
268         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
269         increment __nptl_threads, do event-reporting logic, do
270         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
271         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
272         resource cleanup if sched_setaffinity or sched_setscheduler fails,
273         just send SIGCANCEL.
274         * nptl/pthread_create.c: Forward-declare create_thread before
275         including createthread.c.
276         (start_thread): Use new macro START_THREAD_DEFN to replace defining
277         declaration, and new macro START_THREAD_SELF to replace argument.
278         Remove return statement.
279         (report_thread_creation): New function.
280         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
281         synchronization logic, and __nptl_nthreads increment here, around
282         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
283         PD->parent_cancelhandling here, before create_thread.  When
284         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
285         __deallocate_stack, and ENOMEM translation here.
287 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
289         [BZ #17616]
290         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
291         (mptwo): Rename to __mptwo.
292         (__inv): Use __mptwo instead of mptwo.
293         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
294         (mptwo): Rename to __mptwo.
295         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
296         of mpone and __mptwo instead of mptwo.
297         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
298         instead of mpone.
299         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
300         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
301         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
302         of mpone and __mptwo instead of mptwo.
303         (__mpranred): Use __mpone instead of mpone.
304         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
305         variable.
306         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
307         (test-xfail-ISO99/math.h/linknamespace): Likewise.
308         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
309         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
310         (test-xfail-ISO11/math.h/linknamespace): Likewise.
311         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
312         (test-xfail-XPG3/math.h/linknamespace): Likewise.
313         (test-xfail-XPG4/math.h/linknamespace): Likewise.
314         (test-xfail-POSIX/math.h/linknamespace): Likewise.
315         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
316         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
317         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
318         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
319         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
320         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
321         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
322         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
323         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
324         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
326 2014-11-18  Tom de Vries  <tom@codesoucery.com>
328         * manual/signal.texi (Primitives Interrupted by Signals): In section,
329         replace BSD Handler xref with BSD Signal Handling.
331 2014-11-17  Richard Henderson  <rth@redhat.com>
333         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
334         (_FP_PACK_RAW_2): Remove.
335         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
336         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
337         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
338         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
339         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
340         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
341         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
342         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
343         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
344         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
345         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
346         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
347         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
348         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
349         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
350         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
352 2014-11-14  Roland McGrath  <roland@hack.frob.com>
354         * signal/signal.h [__USE_MISC]
355         (struct sigvec): Remove type.
356         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
357         (sigvec): Remove declaration.
358         * sysdeps/posix/sigvec.c: Moved ...
359         * signal/sigvec.c: ... here, replacing old file.
360         (struct sigvec): New type, copied from old signal.h definition.
361         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
362         (__sigvec): Convert definition to prototype.
363         (sigvec): Replace weak_alias with compat_symbol.
364         * signal/Versions (libc: GLIBC_2.21): New version set.
365         * include/signal.h: Remove __sigvec declaration.
366         * sysdeps/unix/bsd/sigvec.c: Remove file.
367         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
368         * manual/signal.texi (BSD Handler): Remove subsection.
369         Move siginterrupt up to ...
370         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
371         (Blocking in BSD): Fold subsection into its parent.
372         * NEWS: Mention sigvec removal.
374 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
376         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
377         (DLA_FMS): Make definition conditional only on [__FMA4__].
378         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
379         definition.
381         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
382         Make definition conditional only on [PROF].
383         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
384         definition.
385         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
386         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
388         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
389         !__GNUC__].
390         * include/signal.h (__sigpause): Move declaration above call to
391         libc_hidden_proto.
392         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
393         variable.
394         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
395         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
397 2014-11-14  David S. Miller  <davem@davemloft.net>
399         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
400         Define before including <string/memcpy.c> and <string/mempcpy.c>.
402 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
404         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
405         * configure: Regenerated.
406         * manual/install.texi (Tools for Compilation): Document a
407         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
408         compiler verified to work.
409         * INSTALL: Regenerated.
411         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
412         redeclare with asm name.
413         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
414         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
415         including <string.h>.
416         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
417         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
418         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
419         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
420         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
421         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
422         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
424 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
426         * stdlib/strtol.c (__strtol): Use prototype definition.
428         [BZ #17594]
429         * stdlib/strtol.c (SYM__): New macro.
430         (SYM__1): Likewise.
431         (__strtol): Likewise.
432         (strtol): Rename to __strtol and define as weak alias of
433         __strtol.  Use libc_hidden_weak.
435 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
437         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
438         Use numbered labels in inline assembly.
440 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
442         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
443         Add setjmp LIBC_PROBE.
444         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
445         Likewise.
446         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
447         Add longjmp, longjmp_target LIBC_PROBE.
448         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
449         Likewise.
451 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
453         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
454         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
455         to get rid of unused variable warning.
457 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
459         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
460         Check for unwind_backtrace ==  NULL only in SHARED case.
461         (__backchain_backtrace): Compile only in SHARED case.
462         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
463         Likewise.
464         (__backchain_backtrace): Declare as static.
466 2014-11-12  Roland McGrath  <roland@hack.frob.com>
468         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
469         (__libc_multiple_threads_ptr): Variable moved ...
470         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
472 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
474         * conform/GlibcConform.pm: New file.
475         * conform/conformtest.pl: Use GlibcConform module.
476         * conform/linknamespace.pl: New file.
477         * conform/list-header-symbols.pl: Likewise.
478         * conform/Makefile (linknamespace-symlists-base): New variable.
479         (linknamespace-symlists-tests): Likewise.
480         (linknamespace-header-base): Likewise.
481         (linknamespace-header-tests): Likewise.
482         (tests-special): Add new tests.
483         ($(linknamespace-symlists-tests)): New rule.
484         (linknamespace-libs): New variable.
485         ($(objpfx)symlist-stdlibs): New rule.
486         ($(linknamespace-header-tests)): Likewise.
487         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
488         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
489         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
490         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
491         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
492         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
493         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
494         (test-xfail-ISO/math.h/linknamespace): Likewise.
495         (test-xfail-ISO/signal.h/linknamespace): Likewise.
496         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
497         (test-xfail-ISO/time.h/linknamespace): Likewise.
498         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
499         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
500         (test-xfail-ISO99/math.h/linknamespace): Likewise.
501         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
502         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
503         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
504         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
505         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
506         (test-xfail-ISO11/math.h/linknamespace): Likewise.
507         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
508         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
509         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
510         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
511         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
512         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
513         (test-xfail-XPG3/math.h/linknamespace): Likewise.
514         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
515         (test-xfail-XPG3/search.h/linknamespace): Likewise.
516         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
517         (test-xfail-XPG3/time.h/linknamespace): Likewise.
518         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
519         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
520         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
521         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
522         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
523         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
524         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
525         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
526         (test-xfail-XPG4/math.h/linknamespace): Likewise.
527         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
528         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
529         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
530         (test-xfail-XPG4/search.h/linknamespace): Likewise.
531         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
532         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
533         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
534         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
535         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
536         (test-xfail-XPG4/time.h/linknamespace): Likewise.
537         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
538         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
539         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
540         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
541         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
542         (test-xfail-POSIX/math.h/linknamespace): Likewise.
543         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
544         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
545         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
546         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
547         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
548         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
549         (test-xfail-POSIX/time.h/linknamespace): Likewise.
550         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
551         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
552         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
553         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
554         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
555         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
556         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
557         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
558         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
559         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
560         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
561         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
562         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
563         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
564         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
565         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
566         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
567         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
568         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
569         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
570         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
571         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
572         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
573         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
574         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
575         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
576         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
577         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
578         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
579         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
580         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
581         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
582         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
583         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
584         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
585         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
586         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
587         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
588         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
589         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
590         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
591         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
592         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
593         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
594         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
595         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
596         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
597         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
598         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
599         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
600         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
601         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
602         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
603         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
604         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
605         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
606         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
607         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
608         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
609         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
610         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
611         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
612         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
613         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
614         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
615         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
616         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
617         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
618         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
619         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
620         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
621         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
622         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
623         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
624         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
625         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
626         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
627         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
628         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
629         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
630         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
631         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
632         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
633         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
634         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
635         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
636         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
637         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
638         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
639         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
640         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
641         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
642         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
643         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
644         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
645         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
646         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
647         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
649         [BZ #17589]
650         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
651         of fgets_unlocked.
653         [BZ #17585]
654         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
655         (memmem): Rename to __memmem and define as weak alias of
656         __memmem.  Use libc_hidden_weak.
657         (__memmem): Use libc_hidden_def.
658         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
659         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
660         memmem.
662         [BZ #17582]
663         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
664         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
665         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
666         and define as weak alias of __fgets_unlocked.  Use
667         libc_hidden_weak.
668         (__fgets_unlocked): Use libc_hidden_def.
669         * include/stdio.h (__fgets_unlocked): Declare.  Use
670         libc_hidden_proto.
671         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
672         __fgets_unlocked instead of fgets_unlocked.
673         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
674         (GET_NPROCS_CONF_PARSER): Likewise.
675         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
676         (GET_NPROCS_CONF_PARSER): Likewise.
678         [BZ #17574]
679         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
680         weak alias of __wmemset.  Use libc_hidden_weak.
681         (__wmemset): Use libc_hidden_def.
682         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
683         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
684         of wmemset.
686         [BZ #17573]
687         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
688         with asm name __mempcpy.
689         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
691         [BZ #17572]
692         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
693         and define as weak alias of __rawmemchr.
694         (__rawmemchr): Do not define as strong alias of rawmemchr.
696         [BZ #17571]
697         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
698         alias of __qsort_r.
699         (qsort): Call __qsort_r instead of qsort_r.
700         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
701         (__qsort_r): Declare.  Call libc_hidden_proto.
702         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
703         instead of qsort_r.
704         * nscd/gai.c (__qsort_r): Define to qsort_r.
705         * posix/tst-rfc3484.c (__qsort_r): Likewise.
706         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
707         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
709         [BZ #17570]
710         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
711         define as weak alias of __malloc_info.
713         [BZ #17584]
714         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
715         as weak alias of __rewinddir.  Don't use libc_hidden_def.
716         (__rewinddir): Use libc_hidden_def.
717         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
718         as weak alias of __rewinddir.  Don't use libc_hidden_def.
719         (__rewinddir): Use libc_hidden_def.
720         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
721         weak alias of __rewinddir.  Don't use libc_hidden_def.
722         (__rewinddir): Use libc_hidden_def.
723         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
724         (__rewinddir): Use libc_hidden_proto.
725         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
726         rewinddir.
727         (__getcwd): Use __rewinddir instead of rewinddir.
729         [BZ #17583]
730         * libio/fileno.c (fileno): Rename to __fileno and define as weak
731         alias of __fileno.  Use libc_hidden_weak.
732         (__fileno): Use libc_hidden_def.
733         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
734         * libio/ftello.c (ftello): Rename to __ftello and define as weak
735         alias of __ftello.
736         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
737         __ftello.
738         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
739         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
740         libc_hidden_def.
741         (fread_unlocked): Don't use libc_hidden_ver.
742         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
743         and define as weak alias of __fread_unlocked.  Don't use
744         libc_hidden_def.
745         (__fread_unlocked): Use libc_hidden_def.
746         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
747         (ftello): Don't use libc_hidden_proto.
748         (__ftello): Declare.  Use libc_hidden_proto.
749         (fread_unlocked): Don't use libc_hidden_proto.
750         (__fread_unlocked): Declare.  Use libc_hidden_proto.
751         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
752         and __ftello instead of fileno, fread_unlocked and ftello.
754 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
756         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
757         GOT12.
758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
759         Likewise.
760         (_dl_start_user): Likewise.
761         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
763 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
764             Siddhesh Poyarekar  <siddhesh@redhat.com>
766         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
767         Move argv and envp down instead of moving argc up.
768         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
770 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
772         [BZ #17506]
773         * test-skeleton.c (main): Return successful if one of
774         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
775         * string/tst-strcoll-overflow.c: Define expected status.
777 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
779         [BZ #17475]
780         * locale/iso-639.def: Define Bhili and Tulu language codes.
782 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
784         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
786 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
788         [BZ #17555]
789         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
791 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
793         * configure.ac: Updated check of minimal required version to
794         2.22.
795         * manual/install.texi (Tools for Compilation): Updated version
796         number.
797         * configure: Regenerated.
798         * INSTALL: Likewise.
800 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
802         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
803         __tls_get_addr.
805 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
807         * include/sys/wait.h (__libc_waitpid): Remove declaration.
808         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
809         (__waitpid): Don't define as alias.  Use libc_hidden_def not
810         libc_hidden_weak.
811         (waitpid): Define as alias of __waitpid.
812         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
813         __waitpid.
814         (__waitpid): Don't define as alias.  Use libc_hidden_def not
815         libc_hidden_weak.
816         (waitpid): Define as alias of __waitpid.
817         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
818         __libc_waitpid alias.
819         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
820         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
821         Likewise.
822         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
823         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
824         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
825         alias.
826         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
827         __waitpid.
828         (__waitpid): Don't define as alias.  Use libc_hidden_def not
829         libc_hidden_weak.
830         (waitpid): Define as alias of __waitpid.
832 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
834         * manual/llio.texi: Add comment that write safety has been
835         fixed in Linux.
837         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
838         (localplt-build-dso): Add elf/ld.so.
839         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
840         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
841         and free for ld.so.
842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
843         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
845         Likewise.
846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
847         Likewise.
848         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
849         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
850         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
851         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
852         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
853         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
854         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
855         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
856         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
857         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
858         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
860 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
862         [BZ #14132]
863         * include/libc-symbols.h (INTUSE): Remove macro.
864         (INTDEF): Likewise.
865         (INTVARDEF): Likewise.
866         (_INTVARDEF): Likewise.
867         (INTDEF2): Likewise.
868         (INTVARDEF2): Likewise.
869         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
870         rtld_hidden_def instead of INTVARDEF.
871         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
872         (_dl_starting_up_internal): Remove declaration.
873         (_dl_starting_up): Use rtld_hidden_proto.
874         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
875         declaration.
876         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
877         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
878         _dl_starting_up.
879         * elf/dl-writev.h (_dl_writev): Likewise.
880         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
881         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
882         _dl_starting_up_internal.
884 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
886         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
887         test-skeleton.c.
889 2014-11-05  Will Newton  <will.newton@linaro.org>
891         * benchtests/Makefile: (bench-malloc): Add malloc thread
892         scalability benchmark.
893         * benchtests/bench-malloc-threads.c: New file.
895 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
897         * sysdeps/aarch64/strchrnul.S: New file.
899 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
901         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
902         definition.
903         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
904         Likwise.
905         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
906         Likewise.
907         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
908         Likewise.
909         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
910         Likewise.
911         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
912         Likewise.
914 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
916         * catgets/test-gencat.c: Use test-skeleton.c.
917         * catgets/tst-catgets.c: Likewise.
918         * csu/tst-empty.c: Likewise.
919         * elf/tst-audit2.c: Likewise.
920         * elf/tst-global1.c: Likewise.
921         * elf/tst-pathopt.c: Likewise.
922         * elf/tst-piemod1.c: Likewise.
923         * elf/tst-tls10.c: Likewise.
924         * elf/tst-tls11.c: Likewise.
925         * elf/tst-tls12.c: Likewise.
926         * gnulib/tst-gcc.c: Likewise.
927         * iconvdata/tst-e2big.c: Likewise.
928         * iconvdata/tst-loading.c: Likewise.
929         * iconv/tst-iconv1.c: Likewise.
930         * iconv/tst-iconv2.c: Likewise.
931         * inet/test-inet6_opt.c: Likewise.
932         * inet/tst-gethnm.c: Likewise.
933         * inet/tst-network.c: Likewise.
934         * inet/tst-ntoa.c: Likewise.
935         * intl/tst-codeset.c: Likewise.
936         * intl/tst-gettext2.c: Likewise.
937         * intl/tst-gettext3.c: Likewise.
938         * intl/tst-ngettext.c: Likewise.
939         * intl/tst-translit.c: Likewise.
940         * io/test-stat.c: Likewise.
941         * libio/test-fmemopen.c: Likewise.
942         * libio/tst-freopen.c: Likewise.
943         * libio/tst-sscanf.c: Likewise.
944         * libio/tst-ungetwc1.c: Likewise.
945         * libio/tst-ungetwc2.c: Likewise.
946         * libio/tst-widetext.c: Likewise.
947         * localedata/tst-ctype.c: Likewise.
948         * localedata/tst-digits.c: Likewise.
949         * localedata/tst-leaks.c: Likewise.
950         * localedata/tst-mbswcs1.c: Likewise.
951         * localedata/tst-mbswcs2.c: Likewise.
952         * localedata/tst-mbswcs3.c: Likewise.
953         * localedata/tst-mbswcs4.c: Likewise.
954         * localedata/tst-mbswcs5.c: Likewise.
955         * localedata/tst-setlocale.c: Likewise.
956         * localedata/tst-trans.c: Likewise.
957         * localedata/tst-wctype.c: Likewise.
958         * localedata/tst-xlocale1.c: Likewise.
959         * login/tst-grantpt.c: Likewise.
960         * malloc/tst-calloc.c: Likewise.
961         * malloc/tst-malloc.c: Likewise.
962         * malloc/tst-mallocstate.c: Likewise.
963         * malloc/tst-mcheck.c: Likewise.
964         * malloc/tst-mtrace.c: Likewise.
965         * malloc/tst-obstack.c: Likewise.
966         * math/atest-exp2.c: Likewise.
967         * math/atest-exp.c: Likewise.
968         * math/atest-sincos.c: Likewise.
969         * math/test-matherr.c: Likewise.
970         * math/test-misc.c: Likewise.
971         * math/test-powl.c: Likewise.
972         * math/tst-definitions.c: Likewise.
973         * misc/tst-dirname.c: Likewise.
974         * misc/tst-efgcvt.c: Likewise.
975         * misc/tst-fdset.c: Likewise.
976         * misc/tst-hsearch.c: Likewise.
977         * misc/tst-mntent2.c: Likewise.
978         * nptl/tst-sem7.c: Likewise.
979         * nptl/tst-sem8.c: Likewise.
980         * nptl/tst-sem9.c: Likewise.
981         * nss/test-netdb.c: Likewise.
982         * posix/tst-fnmatch.c: Likewise.
983         * posix/tst-getlogin.c: Likewise.
984         * posix/tst-gnuglob.c: Likewise.
985         * posix/tst-mmap.c: Likewise.
986         * pwd/tst-getpw.c: Likewise.
987         * resolv/tst-inet_ntop.c: Likewise.
988         * rt/tst-timer.c: Likewise.
989         * stdio-common/test-fseek.c: Likewise.
990         * stdio-common/test-popen.c: Likewise.
991         * stdio-common/test-vfprintf.c: Likewise.
992         * stdio-common/tst-cookie.c: Likewise.
993         * stdio-common/tst-fileno.c: Likewise.
994         * stdio-common/tst-gets.c: Likewise.
995         * stdio-common/tst-obprintf.c: Likewise.
996         * stdio-common/tst-perror.c: Likewise.
997         * stdio-common/tst-sprintf2.c: Likewise.
998         * stdio-common/tst-sprintf3.c: Likewise.
999         * stdio-common/tst-sprintf.c: Likewise.
1000         * stdio-common/tst-swprintf.c: Likewise.
1001         * stdio-common/tst-tmpnam.c: Likewise.
1002         * stdio-common/tst-unbputc.c: Likewise.
1003         * stdio-common/tst-wc-printf.c: Likewise.
1004         * stdlib/tst-environ.c: Likewise.
1005         * stdlib/tst-fmtmsg.c: Likewise.
1006         * stdlib/tst-limits.c: Likewise.
1007         * stdlib/tst-rand48-2.c: Likewise.
1008         * stdlib/tst-rand48.c: Likewise.
1009         * stdlib/tst-random2.c: Likewise.
1010         * stdlib/tst-random.c: Likewise.
1011         * stdlib/tst-strtol.c: Likewise.
1012         * stdlib/tst-strtoll.c: Likewise.
1013         * stdlib/tst-tls-atexit.c: Likewise.
1014         * stdlib/tst-xpg-basename.c: Likewise.
1015         * string/test-ffs.c: Likewise.
1016         * string/tst-bswap.c: Likewise.
1017         * string/tst-inlcall.c: Likewise.
1018         * string/tst-strtok.c: Likewise.
1019         * string/tst-strxfrm.c: Likewise.
1020         * sysdeps/x86_64/tst-audit10.c: Likewise.
1021         * sysdeps/x86_64/tst-audit3.c: Likewise.
1022         * sysdeps/x86_64/tst-audit4.c: Likewise.
1023         * sysdeps/x86_64/tst-audit5.c: Likewise.
1024         * time/tst-ftime_l.c: Likewise.
1025         * time/tst-getdate.c: Likewise.
1026         * time/tst-mktime3.c: Likewise.
1027         * time/tst-mktime.c: Likewise.
1028         * time/tst-posixtz.c: Likewise.
1029         * time/tst-strptime2.c: Likewise.
1030         * time/tst-strptime3.c: Likewise.
1031         * wcsmbs/tst-btowc.c: Likewise.
1032         * wcsmbs/tst-mbrtowc.c: Likewise.
1033         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1034         * wcsmbs/tst-wchar-h.c: Likewise.
1035         * wcsmbs/tst-wcpncpy.c: Likewise.
1036         * wcsmbs/tst-wcrtomb.c: Likewise.
1037         * wcsmbs/tst-wcsnlen.c: Likewise.
1038         * wcsmbs/tst-wcstof.c: Likewise.
1040 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
1042         [BZ #14132]
1043         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1044         INTDEF.
1045         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1046         declaration.
1047         (_dl_mcount): Use rtld_hidden_proto.
1048         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1049         _dl_mcount.
1050         * elf/rtld.c (_rtld_global_ro): Likewise.
1052         [BZ #14132]
1053         * elf/dl-init.c (_dl_init): Don't use INTDEF.
1054         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1055         of _dl_init_internal.
1056         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1057         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1058         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1059         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1060         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1061         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1062         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1063         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1064         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1065         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1066         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1067         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1068         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1069         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1070         * sysdeps/tile/dl-start.S (_start): Likewise.
1071         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1072         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1074         [BZ #14132]
1075         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1076         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1077         (rtld_progname): Make macro definition unconditional.
1078         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1079         INTDEF.
1080         (dlmopen_doit): Do not use INTUSE with _dl_argv.
1081         (dl_main): Likewise.
1082         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1083         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1084         instead of _dl_argv_internal.
1085         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1086         __GI__dl_argv instead of INTUSE(_dl_argv).
1087         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1088         __GI__dl_argv instead of _dl_argv_internal.
1090         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1091         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1092         macro.
1093         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1094         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1095         New macro.
1096         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1097         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1098         macro.
1099         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1100         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1102 2014-11-04  Andreas Schwab  <schwab@suse.de>
1104         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1106 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1108         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1109         mtvsrd instruction in binary form.
1111 2014-11-03  Andreas Schwab  <schwab@suse.de>
1113         [BZ #17522]
1114         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1115         for less than MB_LEN_MAX use a local buffer of that size.
1116         * libio/tst-fputws.c: New file.
1117         * libio/Makefile (tests): Add tst-fputws.
1119 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
1121         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1122         the size of the fpu_fr.fpu_dregs[] array.
1124 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
1126         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1127         (__nanosleep): Do not define as alias.
1128         (nanosleep): Define as alias of __nanosleep.
1129         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1130         __libc_nanosleep name.
1132 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1134         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1135         install.texi in comment.
1137 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1139         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1140         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1141         ... add here and use lwsync or sync ...
1142         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1143         ... and add here using lwsync.
1145 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1147         * elf/dl-machine-reject-phdr.h: New file.
1148         * elf/dl-load.c: #include that.
1149         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1150         if that returned true.
1152 2014-10-31  Roland McGrath  <roland@hack.frob.com>
1154         [BZ #17496]
1155         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1156         gen-as-const-headers chunk.  Add a big scare comment after the last
1157         safe place to touch before-compile.
1159 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1161         * manual/install.texi (Tools for Compilation): Update autoconf
1162         version requirements.
1163         * INSTALL: Regenerated.
1165         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1166         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1167         (__libc_pselect): Likewise.
1169         [BZ #14138]
1170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1175 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1177         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1178         correct barrier instruction.
1179         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1180         Likewise.
1181         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1182         Likewise.
1184 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1186         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1187         after defining inlines.  Instead, just use parens to defeat macro
1188         expansion of __isctype in its declaration.
1190 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1192         * include/sys/uio.h (__libc_readv): Remove declaration.
1193         (__libc_writev): Likewise.
1194         * misc/readv.c (__libc_readv): Rename to __readv.
1195         (__readv): Do not define as alias.
1196         (readv): Define as alias of __readv.
1197         * misc/writev.c (__libc_writev): Rename to __writev.
1198         (__writev): Do not define as alias.
1199         (writev): Define as alias of __writev.
1200         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1201         (__readv): Do not define as alias.
1202         (readv): Define unconditionally as alias of __readv.
1203         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1204         (__writev): Do not define as alias.
1205         (writev): Define unconditionally as alias of __writev.
1206         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1207         name.
1208         (writev): Do not define __libc_writev name.
1210 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1212         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1213         (convert_charseq): New function, broken out of ...
1214         (use_from_charmap): ... here.  Call it.
1215         (use_to_charmap): Use convert_charseq and free instead of duplicating
1216         its code with a variable-length stack struct.
1218 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1220         * include/fcntl.h (__libc_creat): Remove declaration.
1221         * io/creat.c (__libc_creat): Rename to creat.
1222         (creat): Do not define as alias.
1223         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1224         of creat instead of __libc_creat.
1225         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1226         to creat.
1227         (creat): Do not define as alias.
1228         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1229         __libc_creat.
1230         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1231         __libc_creat name.
1232         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1233         Likewise.
1235 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1237         * manual/llio.texi: Add comments discussing why write() may be
1238         considered MT-unsafe on Linux.
1240 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1242         * dl-load.c (local_strdup): Remove.
1243         (expand_dynamic_string_token): Use __strdup.
1244         (decompose_rpath): Likewise.
1245         (_dl_map_object): Likewise.
1247 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1249         [BZ #14132]
1250         * sysdeps/generic/unwind-dw2-fde.c
1251         (__register_frame_info_bases_internal): Do not declare.
1252         (__register_frame_info_table_bases_internal): Likewise.
1253         (__deregister_frame_info_bases_internal): Likewise.
1254         (__register_frame_info_bases): Declare and use hidden_proto before
1255         definition.  Use hidden_def instead of INTDEF.
1256         (__register_frame_info_table_bases): Likewise.
1257         (__deregister_frame_info_bases): Likewise.
1258         (__register_frame_info): Do not use INTUSE.
1259         (__register_frame): Likewise.
1260         (__register_frame_info_table): Likewise.
1261         (__register_frame_table): Likewise.
1262         (__deregister_frame_info): Likewise.
1263         (__deregister_frame): Likewise.
1265 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1267         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1268         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1269         not undefine.
1270         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1271         Likewise.
1272         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1273         Likewise.
1275 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1277         [BZ #14138]
1278         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1279         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1280         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1281         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1282         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1283         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1284         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1285         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1286         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1287         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1288         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1289         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1290         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1291         syscall.
1292         (setfsuid): Likewise.
1293         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1294         (setfsuid): Likewise.
1295         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1296         (setfsuid): Likewise.
1297         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1298         Likewise.
1299         (setfsuid): Likewise.
1300         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1301         (setfsuid): Likewise.
1302         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1303         Likewise.
1304         (setfsuid): Likewise.
1306 2014-10-27  Andreas Schwab  <schwab@suse.de>
1308         [BZ #17501]
1309         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1310         check for Slow_SSE4_2 feature bit.
1311         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1312         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1313         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1314         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
1316 2014-10-24  Roland McGrath  <roland@hack.frob.com>
1318         * configure.ac: Validate compiler version with a empirical test of
1319         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1320         $CC -v output.
1321         * configure: Regenerated.
1323         * inet/htons.c (htons): Prototypify.
1324         * inet/htonl.c (htonl): Likewise.
1326 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1328         * string/strncat.c (strncat): Improve performance by using strlen.
1330 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1332         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1334 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1336         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1337         Call libc_fetestexcept_aarch64.
1339 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1341         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1342         Call libc_feholdexcept_aarch64.
1344 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1346         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1347         Call get_rounding_mode.
1349 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1351         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1352         Simplify logic.
1354 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1356         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1357         Simplify logic.
1359 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
1361         [BZ #14138]
1362         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1363         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1364         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1365         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1366         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1367         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1368         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1369         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1370         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1371         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1372         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1373         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1374         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1375         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1376         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1377         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1378         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1379         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1380         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1381         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1382         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1383         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1384         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1385         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1386         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1387         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1388         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1389         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1390         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1391         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1392         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1393         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1394         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1395         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1396         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1397         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1398         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1399         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1400         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1401         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1402         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1403         syscall.
1404         (geteuid): Likewise.
1405         (getgid): Likewise.
1406         (getuid): Likewise.
1407         (getresgid): Likewise.
1408         (getresuid): Likewise.
1409         (getgroups): Likewise.
1410         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1411         (geteuid): Likewise.
1412         (getgid): Likewise.
1413         (getuid): Likewise.
1414         (getresgid): Likewise.
1415         (getresuid): Likewise.
1416         (getgroups): Likewise.
1417         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1418         (geteuid): Likewise.
1419         (getgid): Likewise.
1420         (getuid): Likewise.
1421         (getresgid): Likewise.
1422         (getresuid): Likewise.
1423         (getgroups): Likewise.
1424         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1425         Likewise.
1426         (geteuid): Likewise.
1427         (getgid): Likewise.
1428         (getuid): Likewise.
1429         (getresgid): Likewise.
1430         (getresuid): Likewise.
1431         (getgroups): Likewise.
1432         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1433         (geteuid): Likewise.
1434         (getgid): Likewise.
1435         (getuid): Likewise.
1436         (getresgid): Likewise.
1437         (getresuid): Likewise.
1438         (getgroups): Likewise.
1439         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1440         Likewise.
1441         (geteuid): Likewise.
1442         (getgid): Likewise.
1443         (getuid): Likewise.
1444         (getgroups): Likewise.
1446         [BZ #14138]
1447         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1448         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1449         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1450         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1451         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1452         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1453         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1454         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1455         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1456         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1457         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1458         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1459         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1460         __chown.
1461         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1462         (lchown): Likewise.
1463         (fchown): Likewise.
1464         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1465         Likewise.
1466         (lchown): Likewise.
1467         (fchown): Likewise.
1468         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1469         (lchown): Likewise.
1470         (fchown): Likewise.
1471         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1472         Likewise.
1473         (lchown): Likewise.
1474         (fchown): Likewise.
1476 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1478         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1479         Simplify logic.
1481 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1483         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1484         Cleanup logic.
1486 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1488         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1489         Remove unused include.
1491 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1493         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1494         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1495         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1496         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1498 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
1499             Helge Deller <deller@gmx.de>
1501         [BZ #17508]
1502         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1503         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1504         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1506 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
1508         [BZ #14132]
1509         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1510         Remove macro definition.
1511         (__ashrdi3_v_glibc20): Likewise.
1512         (__lshrdi3_v_glibc20): Likewise.
1513         (__cmpdi2_v_glibc20): Likewise.
1514         (__ucmpdi2_v_glibc20): Likewise.
1515         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1516         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1517         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1518         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1519         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1520         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1522 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1524         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1525         old GNU extension [0] syntax.
1526         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1527         alloca rather than an array member with variable length.
1528         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1529         * nscd/nscd.c (invalidate_db): New function, broken out of ...
1530         (parse_opt): ... here.  Likewise use alloca there.
1531         Validate the -i argument before checking for rootness.
1532         (send_shutdown): New function, broken out of ...
1533         (parse_opt): ... here.
1535 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1537         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1538         macro to get at the _rt_local_ro field.
1539         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1540         ([PIC] case) or _dl_hwcap ([!PIC] case).
1541         * sysdeps/arm/setjmp.S: Likewise.
1543         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1544         * sysdeps/arm/configure.ac: New check to define it.
1545         * sysdeps/arm/configure: Regenerated.
1546         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1547         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1548         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1549         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1550         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1551         Use move/movt pair instead of a load.
1552         (LDST_GLOBAL): Macro removed.
1553         (LDR_GLOBAL): New macro replaces it.
1554         (LDR_HIDDEN): New macro.
1555         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1556         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1558         * setjmp/tst-setjmp-static.c: New file.
1559         * setjmp/Makefile (tests): Add it.
1560         (tests-static): New variable.
1562 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
1564         [BZ #17485]
1565         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1567 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
1569         [BZ #14132]
1570         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1572 2014-10-21  Roland McGrath  <roland@hack.frob.com>
1574         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1576 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1578         * io/fts.c (dirent_not_directory): New function.
1579         (fts_build): Call it.
1581 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1583         * nptl/version.c (__nptl_main): Use normal __write rather than
1584         INTERNAL_SYSCALL.
1585         (banner): Update copyright years.
1587         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1588         gettimeofday.
1589         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1590         * nptl/pthread_cond_timedwait.c: Likewise.
1591         * nptl/pthread_mutex_timedlock.c: Likewise.
1592         * nptl/sem_timedwait.c: Likewise.
1594         * sysdeps/nptl/bits/libc-lock.h
1595         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1596         (__libc_lock_init_recursive): Return void, not 0.
1597         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1598         (__libc_rwlock_init): Likewise.
1599         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1601 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1603         [BZ #15215]
1604         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1605         (__pthread_once_slow): ... here.
1606         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1607         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1609 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1611         [BZ #15215]
1612         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1613         __PTHREAD_ONCE_FORK_GEN_INCR): New.
1614         * sysdeps/nptl/fork.c (__libc_fork): Use them.
1615         * nptl/pthread_once.c (__pthread_once): Likewise.
1616         Update comments.
1618 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
1620         [BZ #14138]
1621         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1622         name.
1623         (writev): Use __libc_writev as strong name.
1624         * sysdeps/unix/sysv/linux/readv.c: Remove file.
1625         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1627 2014-10-17  Roland McGrath  <roland@hack.frob.com>
1629         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1631         * sysdeps/i386/nptl/tls.h
1632         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1633         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1634         New macros.
1635         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1636         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1637         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1638         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1639         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1640         Call CHECK_THREAD_SYSINFO instead of doing an assert.
1642         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1643         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1644         on [__NR_futex].
1645         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1646         broken out of ...
1647         (__pthread_mutex_init): ... here.  Call it.
1648         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1649         Conditionalize PI cases on [__NR_futex].
1650         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1651         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1652         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1654         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1655         conditional on [SIGSETXID].
1656         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1657         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1658         is defined.  Likewise for SIGSETXID.
1659         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1660         Conditionalize definitions on [SIGSETXID].
1661         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1662         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1663         unblocking on [SIGCANCEL].
1665         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1666         [__NR_set_robust_list].
1668 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1670         * string/strcoll_l.c (get_next_seq): Fix up formatting.
1671         (do_compare): Likewise.
1673 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
1675         [BZ #15884]
1676         * string/strcoll_l.c: Don't include stdio.h.
1677         (coll_seq): Remove members idxarr and rulearr.
1678         (get_next_seq_cached): Remove function.
1679         (get_next_seq): Likewise.
1680         (get_next_seq_nocache): Rename to get_next_seq.
1681         (do_compare): Remove function.
1682         (do_compare_nocache): Rename to do_compare.
1683         (STRCOLL): Remove weight and rules cache.
1685 2014-10-16  Roland McGrath  <roland@hack.frob.com>
1687         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1688         * sysdeps/arm/sfp-machine.h: ... to here.
1689         * sysdeps/arm/Implies: Remove arm/soft-fp.
1691 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
1693         * conform/data/sys/utsname.h-data (*_t): Allow.
1694         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1695         [POSIX] (WEXITED): Do not expect constant.
1696         [POSIX] (WSTOPPED): Likewise.
1697         [POSIX] (WNOHANG): Likewise.
1698         [POSIX] (WNOWAIT): Likewise.
1699         [POSIX] (siginfo_t): Do not expect type or elements.
1700         [POSIX] (pid_t): Do not expect type.
1701         [POSIX] (signal.h): Do not allow header.
1702         [POSIX] (sys/resource.h): Likewise.
1703         [POSIX] (si_*): Do not allow pattern.
1704         [POSIX] (W*): Likewise.
1705         [POSIX] (P_*): Likewise.
1706         [POSIX] (BUS_*): Likewise.
1707         [POSIX] (CLD_*): Likewise.
1708         [POSIX] (FPE_*): Likewise.
1709         [POSIX] (ILL_*): Likewise.
1710         [POSIX] (POLL_*): Likewise.
1711         [POSIX] (SEGV_*): Likewise.
1712         [POSIX] (SI_*): Likewise.
1713         [POSIX] (TRAP_*): Likewise.
1714         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1715         variable.
1717 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1719         [BZ #12926]
1720         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1721         infinite loop when __recvmsg returns 0.
1723 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
1725         * CANCEL-FCT-WAIVE: Remove file.
1726         * CANCEL-FILE-WAIVE: Likewise.
1728         [BZ #14132]
1729         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1730         instead of INTVARDEF.
1731         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1732         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1733         rtld_hidden_data_def instead of INTVARDEF.
1734         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1735         * elf/dl-deps.c (expand_dst): Likewise.
1736         * elf/dl-load.c (_dl_dst_count): Likewise.
1737         (_dl_dst_substitute): Likewise.
1738         (decompose_rpath): Likewise.
1739         (_dl_init_paths): Likewise.
1740         (open_path): Likewise.
1741         (_dl_map_object): Likewise.
1742         * elf/rtld.c (dl_main): Likewise.
1743         (process_dl_audit): Likewise.
1744         (process_envvars): Likewise.
1745         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1746         Remove declaration.
1747         (__libc_enable_secure): Use rtld_hidden_proto.
1749 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1751         * elf/dl-load.c
1752         (add_path): New function broken out of _dl_rtld_di_serinfo.
1753         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
1755 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1757         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1758         parentheses around macro arguments.
1759         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1763         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1764         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1768         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1769         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1770         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1771         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1772         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1773         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1774         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1775         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1776         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1781         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1782         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1785         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1786         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1787         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1788         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1789         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1790         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1791         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1792         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1793         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1794         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1795         Likewise.
1796         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1797         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1798         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1799         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1800         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1801         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1802         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1803         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1804         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1805         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1806         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1807         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1808         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1809         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1810         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1811         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1812         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1813         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1814         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1815         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1816         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1817         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1818         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1819         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1820         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1821         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1822         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1823         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1824         (_FP_FRAC_SRS_1): Likewise.
1825         (_FP_FRAC_CLZ_1): Likewise.
1826         (_FP_MUL_MEAT_1_imm): Likewise.
1827         (_FP_MUL_MEAT_1_wide): Likewise.
1828         (_FP_MUL_MEAT_1_hard): Likewise.
1829         (_FP_SQRT_MEAT_1): Likewise.
1830         (_FP_FRAC_ASSEMBLE_1): Likewise.
1831         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1832         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1833         (__FP_CLZ_2): Likewise.
1834         (_FP_MUL_MEAT_2_wide): Likewise.
1835         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1836         (_FP_MUL_MEAT_2_gmp): Likewise.
1837         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1838         (_FP_SQRT_MEAT_2): Likewise.
1839         (_FP_FRAC_ASSEMBLE_2): Likewise.
1840         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1841         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1842         (_FP_FRAC_CLZ_4): Likewise.
1843         (_FP_MUL_MEAT_4_wide): Likewise.
1844         (_FP_MUL_MEAT_4_gmp): Likewise.
1845         (_FP_SQRT_MEAT_4): Likewise.
1846         (_FP_FRAC_ASSEMBLE_4): Likewise.
1847         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1848         * soft-fp/op-common.h (_FP_CMP): Likewise.
1849         (_FP_CMP_EQ): Likewise.
1850         (_FP_CMP_UNORD): Likewise.
1851         (_FP_TO_INT): Likewise.
1852         (_FP_FROM_INT): Likewise.
1853         [!__FP_CLZ] (__FP_CLZ): Likewise.
1854         (_FP_DIV_HELP_imm): Likewise.
1855         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1856         Likewise.
1857         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1858         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1859         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1861         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1862         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1863         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1865         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1866         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1867         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1868         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1869         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1870         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1871         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1872         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1873         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1874         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1878         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1879         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1880         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1881         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1882         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1883         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1884         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1885         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1886         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1887         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1888         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1889         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1890         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1891         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1892         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1893         (FP_UNPACK_RAW_SP): Likewise.
1894         (FP_PACK_RAW_S): Likewise.
1895         (FP_PACK_RAW_SP): Likewise.
1896         (FP_UNPACK_S): Likewise.
1897         (FP_UNPACK_SP): Likewise.
1898         (FP_UNPACK_SEMIRAW_S): Likewise.
1899         (FP_UNPACK_SEMIRAW_SP): Likewise.
1900         (FP_PACK_S): Likewise.
1901         (FP_PACK_SP): Likewise.
1902         (FP_PACK_SEMIRAW_S): Likewise.
1903         (FP_PACK_SEMIRAW_SP): Likewise.
1904         (_FP_SQRT_MEAT_S): Likewise.
1905         (FP_CMP_S): Likewise.
1906         (FP_CMP_EQ_S): Likewise.
1907         (FP_CMP_UNORD_S): Likewise.
1908         (FP_TO_INT_S): Likewise.
1909         (FP_FROM_INT_S): Likewise.
1911         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1913         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1914         (FP_EX_INVALID_IMZ): Likewise.
1915         (FP_EX_INVALID_IMZ_FMA): Likewise.
1916         (FP_EX_INVALID_ISI): Likewise.
1917         (FP_EX_INVALID_ZDZ): Likewise.
1918         (FP_EX_INVALID_IDI): Likewise.
1919         (FP_EX_INVALID_SQRT): Likewise.
1920         (FP_EX_INVALID_CVI): Likewise.
1921         (FP_EX_INVALID_VC): Likewise.
1922         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1923         "invalid" exceptions.
1924         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1925         (_FP_ADD_INTERNAL): Likewise.
1926         (_FP_MUL): Likewise.
1927         (_FP_FMA): Likewise.
1928         (_FP_DIV): Likewise.
1929         (_FP_CMP_CHECK_NAN): Likewise.
1930         (_FP_SQRT): Likewise.
1931         (_FP_TO_INT): Likewise.
1932         (FP_EXTEND): Likewise.
1934 2014-10-09  Allan McRae  <allan@archlinux.org>
1936         * po/fr.po: Update French translation from translation project.
1938 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1940         [BZ #14132]
1941         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1942         of INTDEF.
1943         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1944         (__cxa_atexit): Use libc_hidden_proto.
1945         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1947         [BZ #14132]
1948         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1949         declaration.
1950         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1951         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1952         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1953         [!_ISOMAC] (__iswctype_internal): Likewise.
1954         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1955         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1956         alias.
1957         (fcntl): Remove __fcntl_internal alias.
1958         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1959         __connect_internal alias.
1960         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1961         Likewise.
1963         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1964         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1965         FP_DENORM_ZERO.
1966         (_FP_CHECK_FLUSH_ZERO): New macro.
1967         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1968         (_FP_CMP): Likewise.
1969         (_FP_CMP_EQ): Likewise.
1970         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1971         FP_DENORM_ZERO.
1972         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1973         (FP_TRUNC): Likewise.
1975         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1976         treated as invalid conversion, not as normal exponent.
1978         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1979         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1980         (_FP_CMP_EQ): Likewise.
1981         (_FP_CMP_UNORD): Likewise.
1982         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1983         (FP_CMP_EQ_D): Likewise.
1984         (FP_CMP_UNORD_D): Likewise.
1985         * soft-fp/extended.h (FP_CMP_E): Likewise.
1986         (FP_CMP_EQ_E): Likewise.
1987         (FP_CMP_UNORD_E): Likewise.
1988         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1989         (FP_CMP_EQ_Q): Likewise.
1990         (FP_CMP_UNORD_Q): Likewise.
1991         * soft-fp/single.h (FP_CMP_S): Likewise.
1992         (FP_CMP_EQ_S): Likewise.
1993         (FP_CMP_UNORD_S): Likewise.
1994         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1995         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1996         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1997         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1998         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1999         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2000         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2001         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2002         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2003         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2004         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2005         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2006         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2007         to FP_CMP_Q.
2008         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2009         FP_CMP_Q.
2010         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2011         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2012         FP_CMP_EQ_Q.
2013         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2014         FP_CMP_Q.
2015         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2016         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2017         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2018         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2019         FP_CMP_EQ_Q.
2020         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2021         FP_CMP_Q.
2022         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2023         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2024         FP_CMP_EQ_Q.
2025         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2026         FP_CMP_Q.
2027         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2028         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2029         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2030         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2031         FP_CMP_EQ_Q.
2033         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2034         a subnormal result, set the underflow exception if trapping on
2035         underflow is enabled.
2036         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2037         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2038         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2039         redefine to 0.
2040         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2041         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2042         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2043         * soft-fp/extendxftf2.c (__extendxftf2): Use
2044         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2046         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2047         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2048         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2049         FP_HANDLE_EXCEPTIONS.
2050         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2051         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2052         FP_HANDLE_EXCEPTIONS.
2053         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2054         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2055         FP_HANDLE_EXCEPTIONS.
2056         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2057         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2058         FP_HANDLE_EXCEPTIONS.
2060 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
2062         [BZ #14132]
2063         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2064         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2065         use INTUSE.
2066         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2067         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2068         Remove alias.
2069         (__adjtimex): Define using libc_hidden_ver.
2070         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2071         Remove declaration.
2072         (ntp_gettime): Call __adjtimex directly.
2073         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2074         Remove declaration.
2075         (ntp_gettimex): Call __adjtimex directly.
2076         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2077         __adjtimex_internal alias.
2079 2014-10-08  Roland McGrath  <roland@hack.frob.com>
2081         [BZ #17460]
2082         * nscd/nscd.c (more_help): Rewrite list of tables collection
2083         using xstrdup and asprintf.
2085         * nscd/nscd_conf.c: Remove local xstrdup declaration.
2087 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2088             Roland McGrath  <roland@hack.frob.com>
2090         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2091         (do_lookup_unique): ... local function 'enter' here; update callers.
2093 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2095         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2096         compat_symbol calls on [SHARED].
2097         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2098         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2099         Remove.
2100         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2101         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2102         (oldsetrlimit): Remove.
2103         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2105         (lchown): New syscall entry.
2106         (oldsetrlimit): Remove.
2107         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2108         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2109         (oldsetrlimit): Remove.
2110         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2112         [BZ #14138]
2113         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2114         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2115         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2116         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2117         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2118         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2119         (fchown): Likewise.
2120         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2121         (fchown): Likewise.
2122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2123         Likewise.
2125 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2127         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2128         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2129         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2130         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2131         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2132         Likewise.
2133         (__old_sem_post): Likewise.
2135 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
2137         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2138         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2139         HAVE_CLOCK_GETTIME_VSYSCALL macros.
2140         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2141         Use INLINE_VSYSCALL macro.
2142         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2143         __vdso_clock_gettime.
2144         * sysdeps/unix/sysv/linux/tile/init-first.c
2145         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2146         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2147         __vdso_clock_gettime.
2149         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2150         to set up frame more cleanly.
2152         * sysdeps/tile/memcmp.c: New file.
2154         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2156         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2157         * sysdeps/tile/tilegx/strcasestr.c: New file.
2158         * sysdeps/tile/tilegx/strnlen.c: New file.
2159         * sysdeps/tile/tilegx/strstr.c: New file.
2161         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2163 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
2165         * nptl/tst-setuid3.c: Write errors to stdout.
2167 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2169         * elf/dl-deps.c
2170         (preload): New functions broken out of _dl_map_object_deps.
2171         (_dl_map_object_deps):  Remove a nested function. Update call sites.
2173 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
2175         [BZ #14138]
2176         * sysdeps/unix/sysv/linux/execve.c: Remove file.
2177         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2179 2014-10-01  Steve Ellcey  <sellcey@mips.com>
2181         * sysdeps/mips/strcmp.S: New.
2183 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2185         [BZ #14138]
2186         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2187         (linkat): Likewise.
2188         (mkdirat): Likewise.
2189         (readlinkat): Likewise.
2190         (renameat): Likewise.
2191         (symlinkat): Likewise.
2192         (unlinkat): Likewise.
2193         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2194         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2195         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2196         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2197         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2198         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2199         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2201 2014-09-30  Will Newton  <will.newton@linaro.org>
2203         * math/math.h: Define long double math functions if
2204         _LIBC_TEST is defined.
2205         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2207         * localedata/Makefile: Move assignment to tests-special
2208         into an ifdef testing run-built-tests.
2209         * timezone/Makefile: Likewise.
2211 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2213         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2214         with $(BASH) not $(SHELL).
2216 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2217             Matthew LeGendre  <legendre1@llnl.gov>
2219         [BZ #17411]
2220         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2221         l_reloc_result.
2223 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2225         * stdio-common/printf_fp.c
2226         (hack_digit): New function, broken out of ...
2227         (__printf_fp): ... local function here.  Update call sites.
2228         hack_digit now takes an additional parameter that is a pointer
2229         to a struct of the referenced locals.  Those locals moved inside
2230         the struct and references updated.
2232 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2234         * aclocal.m4: Require autoconf 2.69.
2235         * configure: Regenerated.
2236         * sysdeps/aarch64/configure: Likewise.
2237         * sysdeps/alpha/configure: Likewise.
2238         * sysdeps/arm/armv7/configure: Likewise.
2239         * sysdeps/arm/configure: Likewise.
2240         * sysdeps/ia64/configure: Likewise.
2241         * sysdeps/mach/configure: Likewise.
2242         * sysdeps/mips/configure: Likewise.
2243         * sysdeps/s390/configure: Likewise.
2244         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2247         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2248         file.
2249         * sysdeps/ia64/configure.ac: Likewise.
2251 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2254         specify symbol version for ld.so.  Do not include entry for
2255         libpthread.
2256         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2257         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2258         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2260         [BZ #14171]
2261         * Makeconfig [$(build-shared) = yes]
2262         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2263         makefiles.
2264         [$(build-shared) = yes && $(soversions.mk-done) = t]
2265         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2266         [$(build-shared) = yes && $(soversions.mk-done) = t]
2267         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2268         to Makerules.
2269         [$(build-shared) = yes && $(soversions.mk-done) = t]
2270         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2271         here.
2272         [$(build-shared) = yes && $(soversions.mk-done) = t]
2273         (common-generated): Don't append gnu/lib-names.h and
2274         gnu/lib-names.stmp here.
2275         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2276         (lib-names-h-abi): New variable.
2277         [$(build-shared) = yes && $(soversions.mk-done) = t]
2278         (lib-names-stmp-abi): Likewise.
2279         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2280         abi-variants] (before-compile): Append
2281         $(common-objpfx)$(lib-names-h-abi).
2282         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2283         abi-variants] (common-generated): Append gnu/lib-names.h.
2284         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2285         abi-variants] (install-others-nosubdir): Depend on
2286         $(inst_includedir)/$(lib-names-h-abi).
2287         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2288         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2289         [$(build-shared) = yes && $(soversions.mk-done) = t]
2290         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2291         [$(build-shared) = yes && $(soversions.mk-done) = t]
2292         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2293         [$(build-shared) = yes && $(soversions.mk-done) = t]
2294         (common-generated): Append $(lib-names-h-abi) and
2295         $(lib-names-stmp-abi).
2296         * scripts/lib-names.awk: Do not handle multi being set.
2297         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2298         Remove variable.
2299         (abi-lp64_be-ld-soname): Likewise.
2300         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2301         Likewise.
2302         (abi-hard-ld-soname): Likewise.
2303         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2304         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2305         Remove variable.
2306         (abi-o32_hard-ld-soname): Likewise.
2307         (abi-o32_soft_2008-ld-soname): Likewise.
2308         (abi-o32_hard_2008-ld-soname): Likewise.
2309         (abi-n32_soft-ld-soname): Likewise.
2310         (abi-n32_hard-ld-soname): Likewise.
2311         (abi-n32_soft_2008-ld-soname): Likewise.
2312         (abi-n32_hard_2008-ld-soname): Likewise.
2313         (abi-n64_soft-ld-soname): Likewise.
2314         (abi-n64_hard-ld-soname): Likewise.
2315         (abi-n64_soft_2008-ld-soname): Likewise.
2316         (abi-n64_hard_2008-ld-soname): Likewise.
2317         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2318         Likewise.
2319         (abi-64-v2-ld-soname): Likewise.
2320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2321         ld.so entries.
2322         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2323         variable.
2324         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2325         entry.
2326         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2327         variable.
2328         (abi-64-ld-soname): Likewise.
2329         (abi-x32-ld-soname): Likewise.
2330         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2331         entry.
2332         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2334 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2336         [BZ #14138]
2337         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2338         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2339         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2340         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2341         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2342         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2343         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2344         syscall entry for GLIBC_2.2 symbol version.
2345         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2346         Likewise.
2347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2348         (setrlimit): Likewise.
2349         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2350         Likewise.
2352 2014-09-23  Will Newton  <will.newton@linaro.org>
2354         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2355         _LINUX_ARM_SYSDEP_H include guard too.
2356         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2357         define.
2359 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2361         * sysdeps/unix/sysv/linux/eventfd.c:
2362         Make first argument unsigned.
2363         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2364         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2366 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
2368         * socket/recvmmsg.c (recvmmsg): Drop const argument.
2369         * socket/sys/socket.h: Likewise
2370         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2372 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2374         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2376 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
2378         * time/tst-ftime.c: New test.
2379         * time/Makefile (tests): Add tst-ftime.
2381 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
2383         * soft-fp/extended.h: Fix comment formatting.
2384         * soft-fp/op-1.h: Likewise.
2385         * soft-fp/op-2.h: Likewise.
2386         * soft-fp/op-4.h: Likewise.
2387         * soft-fp/op-8.h: Likewise.
2388         * soft-fp/op-common.h: Likewise.
2389         * soft-fp/soft-fp.h: Likewise.
2391         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2393 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
2395         [BZ #6652]
2396         * Makeconfig (soversions-default-setname): Remove variable.
2397         ($(common-objpfx)soversions.i): Don't pass default_setname to
2398         soversions.awk.
2399         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2400         oldest_abi to abi-versions.awk.
2401         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2402         * config.make.in (oldest-abi): Remove variable.
2403         * configure.ac (--enable-oldest-abi): Remove configure option.
2404         * configure: Regenerated.
2405         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2406         text.
2407         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2408         * scripts/soversions.awk: Do not handle default_setname variable.
2409         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2410         variable.
2411         * sysdeps/mach/hurd/configure: Regenerated.
2412         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2413         variable.
2414         * sysdeps/unix/sysv/linux/configure: Regenerated.
2416 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2418         * elf/Makefile (CFLAGS-interp.c): Remove.
2419         ($(elf-objpfx)runtime-linker.h): Generate header with linker
2420         path string.
2421         * elf/interp.c: Include generated runtime-linker.h
2423         * Makerules (lib%.so): Don't include $(+interp) in
2424         prerequisites.
2425         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2426         * dlfcn/eval.c: Remove file.
2428         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2429         macros.
2431         [BZ #17266]
2432         * misc/sys/cdefs.h: Define __extern_always_inline for clang
2433         4.2 and newer.
2435         [BZ #17370]
2436         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2438 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2439             Jakub Jelinek  <jakub@redhat.com>
2441         [BZ #17266]
2442         * libio/stdio.h: Check definition of __fortify_function
2443         instead of __extern_always_inline to include bits/stdio2.h.
2444         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2445         check if __extern_always_inline is defined.
2446         [__USE_MISC || __USE_XOPEN]: Likewise.
2447         [__USE_ISOC99] Likewise.
2448         * misc/sys/cdefs.h (__fortify_function): Define only if
2449         __extern_always_inline is defined.
2450         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2451         __extern_always_inline and __extern_inline only for g++-4.3
2452         and newer or a compatible gcc.
2454 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
2456         [BZ #17371]
2457         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2458         last change to handle zero prefix length.
2460 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2462         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2463         _SC_REGEX_VERSION.
2465         * posix/getconf.c (vars): Add _POSIX_IPV6 and
2466         _POSIX_RAW_SOCKETS.
2468 2014-09-13  Allan McRae  <allan@archlinux.org>
2470         * po/ru.po: Update Russian translation from translation project.
2472 2014-09-12  Roland McGrath  <roland@hack.frob.com>
2474         * locale/programs/locale.c (show_locale_vars): Inline local function
2475         into its sole call site.  Clean up some style nits.
2476         (print_item): New function, broken out of ...
2477         (show_info): ... local function here.  Clean up style nits.
2479         * locale/programs/ld-ctype.c (set_one_default): New function, broken
2480         out of ...
2481         (set_class_defaults): ... local function set_default here.
2482         Define set_default as a macro locally to pass constant parameters.
2483         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2484         rather than a shared local.
2486         * stdlib/rpmatch.c (try): New function, broken out of ...
2487         (rpmatch): ... local function here.  Also, prototypify definition.
2489 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2491         * scripts/soversions.awk: Do not handle configuration names.
2492         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2493         vendor and os variables to soversions.awk.
2494         * configure.ac: Do not modify gnu-* host_os.
2495         * configure: Regenerated
2496         * shlib-versions: Remove first column with configuration names.
2497         * nptl/shlib-versions: Likewise.
2498         * nptl_db/shlib-versions: Likewise.
2499         * sysdeps/hppa/shlib-versions: Likewise.
2500         * sysdeps/m68k/shlib-versions: Likewise.
2501         * sysdeps/mach/hurd/shlib-versions: Likewise.
2502         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2503         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2504         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2505         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2506         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2507         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2508         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2509         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2511         Likewise.
2512         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2513         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2514         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2515         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2516         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2517         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2518         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2519         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2522         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2524         Regenerated.
2525         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2527         Condition symbol version definitions on [HAVE_ELFV2_ABI].
2529         * shlib-versions: Remove OS-specific entries.  Moved to files in
2530         sysdeps.
2531         * sysdeps/mach/hurd/shlib-versions: New file.
2532         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2534         * nptl/shlib-versions: Remove architecture-specific entries.
2535         Moved to files in sysdeps.
2536         * shlib-versions: Likewise.
2537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2538         file.
2539         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2540         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2541         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2542         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2544         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2545         (UDP_NO_CHECK6_RX): Likewise.
2547 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2549         * sysdeps/posix/sysconf.c (__sysconf): Spell
2550         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2552 2014-08-12  Florian Weimer  <fweimer@redhat.com>
2554         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2555         loading.
2556         * iconv/Versions (__gconv_transliterate): Export for use from
2557         gconv modules.
2558         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2559         (struct __gconv_trans_data, __gconv_trans_fct,
2560         __gconv_trans_context_fct, __gconv_trans_query_fct,
2561         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2562         definitions.
2563         (struct __gconv_step_data): Remove __trans member.
2564         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
2565         longer hidden.  Remove unused trans_data argument.
2566         * iconv/gconv_int.h (struct trans_struct): Remove definition.
2567         (__gconv_translit_find): Remove declaration.
2568         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
2569         prototype.
2570         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2571         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2572         trans_data argument.  Add hidden definition.
2573         (__gconv_translit_find): Remove.
2574         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2575         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2576         * iconv/skeleton.c: Remove transliteration initialization.
2577         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2578         __gconv_step_data initialization.
2579         * libio/iofwide.c (__libio_translit_): Remove.
2580         (_IO_fwide): Adjust struct __gconv_step_data initialization.
2581         * wcsmbs/btowc.c (__btowc): Likewise.
2582         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2583         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2584         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2585         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2586         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2587         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2588         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2589         * wcsmbs/wctob.c (wctob): Likewise.
2591 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2593         [BZ #16194]
2594         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2595         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
2596         register usage.
2597         * sysdeps/x86/Makefile: Adjust.
2599 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2600             Roland McGrath  <roland@hack.frob.com>
2602         * locale/weight.h: Add include guard.
2603         (findidx): Make static rather than auto; take new parameters
2604         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2605         * locale/weightwc.h: Likewise.
2606         * posix/fnmatch_loop.c
2607         (FCT): Change type of EXTRA from int32_t to wint_t.
2608         Don't include either header inside the function.
2609         Call FINDIDX rather than findidx, and pass new arguments.
2610         #undef FINDIDX at the end of the file.
2611         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2612         FINDIDX before including fnmatch_loop.c for the non-wide version.
2613         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2614         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2615         for the wide version.
2616         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2617         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2618         Pass new arguments to findidx.
2619         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2620         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2621         Don't #include it inside the function.  Pass new arguments to findidx.
2622         * posix/regex_internal.h
2623         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2624         (re_string_elem_size_at): Don't #include it inside the function.
2625         Pass new arguments to findidx.
2626         * string/strcoll_l.c: #include WEIGHT_H at top level.
2627         (get_next_seq): Don't #include it inside the function.
2628         Pass new arguments to findidx.
2629         (get_next_seq_nocache): Likewise.
2630         * string/strxfrm_l.c: #include WEIGHT_H at top level.
2631         (STRXFRM): Don't #include it inside the function.
2632         Pass new arguments to findidx.
2634 2014-09-11  Florian Weimer  <fweimer@redhat.com>
2636         [BZ #17344]
2637         * malloc/malloc.c (unlink): Turn asserts into a call to
2638         malloc_printerr.
2640 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
2642         [BZ #17370]
2643         * libio/wfileops (do_ftell_wide): Free OUT.
2645 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
2647         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2649 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2651         [BZ #17363]
2652         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2653         group if the current group is empty.
2655 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2657         * benchtests/bench-memset.c (test_main): Add more test from size
2658         from 32 to 512 bytes.
2659         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2660         Add POWER8 memset object.
2661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2662         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2663         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2664         implementation.
2665         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2666         Likewise.
2667         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2668         multiarch POWER8 memset optimization.
2669         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2670         POWER8 memset optimization.
2672         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2673         Remove bzero multiarch objects.
2674         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2675         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2676         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2677         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2678         Remove define.
2679         [__bzero]: Redefine to specific name.
2680         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2681         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2682         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2683         define.
2684         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2685         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2687 2014-09-10  Florian Weimer  <fweimer@redhat.com>
2689         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2690         warnings into errors.
2692         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2693         __cxa_thread_atexit_impl prototype.
2695 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2697         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2698         Fix capitalization of error message.
2700 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2702         * sysdeps/mips/preconfigure: Modify ABI tests.
2704 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
2706         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2708 2014-09-07  Roland McGrath  <roland@hack.frob.com>
2709             Carlos O'Donell  <carlos@systemhalted.org>
2711         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2712         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2713         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2714         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2715         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2716         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2717         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2718         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2719         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2720         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2721         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2722         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2723         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2724         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2725         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2726         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2727         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2728         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2729         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2730         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2731         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2732         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2733         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2734         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2735         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2736         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2737         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2738         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2739         Deconditionalize the code that was previously under [RESET_PID].
2740         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2741         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2742         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2743         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2744         include sysdep.h.
2746 2014-09-08  Allan McRae  <allan@archlinux.org>
2748         * version.h (RELEASE): Set to "development".
2749         (VERSION): Set to "2.20.90"
2751 2014-09-07  Allan McRae  <allan@archlinux.org
2753         * version.h (RELEASE): Set to "stable".
2754         (VERSION): Set to "2.20"
2755         * include/features.h (__GLIBC_MINOR__): Set to 20.
2757         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2758         Liebler.
2760         * po/ko.po: Update Korean translation from translation project.
2762 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
2764         [BZ #17354]
2765         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2766         macro for handling signed relocations.
2768 2014-09-03  Florian Weimer  <fweimer@redhat.com>
2770         [BZ #17325]
2771         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2772         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2773         assert.
2774         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2775         * iconvdata/ibm935.c (BODY): Likewise.
2776         * iconvdata/ibm937.c (BODY): Likewise.
2777         * iconvdata/ibm939.c (BODY): Likewise.
2778         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2779         assert.
2780         * iconvdata/Makefile (iconv-test.out): Pass module list to test
2781         script.
2782         * iconvdata/run-iconv-test.sh: New test loop for checking for
2783         decoder crashers.
2785 2014-09-02  Khem Raj  <raj.khem@gmail.com>
2787         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2788         libm_hidden_ver.
2790 2014-09-01  Allan McRae  <allan@archlinux.org>
2792         * po/eo.po: Update Esperanto translation from translation project.
2794         * po/ca.po: Update Catalan translation from translation project.
2796 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2798         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2799         __proc_dostop call.
2801 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2803         [BZ #17319]
2804         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2805         to call set_thread_area instead of hand written asm.
2806         (__NR_set_thread_area): Removed define.
2807         (TLS_FLAG_WRITABLE): Likewise.
2808         (__ASSUME_SET_THREAD_AREA): Remove check.
2809         (TLS_EBX_ARG): Remove define.
2810         (TLS_LOAD_EBX): Likewise.
2812 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2814         Simplify atomicity of socket creation in bind.
2816         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2817         looking up the name after linking the file.
2819 2014-08-27  Allan McRae  <allan@archlinux.org>
2821         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2823 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2825         [BZ #17187]
2826         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2827         trans_compare, open_translit, __gconv_translit_find):
2828         Remove module loading code.
2830 2014-08-26  Allan McRae  <allan@archlinux.org>
2832         * po/vi.po: Update Vietnamese translation from translation project.
2834         * po/uk.po: Update Ukrainian translation from translation project.
2836         * po/fr.po: Update French translation from translation project.
2838         * po/ru.po: Update Russian translation from translation project.
2840         * po/pl.po: Update Polish translation from translation project.
2842         * po/cs.po: Update Czech translation from translation project.
2844         * po/de.po: Update German translation from translation project.
2846         * po/bg.po: Update Bulgarian translation from translation project.
2848         * po/sv.po: Update Sweedish translation from translation project.
2850         * po/nl.po: Update Dutch translation from translation project.
2852         * po/es.po: Update Spanish translation from translation project.
2854 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2856         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2858         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2859         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2860         (CPPFLAGS-iconvconfig): Likewise.
2861         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2863         * include/libc-symbols.h: Remove unnecessary check for
2864         NOT_IN_libc.
2865         * nptl/pthreadP.h: Likewise.
2866         * sysdeps/aarch64/setjmp.S: Likewise.
2867         * sysdeps/alpha/setjmp.S: Likewise.
2868         * sysdeps/arm/sysdep.h: Likewise.
2869         * sysdeps/i386/setjmp.S: Likewise.
2870         * sysdeps/m68k/setjmp.c: Likewise.
2871         * sysdeps/posix/getcwd.c: Likewise.
2872         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2873         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2874         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2875         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2876         * sysdeps/sh/sh3/setjmp.S: Likewise.
2877         * sysdeps/sh/sh4/setjmp.S: Likewise.
2878         * sysdeps/unix/alpha/sysdep.h: Likewise.
2879         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2880         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2881         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2882         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2887         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2889         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2890         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2891         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2892         * sysdeps/x86_64/setjmp.S: Likewise.
2894 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2896         [BZ #17263]
2897         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2898         <stdint.h>.
2899         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2900         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2902 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2904         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2906         [BZ #17262]
2907         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2908         and __x86_64__ when disabling x87 inline functions.
2910 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2912         [BZ #17259]
2913         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2914         asm statement with __cpuid_count.
2916 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2918         * configure.ac: Change __ehdr_start code to dereference the struct.
2919         Run readelf on the output to look for relocations.
2920         * configure: Regenerated.
2922 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2924         [BZ #17261]
2925         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2926         value to 0.
2927         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2929 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2931         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2933 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2935         [BZ #16892]
2936         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2937         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2939 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2941         * malloc/malloc.c: Fix typo in comment.
2943 2014-08-09  Allan McRae  <allan@archlinux.org>
2945         * Regenerate libc.po.
2947 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2949         * intl/tst-gettext2.sh: Check every lang file for creation.
2951 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2953         * sysdeps/aarch64/fpu/math_private.h
2954         (libc_feholdsetround_noex_aarch64_ctx): New function.
2956 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2958         * sysdeps/arm/armv6/strcpy.S (strcpy):
2959         Fix performance issue in misaligned cases.
2961 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2963         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2964         Move definition from termios.h.
2965         (struct termio): Likewise.
2966         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2967         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2968         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2969         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2970         Likewise.
2971         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2972         Move definition to ioctl-types.h
2973         (struct termio): Likewise.
2974         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2975         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2976         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2977         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2978         Likewise.
2980 2014-08-05  Richard Henderson  <rth@redhat.com>
2982         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2983         exceptions.
2984         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2985         Add fraiseexcpt.
2986         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2987         Use __feraiseexcept.
2988         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2989         Protect libm symbols with IS_IN_libm.
2991         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2993 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2995         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2997 2014-08-04  Will Newton  <will.newton@linaro.org>
2999         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3000         file.
3002 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
3004         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3005         variants for each function.
3007 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3009         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3010         appended ...
3011         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3012         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3013         appended ...
3014         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3015         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3016         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3017         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3018         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3019         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3020         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3021         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3022         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3023         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3024         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3025         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3026         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3027         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3028         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3029         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3030         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3031         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3032         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3033         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3034         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3035         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3036         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3037         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3038         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3039         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3040         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3041         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3042         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3043         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3044         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3045         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3046         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3047         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3048         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3049         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3050         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3051         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3052         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3053         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3054         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3055         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3056         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3057         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3058         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3059         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3060         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3061         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3062         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3063         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3064         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3065         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3066         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3067         Update #include.
3068         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3069         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3071 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3073         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3074         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3075         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3076         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3077         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3078         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3080 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3082         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3083         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3084         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3085         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3087 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3089         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3090         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3091         (__libc_vfork): Define function under this name.
3092         (__vfork): Define as an alias.
3093         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3094         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3096 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3098         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3099         that was previously under [RESET_PID].
3100         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3102 2014-08-04  Andreas Schwab  <schwab@suse.de>
3104         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3106 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
3108         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3109         (main): Likewise.
3111 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3113         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3115 2014-08-01  Richard Henderon  <rth@redhat.com>
3117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3118         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3119         typo in exact zero test.
3120         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3121         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3122         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3124 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3126         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3127         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3128         * sysdeps/arm/sysdep.h: ... here.
3129         [!__ASSEMBLER__]: Include <stdint.h>.
3131 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3133         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3134         (HAVE_WCTYPE_H): Likewise.
3135         (HAVE_ISWCTYPE): Likewise.
3136         (ENABLE_NLS): Likewise.
3137         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3138         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3140         * posix/regex_internal.c: Check if DEBUG is defined and is
3141         set.
3143         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3144         (HAVE_MBSRTOWCS): Likewise.
3145         * posix/fnmatch.c: Include string.h unconditionally.
3147 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3149         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3150         reversal.
3152 2014-07-31  Roland McGrath  <roland@hack.frob.com>
3154         * sysdeps/generic/safe-fatal.h: New file.
3155         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3156         * nptl/forward.c: Include it.
3157         (__pthread_unwind): Use __safe_fatal as default action, rather
3158         than a bogus use of INTERNAL_SYSCALL that could never work.
3160         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3161         * configure.ac (libc_cv_builtin_trap): New test.
3162         * configure: Regenerated.
3163         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3164         (ABORT_INSTRUCTION): Define using __builtin_trap.
3166         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3167         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3168         * sysdeps/nptl/nptl-signals.h: New file.
3169         * nptl/pthreadP.h: Include <nptl-signals.h>.
3171 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3173         * sysdeps/s390/s390-64/utf16-utf32-z9.c
3174         (ONE_DIRECTION): Define.
3175         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3176         (ONE_DIRECTION): Define.
3177         * sysdeps/s390/s390-64/utf8-utf32-z9.c
3178         (ONE_DIRECTION): Define.
3180 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3182         * sysdeps/s390/Makefile: Delete file.
3183         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3184         * sysdeps/s390/__longjmp.c: Delete file.
3185         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3186         Remove fields __flags and __reserved.
3187         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3188         and add versioning.
3189         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3190         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3191         * sysdeps/s390/rtld-setjmp.S: Likewise.
3192         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3193         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3194         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3195         * sysdeps/s390/s390-32/setjmp.S: ... here.
3196         Add versioning.
3197         (__sigsetjmp): Remove setting __flags field.
3198         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3199         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3200         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3201         * sysdeps/s390/s390-64/setjmp.S: ... here.
3202         Add versioning.
3203         (__sigsetjmp): Remove setting __flags field.
3204         * sysdeps/s390/setjmp.S: Delete file.
3205         * sysdeps/s390/sigjmp.c: Likewise.
3206         * sysdeps/s390/v1-longjmp.c: Likewise.
3207         * sysdeps/s390/v1-setjmp.h: Likewise.
3208         * sysdeps/s390/v1-sigjmp.c: Likewise.
3209         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3210         Remove v1-longjmp_chk.
3211         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3212         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3213         Include debug/longjmp_chk.c and add versioning.
3214         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3215         Include nptl/pt-longjmp.c and add versioning.
3216         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3217         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3218         Include __longjmp.c.
3219         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3220         Move to ...
3221         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3222         (__getcontext): Remove setting __flags field.
3223         Add versioning.
3224         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3225         Don't restore upper high grps.
3226         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3227         Likewise.
3228         (__swapcontext): Remove setting uc_flags field.
3229         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3230         Delete file.
3231         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3232         Include __longjmp.c.
3233         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3234         Move to ...
3235         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3236         (__getcontext): Remove setting __flags field.
3237         Add versioning.
3238         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3239         (__swapcontext): Remove setting uc_flags field.
3240         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3241         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3242         Remove fields uc_high_gprs and __reserved.
3243         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3244         New file with reverted content.
3245         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3246         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3247         Regenerated.
3248         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3249         Regenerated.
3251 2014-07-31  Andreas Schwab  <schwab@suse.de>
3253         * config.h.in (HAVE_IFUNC): Define to 0.
3254         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3255         definedness.
3257 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3260         memmove-avx-unaligned, memcpy-avx-unaligned and
3261         mempcpy-avx-unaligned.
3262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3263         Add tests for AVX memcpy functions.
3264         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3265         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3266         memcpy_chk.
3267         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3268         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3269         memmove_chk.
3270         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3271         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3272         mempcpy_chk.
3273         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3274         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3275         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3277 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3279         [BZ #17213]
3280         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3281         powerpc64le.
3283 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3285         [BZ #16839]
3286         * manual/llio.texi: Add section about open file description locks.
3287         * manual/examples/ofdlocks.c: Example of open file description
3288         lock usage.
3289         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3290         F_OFD_SETLK, and F_OFD_SETLKW.
3292 2014-07-23  Allan McRae  <allan@archlinux.org>
3294         * po/es.po: Update Spanish translation from translation project.
3296 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3298         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3300 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3302         [BZ #17078]
3303         * sysdeps/arm/dl-machine.h (elf_machine_rela)
3304         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3305         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3307 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
3309         [BZ #17088]
3310         * math/fesetenv.c (__fesetenv)
3311         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3312         * math/feupdateenv.c (__feupdateenv)
3313         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3315         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3316         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3317         (__ASSUME_SOCKETCALL): Do not define.
3319         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3320         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3321         (__ASSUME_SOCKETCALL): Do not define.
3322         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3323         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3324         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3325         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3326         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3327         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3328         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3329         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3331         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3332         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3333         (__ASSUME_SOCKETCALL): Do not define.
3334         (__ASSUME_IPC64): Define unconditionally.
3335         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3336         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3337         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3338         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3339         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3340         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3341         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3342         Likewise.
3344         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3345         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3346         (__ASSUME_SOCKETCALL): Do not define.
3347         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3348         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3349         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3350         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3351         (__ASSUME_REQUEUE_PI): Define unconditionally.
3352         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3353         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3354         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3355         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3356         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3357         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3359         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3360         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3361         (__ASSUME_SOCKETCALL): Do not define.
3362         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3364         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3365         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3366         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3367         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3369         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3370         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3371         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3372         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3373         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3374         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3375         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3376         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3377         (__ASSUME_GETCPU_SYSCALL): Likewise.
3379         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3380         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
3381         cases for individual architectures.
3382         * sysdeps/gnu/configure: Regenerated.
3383         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3384         LIBC_SLIBDIR_RTLDDIR.
3385         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3386         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3387         LIBC_SLIBDIR_RTLDDIR.
3388         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3390         LIBC_SLIBDIR_RTLDDIR.
3391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3392         Regenerated.
3393         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3394         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3395         file.
3396         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3397         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3398         file.
3399         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3400         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3401         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3402         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3404         * sysdeps/aarch64/shlib-versions: Move to ...
3405         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3406         * sysdeps/alpha/shlib-versions: Move to ...
3407         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3408         * sysdeps/arm/shlib-versions: Move to ...
3409         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3410         * sysdeps/hppa/shlib-versions: Move all contents except for
3411         libgcc_s entry to ...
3412         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
3413         entry from ...
3414         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
3415         * sysdeps/ia64/shlib-versions: Move to ...
3416         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
3417         entry from ...
3418         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
3419         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3420         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3421         * sysdeps/microblaze/shlib-versions: Move to ...
3422         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3423         * sysdeps/mips/shlib-versions: Move to ...
3424         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
3425         entry from ...
3426         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
3427         * sysdeps/tile/shlib-versions: Move to ...
3428         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3429         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3430         from ...
3431         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
3432         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3433         entry from ...
3434         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
3436 2014-07-17  Will Newton  <will.newton@linaro.org>
3438         * sysdeps/arm/bits/atomic.h
3439         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3440         (__arch_compare_and_exchange_bool_16_int): Likewise.
3441         (__arch_compare_and_exchange_bool_64_int): Likewise.
3443         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3444         into an #else block.
3446 2014-07-16  Roland McGrath  <roland@hack.frob.com>
3448         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3449         just Linux configurations.  Test empirically that the compiler sets
3450         __ARM_EABI__, rather than using the tuple to decide.
3451         * sysdeps/arm/preconfigure: Regenerated.
3452         * sysdeps/unix/sysv/linux/arm/configure: File removed.
3453         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3454         contents appended ...
3455         * sysdeps/arm/configure.ac: ... here.
3456         * sysdeps/arm/configure: Regenerated.
3458 2014-07-15  Roland McGrath  <roland@hack.frob.com>
3460         * nptl/pthread_kill.c: New file.
3461         * nptl/pthread_sigmask.c: New file.
3462         * nptl/pthread_sigqueue.c: New file.
3464         * sysdeps/nptl/lowlevellock.h: New file.
3465         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3466         * sysdeps/nptl/lowlevellock-futex.h: New file.
3468         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3469         Remove dead declarations.
3471 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
3473         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3474         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3475         config-cflags-avx2.
3476         * sysdeps/x86_64/configure.ac: Likewise.
3477         * sysdeps/i386/configure: Regenerated.
3478         * sysdeps/x86_64/configure: Likewise.
3479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3480         memset-avx2 only if config-cflags-avx2 is yes.
3481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3482         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3483         defined.
3484         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3485         only if HAVE_AVX2_SUPPORT is defined.
3486         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3488 2014-07-14  Alan Modra  <amodra@gmail.com>
3490         [BZ #17153]
3491         * elf/elf.h (DT_PPC64_NUM): Correct value.
3492         * NEWS: Add to fixed bug list.
3494 2014-07-13  Jim Meyering  <meyering@fb.com>
3496         [BZ 17150]
3497         regex: don't deref NULL upon heap allocation failure
3498         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3499         failure in one more place.
3500         To trigger the segfault, configure grep -with-included-regex,
3501         build it, and run these commands:
3502         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3504 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3506         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3508 2014-07-11  Richard Henderson  <rth@redhat.com>
3510         * sysdeps/aarch64/libm-test-ulps: Update.
3512 2014-07-10  Florian Weimer  <fweimer@redhat.com>
3514         [BZ #17135]
3515         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3516         * nptl/allocatestack.c (__nptl_setxid_error): New function.
3517         (__nptl_setxid): Initialize error member.  Call
3518         __nptl_setxid_error.
3519         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3520         * nptl/descr.h (struct xid_command): Add error member.
3521         * nptl/tst-setuid3.c: New file.
3522         * nptl/Makefile (tests): Add it.
3524 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3526         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3527         New define.
3528         (__lll_trylock): Use __lll_base_trylock.
3529         (__lll_cond_trylock): Likewise.
3531 2014-07-10  Roland McGrath  <roland@hack.frob.com>
3533         * nptl/pthread_create.c (start_thread): Use atomic_or and
3534         lll_futex_wake directly rather than lll_robust_dead.
3535         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3536         (lll_robust_dead): Macro removed.
3537         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3538         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3539         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3540         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3541         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3542         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3543         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3544         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3545         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3546         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3547         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3548         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3549         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3550         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3553         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3554         Use atomic_compare_and_exchange_val_acq directly rather than
3555         lll_robust_trylock.
3556         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3557         (__lll_robust_trylock, lll_robust_trylock): Removed.
3558         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3559         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3560         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3561         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3562         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3563         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3564         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3565         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3566         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3567         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3568         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3569         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3570         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3571         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3573 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3575         * manual/locale.texi (Locale Names): New section documenting
3576         locale name syntax.  Adjust menu and node chaining accordingly.
3577         (Choosing Locale): Reference Locale Names, Locale Categories.
3578         Mention setting LC_ALL=C.  Reflect that name syntax is now
3579         documented.
3580         (Locale Categories): New section title.  Reference Locale Names.
3581         LC_ALL is an environment variable, but not a category.
3582         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3583         description, now in Locale Name.  Reference that section.  Locale
3584         name syntax is now documented.
3586 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3588         [BZ #17137]
3589         * locale/findlocale.c (name_present, valid_locale_name): New
3590         functions.
3591         (_nl_find_locale): Use the loc_name variable to store name
3592         candidates.  Call name_present and valid_locale_name to check and
3593         validate locale names.  Return an error if the locale is invalid.
3595 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3597         * locale/setlocale.c (setlocale): Use strdup for allocating
3598         composite name copy.
3600 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3602         Sync up with gnulib.
3603         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3604         [!_LIBC && ENABLE_NLS]: Include gettext.h.
3605         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3606         and _GL_ARG_NONNULL.
3607         [USE_UNLOCKED_IO]: Include unlocked-io.h.
3608         [!_LIBC]: Include code for Windows and Cygwin.
3609         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3610         Include prototype for int strerror_r.
3611         [!_LIBC] (is_open): New function.
3612         (flush_stdout): New function.
3613         (print_errno_message): Use it.
3614         (error): Likewise.
3615         (error_at_line): Likewise.
3616         (error_tail) Add function attribute macros.  Use
3617         __builtin_expect.
3619         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3621         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3623         * io/ftw.c: Include sys/param.h unconditionally.
3625         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3627         [BZ #17125]
3628         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3629         libc_freeres_ptr.
3630         (freecache): New function to free CACHE on exit.
3632         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3633         initialization.
3635 2014-07-09  David S. Miller  <davem@davemloft.net>
3637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3639         * sysdeps/sparc/nptl/internaltypes.h: Delete.
3640         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3641         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3642         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3643         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3644         * sysdeps/sparc/nptl/sem_init.c: Likewise.
3645         * sysdeps/sparc/nptl/sem_post.c: Likewise.
3646         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3647         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3648         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3649         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3650         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3651         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3653 2014-07-09  Andreas Schwab  <schwab@suse.de>
3655         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3656         output.
3657         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3658         (do_test): Likewise.
3660         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3662 2014-07-09  Will Newton  <will.newton@linaro.org>
3664         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3665         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3666         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3667         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3668         * sysdeps/hppa/start.S (_start): Likewise.
3670 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3672         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3674         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3675         defined.
3677 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3679         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3680         after checking that it is non-NULL.
3682         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3684 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3686         * sysdeps/powerpc/memmove.c: Remove file.
3687         * sysdeps/powerpc/powerpc32/power4/memcopy.h
3688         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3689         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3690         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3691         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3692         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3693         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3694         string memmove instead of removed powerpc one.
3696         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3697         [weak_alias]: Fix compiler warning due trailing data.
3698         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3699         [weak_alias]: Likewise.
3700         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3701         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3704         (__libc_ifunc_impl_list): Add memmove functions.
3706 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3708         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3709         Remove code.
3710         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3711         Likewise
3712         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3713         Likewise
3714         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3715         Likewise
3716         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3717         Likewise
3718         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3719         Likewise
3720         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3721         Likewise
3722         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3723         Likewise
3724         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3725         Likewise
3726         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3727         Likewise
3728         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3729         Likewise
3730         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3731         Likewise
3732         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3733         Likewise
3734         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3735         Likewise
3736         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3737         Likewise
3738         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3739         Likewise
3740         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3741         Likewise
3743 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3745         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3746         to avoid alignment traps in non-cacheable memory.
3747         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3750         multiarch objects.
3751         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3752         file: multiarch power7 memmove.
3753         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3754         multiarch default memmove.
3755         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3756         multiarch memove for powerpc32/power4.
3758         * string/bcopy.c: Use full path to include memmove.c.
3759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3760         multiarch objects.
3761         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3762         bcopy for powerpc64.
3763         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3764         bcopy for powerpc64.
3765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3766         and memmove implementations.
3767         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3768         optimized multiarch memmove for POWER7/powerpc64.
3769         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3770         default multiarch memmove for powerpc64.
3771         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3772         multiarch for powerpc64.
3773         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3774         for POWER7/powerpc64.
3775         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3776         memmove for POWER7/powerpc64.
3778         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3779         glibc default one.
3781         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3782         __ELF_NATIVE_CLASS equal to 64.
3784 2014-07-07  Roland McGrath  <roland@hack.frob.com>
3786         * sysdeps/nptl/lowlevellock.h: File removed.
3788         * NEWS: NPTL is no longer an add-on!
3789         * nptl/internaltypes.h: Moved ...
3790         * sysdeps/nptl/internaltypes.h: ... here.
3791         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3792         * sysdeps/nptl/fork.c: Likewise.
3793         * sysdeps/nptl/gai_misc.h: Likewise.
3794         * sysdeps/nptl/librt-cancellation.c: Likewise.
3795         * sysdeps/nptl/jmp-unwind.c: Likewise.
3796         * sysdeps/nptl/setxid.h: Likewise.
3797         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3798         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3799         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3800         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3801         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3802         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3803         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3804         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3805         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3806         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3807         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3808         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3809         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3810         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3811         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3812         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3813         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3814         * nptl/Makeconfig: Moved ...
3815         * sysdeps/nptl/Makeconfig: ... here.
3816         * nptl/configure: File removed.
3817         * nptl/ANNOUNCE: File removed.
3818         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3819         * sysdeps/unix/sysv/linux/configure: Regenerated.
3821         * nptl/Makefile (routines): Add libc_pthread_init,
3822         libc_multiple_threads, register-atfork and unregister-atfork.
3823         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3824         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3825         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3826         pthread-pi-defines.sym, structsem.sym.
3827         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3828         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3829         [$(subdir) = nptl] (tests): Add tst-setgetname.
3830         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3831         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3832         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3833         [!LIBC_SIGACTION]: Remove aliases.
3834         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3835         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3836         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3837         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3838         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3839         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3840         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3841         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3842         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3843         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3844         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3845         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3846         __libc_allocate_rtsig_private.
3847         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3848         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3849         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3850         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3851         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3852         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3853         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3854         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3855         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3856         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3857         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3858         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3859         * nptl/internaltypes.h: ... here.
3860         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3861         * sysdeps/nptl/jmp-unwind.c: ... here.
3862         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3863         * nptl/libc-lowlevellock.c: ... here.
3864         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3865         * nptl/libc_multiple_threads.c: ... here.
3866         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3867         * nptl/libc_pthread_init.c: ... here.
3868         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3869         * nptl/lowlevelbarrier.sym: ... here.
3870         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3871         * nptl/lowlevelcond.sym: ... here.
3872         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3873         * nptl/lowlevellock.c: ... here.
3874         * nptl/lowlevellock.h: Moved ...
3875         * sysdeps/nptl/lowlevellock.h: ... here.
3876         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3877         * nptl/lowlevelrobustlock.c: ... here.
3878         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3879         * nptl/lowlevelrobustlock.sym: ... here.
3880         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3881         * nptl/lowlevelrwlock.sym: ... here.
3882         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3883         * nptl/pt-fork.c: ... here.
3884         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3885         * nptl/pthread-pi-defines.sym: ... here.
3886         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3887         * nptl/pthread_attr_getaffinity.c: ... here.
3888         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3889         * nptl/pthread_attr_setaffinity.c: ... here.
3890         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3891         * nptl/pthread_mutex_cond_lock.c: ... here.
3892         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3893         Update #include.
3894         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3895         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3896         * nptl/pthread_once.c: ... here, replacing old file.
3897         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3898         * nptl/pthread_yield.c: ... here.
3899         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3900         * nptl/register-atfork.c: ... here.
3901         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3902         * nptl/sem_post.c: ... here.
3903         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3904         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3905         * nptl/sem_timedwait.c: ... here.
3906         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3907         * nptl/sem_trywait.c: ... here.
3908         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3909         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3910         * nptl/sem_wait.c: ... here.
3911         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3912         * nptl/structsem.sym: ... here.
3913         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3914         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3915         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3916         * nptl/unregister-atfork.c: ... here.
3917         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3918         * nptl/unwindbuf.sym: ... here.
3919         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3920         * sysdeps/nptl/fork.c: ... here.
3921         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3922         * sysdeps/nptl/fork.h: ... here.
3923         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3924         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3925         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3926         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3927         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3928         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3929         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3930         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3931         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3932         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3933         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3934         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3935         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3936         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3937         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3938         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3939         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3940         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3941         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3942         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3943         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3944         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3945         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3946         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3947         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3948         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3949         * sysdeps/unix/sysv/linux/raise.c: ... here.
3950         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3951         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3952         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3953         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3954         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3955         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3956         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3957         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3958         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3959         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3960         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3961         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3962         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3963         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3964         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3966 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3968         * sysdeps/generic/memcopy.h: Add comment for
3969         MEMCPY_OK_FOR_FWD_MEMMOVE.
3971 2014-07-04  Will Newton  <will.newton@linaro.org>
3973         * string/memchr.c: Merge from gnulib.
3974         [_LIBC]: Remove conditionals.
3975         (__ptr_t): Remove define.
3976         (LONG_MAX_32_BITS): Likewise.
3977         (LONG_MAX): Likewise.
3978         (MEMCHR): Use ANSI prototype and optimize algorithm.
3980         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3982 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3984         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3985         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3987         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3988         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3989         in a bare environment with no <stdlib.h> installed.
3990         * sysdeps/nptl/configure: Regenerated.
3992         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3994         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3995         AC_EGREP_CPP for kernel header checks, so they only succeed if
3996         including <linux/version.h> actually works right.
3997         * sysdeps/unix/sysv/linux/configure: Regenerated.
3999         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4000         value so it's not diagnosed as unused.
4002         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4003         thing) with "ifeq ($(subdir),rt)".
4005 2014-07-03  Richard Henderson  <rth@redhat.com>
4007         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4008         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4009         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4011         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4012         (math_force_eval): New.
4014         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4015         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4017         * sysdeps/alpha/fpu/s_round.c: Remove file.
4018         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4020         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4021         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4022         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4023         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4024         (_dl_start, print_statistics): Likewise.
4025         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4026         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4028         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4029         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4030         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4031         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4032         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4033         (HP_SMALL_TIMING_AVAIL): Define.
4034         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4035         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4036         (HP_SMALL_TIMING_AVAIL): Define.
4037         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4038         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4040         * sysdeps/aarch64/hp-timing.h: New file.
4042         * sysdeps/generic/hp-timing.h: Remove dead comment.
4043         * sysdeps/generic/hp-timing-common.h: New file.
4044         * sysdeps/alpha/hp-timing.h: Include it.
4045         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4046         * sysdeps/i386/i686/hp-timing.h: Likewise.
4047         * sysdeps/ia64/hp-timing.h: Likewise.
4048         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4049         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4050         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4051         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4052         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4053         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4054         (hp_timing_t): New.
4056         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4057         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4058         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4059         * elf/rtld.c (_dl_start_final): Likewise.
4060         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4061         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4062         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4063         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4064         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4065         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4066         (HP_TIMING_DIFF_INIT): Remove.
4067         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4068         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4069         (HP_TIMING_DIFF_INIT): Remove.
4070         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4071         * sysdeps/i386/i686/hp-timing.c: Remove file.
4072         * sysdeps/x86_64/hp-timing.c: Remove file.
4073         * sysdeps/ia64/hp-timing.c: Remove file.
4074         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4075         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4076         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4077         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4079         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4080         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4081         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4082         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4083         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4084         (HP_TIMING_ACCUM): Remove.
4085         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4086         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4087         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4089         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4090         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4091         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4092         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4093         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4094         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4095         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4096         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4098         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4100 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
4102         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4104 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4106         Sync up with gettext.
4107         * intl/loadmsgcat.c: Define O_BINARY if not defined.
4108         [_MSC_VER]: Include malloc.h
4109         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4110         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4111         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
4112         TEMP_FAILURE_RETRY.  Cast return of alloca.
4113         [!_LIBC] Call gl_rwlock_init.
4114         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4116 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4118         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4119         before checking its value.
4121 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4123         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4125         * debug/memcpy_chk.c: Don't include pagecopy.h.
4126         * debug/mempcpy_chk.c: Likewise.
4127         * string/memcpy.c: Likewise.
4128         * string/memmove.c: Likewise.
4129         * sysdeps/powerpc/memmove.c: Likewise.
4130         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
4131         definition of PAGE_COPY_FWD_MAYBE here...
4132         * sysdeps/generic/pagecopy.h: ... from here.
4133         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4135 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4136             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4138         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4140         optimizations.
4141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4142         (__libc_ifunc_impl_list): Likewise.
4143         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4144         multiarch strcat for PPC64.
4145         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4146         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4148 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4150         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4152 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4154         * intl/loadmsgcat.c: Remove declaration of
4155         get_sysdep_segment_value.
4156         (get_sysdep_segment_value): Use ISO C style.
4157         (_nl_load_domain): Use ISO C style.  Get rid of redundant
4158         semicolon.  Fix typo and formatting in comment.
4159         (_nl_unload_domain): Use ISO C style.
4161         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4163 2014-07-02  Will Newton  <will.newton@linaro.org>
4165         * malloc/obstack.c: Merge from gnulib master.
4166         [HAVE_CONFIG_H]: Remove conditional code.
4167         [!_LIBC]: Include config.h.
4168         [!ELIDE_CODE]: Don't include inttypes.h, include
4169         stdint.h unconditionally.
4170         (print_and_abort): Mark as _Noreturn.
4171         (_obstack_allocated_p): Mark as __attribute_pure__.
4172         (obstack_free): Rename to __obstack_free.
4173         [!__attribute__]: Remove conditional code.
4174         * malloc/obstack.h: Merge from gnulib master.
4175         [__cplusplus]: Move conditional down.
4176         [!__attribute_pure__]: Define __attribute_pure__ here
4177         if it is not already defined.
4178         (_obstack_memory_used): Mark as __attribute_pure__.
4179         [!__obstack_free]: Define as obstack_free.
4180         [__GNUC__]: Remove check for ancient NeXT gcc.
4182 2014-07-02  Will Newton  <will.newton@linaro.org>
4183             Paul Eggert  <eggert@cs.ucla.edu>
4185         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4187 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4189         * resolv/gethnamaddr.c: Add comment warning that the file is
4190         not maintained.
4192 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4194         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4195         entries.
4197         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4198         entry for aio_cancel and aio_cancel64.
4199         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4200         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4201         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4202         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4203         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4204         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4205         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4206         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4207         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4208         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4209         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4210         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4211         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4213 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4215         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4216         * nptl/pthread_mutex_lock.c: Likewise.
4217         * nptl/pthread_mutex_timedlock.c: Likewise.
4218         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4220 2014-07-01  Richard henderson  <rth@redhat.com>
4222         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4223         (__isnan, __isnanl): Remove.
4224         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4226         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4228 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4230         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4232 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4234         * resolv/nss_dns/dns-host.c (getanswer_r)
4235         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4237 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4239         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4240         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4241         undefine.
4242         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4243         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4245 2014-07-01  Roland McGrath <roland@hack.frob.com>
4247         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4248         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4250         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4251         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4253         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4254         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4255         ... here.
4256         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4257         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4259         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4260         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4261         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4262         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4264         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4265         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4266         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4267         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4268         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4269         Moved ...
4270         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4271         ... here.
4272         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4273         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4274         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4275         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4276         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4277         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4278         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4279         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4280         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4281         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4282         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4283         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4284         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4285         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4286         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4287         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4288         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4289         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4290         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4291         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4292         ... here.
4293         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4294         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4295         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4296         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4297         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4298         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4299         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4300         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4302 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
4304         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4305         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4306         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4307         Add sysdep.
4309 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4313 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4315         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4316         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4318         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4320         * sysdeps/arm/libm-test-ulps: Regenerated.
4322 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4323             Roland McGrath <roland@hack.frob.com>
4325         * test-skeleton.c (signal_handler): Kill the whole process group
4326         before killing the child individually.
4327         (main): Report any failure on `setpgid'.
4329 2014-06-30  Roland McGrath  <roland@hack.frob.com>
4331         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4332         from _TLS_H to _ARM_NPTL_TLS_H.
4333         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4334         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4336 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4338         [BZ #16539]
4339         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4340         (__expm1l): Return argument unchanged when small but not
4341         subnormal.
4343         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4344         include macro name.
4345         (_FP_UNPACK_RAW_1_P): Likewise.
4346         (_FP_PACK_RAW_1): Likewise.
4347         (_FP_PACK_RAW_1_P): Likewise.
4348         (_FP_MUL_MEAT_1_wide): Likewise.
4349         (_FP_MUL_MEAT_DW_1_hard): Likewise.
4350         (_FP_MUL_MEAT_1_hard): Likewise.
4351         (_FP_DIV_MEAT_1_imm): Likewise.
4352         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4353         (_FP_DIV_MEAT_1_udiv): Likewise.
4354         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4355         (_FP_UNPACK_RAW_2): Likewise.
4356         (_FP_UNPACK_RAW_2_P): Likewise.
4357         (_FP_PACK_RAW_2): Likewise.
4358         (_FP_PACK_RAW_2_P): Likewise.
4359         (_FP_MUL_MEAT_DW_2_wide): Likewise.
4360         (_FP_MUL_MEAT_2_wide): Likewise.
4361         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4362         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4363         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4364         (_FP_MUL_MEAT_2_gmp): Likewise.
4365         (_FP_DIV_MEAT_2_udiv): Likewise.
4366         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4367         (_FP_FRAC_SRL_4): Likewise.
4368         (_FP_FRAC_SRST_4): Likewise.
4369         (_FP_FRAC_SRS_4): Likewise.
4370         (_FP_UNPACK_RAW_4): Likewise.
4371         (_FP_UNPACK_RAW_4_P): Likewise.
4372         (_FP_PACK_RAW_4): Likewise.
4373         (_FP_PACK_RAW_4_P): Likewise.
4374         (_FP_MUL_MEAT_DW_4_wide): Likewise.
4375         (_FP_MUL_MEAT_4_wide): Likewise.
4376         (_FP_MUL_MEAT_4_gmp): Likewise.
4377         (umul_ppppmnnn): Likewise.
4378         (_FP_DIV_MEAT_4_udiv): Likewise.
4379         (__FP_FRAC_ADD_4): Likewise.
4380         (__FP_FRAC_SUB_3): Likewise.
4381         (__FP_FRAC_SUB_4): Likewise.
4382         (__FP_FRAC_DEC_3): Likewise.
4383         (__FP_FRAC_DEC_4): Likewise.
4384         (__FP_FRAC_ADDI_4): Likewise.
4385         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4386         (_FP_FRAC_SRL_8): Likewise.
4387         (_FP_FRAC_SRS_8): Likewise.
4389         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4390         include macro name.
4391         (FP_UNPACK_RAW_EP): Likewise.
4392         (FP_PACK_RAW_E): Likewise.
4393         (FP_PACK_RAW_EP): Likewise.
4394         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4395         (_FP_ISSIGNAN): Likewise.
4396         (_FP_ADD_INTERNAL): Likewise.
4397         (_FP_FMA): Likewise.
4398         (_FP_CMP): Likewise.
4399         (_FP_SQRT): Likewise.
4400         (_FP_TO_INT): Likewise.
4401         (_FP_FROM_INT): Likewise.
4402         (FP_EXTEND): Likewise.
4403         (_FP_DIV_MEAT_N_loop): Likewise.
4405 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4407         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4408         throughout.
4410 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
4412         [BZ #17097]
4413         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4414         result with correct sign in case of exponents that produce
4415         overflow except for X very close to 1.
4417 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
4419         mktime: merge #if/#ifdef usage from glibc
4420         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4421         as that works with both Glibc's and Gnulib's style.
4422         See thread starting at Siddhesh Poyarekar's bug report at:
4423         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4425 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4427         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4428         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4429         * sysdeps/tile/tilegx/memmove.c: Remove file.
4431 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4433         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4434         abi-name definition.
4435         * scripts/soversions.awk: Do not handle or generate ABI lines.
4436         * shlib-versions: Remove ABI entries.
4437         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4438         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4440 2014-06-27  Roland McGrath  <roland@hack.frob.com>
4442         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4443         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4444         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4445         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4447         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4449         Moved ...
4450         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4451         ... here.
4452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4453         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4455         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4457         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4459         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4460         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4463         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4465         Moved ...
4466         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4468         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4470         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4472         Moved ...
4473         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4475         Moved ...
4476         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4478         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4480         Moved ...
4481         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4483         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4485         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4487         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4488         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4489         Moved ...
4490         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4491         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4492         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4493         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4494         Moved ...
4495         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4496         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4497         Moved ...
4498         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4499         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4500         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4501         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4502         Moved ...
4503         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4504         ... here.
4505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4506         Identical file removed.
4507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4508         Moved ...
4509         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4510         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4511         Identical file removed.
4512         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4513         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4515         Moved ...
4516         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4517         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4518         Identical file removed.
4519         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4520         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4522         Identical file removed.
4523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4524         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4525         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4526         Identical file removed.
4527         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4528         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4529         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4530         Identical file removed.
4531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4532         Moved ...
4533         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4534         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4535         Identical file removed.
4536         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4537         Moved ...
4538         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4539         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4540         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4541         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4542         Identical file removed.
4543         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4544         Moved ...
4545         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4546         ... here.
4547         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4548         Identical file removed.
4549         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4550         Moved ...
4551         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4552         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4553         Identical file removed.
4554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4555         Moved ...
4556         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4557         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4558         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4559         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4560         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4561         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4562         Moved ...
4563         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4564         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4565         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4567         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4568         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4569         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4570         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4571         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4573 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
4575         [BZ #17092]
4576         * nscd/nscd.c (monitor_child): Return exit status of child
4577         instead of return value from wait syscall.
4579 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4581         * configure.ac (libc_commonpagesize): Remove variable.
4582         (libc_relro_required): Likewise.
4583         (libc_cv_z_relro): Remove configure test.
4584         * configure: Regenerated.
4585         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4586         variable.
4587         (libc_relro_required): Likewise.
4588         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4589         (libc_relro_required): Likewise.
4590         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4591         (libc_relro_required): Likewise.
4592         * sysdeps/arm/preconfigure: Regenerated.
4593         * sysdeps/ia64/preconfigure: Remove file.
4594         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4595         variable.
4596         (libc_relro_required): Likewise.
4598         [BZ #16561]
4599         [BZ #16562]
4600         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4601         (__ieee754_yn): Set FE_TONEAREST mode internally and then
4602         recompute overflowing results in original rounding mode.
4603         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4604         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4605         recompute overflowing results in original rounding mode.
4606         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4607         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4608         recompute overflowing results in original rounding mode.
4609         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4610         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4611         recompute overflowing results in original rounding mode.
4612         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4613         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4614         recompute overflowing results in original rounding mode.
4615         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4616         (libc_feholdsetround_ctx): New macro.
4617         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4618         * sysdeps/i386/fpu/libm-test-ulps: Update.
4619         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4621 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4623         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4624         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4625         corresponding .cpsetup call.
4627 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4629         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4630         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4631         * sysdeps/arm/Makefile [$(subdir) = csu]
4632         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4633         (static-only-routines): Add aeabi_read_tp here.
4634         (shared-only-routines): Add libc-aeabi_read_tp here.
4635         (CFLAGS-libc-start.c): Add -fexceptions here.
4636         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4637         (sysdep_routines, static-only-routines, shared-only-routines):
4638         Don't add to these here.
4639         (CFLAGS-libc-start.c): Likewise.
4641         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4642         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4643         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4644         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4645         * sysdeps/arm/Makefile [$(subdir) = rt]
4646         (librt-sysdep_routines, librt-shared-only-routines):
4647         Append rt-aeabi_unwind_cpp_pr1 here.
4648         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4649         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4650         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4651         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4652         Append nptl-aeabi_unwind_cpp_pr1 here.
4653         (tests): Filter out tst-cleanupx4 here.
4654         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4655         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4656         Don't do those here.
4658 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4660         * scripts/list-sources.sh: Do not handle ports specially.
4662 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4664         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4665         * sysdeps/arm/feupdateenv.c: Likewise.
4667         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4669 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4671         * manual/texinfo.tex: Update to version 2014-05-05.10 with
4672         trailing whitespace removed.
4673         * scripts/config.guess: Update to version 2014-03-23.
4674         * scripts/config.sub: Update to version 2014-05-01
4675         * scripts/install-sh: Update to version 2013-12-25.23.
4676         * scripts/move-if-change: Update from gnulib.
4678 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4680         * debug/memmove_chk.c: Remove pagecopy.h include.
4682 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
4684         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
4685         identical to gnulib mktime.
4687 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4689         * configure.ac: Do not test for machine being rs6000.  Do not test
4690         for powerpc*-*soft.
4691         * configure: Regenerated.
4693         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4694         test.
4695         * configure: Regenerated.
4696         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4697         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4698         Remove configure test.
4699         * sysdeps/arm/configure: Regenerated.
4700         * sysdeps/nptl/configure.ac: Do not check
4701         libc_cv_asm_cfi_directives.
4702         * sysdeps/nptl/configure: Regenerated.
4703         * sysdeps/x86_64/nptl/configure.ac: Remove file.
4704         * sysdeps/x86_64/nptl/configure: Remove generated file.
4705         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4706         unconditional.
4707         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4709 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4711         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4712         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4713         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4714         it is defined.
4716         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4717         instead of whether it is defined.
4718         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4719         * sysdeps/hppa/dl-machine.h: Likewise.
4720         * sysdeps/ia64/dl-machine.h: Likewise.
4721         * sysdeps/m68k/dl-machine.h: Likewise.
4722         * sysdeps/microblaze/dl-machine.h: Likewise.
4723         * sysdeps/mips/dl-machine.: Likewise.
4724         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4725         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4726         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4727         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4728         * sysdeps/sh/dl-machine.h: Likewise.
4729         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4730         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4731         * sysdeps/tile/dl-machine.h: Likewise.
4732         * sysdeps/x86_64/dl-machine.h: Likewise.
4734         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4735         code.
4736         (verify_persistent_db): Likewise.
4738 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4741         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4743         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4745         Moved ...
4746         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4747         ... here.
4748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4749         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4751         Identical file removed.
4752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4753         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4755         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4757         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4759         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4761         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4763         Moved ...
4764         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4766         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4768         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4770         Moved ...
4771         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4773         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4775         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4777         Identical file removed.
4778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4779         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4781         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4783         Moved ...
4784         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4785         ... here.
4786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4787         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4789         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4791         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4793         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4795         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4797         Moved ...
4798         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4800         Moved ...
4801         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4803         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4805         Moved ...
4806         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4808         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4810         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4811         folded into ...
4812         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4813         * sysdeps/unix/sysv/linux/s390/Versions
4814         (libpthread: GLIBC_2.19): New version set.
4815         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4816         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4817         (librt: GLIBC_2.3.3): New version set.
4818         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4819         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4820         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4821         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4822         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4823         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4824         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4825         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4826         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4827         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4828         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4829         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4830         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4831         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4832         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4833         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4834         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4835         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4836         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4837         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4838         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4839         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4840         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4841         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4842         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4843         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4844         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4845         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4846         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4847         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4848         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4849         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4850         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4853         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4854         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4855         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4856         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4857         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4858         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4859         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4860         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4861         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4862         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4864         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4865         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4866         (__libc_vfork): Define the function under this name.
4867         [!NOT_IN_libc] (__vfork): Make this an alias.
4868         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4870         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4871         (__libc_vfork): Define the function under this name.
4872         [!NOT_IN_libc] (__vfork): Make this an alias.
4873         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4874         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4875         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4877         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4878         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4880         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4881         code that was previously under [RESET_PID].
4882         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4883         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4886         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4887         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4888         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4889         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4890         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4891         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4892         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4893         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4894         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4895         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4896         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4897         Moved ...
4898         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4899         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4900         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4901         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4902         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4903         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4904         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4905         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4906         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4907         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4908         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4909         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4910         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4911         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4912         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4913         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4914         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4915         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4916         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4917         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4918         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4919         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4920         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4921         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4922         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4923         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4924         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4925         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4926         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4928 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4930         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4931         that was previously under [RESET_PID].
4932         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4934 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4936         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4937         not undefine and redefine.
4938         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4939         [O_CLOEXEC]: Make code unconditional.
4940         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4941         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4942         <kernel-features.h>.
4943         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4944         conditional variable definition.
4945         (shm_open) [O_CLOEXEC]: Make code unconditional.
4946         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4947         code.
4949         * configure.ac (USE_REGPARMS): Don't define here.
4950         * configure: Regenerated.
4951         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4952         * sysdeps/i386/configure: Regenerated.
4954         * nptl/createthread.c: Don't include kernel-features.h.
4955         * nptl/pthread_cancel.c: Likewise.
4956         * nptl/pthread_condattr_setclock.c: Likewise.
4957         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4958         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4959         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4960         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4961         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4962         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4963         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4964         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4965         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4966         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4967         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4968         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4969         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4970         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4971         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4972         * nscd/gai.c: Likewise.
4973         * nss/nss_db/db-open.c: Likewise.
4974         * sysdeps/generic/ldsodefs.h: Likewise.
4975         * sysdeps/sh/nptl/tls.h: Likewise.
4976         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4977         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4978         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4979         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4980         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4981         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4982         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4983         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4984         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4985         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4986         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4987         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4988         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4989         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4990         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4991         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4992         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4993         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4994         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4995         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4996         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4997         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4998         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4999         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5000         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5002         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5004         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5005         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5006         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5007         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5008         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5009         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5010         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5011         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5012         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5013         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5014         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5015         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5016         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5017         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5018         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5019         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5020         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5021         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5022         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5023         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5024         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5025         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5026         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5027         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5028         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5029         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5030         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5031         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5032         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5033         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5056         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5057         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5058         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5059         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5060         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5061         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5062         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5063         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5064         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5065         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5066         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5067         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5068         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5069         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5070         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5071         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5072         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5073         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5074         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5075         * sysdeps/unix/sysv/linux/system.c: Likewise.
5076         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5077         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5078         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5079         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5080         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5081         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5082         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5084         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5085         * configure: Regenerated.
5086         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5088         * configure.ac (base_machine): Do not set specially for particular
5089         machines here.
5090         * configure: Regenerated.
5091         * sysdeps/powerpc/preconfigure: Move machine and base_machine
5092         settings from configure.ac.
5093         * sysdeps/i386/preconfigure: New file.
5094         * sysdeps/s390/preconfigure: Likewise.
5095         * sysdeps/sh/preconfigure: Likewise.
5096         * sysdeps/sparc/preconfigure: Likewise.
5098 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5100         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5101         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5102         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5103         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5104         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5105         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5106         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5107         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5108         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5109         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5110         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5111         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5112         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5113         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5114         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5115         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5116         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5117         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5118         * sysdeps/sparc/sparc64/Makefile: ... appended here.
5120         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5121         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5122         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5123         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5124         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5125         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5126         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5127         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5128         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5129         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5130         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5131         * sysdeps/sparc/sparc32/sem_post.c: ... here.
5132         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5133         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5134         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5135         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5136         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5137         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5138         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5139         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5140         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5141         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5142         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5143         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5144         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5145         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5146         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5147         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5148         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5149         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5150         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5151         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5152         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5153         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5154         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5155         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5156         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5157         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5160         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5162         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5164         Moved ...
5165         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5166         ... here.
5167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5168         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5170         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5172         Moved ...
5173         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5175         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5177         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5179         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5181         Moved ...
5182         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5184         Moved ...
5185         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5187         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5189         Moved ...
5190         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5192         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5194         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5196         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5198         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5200         Moved ...
5201         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5202         ... here.
5203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5204         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5206         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5208         Moved ...
5209         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5211         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5213         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5215         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5217         Moved ...
5218         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5220         Moved ...
5221         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5223         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5225         Moved ...
5226         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5228         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5230         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5232 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5234         * timezone/checktab.awk: Update from tzcode 2014e.
5235         * timezone/private.h: Likewise.
5236         * timezone/tzfile.h: Likewise.
5237         * timezone/zdump.c: Likewise.
5238         * timezone/zic.c: Likewise.
5240         * sysdeps/unix/sysv/linux/kernel-features.h
5241         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5242         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5243         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5244         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5245         Remove conditional code.
5247 2014-06-25  Will Newton  <will.newton@linaro.org>
5249         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5250         (_dl_arm_cap_flags): Add HWCAP2 values.
5251         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5252         (_DL_HWCAP_COUNT): Increase to 37.
5253         (_DL_HWCAP_LAST): New define.
5254         (_DL_HWCAP2_LAST): New define.
5255         (_dl_procinfo): Add support for printing
5256         AT_HWCAP2 entries.
5257         (_dl_string_hwcap): Use _dl_hwcap_string.
5259 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5263 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5265         * README: Do not mention ports directory.
5267         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5268         Remove macro.
5269         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5270         <kernel-features.h>.
5271         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5272         conditional variable definition.
5273         (__futimes): Update comment.
5274         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5275         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5277         [BZ #16560]
5278         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5279         arguments close to 0.
5280         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5281         Likewise.
5282         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5283         Likewise.
5284         * math/auto-libm-test-in: Add more tests of exp10.
5285         * math/auto-libm-test-out: Regenerated.
5286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5288         * sysdeps/unix/sysv/linux/kernel-features.h
5289         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5290         * sysdeps/unix/sysv/linux/readv.c: Do not include
5291         <kernel-features.h>.
5292         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5293         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5294         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5295         unconditional.
5296         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5297         conditional code.
5298         * sysdeps/unix/sysv/linux/writev.c: Do not include
5299         <kernel-features.h>.
5300         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5301         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5302         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5303         unconditional.
5304         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5305         conditional code.
5307 2014-06-25  Will Newton  <will.newton@linaro.org>
5309         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5310         comment changes throughout the file.  Remove checks
5311         for HAVE_*_H definitions that are not required.
5312         (__gen_tempname): Call abort if an unknown kind value is
5313         passed.
5315 2014-06-25  Andreas Schwab  <schwab@suse.de>
5317         [BZ #17086]
5318         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5319         scalbln, scalblnf, scalblnl in libc.
5321 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5323         [BZ #17086]
5324         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5325         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5326         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5328 2014-06-24  Roland McGrath  <roland@hack.frob.com>
5330         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5331         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5332         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5333         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5334         Update #include.
5335         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5336         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5337         Update #include.
5338         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5339         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5340         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5341         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5342         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5343         * sysdeps/x86/bits/pthreadtypes.h: ... here.
5344         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5345         * sysdeps/x86/bits/semaphore.h: ... here.
5346         * sysdeps/x86/nptl/elide.h: Moved ...
5347         * sysdeps/x86/elide.h: ... here.
5348         * sysdeps/x86_64/nptl/Implies: File removed.
5349         * sysdeps/i386/nptl/Implies: File removed.
5351 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
5353         [BZ #16539]
5354         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5355         return the argument for normal arguments with exponent below -64.
5356         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5357         Likewise.
5358         * math/auto-libm-test-in: Add another test of expm1.
5359         * math/auto-libm-test-out: Regenerated.
5361         [BZ #16287]
5362         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5363         calling __erfcl for arguments at least 16.
5364         * math/auto-libm-test-in: Add more tests of erf.
5365         * math/auto-libm-test-out: Regenerated.
5367         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5368         individual architectures.
5369         * sysdeps/unix/sysv/linux/configure: Regenerated.
5370         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5371         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5372         * sysdeps/unix/sysv/linux/powerpc/configure.ac
5373         (ldd_rewrite_script): Define variable.
5374         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5376         file.
5377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5378         generated file.
5379         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5380         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5381         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5382         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5383         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5384         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5385         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5386         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5388 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5390         [BZ #17084]
5391         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5392         Rename member __data.d to __data.__elision_data.
5394 2014-06-24  Wilco  <wdijkstr@arm.com>
5396         * NEWS: Add 16918 to fixed bug list.
5398 2014-06-24  Wilco  <wdijkstr@arm.com>
5400         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5402 2014-06-24  Wilco  <wdijkstr@arm.com>
5404         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5405         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5406         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5407         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5408         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5409         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5410         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5411         Use _FPU_MASK_RM.
5413 2014-06-24  Wilco  <wdijkstr@arm.com>
5415         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5417 2014-06-24  Wilco  <wdijkstr@arm.com>
5419         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5420         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5421         * sysdeps/arm/fesetround.c (fesetround): Remove space.
5422         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5424 2014-06-24  Wilco  <wdijkstr@arm.com>
5426         [BZ #16918]
5427         * sysdeps/arm/feupdateenv.c (feupdateenv):
5428         Rewrite to reduce FPSCR accesses and fix return value.
5430 2014-06-24  Wilco  <wdijkstr@arm.com>
5432         * sysdeps/arm/fclrexcpt.c (feclearexcept):
5433         Optimize to avoid unnecessary FPSCR writes.
5434         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5435         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5436         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5437         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5439 2014-06-24  Wilco  <wdijkstr@arm.com>
5441         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5442         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5443         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5444         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5445         Call libc_fetestexcept_vfp.
5446         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5447         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5448         __SOFTFP__ ifdef so that they can be built for softfp.
5450 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5452         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5453         argument type signed char.
5455         * Makerules (check-abi): Dump diff of symlist if the test
5456         fails.
5458 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5460         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5461         using abort.
5463         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5464         Remove unused variable ST.
5466 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5468         [BZ #16354]
5469         [BZ #17061]
5470         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5471         small arguments before calling __expm1.
5472         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5473         small arguments before calling __expm1f.
5474         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5475         small arguments before calling __expm1l.
5476         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5477         Likewise.
5478         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5479         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
5480         spurious underflow for some cosh tests.
5481         * math/auto-libm-test-out: Regenerated.
5482         * sysdeps/i386/fpu/libm-test-ulps: Update.
5484         [BZ #17050]
5485         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5486         (__ieee754_y1): Set errno if return value overflows.
5487         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5488         (__ieee754_y1f): Set errno if return value overflows.
5489         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5490         (__ieee754_y1l): Set errno if return value overflows.
5491         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5492         (__ieee754_y1l): Set errno if return value overflows.
5493         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5494         * math/auto-libm-test-out: Regenerated.
5496         * math/gen-auto-libm-tests.c: Document use of
5497         ignore-zero-inf-sign.
5498         (input_flag_type): Add value flag_ignore_zero_inf_sign.
5499         (input_flags): Add ignore-zero-inf-sign.
5500         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5501         * math/gen-libm-test.pl (generate_testfile): Handle
5502         ignore-zero-inf-sign.
5503         * math/auto-libm-test-in: Mark some cpow tests with
5504         ignore-zero-inf-sign and some with xfail-rounding.
5505         * math/auto-libm-test-out: Regenerated.
5506         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5507         * sysdeps/i386/fpu/libm-test-ulps: Update.
5508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5510         [BZ #16315]
5511         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5512         overflowing or underflowing operations take place with sign of
5513         result.
5514         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5515         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5516         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5517         (__ieee754_pow): Recompute overflowing and underflowing results in
5518         original rounding mode.
5519         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5520         (__powl_helper): Allow negative argument X and scale negated value
5521         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
5522         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5523         overflowing or underflowing operations take place with sign of
5524         result.
5525         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5526         Include <math.h>.
5527         * math/auto-libm-test-in: Add more tests of pow.
5528         * math/auto-libm-test-out: Regenerated.
5529         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5530         (pow_tonearest_test_data): Remove.
5531         (pow_test_tonearest): Likewise.
5532         (pow_towardzero_test_data): Likewise.
5533         (pow_test_towardzero): Likewise.
5534         (pow_downward_test_data): Likewise.
5535         (pow_test_downward): Likewise.
5536         (pow_upward_test_data): Likewise.
5537         (pow_test_upward): Likewise.
5538         (main): Don't call removed functions.
5539         * sysdeps/i386/fpu/libm-test-ulps: Update.
5540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5542 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5545         Moved ...
5546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5548         Moved ...
5549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5551         Moved ...
5552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5554         Moved ...
5555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5557         File removed.
5558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5559         File removed.
5560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5561         File removed.
5562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5563         File removed.
5564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5565         File removed.
5566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5567         File removed.
5568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5569         File removed.
5570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5571         File removed.
5572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5573         File removed.
5574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5575         File removed.
5576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5577         File removed.
5578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5579         File removed.
5580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5581         Moved ...
5582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5584         Moved ...
5585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5586         ... here.
5587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5588         Moved ...
5589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5591         Moved ...
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5594         Moved ...
5595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5597         Moved ...
5598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5600         Moved ...
5601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5603         Moved ...
5604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5606         Moved ...
5607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5610         ... here.
5611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5612         Moved ...
5613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5615         Moved ...
5616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5617         ... here.
5618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5619         Moved ...
5620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5621         ... here.
5622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5623         Moved ...
5624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5625         ... here.
5626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5627         Moved ...
5628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5630         Moved ...
5631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5635         Moved ...
5636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5637         ... here.
5638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5639         Moved ...
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5641         ... here.
5642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5643         Moved ...
5644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5646         Moved ...
5647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5649         Moved ...
5650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5652         Moved ...
5653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5655         Moved ...
5656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5657         ... here.
5658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5659         Moved ...
5660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5662         Moved ...
5663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5665         Moved ...
5666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5668         Moved ...
5669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5673         Moved ...
5674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5676         Moved ...
5677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5679         Moved ...
5680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5681         ... here.
5682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5683         Moved ...
5684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5685         ... here.
5686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5687         Moved ...
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5689         ... here.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5691         Moved ...
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5694         Moved ...
5695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5697         Moved ...
5698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5700         Moved ...
5701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5702         ... here.
5703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5704         Moved ...
5705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5706         ... here.
5707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5708         Moved ...
5709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5710         ... here.
5711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5712         Moved ...
5713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5715         Moved ...
5716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5718 2014-06-23  Will Newton  <will.newton@linaro.org>
5719             Wilco  <wdijkstr@arm.com>
5721         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5722         implementation.  Include get-rounding-mode.h.
5723         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5724         [!libc_feholdsetround_noex_ctx]: Define
5725         libc_feholdsetround_noex_ctx.
5726         [!libc_feholdsetround_noexf_ctx]: Define
5727         libc_feholdsetround_noexf_ctx.
5728         [!libc_feholdsetround_noexl_ctx]: Define
5729         libc_feholdsetround_noexl_ctx.
5730         (libc_feholdsetround_ctx): New function.
5731         (libc_feresetround_ctx): New function.
5732         (libc_feholdsetround_noex_ctx): New function.
5733         (libc_feresetround_noex_ctx): New function.
5735 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5737         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5738         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5739         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5740         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5741         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5742         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5744         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5745         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5746         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5747         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5748         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5749         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5750         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5751         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5753         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5754         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5755         Moved ...
5756         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5757         ... here.
5758         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5759         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5760         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5761         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5762         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5763         Moved ...
5764         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5765         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5766         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5767         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5768         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5769         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5770         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5771         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5772         Moved ...
5773         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5775         Moved ...
5776         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5777         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5778         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5779         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5780         Moved ...
5781         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5782         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5783         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5784         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5785         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5786         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5787         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5788         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5789         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5790         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5791         Moved ...
5792         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5793         ... here.
5794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5795         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5796         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5797         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5798         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5799         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5800         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5801         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5802         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5803         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5804         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5805         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5806         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5807         Moved ...
5808         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5809         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5810         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5811         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5812         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5813         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5814         Moved ...
5815         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5817         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5818         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5819         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5821         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5822         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5823         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5824         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5825         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5826         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5827         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5828         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5830         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5831         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5832         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5833         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5834         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5835         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5836         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5837         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5838         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5839         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5840         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5841         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5842         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5843         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5844         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5845         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5846         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5847         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5848         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5850 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5852         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5853         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5854         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5855         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5856         (IPV6_PMTUDISC_INTERFACE): Likewise.
5857         (IPV6_PMTUDISC_OMIT): Likewise.
5859 2014-06-23  Andreas Schwab  <schwab@suse.de>
5861         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5862         Remove unused errout label.
5864 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5866         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5867         macro: hardware supports Vector Crypto instructions.
5869 2014-06-23  Will Newton  <will.newton@linaro.org>
5871         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5872         rather than __builtin_expect.
5874         * elf/dl-lookup.c (undefined_msg): Remove variable.
5875         (_dl_lookup_symbol_x): Replace undefined_msg with string
5876         literal.
5878         * elf/dl-lookup.c (do_lookup_unique): New function.
5879         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5880         to a separate function.
5882 2014-06-23  Andreas Schwab  <schwab@suse.de>
5884         [BZ #17079]
5885         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5886         before reading the next line.
5888 2014-06-23  Will Newton  <will.newton@linaro.org>
5890         * test-skeleton.c (signal_handler): Use printf and %m
5891         rather than perror.  Use printf rather than fprintf to
5892         stderr.  Use puts rather than fputs to stderr.
5893         (main): Likewise.
5895 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5897         * nscd/nscd.c (thread_info_t): Remove typedef.
5898         (thread_info): Remove variable.
5900 2014-06-21  Allan McRae  <allan@archlinux.org>
5902         * NEWS: Mention CVE-2014-4043.
5904 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5906         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5907         * nptl/smp.h: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5911         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5912         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5913         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5914         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5916         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5917         * nptl/stack-aliasing.h: New file.
5918         * sysdeps/i386/i686/stack-aliasing.h: New file.
5919         * sysdeps/i386/i686/nptl/Makefile: File removed.
5920         * sysdeps/x86_64/stack-aliasing.h: New file.
5921         * sysdeps/x86_64/nptl/Makefile
5922         (CFLAGS-pthread_create.c): Variable removed.
5924         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5925         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5926         old file.
5927         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5928         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5929         old file.
5931 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5933         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5934         (__ASSUME_SIGFRAME_V2): Remove macro.
5935         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5936         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5937         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5938         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5939         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5940         Declare as function.  Remove conditional macro definitions.
5941         (__default_rt_sa_restorer): Likewise.
5942         (__default_sa_restorer_v1): Remove declaration.
5943         (__default_sa_restorer_v2): Likewise.
5944         (__default_rt_sa_restorer_v1): Likewise.
5945         (__default_rt_sa_restorer_v2): Likewise.
5946         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5947         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5948         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5950 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5952         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5953         (libpthread-routines): Add sysdep.
5954         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5955         * sysdeps/unix/sysv/linux/sparc/Versions
5956         (libpthread: GLIBC_2.3.3): New version set.
5957         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5958         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5959         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5960         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5961         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5962         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5963         Moved ...
5964         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5966         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5968         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5969         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5970         * sysdeps/sparc/nptl/sem_init.c: ... here.
5971         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5972         * sysdeps/sparc/nptl/sem_post.c: ... here.
5973         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5974         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5975         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5976         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5978         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5979         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5980         (libpthread-routines): Add cpu_relax.
5981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5982         File removed.
5983         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5984         (librt: GLIBC_2.3.3): New version set.
5985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5986         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5987         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5988         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5991         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5993         Moved ...
5994         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5996         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5998         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6000         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6002         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6004         Moved ...
6005         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6006         Update #include.
6007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6008         Moved ...
6009         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6010         Update #include.
6011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6012         Moved ...
6013         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6014         Update #include.
6015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6016         Moved ...
6017         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6018         Update #include.
6019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6020         Moved ...
6021         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6022         Update #include.
6023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6024         Moved ...
6025         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6026         Update #include.
6027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6028         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6030         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6034         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6036         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6038         Moved ...
6039         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6041         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6043         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6045 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6047         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6048         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6049         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6050         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6051         * nscd/nscd.c: Likewise.
6052         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6053         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6054         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6055         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6057         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6058         <kernel-features.h>.
6059         (init_mq_netlink): Remove conditional have_sock_cloexec
6060         definitions.  Remove code conditional on have_sock_cloexec < 0.
6061         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6062         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6063         * sysdeps/unix/sysv/linux/opensock.c: Do not include
6064         <kernel-features.h>.
6065         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6066         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6068 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6071         Add tests for memset_chk and memset.
6073         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6074         with AVX2_Usable.
6076 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6078         [BZ #16046]
6079         * elf/tst-dl-iter-static.c: New file.
6080         * elf/Makefile (tests-static): Add tst-dl-iter-static.
6082         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6083         error.
6085 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6087         * sysdeps/unix/sysv/linux/kernel-features.h
6088         (__ASSUME_F_GETOWN_EX): Remove macro.
6089         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6090         <kernel-features.h>.
6091         (miss_F_GETOWN_EX): Remove variable or macro.
6092         (do_fcntl): Do not check miss_F_GETOWN_EX.
6093         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6095         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6096         Remove macro.
6097         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6098         [!__ASSUME_AT_RANDOM]: Remove conditional code.
6099         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6101         * sysdeps/unix/sysv/linux/kernel-features.h
6102         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6103         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6104         [ADJ_OFFSET_SS_READ]: Make code unconditional.
6105         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6107 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6109         [BZ #17075]
6110         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6111         Fix calculation of the symbol's value.
6112         * sysdeps/arm/tst-armtlsdescloc.c: New file.
6113         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6114         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6115         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6116         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6117         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6118         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6119         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6120         (modules-names): Add `tst-armtlsdescmod',
6121         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6122         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6123         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6124         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6125         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6126         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6127         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6128         ($(objpfx)tst-armtlsdescloc): New dependency.
6129         ($(objpfx)tst-armtlsdescextnow): Likewise.
6130         ($(objpfx)tst-armtlsdescextlazy): Likewise.
6131         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6132         TLS scheme support.
6133         * sysdeps/arm/configure: Regenerate.
6135 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6137         * include/fcntl.h (__atfct_seterrno): Remove prototype.
6138         (__atfct_seterrno_2): Likewise.
6139         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6140         <kernel-features.h>.
6141         (__ASSUME_ATFCTS): Do not undefine and redefine.
6142         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6143         (__have_atfcts): Remove conditional definition.
6144         (__fxstatat([__NR_fstatat64]: Make code unconditional.
6145         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6146         unreachable if [__ASSUME_ATFCTS].
6147         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6148         not undefine and redefine.
6149         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6150         <kernel-features.h>.
6151         (faccessat) [__NR_faccessat]: Make code unconditional.
6152         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6153         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6154         <kernel-features.h>.
6155         (fchmodat) [__NR_fchmodat]: Make code unconditional.
6156         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6157         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6158         <kernel-features.h>.
6159         (fchownat) [__NR_fchownat]: Make code unconditional.
6160         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6161         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6162         <kernel-features.h>.
6163         (futimesat) [__NR_futimesat]: Make code unconditional.
6164         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6165         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6166         <kernel-features.h>.
6167         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6168         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6169         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6170         <kernel-features.h>.
6171         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6172         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6173         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6174         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6175         <kernel-features.h>.
6176         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6177         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6178         * sysdeps/unix/sysv/linux/linkat.c: Do not include
6179         <kernel-features.h>.
6180         (linkat) [__NR_linkat]: Make code unconditional.
6181         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6182         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6183         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6184         <kernel-features.h>.
6185         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6186         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6187         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6188         <kernel-features.h>.
6189         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6190         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6191         * sysdeps/unix/sysv/linux/openat.c: Do not include
6192         <kernel-features.h>.
6193         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6194         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6195         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6196         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6197         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6198         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6199         <kernel-features.h>.
6200         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6201         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6202         result of INLINE_SYSCALL directly, not via int variable.
6203         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6204         <kernel-features.h>.
6205         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6206         (renameat) [__NR_renameat]: Make code unconditional.
6207         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6208         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6209         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6210         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6211         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6212         (__ASSUME_ATFCTS): Do not undefine and redefine.
6213         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6214         <kernel-features.h>.
6215         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6216         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6217         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6218         <kernel-features.h>.
6219         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6220         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6221         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6222         (__ASSUME_ATFCTS): Do not undefine and redefine.
6223         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6224         <kernel-features.h>.
6225         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6226         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6227         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6228         <kernel-features.h>.
6229         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6230         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6232 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6234         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6236 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6238         [BZ #17069]
6239         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6240         constructed tree before returning error.
6241         * posix/bug-regexp36.c: Expand test case.
6243 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6245         [BZ #6803]
6246         * math/libm-test.inc (scalbln_test_date):
6247         Add errno expectations.
6248         * math/w_scalblnf.c: New File.
6249         Add wrapper which checks for setting errno to ERANGE.
6250         Add weak_alias for corresponding scalbln function.
6251         * math/w_scalbln.c: Likewise.
6252         * math/w_scalblnl.c: Likewise.
6253         * math/Makefile (libm-calls): Add w_scalbln.
6254         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6255         Remove weak_alias for corresponding scalbln function.
6256         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6257         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6258         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6259         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6260         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6261         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6262         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6263         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6264         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6265         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6266         Remove long_double_symbol for scalblnl function in libm, libc.
6267         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6268         Add wrapper which checks for setting errno to ERANGE.
6269         Add long_double_symbol for scalblnl function in libm, libc.
6270         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6271         Remove long_double_symbol for scalblnl in libm.
6272         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6273         Add wrapper which checks for setting errno to ERANGE.
6274         Add long_double_symbol for scalblnl function in libm.
6275         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6276         Do not use wrapper because of own implementation.
6278 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6280         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6281         3 bytes for __pad1 for x32.
6282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6284 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6285             H.J. Lu  <hongjiu.lu@intel.com>
6287         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6288         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6289         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6290         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6291         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6293 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6295         [BZ #17069]
6296         * posix/regcomp.c (parse_expression): Deallocate partially
6297         constructed tree before returning error.
6298         * posix/Makefile.c (tests): Add bug-regex36.
6299         (generated): Add bug-regex36.mtrace.
6300         (tests-special): Add $(objpfx)bug-regex36-mem.out
6301         (bug-regex36-ENV): New variable.
6302         ($(objpfx)bug-regex36-mem.out): New rule.
6303         * posix/bug-regex36.c: New file.
6305 2014-06-19  Will Newton  <will.newton@linaro.org>
6307         * malloc/malloc.c (systrim): If extra is zero then return
6308         early.
6310 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6312         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6314 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6316         * sysdeps/aarch64/strchr.S: New file.
6318 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6320         [BZ #17022]
6321         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6322         from arguments -2 or below.
6323         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6324         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6326 2014-06-18  Andreas Schwab  <schwab@suse.de>
6328         [BZ #17062]
6329         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6330         of a bracket expr not to run off the end of the string.
6331         * posix/Makefile (tests): Add tst-fnmatch3.
6332         * posix/tst-fnmatch3.c: New file.
6334 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6336         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6337         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6338         [$(cross-compiling) = no]: Likewise.
6339         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6340         [$(cross-compiling) = no]: Likewise.
6342 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6344         [BZ #17031]
6345         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6346         double, adjusted for any remainder from the high double.
6347         * math/libm-test.inc (nearbyint): Add tests.
6348         (rint): Likewise.
6350 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6352         * nptl/sysdeps/powerpc/Makefile: Moved ...
6353         * sysdeps/powerpc/nptl/Makefile: ... here.
6354         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6355         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6356         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6357         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6358         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6359         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6360         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6361         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6362         * nptl/sysdeps/powerpc/tls.h: Moved ...
6363         * sysdeps/powerpc/nptl/tls.h: ... here.
6365 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
6367         [BZ #16681]
6368         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6369         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6370         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6371         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6372         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6373         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6374         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6375         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6376         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6378 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
6380         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6382 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
6384         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6385         defined operator.
6387         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6388         $TIMEOUTFACTOR.
6390 2014-06-16  Florian Weimer  <fweimer@redhat.com>
6392         [BZ #17058]
6393         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6394         non-executed part of the test.
6396 2014-06-16  Andreas Schwab  <schwab@suse.de>
6398         * string/bits/string2.h (strdup, strndup): Update feature guard.
6400 2014-06-14  David S. Miller  <davem@davemloft.net>
6402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6404 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
6406         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6407         that was previously under [RESET_PID].
6408         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6410         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6411         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6412         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6413         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6414         (__libc_vfork): New strong alias.
6415         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6417 2014-06-14 Andi Kleen  <ak@linux.intel.com>
6419         * sysdeps/generic/elide.h: New file.
6421 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6423         * Makefile (installed-headers): Adjust path of pthread.h header.
6425 2014-06-13  Roland McGrath  <roland@hack.frob.com>
6427         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6428         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6429         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6430         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6432         * nptl/sysdeps/s390/Makefile: Moved ...
6433         * sysdeps/s390/nptl/Makefile: ... here.
6434         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6435         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6436         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6437         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6438         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6439         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6440         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6441         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6442         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6443         * sysdeps/s390/nptl/pthreaddef.h: ... here.
6444         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6445         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6446         * nptl/sysdeps/s390/tls.h: Moved ...
6447         * sysdeps/s390/nptl/tls.h: ... here.
6449         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6450         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6452 2014-06-13  David S. Miller  <davem@davemloft.net>
6454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6457         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6461         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6462         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6463         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6464         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6465         Remove RESET_PID cpp guards.
6466         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6467         Remove RESET_PID cpp guards.
6468         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6470 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
6472         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6473         __sp to uintptr_t.
6475 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6477         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6478         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6479         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6480         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6481         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6482         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6483         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6484         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6485         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6486         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6487         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6488         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6489         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6490         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6491         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6492         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6493         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6494         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6495         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6496         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6498         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6499         (pthread_rwlock_rdlock): Add elision.
6500         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6501         (pthread_rwlock_wrlock): Add elision.
6502         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6503         (pthread_rwlock_trywrlock): Add elision.
6504         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6505         (pthread_rwlock_tryrdlock): Add elision.
6506         * nptl/pthread_rwlock_unlock.c: Include elide.h.
6507         (pthread_rwlock_tryrdlock): Add elision unlock.
6508         * nptl/sysdeps/pthread/pthread.h:
6509         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6510         (PTHREAD_RWLOCK_INITIALIZER,
6511         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6512         Handle new elision field.
6513         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6514         * sysdeps/arm/nptl/bits/pthreadtypes.h
6515         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6516         * sysdeps/sh/nptl/bits/pthreadtypes.h
6517         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6518         * sysdeps/tile/nptl/bits/pthreadtypes.h
6519         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6520         * sysdeps/a/nptl/bits/pthreadtypes.h
6521         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6522         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6524         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6526         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6527         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6528         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6529         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6530         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6532         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6534         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6535         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6536         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6538         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6539         (elision_init): Set try_xbegin to zero when no RTM.
6540         * sysdeps/x86/nptl/bits/pthreadtypes.h
6541         (pthread_rwlock_t): Change __pad1 to __rwelision.
6542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6544 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6546         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6547         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6548         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6549         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6551 2014-06-13  Meador Inge  <meadori@codesourcery.com>
6553         [BZ #16996]
6554         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6555         that the cached result has been set before returning it.
6557 2014-06-12  Roland McGrath  <roland@hack.frob.com>
6559         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6560         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6561         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6562         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6563         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6564         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6566         * nptl/sysdeps/sparc/Makefile: Moved ...
6567         * sysdeps/sparc/nptl/Makefile: ... here.
6568         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6569         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6570         * nptl/sysdeps/sparc/tls.h: Moved ...
6571         * sysdeps/sparc/nptl/tls.h: ... here.
6572         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6573         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6574         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6575         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6576         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6577         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6578         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6579         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6580         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6581         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6582         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6583         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6584         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6585         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6586         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6587         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6588         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6589         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6590         Update #include.
6591         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6592         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6593         Update #include.
6594         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6595         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6596         Update #include.
6597         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6598         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6599         Update #include.
6601         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6603         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6604         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6606         * sysdeps/pthread/posix-timer.h: Include <list.h>.
6607         (struct list_links): Type removed.
6608         (struct thread_node, struct timer_node): Replace struct list_links
6609         with struct list_head.
6610         (list_unlink_ip): Likewise.
6611         * sysdeps/pthread/timer_routines.c
6612         (timer_free_list, thread_free_list, thread_active_list): Likewise.
6613         (list_append, list_insbefore): Likewise.
6614         (list_init): Function removed.
6615         (thread_init, init_module): Use INIT_LIST_HEAD instead.
6616         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6617         * sysdeps/pthread/Makefile: ... here, new file.
6619         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6620         * sysdeps/nptl/Implies: ... here.
6621         * sysdeps/unix/sysv/linux/Implies: Add nptl.
6622         * nptl/sysdeps/pthread/list.h: Moved ...
6623         * include/list.h: ... here.
6624         * nptl/sysdeps/pthread/createthread.c: Moved ...
6625         * nptl/createthread.c: ... here.
6626         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6627         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6628         * nptl/pt-longjmp.c: ... here.
6629         * nptl/sysdeps/pthread/Makefile: Moved ...
6630         * sysdeps/nptl/Makefile: ... here.
6631         * nptl/sysdeps/pthread/Subdirs: Moved ...
6632         * sysdeps/nptl/Subdirs: ... here.
6633         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6634         * sysdeps/nptl/aio_misc.h: ... here.
6635         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6636         * sysdeps/nptl/bits/libc-lock.h: ... here.
6637         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6638         * sysdeps/nptl/bits/libc-lockP.h: ... here.
6639         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6640         * sysdeps/nptl/bits/stdio-lock.h: ... here.
6641         * nptl/sysdeps/pthread/configure: Moved ...
6642         * sysdeps/nptl/configure: ... here.
6643         * nptl/sysdeps/pthread/configure.ac: Moved ...
6644         * sysdeps/nptl/configure.ac: ... here.
6645         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6646         * sysdeps/nptl/gai_misc.h: ... here.
6647         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6648         * sysdeps/nptl/librt-cancellation.c: ... here.
6649         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6650         * sysdeps/nptl/malloc-machine.h: ... here.
6651         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6652         * sysdeps/nptl/pthread-functions.h: ... here.
6653         * nptl/sysdeps/pthread/pthread.h: Moved ...
6654         * sysdeps/nptl/pthread.h: ... here.
6655         * nptl/sysdeps/pthread/setxid.h: Moved ...
6656         * sysdeps/nptl/setxid.h: ... here.
6657         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6658         * sysdeps/nptl/sigfillset.c: ... here.
6659         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6660         * sysdeps/nptl/tcb-offsets.h: ... here.
6661         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6662         * sysdeps/nptl/tst-mqueue8x.c: ... here.
6663         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6664         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6665         * nptl/sysdeps/pthread/allocalim.h: Moved ...
6666         * sysdeps/pthread/allocalim.h: ... here.
6667         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6668         * sysdeps/pthread/bits/sigthread.h: ... here.
6669         * nptl/sysdeps/pthread/flockfile.c: Moved ...
6670         * sysdeps/pthread/flockfile.c: ... here.
6671         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6672         * sysdeps/pthread/ftrylockfile.c: ... here.
6673         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6674         * sysdeps/pthread/funlockfile.c: ... here.
6675         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6676         * sysdeps/pthread/posix-timer.h: ... here.
6677         * nptl/sysdeps/pthread/timer_create.c: Moved ...
6678         * sysdeps/pthread/timer_create.c: ... here.
6679         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6680         * sysdeps/pthread/timer_delete.c: ... here.
6681         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6682         * sysdeps/pthread/timer_getoverr.c: ... here.
6683         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6684         * sysdeps/pthread/timer_gettime.c: ... here.
6685         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6686         * sysdeps/pthread/timer_routines.c: ... here.
6687         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6688         * sysdeps/pthread/timer_settime.c: ... here.
6689         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6690         * sysdeps/pthread/tst-timer.c: ... here.
6691         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6692         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6694         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6695         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6697         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6698         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6699         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6700         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6701         Update #include target.
6702         * nptl/sysdeps/i386/i686/Makefile: Moved ...
6703         * sysdeps/i386/i686/nptl/Makefile: ... here.
6704         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6705         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6706         Update #include target.
6707         * nptl/sysdeps/i386/i686/tls.h: Moved ...
6708         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
6709         * nptl/sysdeps/i386/Makefile: Moved ...
6710         * sysdeps/i386/nptl/Makefile: ... here.
6711         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6712         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6713         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6714         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6715         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6716         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6717         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6718         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6719         * sysdeps/i386/nptl/pthreaddef.h: ... here.
6720         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6721         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6722         * nptl/sysdeps/i386/tls.h: Moved ...
6723         * sysdeps/i386/nptl/tls.h: ... here.
6725         * sysdeps/sh/Makefile [$(subdir) = csu]
6726         (gen-as-const-headers): Add tcb-offsets.sym.
6727         * nptl/sysdeps/sh/Makefile: File removed.
6728         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6729         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6730         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6731         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6732         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6733         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6734         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6735         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6736         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6737         * sysdeps/sh/nptl/pthreaddef.h: ... here.
6738         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6739         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6740         * nptl/sysdeps/sh/tls.h: Moved ...
6741         * sysdeps/sh/nptl/tls.h: ... here.
6742         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6743         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6744         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6745         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6746         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6747         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6748         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6749         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6750         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6751         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6752         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6753         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6754         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6755         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6756         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6757         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6758         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6759         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6760         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6761         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6762         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6763         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6764         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6765         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6766         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6767         Moved ...
6768         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6769         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6770         Moved ...
6771         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6772         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6773         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6774         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6775         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6776         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6777         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6778         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6779         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6780         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6781         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6782         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6783         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6784         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6785         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6786         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6787         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6788         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6789         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6791 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6793         * posix/spawn_faction_addopen.c: Include string.h.
6795 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6797         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6798         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6799         * nptl/sysdeps/x86_64/Makefile: Moved ...
6800         * sysdeps/x86_64/nptl/Makefile: ... here.
6801         * nptl/sysdeps/x86_64/configure: Moved ...
6802         * sysdeps/x86_64/nptl/configure: ... here.
6803         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6804         * sysdeps/x86_64/nptl/configure.ac: ... here.
6805         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6806         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6807         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6808         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6809         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6810         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6811         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6812         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6813         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6814         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6815         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6816         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6817         * nptl/sysdeps/x86_64/tls.h: Moved ...
6818         * sysdeps/x86_64/nptl/tls.h: ... here.
6819         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6820         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6821         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6822         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6824         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6826 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6830 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6832         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6833         type.
6834         [POSIX] (off_t): Likewise.
6835         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6836         [POSIX] (S_ISBLK): Require macro.
6837         [POSIX] (S_ISCHR): Likewise.
6838         [POSIX] (S_ISDIR): Likewise.
6839         [POSIX] (S_ISFIFO): Likewise.
6840         [POSIX] (S_ISREG): Likewise.
6841         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6842         optional-macro.
6843         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6844         type.
6845         [POSIX] (time_t): Likewise.
6846         [POSIX] (timer_t): Likewise.
6848 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6850         [BZ #17048]
6851         * posix/spawn_int.h (struct __spawn_action): Make the path string
6852         non-const to support deallocation.
6853         * posix/spawn_faction_addopen.c
6854         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6855         * posix/spawn_faction_destroy.c
6856         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6857         path in all spawn_do_open actions.
6858         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6859         posix_spawn_file_actions_addopen.
6861 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6863         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6864         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6865         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6866         conditional code always true.
6867         (__libc_vfork): New alias.
6869 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6871         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6872         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6874         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6876         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6877         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6879         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6880         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6882         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6883         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6885 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6887         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6888         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6889         multiarch strcmp for PPC64.
6890         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6891         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6893         multiarch optimizations.
6894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6895         (__libc_ifunc_impl_list): Likewise.
6897 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6899         * benchtests/scripts/validate_benchout.py: New script.
6900         * benchtests/Makefile (bench-func): Call it.
6901         * benchtests/scripts/benchout.schema.json: New file.
6903 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6905         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6906         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6907         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6908         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6909         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6910         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6911         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6912         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6913         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6914         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6915         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6916         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6917         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6918         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6919         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6920         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6922         Moved ...
6923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6924         ... here.
6925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6926         Moved ...
6927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6929         Moved ...
6930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6931         ... here.
6932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6933         Moved ...
6934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6935         ... here.
6936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6937         Moved ...
6938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6940         Moved ...
6941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6942         ... here.
6943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6944         Moved ...
6945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6946         ... here.
6947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6948         Moved ...
6949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6951         Moved ...
6952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6953         ... here.
6954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6955         Moved ...
6956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6957         ... here.
6958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6959         Moved ...
6960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6961         ... here.
6962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6963         Moved ...
6964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6966         Moved ...
6967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6968         ... here.
6969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6970         Moved ...
6971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6972         ... here.
6973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6974         Moved ...
6975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6976         ... here.
6977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6978         Moved ...
6979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6981         Moved ...
6982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6983         ... here.
6984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6985         Moved ...
6986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6987         ... here.
6988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6989         Moved ...
6990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6992         Moved ...
6993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6994         ... here.
6995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6996         Moved ...
6997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6999         Moved ...
7000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7002         Moved ...
7003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7004         ... here.
7005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7006         Moved ...
7007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7008         ... here.
7009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7010         Moved ...
7011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7012         ... here.
7013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7014         Moved ...
7015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7017         Moved ...
7018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7019         ... here.
7020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7021         Moved ...
7022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7023         ... here.
7024         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7025         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7026         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7027         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7029         Moved ...
7030         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7031         ... here.
7032         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7033         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7034         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7035         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7037         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7038         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7039         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7041         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7042         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7043         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7045         Moved ...
7046         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7047         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7048         Moved ...
7049         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7050         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7051         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7052         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7053         Moved ...
7054         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7055         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7056         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7057         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7058         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7059         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7060         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7062 2014-06-10  Wilco  <wdijkstr@arm.com>
7064         * math/test-fenv-return.c: New file.
7065         * math/Makefile: Add new test test-fenv-return.
7067 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
7069         [BZ #17042]
7070         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7071         when x - 1 is zero.
7072         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7073         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7074         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7075         0.0L for an argument of 1.0L.
7076         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7077         Likewise.
7078         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7079         value when x - 1 is zero.
7080         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7081         * sysdeps/i386/fpu/libm-test-ulps: Update.
7082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7084 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
7086         [BZ #15119]
7087         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7089 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7091         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7092         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7094 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7096         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7097         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7099         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7100         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7102         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7103         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7105         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7106         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7108         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7109         if not already defined.
7110         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7111         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7112         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7113         (TLS_INIT_TP): Use it.
7114         (TLS_DEFINE_INIT_TP): New macro.
7115         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7117 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
7119         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7120         constant.
7121         [POSIX] (IXANY): Likewise.
7122         [POSIX] (OLCUC): Likewise.
7123         [POSIX || POSIX2008] (CBAUD): Do not allow.
7124         [POSIX || POSIX2008] (DEFECHO): Likewise.
7125         [POSIX || POSIX2008] (ECHOCTL): Likewise.
7126         [POSIX || POSIX2008] (ECHOKE): Likewise.
7127         [POSIX || POSIX2008] (ECHOPRT): Likewise.
7128         [POSIX || POSIX2008] (EXTA): Likewise.
7129         [POSIX || POSIX2008] (EXTB): Likewise.
7130         [POSIX || POSIX2008] (FLUSHO): Likewise.
7131         [POSIX || POSIX2008] (LOBLK): Likewise.
7132         [POSIX || POSIX2008] (PENDIN): Likewise.
7133         [POSIX || POSIX2008] (SWTCH): Likewise.
7134         [POSIX || POSIX2008] (VDISCARD): Likewise.
7135         [POSIX || POSIX2008] (VDSUSP): Likewise.
7136         [POSIX || POSIX2008] (VLNEXT): Likewise.
7137         [POSIX || POSIX2008] (VREPRINT): Likewise.
7138         [POSIX || POSIX2008] (VSTATUS): Likewise.
7139         [POSIX || POSIX2008] (VWERASE): Likewise.
7140         (B*): Change to B[0123456789]*.
7141         * conform/data/time.h-data [POSIX || UNIX98]
7142         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7143         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7144         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7145         [POSIX] (tm_*): Do not allow.
7147 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
7149         * Makefile (install): Don't set LANGUAGE.
7150         * Makefile.in (install): Likewise.
7151         * assert/Makefile (test-assert-ENV): Remove variable.
7152         (test-assert-perr-ENV): Likewise.
7153         * elf/Makefile (neededtest4-ENV): Likewise.
7154         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7155         [$(cross-compiling) = no]: Don't set LANGUAGE.
7156         * io/ftwtest-sh (LANG): Remove variable.
7157         * libio/Makefile (tst-widetext-ENV): Likewise.
7158         * manual/install.texi (Running make install): Don't refer to
7159         environment settings for make install.
7160         * INSTALL: Regenerated.
7161         * nptl/tst-tls6.sh: Don't set LANG.
7162         * posix/globtest.sh (LANG): Remove variable.
7163         * string/Makefile (tester-ENV): Likewise.
7164         (inl-tester-ENV): Likewise.
7165         (noinl-tester-ENV): Likewise.
7166         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7167         [$(cross-compiling) = no]: Don't set LANGUAGE.
7168         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7169         without explicit environment settings.
7171 2014-06-06  Roland McGrath  <roland@hack.frob.com>
7173         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7174         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7175         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7176         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7178 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
7180         * crypt/crypt-private.h [DOS]: Add some includes taken from the
7181         other files in the crypt directory.
7182         * crypt/crypt.c: Remove duplicate includes.
7183         * crypt/crypt-entry.c: Likewise.
7184         * crypt/crypt_util.c: Likewise.
7186 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7188         * Makeconfig (run-program-env): New variable.
7189         (run-program-prefix-before-env): Likewise.
7190         (run-program-prefix-after-env): Likewise.
7191         (run-program-prefix): Define in terms of new variables.
7192         (built-program-cmd-before-env): New variable.
7193         (built-program-cmd-after-env): Likewise.
7194         (built-program-cmd): Define in terms of new variables.
7195         (test-program-prefix-before-env): New variable.
7196         (test-program-prefix-after-env): Likewise.
7197         (test-program-prefix): Define in terms of new variables.
7198         (test-program-cmd-before-env): New variable.
7199         (test-program-cmd-after-env): Likewise.
7200         (test-program-cmd): Define in terms of new variables.
7201         * Rules (make-test-out): Use $(run-program-env).
7202         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7203         (help): Do not mention environment variables.  Mention
7204         --timeoutfactor option.
7205         (timeoutfactor): New variable.
7206         (blacklist_exports): Remove function.
7207         (exports): Remove variable.
7208         (command): Do not include ${exports}.
7209         * manual/install.texi (Configuring and compiling): Do not mention
7210         test wrappers preserving environment variables.  Mention that last
7211         assignment to a variable must take precedence.
7212         * INSTALL: Regenerated.
7213         * benchtests/Makefile (run-bench): Use $(run-program-env).
7214         * catgets/Makefile ($(objpfx)test1.cat): Use
7215         $(built-program-cmd-before-env), $(run-program-env) and
7216         $(built-program-cmd-after-env).
7217         ($(objpfx)test2.cat): Do not specify environment variables
7218         explicitly.
7219         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7220         $(run-program-env) and $(built-program-cmd-after-env).
7221         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7222         $(run-program-env) and $(test-program-cmd-after-env).
7223         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7224         explicitly.
7225         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7226         run_program_env and test_program_cmd_after_env arguments.
7227         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7228         * elf/tst-pathopt.sh: Use run_program_env argument.
7229         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7230         $(test-wrapper-env) and $(run-program-env).
7231         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7232         run_program_env arguments.
7233         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7234         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7235         $(test-program-prefix-before-env), $(run-program-env) and
7236         $(test-program-prefix-after-env).
7237         ($(objpfx)tst-gettext2.out): Likewise.
7238         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7239         run_program_env and test_program_prefix_after_env arguments.
7240         * intl/tst-gettext2.sh: Likewise.
7241         * intl/tst-gettext4.sh: Do not set environment variables
7242         explicitly.
7243         * intl/tst-gettext6.sh: Likewise.
7244         * intl/tst-translit.sh: Likewise.
7245         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7246         $(test-program-prefix-before-env), $(run-program-env) and
7247         $(test-program-prefix-after-env).
7248         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7249         run_program_env and test_program_prefix_after_env arguments.
7250         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7251         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7252         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7253         explicitly with each use of ${test_wrapper_env}.
7254         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7255         $(test-program-prefix-before-env), $(run-program-env) and
7256         $(test-program-prefix-after-env).
7257         * posix/tst-getconf.sh: Do not set environment variables
7258         explicitly.
7259         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7260         run_program_env and test_program_prefix_after_env arguments.
7261         * stdio-common/tst-printf.sh: Do not set environment variables
7262         explicitly.
7263         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7264         $(test-program-prefix-before-env), $(run-program-env) and
7265         $(test-program-prefix-after-env).
7266         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7267         run_program_env and test_program_prefix_after_env arguments.
7268         Split $test calls into $test_pre and $test.
7269         * timezone/Makefile (build-testdata): Use
7270         $(built-program-cmd-before-env), $(run-program-env) and
7271         $(built-program-cmd-after-env).
7273 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7275         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7276         strlen for non SHARED builds.
7278 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7280         * nptl/allocatestack.c (check_list): Inlined function...
7281         (__reclaim_stacks): ... here.
7283 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7285         [BZ #15698]
7286         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7287         memory overrun.
7289 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7291         * Rules (make-test-out): Include
7292         LOCPATH=$(common-objpfx)localedata in default environment.
7293         * debug/Makefile (tst-chk1-ENV): Remove variable.
7294         (tst-chk2-ENV): Likewise.
7295         (tst-chk3-ENV): Likewise.
7296         (tst-chk4-ENV): Likewise.
7297         (tst-chk5-ENV): Likewise.
7298         (tst-chk6-ENV): Likewise.
7299         (tst-lfschk1-ENV): Likewise.
7300         (tst-lfschk2-ENV): Likewise.
7301         (tst-lfschk3-ENV): Likewise.
7302         (tst-lfschk4-ENV): Likewise.
7303         (tst-lfschk5-ENV): Likewise.
7304         (tst-lfschk6-ENV): Likewise.
7305         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7306         (tst-iconv7-ENV): Likewise.
7307         * intl/Makefile (LOCPATH-ENV): Likewise.
7308         (tst-codeset-ENV): Likewise.
7309         (tst-gettext3-ENV): Likewise.
7310         (tst-gettext5-ENV): Likewise.
7311         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7312         (tst-fopenloc-ENV): Likewise.
7313         (tst-fgetws-ENV): Remove variable.
7314         (tst-ungetwc1-ENV): Likewise.
7315         (tst-ungetwc2-ENV): Likewise.
7316         (bug-ungetwc2-ENV): Likewise.
7317         (tst-swscanf-ENV): Likewise.
7318         (bug-ftell-ENV): Likewise.
7319         (tst-fgetwc-ENV): Likewise.
7320         (tst-fseek-ENV): Likewise.
7321         (tst-ftell-partial-wide-ENV): Likewise.
7322         (tst-ftell-active-handler-ENV): Likewise.
7323         (tst-ftell-append-ENV): Likewise.
7324         * posix/Makefile (tst-fnmatch-ENV): Likewise.
7325         (tst-regexloc-ENV): Likewise.
7326         (bug-regex1-ENV): Likewise.
7327         (tst-regex-ENV): Likewise.
7328         (tst-regex2-ENV): Likewise.
7329         (bug-regex5-ENV): Likewise.
7330         (bug-regex6-ENV): Likewise.
7331         (bug-regex17-ENV): Likewise.
7332         (bug-regex18-ENV): Likewise.
7333         (bug-regex19-ENV): Likewise.
7334         (bug-regex20-ENV): Likewise.
7335         (bug-regex22-ENV): Likewise.
7336         (bug-regex23-ENV): Likewise.
7337         (bug-regex25-ENV): Likewise.
7338         (bug-regex26-ENV): Likewise.
7339         (bug-regex30-ENV): Likewise.
7340         (bug-regex32-ENV): Likewise.
7341         (bug-regex33-ENV): Likewise.
7342         (bug-regex34-ENV): Likewise.
7343         (bug-regex35-ENV): Likewise.
7344         (tst-rxspencer-ENV): Likewise.
7345         (tst-rxspencer-no-utf8-ENV): Likewise.
7346         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7347         (tst-sscanf-ENV): Likewise.
7348         (tst-swprintf-ENV): Likewise.
7349         (tst-swscanf-ENV): Likewise.
7350         (test-vfprintf-ENV): Likewise.
7351         (scanf13-ENV): Likewise.
7352         (bug14-ENV): Likewise.
7353         (tst-grouping-ENV): Likewise.
7354         * stdlib/Makefile (tst-strtod-ENV): Likewise.
7355         (tst-strtod3-ENV): Likewise.
7356         (tst-strtod4-ENV): Likewise.
7357         (tst-strtod5-ENV): Likewise.
7358         (testmb2-ENV): Likewise./
7359         * string/Makefile (tst-strxfrm-ENV): Likewise.
7360         (tst-strxfrm2-ENV): Likewise.
7361         (bug-strcoll1-ENV): Likewise.
7362         (test-strcasecmp-ENV): Likewise.
7363         (test-strncasecmp-ENV): Likewise.
7364         * time/Makefile (tst-strptime-ENV): Likewise.
7365         (tst-ftime_l-ENV): Likewise.
7366         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7367         (tst-mbrtowc-ENV): Likewise.
7368         (tst-wcrtomb-ENV): Likewise.
7369         (tst-mbrtowc2-ENV): Likewise.
7370         (tst-c16c32-1-ENV): Likewise.
7371         (tst-mbsnrtowcs-ENV): Likewise.
7373 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7375         * manual/resource.texi (How to get information about the memory
7376         subsystem?): Fix typo.
7377         Reported by Peon de la Parra Ivan <peon@keba.com>
7379 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
7381         [BZ #16882]
7382         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7383         (pthread_spin_lock): Branch out of spin loop to proper location.
7384         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7385         (pthread_spin_lock): Likewise.
7387         * nptl/tst-spin4.c: New test.
7388         * nptl/Makefile (tests): Add tst-spin4.
7390 2014-06-03  Andreas Schwab  <schwab@suse.de>
7392         [BZ #15946]
7393         * resolv/res_send.c (send_dg): Reload file descriptor after
7394         calling reopen.
7396 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
7398         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7400 2014-06-03  Richard Henderson  <rth@redhat.com>
7402         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7403         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7404         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7405         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
7406         in the SAVE_PID block.
7407         (__libc_vfork): New alias.
7408         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7410         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7411         child in registers, not on the stack.  Remove RESET_PID conditionals.
7412         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7414 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7416         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7418 2014-06-03  Wilco  <wdijkstr@arm.com>
7420         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7421         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7422         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7423         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7424         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7425         Likewise.
7427 2014-06-03  Wilco  <wdijkstr@arm.com>
7429         * sysdeps/aarch64/fpu/math_private.h
7430         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7431         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7432         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7433         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7434         Fix declarations.
7436 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7438         * crypt/crypt-private.h: Include ufc-crypt.h.
7439         (__b64_from_24bit): Declare extern.
7440         * crypt/crypt_util.c(__b64_from_24bit): New function.
7441         (b64t): New static const variable.
7442         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7443         (b64t): Remove variable.
7444         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7445         * crypt/sha256-crypt.c: Include crypt-private.h.
7446         (b64t): Remove variable.
7447         (__sha256_crypt_r): Remove b64_from_24bit and replace
7448         with __b64_from_24bit.
7449         * crypt/sha512-crypt.c: Likewise.
7451 2014-06-02  Roland McGrath  <roland@hack.frob.com>
7453         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7454         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7455         Label the code __libc_vfork rather than __vfork.
7456         [!NOT_IN_libc] (vfork): Define as weak alias.
7457         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7458         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7459         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7461 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7463         * malloc/malloc.c (malloc_info): Fix format specifier for
7464         n_mmaps.
7466 2014-06-02  Wilco  <wdijkstr@arm.com>
7468         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7469         FPCR write.
7471 2014-06-02  Wilco  <wdijkstr@arm.com>
7473         [BZ #17009]
7474         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7475         Rewrite to reduce FPCR/FPSR accesses.
7477 2014-06-01  David S. Miller  <davem@davemloft.net>
7479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7481 2014-05-31  David S. Miller  <davem@davemloft.net>
7483         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7484         to occur in round to nearest mode when |x| >= 2.0
7486 2014-05-30  Richard Henderson  <rth@twiddle.net>
7488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7489         (PSEUDO_RET_NOERRNO): Remove.
7490         (ret): Don't redefine.
7491         (ret_NOERRNO): Define in terms of ret.
7492         (ret_ERRVAL): Likewise.
7494         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7495         use of PSEUDO_RET; perform the error check directly.
7497 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
7499         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7500         with __int128_t.
7502 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7504         * malloc/malloc (malloc_info): Fix formatting.
7506 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7507             Roland McGrath  <roland@hack.frob.com>
7509         * malloc/malloc (malloc_info): Also print mmapped statistics.
7511 2014-05-30  Roland McGrath  <roland@hack.frob.com>
7513         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7514         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7516 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
7518         * malloc/malloc.c (malloc_info): Inline mi_arena.
7520 2014-05-29  Richard Henderson  <rth@twiddle.net>
7522         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7523         Remove comma before expanding ASM_ARGS_##nr.
7524         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7525         Make _x0 a strict output; make _x8 a strict input; adjust expansion
7526         of ASM_ARGS_##nr.
7527         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7528         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7529         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7530         (ASM_ARGS_1): Add leading comma.
7532         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7533         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7534         to __errno_location.
7535         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7536         Remove the expected plt for __errno_location.
7538         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7539         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7540         call to __read_tp.
7542         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7543         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
7544         it and break it down.
7545         (DOCARGS_0, DOCARGS_1): Do nothing.
7546         (DOCARGS_2): Update to store into the new stack frame.
7547         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7548         (UNDOCARGS_1): Update to restore from the new stack frame.
7549         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7550         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7552         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7553         (SINGLE_THREAD_P): New parameter for result regno.
7554         (PSEUDO): Update to match; use cbz instead of beq.
7556         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7557         Use ENTRY to define the _nocancel entry point.  Share the syscall
7558         and syscall error check paths with the cancel path.
7559         (PSEUDO_END): New.
7561         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7562         whitespace; tabs before and after asm mnemonics.
7564 2014-05-29  Eric Wong  <normalperson@yhbt.net>
7566         [BZ #15132]
7567         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7568         Call fstat64 or stat64 internally, depending on arguments passed.
7569         Replace stat buffer argument with file descriptor argument.
7570         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7571         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7572         Pass fd to __internal_statvfs instead of calling fstat64.
7573         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7574         Pass fd to __internal_statvfs64 instead of calling fstat64.
7575         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7576         Pass -1 to __internal_statvfs instead of calling stat64.
7577         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7578         Pass -1 to __internal_statvfs64 instead of calling stat64.
7580 2014-05-28  Roland McGrath  <roland@hack.frob.com>
7582         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7583         that was previously under [RESET_PID].
7584         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7586         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7587         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7589 2014-05-27  Roland McGrath  <roland@hack.frob.com>
7591         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7593         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7594         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7596 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
7598         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7600 2014-05-27  Andreas Schwab  <schwab@suse.de>
7602         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7603         TLS_INIT_TP macro.
7604         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7605         * elf/rtld.c (init_tls, dl_main): Likewise.
7606         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7607         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7608         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7609         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7610         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7611         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7612         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7613         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7614         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7615         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7616         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7617         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7618         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7619         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7620         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7621         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7622         * sysdeps/generic/tls.h: Update description.
7624 2014-05-27  Will Newton  <will.newton@linaro.org>
7626         [BZ #16990]
7627         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7628         and restore r2 rather than just restoring.
7630 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7632         [BZ #16724]
7633         * libio/tst-ftell-append.c: New test case.
7634         * libio/Makefile (tests): Add test case.
7635         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7636         append mode.
7637         * libio/wfileops.c (do_ftell_wide): Likewise.
7639 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7643         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7644         ...
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7647         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7648         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7649         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7650         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7651         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7652         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7653         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7654         Moved ...
7655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7656         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7657         Moved ...
7658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7659         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7660         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7661         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7662         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7663         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7664         ...
7665         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7666         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7667         Moved ...
7668         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7669         here.
7670         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7671         ...
7672         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7673         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7674         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7676         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7677         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7678         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7679         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7681         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7682         merge into ...
7683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7684         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7685         ...
7686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7687         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7688         ...
7689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7690         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7691         Moved ...
7692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7693         here.
7694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7695         Moved ...
7696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7698         Moved ...
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7702         conditional [RESET_PID].
7703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7704         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7705         removed.
7706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7707         removed.
7709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7710         <tcb-offsets.h>.
7711         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7712         (__libc_vfork): New strong alias.
7713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7714         removed.
7715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7716         Removed.
7718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7719         <tcb-offsets.h>.
7720         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7721         (__libc_vfork): New strong alias.
7722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7723         removed.
7724         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7725         removed.
7727 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
7729         * malloc/malloc.c (mi_arena): New function.
7730         (malloc_info): Remove nested function mi_arena. Call non-nosted
7731         function mi_arena.
7733 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7735         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7736         by insrwi.
7737         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7738         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7739         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7740         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7741         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7742         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7743         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7745 2014-05-26  Andreas Schwab  <schwab@suse.de>
7747         [BZ #16984]
7748         * locale/programs/repertoire.c (repertoire_read): Add slash
7749         between I18NPATH element and file name.
7750         * locale/programs/locfile.c (locfile_read): Likewise.
7752 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7754         * nptl/pthread_mutexattr_settype.c
7755         (__pthread_mutexattr_settype):
7756         Disable lock elision for PTHREAD_MUTEX_NORMAL.
7758 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7760         * nptl/tst-mutex5 (do_test):
7761         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7763 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7765         * benchtests/README: Document 'init' directive.
7766         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7767         BENCH_INIT.
7768         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7769         (parse_file): Recognize 'init' directive.
7771 2014-05-26  Kyle McMartin  <kyle@redhat.com>
7773         [BZ #16796]
7774         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7775         alignment of struct pthread.
7777 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7779         [BZ #16878]
7780         * nscd/netgroupcache.c (addgetnetgrentX): Look for
7781         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7782         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7783         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7785 2014-05-25  Richard Henderson  <rth@twiddle.net>
7787         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7788         (SINGLE_THREAD_P_PIC): Remove.
7789         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7790         (SINGLE_THREAD_P_PIC): Remove.
7792         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7793         branch to syscall error ...
7794         (PSEUDO): ... here.
7795         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7796         from __local_syscall_error to .Lsyscall_error.
7797         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7798         (SYSCALL_ERROR): Update label name.
7800         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7801         Do not use DOARGS/UNDOARGS.
7802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7803         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7804         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7805         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7806         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7808         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7809         block comment.
7811         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7812         define if !NOT_IN_libc.
7813         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7814         define with non-default symbol versions.
7816 2014-05-23  Richard Henderson  <rth@twiddle.net>
7818         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7819         (vfork, __vfork): Define via compat_symbol.
7821         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7822         [!HAVE_IFUNC] (vfork_compat): Remove.
7823         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7825 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7827         [BZ #16978]
7828         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7829         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7830         variable.
7832 2014-05-23  Richard Henderson  <rth@twiddle.net>
7834         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7835         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7836         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7837         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7839         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7840         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7841         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7842         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7843         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7844         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7845         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7846         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7847         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7848         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7849         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7850         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7851         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7852         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7853         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7854         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7855         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7856         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7857         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7858         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7859         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7860         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7861         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7862         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7863         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7864         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7865         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7866         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7867         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7868         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7869         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7870         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7871         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7872         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7873         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7874         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7875         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7876         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7877         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7878         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7879         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7880         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7881         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7882         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7883         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7884         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7885         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7886         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7887         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7888         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7889         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7890         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7891         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7892         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7893         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7894         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7896         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7897         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7898         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7899         before exiting on error.
7900         (__libc_vfork): New strong alias.
7901         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7902         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7904         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7905         that was previously under [RESET_PID].
7906         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7908         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7910 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7912         [BZ #16977]
7913         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7914         value when x - 1 is zero.
7915         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7916         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7917         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7918         0.0L for an argument of 1.0L.
7919         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7920         Likewise.
7921         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7922         value when x - 1 is zero.
7923         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7924         * sysdeps/i386/fpu/libm-test-ulps: Update.
7925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7927 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7929         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7930         alphasort and versionsort.
7932 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7934         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7935         macro.
7936         [copysignf]: Likewise.
7938 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7940         * crypt/md5-crypt.c: Fix formatting.
7942 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7944         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7945         (b64_from_24bit): New function.
7947 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7949         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7950         libc_hidden_builtin_def to ifunc.
7951         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7952         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7954 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7956         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7957         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7959 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7961         * nscd/Depend (linuxthreads): Remove.
7962         (nptl): Add.
7963         * resolv/Depend (linuxthreads): Remove.
7964         * rt/Depend (linuxthreads): Remove.
7966         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7967         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7968         $(common-objpfx)elf/.
7969         (link-libc-before-gnulib): Likewise.
7970         (elfobjdir): Remove variable.
7971         * Makefile (install): Use $(elf-objpfx) instead of
7972         $(common-objpfx)elf/.
7973         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7974         $(elfobjdir)/.
7975         (link-libc-deps): Likewise.
7976         ($(common-objpfx)libc.so): Likewise.
7977         ($(common-objpfx)linkobj/libc.so): Likewise.
7978         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7979         instead of $(common-objpfx)elf/.
7980         (symbolic-link-list): Likewise.
7981         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7982         [$(cross-compiling) = no]: Likewise.
7983         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7984         $(elfobjdir)/.
7985         (static-gnulib-arch): Likewise.
7986         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7987         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7988         $(common-objpfx)elf/.
7990 2014-05-21  Richard Henderson  <rth@redhat.com>
7992         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7993         (SINGLE_THREAD_P): Use the correct width load.  Fold
7994         into the ldr offset.
7996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7997         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7999 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
8001         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8002         (libgcc_s_resume): Use __attribute_used__.
8003         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8004         Likewise.
8006 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8008         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8009         optimization when used with float constants.
8011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8013 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
8015         [BZ #16915]
8016         * locale/nl_langinfo_l.c: Make direct reference to every
8017         _nl_current_CATEGORY symbol.
8018         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8019         (tests-static): Add tst-langinfo-static.
8020         (tests-special): Add tst-langinfo-static.out.
8021         ($(objpfx)tst-langinfo.out): Redirect output.
8022         ($(objpfx)tst-langinfo-static.out): New.
8023         * localedata/tst-langinfo.sh: Send output to stdout.
8024         * localedata/tst-langinfo-static.c: New file.
8026         [BZ #16965]
8027         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8028         when the shift amount is modulo the limb size.
8030 2014-05-20  Richard Henderson  <rth@redhat.com>
8032         [BZ #16967]
8033         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8034         Change type of sa_flags from unsigned int to int.
8036         [BZ #16966]
8037         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8039         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8041 2014-05-20  Will Newton  <will.newton@linaro.org>
8043         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8044         Test the return value of the system call in the nocancel case.
8046 2014-05-20  Will Newton  <will.newton@linaro.org>
8047             Yvan Roux  <yvan.roux@linaro.org>
8049         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8050         #include of asm/ptrace.h.
8051         (PTRACE_GET_THREAD_AREA): Remove #undef.
8052         (PTRACE_GETHBPREGS): Likewise.
8053         (PTRACE_SETHBPREGS): Likewise.
8054         (struct user_regs_struct): New structure.
8055         (struct user_fpsimd_struct): New structure.
8056         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8057         #include of asm/ptrace.h and second #include of sys/user.h.
8058         (PTRACE_GET_THREAD_AREA): Remove #undef.
8059         (PTRACE_GETHBPREGS): Likewise.
8060         (PTRACE_SETHBPREGS): Likewise.
8061         (ELF_NGREG): Use new struct user_regs_struct.
8062         (elf_fpregset_t): Use new struct user_fpsimd_struct.
8064 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8066         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8067         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8069 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8071         [BZ #16958]
8072         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8073         membar to avoid block loads/stores to overlap previous stores.
8075 2014-05-17  Richard Henderson  <rth@redhat.com>
8077         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8078         Create the __##syscall_name##_nocancel entry point.
8079         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8080         Remove; let the sysdep-cancel.h code create it.
8082 2014-05-17  David S. Miller  <davem@davemloft.net>
8084         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8085         Protect with __USE_GNU.
8086         (TIOCSET_TEMPT): Likewise.
8087         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8088         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8089         these are already provided in bits/ioctl-types.h
8091 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8093         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8094         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8096         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8097         Use wait4 regardless of [__NR_waitpid].
8099 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8101         PR libgcc/60166
8102         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8103         (_FP_NANSIGN_Q): Set the quiet bit.
8105 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
8107         * benchtests/Makefile
8108         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8109         not $(common-objpfx)math/libm.so.
8110         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8111         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8112         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8113         $(common-objpfx)dlfcn/libdl.so.
8114         ($(objpfx)tst-audit8): Depend on $(libm), not
8115         $(common-objpfx)math/libm.so.
8116         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8117         not $(common-objpfx)dlfcn/libdl.so.
8118         * math/Makefile
8119         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8120         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
8121         [$(build-shared) = yes].
8122         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8123         $(common-objpfx)nptl/libpthread.so.
8124         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8125         $(common-objpfx)math/libm.so$(libm.so-version) or
8126         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8127         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8128         $(common-objpfx)dlfcn/libdl.so.
8129         * setjmp/Makefile (link-libm): Remove variable.
8130         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8131         * stdio-common/Makefile (link-libm): Remove variable.
8132         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8133         * stdlib/Makefile (link-libm): Remove variable.
8134         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8135         ($(objpfx)tst-strtod-round): Likewise.
8136         ($(objpfx)tst-tininess): Likewise.
8137         ($(objpfx)tst-strtod-underflow): Likewise.
8138         ($(objpfx)tst-strtod6): Likewise.
8139         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8140         $(libdl), not $(common-objpfx)nptl/libpthread.so and
8141         $(common-objpfx)dlfcn/libdl.so.
8143 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8145         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8146         BSD terminal modes definitions.
8148 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8150         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8151         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8153         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8154         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8155         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8156         Don't do #include_next.
8157         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8158         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8159         Don't do #include_next.
8160         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8161         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8162         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8163         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8165 2014-05-16  Allan McRae  <allan@archlinux.org>
8167         * po/sv.po: Update Swedish translation from translation project.
8169         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8170         in sed expression.
8172 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8174         [BZ #16917]
8175         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8176         errno if the TIOCGPTN ioctl fails with an error different than
8177         EINVAL.
8178         * login/tst-ptsname.c: New file.
8179         * login/Makefile (tests): Add tst-ptsname.
8181         [BZ #16943]
8182         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8183         and prlimit64.
8185 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8187         [BZ #16849]
8188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8189         herrno to return EAI_AGAIN.
8191 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8193         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8194         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8195         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8196         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8197         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8198         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8199         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8200         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8201         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8202         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8203         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8204         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8205         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8206         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8207         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8208         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8209         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8210         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8211         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8212         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8213         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8214         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8215         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8216         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8217         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8218         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8219         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8220         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8221         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8222         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8224         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8226         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8228         Moved ...
8229         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8231         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8233         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8235         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8237         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8239         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8241         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8243         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8245         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8247         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8249         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8251         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8253         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8255         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8257         Moved ...
8258         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8260         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8262         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8264         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8266         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8268         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8270         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8272         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8274         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8276         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8278         Moved ...
8279         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8281         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8283         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8284         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8285         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8286         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8287         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8288         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8289         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8290         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8291         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8292         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8293         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8294         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8295         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8296         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8297         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8298         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8299         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8300         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8301         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8302         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8303         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8304         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8305         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8306         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8307         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8308         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8309         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8310         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8311         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8312         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8313         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8315         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8316         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8318         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8319         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8320         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8321         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8322         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8323         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8324         Moved ...
8325         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8326         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8327         Moved ...
8328         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8329         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8330         Moved ...
8331         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8332         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8333         Moved ...
8334         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8335         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8336         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8337         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8338         Moved ...
8339         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8340         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8341         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8343         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8344         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8345         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8346         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8347         Moved ...
8348         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8349         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8350         Moved ...
8351         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8352         ... here.
8353         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8354         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8355         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8356         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8357         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8358         Moved ...
8359         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8360         ... here.
8361         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8362         Moved ...
8363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8364         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8365         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8366         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8367         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8368         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8369         Moved ...
8370         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8371         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8372         Moved ...
8373         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8374         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8375         Moved ...
8376         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8377         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8378         Moved ...
8379         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8380         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8381         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8382         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8383         Moved ...
8384         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8385         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8386         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8388         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8389         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8390         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8391         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8392         Moved ...
8393         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8394         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8395         Moved ...
8396         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8397         ... here.
8398         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8399         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8400         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8401         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8402         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8403         Moved ...
8404         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8405         ... here.
8406         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8407         Moved ...
8408         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8409         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8410         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8411         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8412         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8413         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8414         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8415         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8416         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8417         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8418         Moved ...
8419         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8420         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8421         Moved ...
8422         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8423         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8424         Moved ...
8425         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8426         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8427         Moved ...
8428         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8429         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8430         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8431         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8432         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8433         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8434         Moved ...
8435         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8436         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8437         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8438         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8439         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8440         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8441         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8443         Moved ...
8444         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8445         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8446         Moved ...
8447         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8448         ... here.
8449         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8450         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8451         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8452         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8453         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8454         Moved ...
8455         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8456         ... here.
8457         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8458         Moved ...
8459         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8460         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8461         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8462         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8463         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8464         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8465         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8466         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8467         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8468         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8469         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8471         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8472         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8474         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8475         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8477         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8478         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8479         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8480         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8481         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8482         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8483         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8484         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8485         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8486         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8487         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8488         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8489         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8490         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8491         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8492         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8493         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8494         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8495         Moved ...
8496         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8497         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8498         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8499         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8500         Moved ...
8501         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8502         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8503         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8504         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8505         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8507         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8509         Moved ...
8510         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8511         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8512         Moved ...
8513         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8514         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8515         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8516         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8517         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8519         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8520         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8521         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8522         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8523         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8524         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8525         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8526         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8527         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8528         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8529         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8531         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8532         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8533         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8534         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8535         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8537         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8538         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8539         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8540         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8541         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8542         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8543         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8544         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8545         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8546         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8548         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8549         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8551         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8552         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8553         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8554         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8555         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8556         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8557         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8558         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8559         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8560         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8561         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8562         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8563         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8564         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8566         Update #include.
8567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8568         Likewise.
8569         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8570         Likewise.
8571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8572         Likewise.
8573         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8574         Likewise.
8575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8576         Likewise.
8577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8578         Likewise.
8579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8580         Likewise.
8581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8582         Likewise.
8583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8584         Likewise.
8585         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8586         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8589         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8590         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8591         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8592         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8593         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8594         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8595         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8596         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8597         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8598         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
8599         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
8601         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8602         that was previously under [RESET_PID].
8603         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8604         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8605         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8607         * sysdeps/i386/nptl/Implies: New file.
8608         * sysdeps/x86_64/nptl/Implies: New file.
8609         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8610         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8611         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8612         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8614         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8615         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8616         (__libc_vfork): New strong alias.
8617         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8618         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8620         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8621         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8622         (__libc_vfork): New strong alias.
8623         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8624         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8626         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8627         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8628         (__libc_vfork): New strong alias.
8629         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8630         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8631         * nptl/pt-vfork.c: New file.
8632         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8633         (libpthread: GLIBC_2.20): New version set (empty).
8635 2014-05-14  Will Newton  <will.newton@linaro.org>
8637         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8638         rather than #if.
8640 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8642         [BZ #16564]
8643         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8644         arguments with exponent 65 or above.
8645         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8646         arguments 0x1p113L or above.
8647         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8648         to arguments 0x1p107L or above.
8649         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8650         positive arguments with exponent 65 or above.
8651         * math/auto-libm-test-in: Add more tests of log1p.
8652         * math/auto-libm-test-out: Regenerated.
8654         [BZ #16928]
8655         * math/s_cacos.c (__cacos): Ensure zero real part of result from
8656         non-finite arguments is +0.
8657         * math/s_cacosf.c (__cacosf): Likewise.
8658         * math/s_cacosl.c (__cacosl): Likewise.
8659         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8660         * sysdeps/i386/fpu/libm-test-ulps: Update.
8661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8663         [BZ #16927]
8664         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8665         value.
8666         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8667         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8668         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8669         for explicit high bit of mantissa when testing for argument equal
8670         to 1.
8671         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8672         * sysdeps/i386/fpu/libm-test-ulps: Update.
8673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675         [BZ #16516]
8676         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8677         (__erf): Scale by 16 instead of 8 in potentially underflowing
8678         case.  Ensure exception if result actually underflows.
8679         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8680         (__erff): Scale by 16 instead of 8 in potentially underflowing
8681         case.  Ensure exception if result actually underflows.
8682         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8683         (efx8): Remove variable.
8684         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8685         case.  Ensure exception if result actually underflows.
8686         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8687         (efx8): Remove variable.
8688         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8689         case.  Ensure exception if result actually underflows.
8690         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8691         (efx8): Remove variable.
8692         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8693         case.  Ensure exception if result actually underflows.
8694         * math/auto-libm-test-in: Add more tests of erf.
8695         * math/auto-libm-test-out: Regenerated.
8697 2014-05-14  Andreas Schwab  <schwab@suse.de>
8699         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8700         Remove code conditionalized on USE___THREAD.
8702         * config.h.in (HAVE_PT_CHOWN): Define as 0.
8703         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8704         not definedness.
8706 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8708         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8709         Define unconditionally.
8710         (__ASSUME_O_CLOEXEC): Likewise.
8711         (__ASSUME_SOCK_CLOEXEC): Likewise.
8712         (__ASSUME_IN_NONBLOCK): Likewise.
8713         (__ASSUME_PIPE2): Likewise.
8714         (__ASSUME_EVENTFD2): Likewise.
8715         (__ASSUME_SIGNALFD4): Likewise.
8716         (__ASSUME_DUP3): Likewise.
8717         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8718         (__ASSUME_DUP3): Do not define.
8719         (__ASSUME_EVENTFD2): Likewise.
8720         (__ASSUME_IN_NONBLOCK): Likewise.
8721         (__ASSUME_O_CLOEXEC): Likewise.
8722         (__ASSUME_PIPE2): Likewise.
8723         (__ASSUME_SIGNALFD4): Likewise.
8724         (__ASSUME_SOCK_CLOEXEC): Likewise.
8725         (__ASSUME_UTIMES): Undefine.
8726         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8727         (__ASSUME_UTIMES): Do not define.
8728         (__ASSUME_O_CLOEXEC): Likewise.
8729         (__ASSUME_SOCK_CLOEXEC): Likewise.
8730         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8731         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8732         0x020621].
8733         (__ASSUME_PIPE2): Likewise.
8734         (__ASSUME_EVENTFD2): Likewise.
8735         (__ASSUME_SIGNALFD4): Likewise.
8736         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8737         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8738         Do not define.
8739         (__ASSUME_EVENTFD2): Likewise.
8740         (__ASSUME_SIGNALFD4): Likewise.
8741         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8742         (__ASSUME_32BITUIDS): Likewise.
8743         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8744         (__ASSUME_IPC64): Likewise.
8745         (__ASSUME_ST_INO_64_BIT): Likewise.
8746         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8747         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8748         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8749         (__ASSUME_UTIMES): Do not define.
8750         (__ASSUME_PSELECT): Likewise.
8751         (__ASSUME_PPOLL): Likewise.
8752         (__ASSUME_O_CLOEXEC): Likewise.
8753         (__ASSUME_SOCK_CLOEXEC): Likewise.
8754         (__ASSUME_IN_NONBLOCK): Likewise.
8755         (__ASSUME_PIPE2): Likewise.
8756         (__ASSUME_EVENTFD2): Likewise.
8757         (__ASSUME_SIGNALFD4): Likewise.
8758         (__ASSUME_DUP3): Likewise.
8759         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8760         (__ASSUME_UTIMES): Likewise.
8761         (__ASSUME_O_CLOEXEC): Likewise.
8762         (__ASSUME_SOCK_CLOEXEC): Likewise.
8763         (__ASSUME_IN_NONBLOCK): Likewise.
8764         (__ASSUME_PIPE2): Likewise.
8765         (__ASSUME_EVENTFD2): Likewise.
8766         (__ASSUME_SIGNALFD4): Likewise.
8767         (__ASSUME_DUP3): Likewise.
8768         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8769         (__ASSUME_UTIMES): Likewise.
8770         (__ASSUME_O_CLOEXEC): Likewise.
8771         (__ASSUME_SOCK_CLOEXEC): Likewise.
8772         (__ASSUME_IN_NONBLOCK): Likewise.
8773         (__ASSUME_PIPE2): Likewise.
8774         (__ASSUME_EVENTFD2): Likewise.
8775         (__ASSUME_SIGNALFD4): Likewise.
8776         (__ASSUME_DUP3): Likewise.
8777         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8778         Likewise.
8779         (__ASSUME_UTIMES): Likewise.
8780         (__ASSUME_EVENTFD2): Likewise.
8781         (__ASSUME_SIGNALFD4): Likewise.
8782         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8783         (__ASSUME_O_CLOEXEC): Likewise.
8784         (__ASSUME_SOCK_CLOEXEC): Likewise.
8785         (__ASSUME_IN_NONBLOCK): Likewise.
8786         (__ASSUME_PIPE2): Likewise.
8787         (__ASSUME_EVENTFD2): Likewise.
8788         (__ASSUME_SIGNALFD4): Likewise.
8789         (__ASSUME_DUP3): Likewise.
8790         (__ASSUME_UTIMES): Undefine.
8792         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8793         feclearexcept.  Remove symbol versioning code.
8794         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
8795         symbol versioning code.
8796         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
8797         symbol versioning code.
8798         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8799         feupdateenv.  Remove symbol versioning code.
8800         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8801         fegetexceptflag.  Remove symbol versioning code.
8802         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8803         fesetexceptflag.  Remove symbol versioning code.
8804         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8805         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8806         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8807         (__posix_fadvise64_l32): Remove prototype.
8808         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8809         code.
8811 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8813         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8814         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8815         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8816         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8818 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8820         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8821         current working directory
8823 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8825         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8826         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8827         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8828         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8829         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8830         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8831         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8832         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8833         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8834         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8835         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8836         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8837         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8838         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8839         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8840         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8841         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8842         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8843         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8844         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8845         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8846         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8847         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8848         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8849         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8850         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8851         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8852         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8853         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8854         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8855         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8856         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8857         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8858         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8859         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8860         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8861         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8862         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8863         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8864         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8865         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8866         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8868         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8869         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8871         * sysdeps/unix/sysv/linux/arm/Makefile
8872         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8873         Add rt-aeabi_unwind_cpp_pr1.
8874         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8875         Add nptl-aeabi_unwind_cpp_pr1.
8876         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8877         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8878         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8879         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8880         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8881         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8883         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8884         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8885         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8886         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8888         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8889         Deconditionalize the code that was previously under [RESET_PID].
8890         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8892         * sysdeps/generic/exit-thread.h: New file.
8893         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8894         * include/unistd.h (__exit_thread): Remove declaration.
8895         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8896         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8897         * csu/libc-start.c: Include <exit-thread.h>.
8898         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8899         * nptl/pthread_create.c: Include <exit-thread.h>.
8900         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8901         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8902         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8903         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8904         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8905         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8906         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8907         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8908         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8909         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8910         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8911         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8912         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8913         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8914         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8915         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8916         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8918 2014-05-13  Andreas Schwab  <schwab@suse.de>
8920         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8922 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8924         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8925         (__ASSUME_UTIMES): Do not condition on kernel version.
8926         (__ASSUME_PSELECT): Define unconditionally.
8927         (__ASSUME_PPOLL): Likewise.
8928         (__ASSUME_ATFCTS): Likewise.
8929         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8930         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8931         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8932         (__ASSUME_UTIMENSAT): Define unconditionally.
8933         (__ASSUME_PRIVATE_FUTEX): Likewise.
8934         (__ASSUME_FALLOCATE): Likewise.
8935         (__ASSUME_O_CLOEXEC): Likewise.
8936         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8937         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8938         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8939         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8940         (__ASSUME_IN_NONBLOCK): Likewise.
8941         (__ASSUME_PIPE2): Likewise.
8942         (__ASSUME_EVENTFD2): Likewise.
8943         (__ASSUME_SIGNALFD4): Likewise.
8944         (__ASSUME_DUP3): Likewise.
8945         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8946         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8947         (__ASSUME_AT_RANDOM): Likewise.
8948         (__ASSUME_PREADV): Likewise.
8949         (__ASSUME_PWRITEV): Likewise.
8950         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8951         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8952         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8953         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8954         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8955         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8956         (__ASSUME_O_CLOEXEC): Define unconditionally.
8957         (__ASSUME_PSELECT): Do not undefine conditionally.
8958         (__ASSUME_PPOLL): Likewise.
8959         (__ASSUME_ATFCTS): Likewise.
8960         (__ASSUME_SET_ROBUST_LIST): Likewise.
8961         (__ASSUME_UTIMENSAT): Likewise.
8962         (__ASSUME_FDATASYNC): Define unconditionally.
8963         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8964         (__ASSUME_SIGFRAME_V2): Likewise.
8965         )__ASSUME_EVENTFD2): Likewise.
8966         (__ASSUME_SIGNALFD4): Likewise.
8967         (__ASSUME_PSELECT): Do not undefine conditionally.
8968         (__ASSUME_PPOLL): Likewise.
8969         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8970         (__ASSUME_PSELECT): Define unconditionally.
8971         (__ASSUME_PPOLL): Likewise.
8972         (__ASSUME_O_CLOEXEC): Likewise.
8973         (__ASSUME_SOCK_CLOEXEC): Likewise.
8974         (__ASSUME_IN_NONBLOCK): Likewise.
8975         (__ASSUME_PIPE2): Likewise.
8976         (__ASSUME_EVENTFD2): Likewise.
8977         (__ASSUME_SIGNALFD4): Likewise.
8978         (__ASSUME_DUP3): Likewise.
8979         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8980         (__ASSUME_O_CLOEXEC): Likewise.
8981         (__ASSUME_SOCK_CLOEXEC): Likewise.
8982         (__ASSUME_IN_NONBLOCK): Likewise.
8983         (__ASSUME_PIPE2): Likewise.
8984         (__ASSUME_EVENTFD2): Likewise.
8985         (__ASSUME_SIGNALFD4): Likewise.
8986         (__ASSUME_DUP3): Likewise.
8987         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8988         (__ASSUME_EVENTFD2): Likewise.
8989         (__ASSUME_SIGNALFD4): Likewise.
8990         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8992 2014-05-12  Andreas Schwab  <schwab@suse.de>
8994         [BZ #16932]
8995         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8996         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8997         than maximum RPC packet size.
8998         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8999         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9000         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9001         (_nss_nis_getservbyport_r): Likewise.
9003 2014-05-12  Will Newton  <will.newton@linaro.org>
9005         * malloc/Makefile (tests): Add tst-mallopt.
9006         * malloc/tst-mallopt.c: New file.
9008 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9010         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9011         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9013 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9015         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9016         (tst-tlsmod6.so): Likewise.
9018 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9020         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9022 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
9024         [BZ #16064]
9025         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9026         and <dl-procinfo.h>.
9027         (__fegetenv): Save SSE state in envp->__eip if supported.
9028         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9029         envp->__eip if supported.
9030         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9031         and <dl-procinfo.h>.
9032         (__fesetenv): Always set __eip, __cs_selector, __opcode,
9033         __data_offset and __data_selector in environment to 0.  Set SSE
9034         state if supported.
9035         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9036         test-fenv-sse.
9037         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9038         -mfpmath=sse.
9039         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9041 2014-05-09  Will Newton  <will.newton@linaro.org>
9043         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9044         and libc_relro_required for ARM.
9045         * sysdeps/arm/preconfigure: Regenerate.
9047 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9048             Stefan Liebler  <stli@linux.vnet.ibm.com>
9050         * config.make.in (enable-lock-elision): New Makefile variable.
9051         * configure.ac: Likewise.
9052         * configure: Regenerate.
9053         * sysdeps/s390/configure.ac:
9054         Add check for gcc transactions support.
9055         * sysdeps/s390/configure: Regenerate.
9056         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9057         Build elision files if enabled.
9058         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9059         Add lock elision support for s390.
9060         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9061         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9062         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9063         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9064         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9065         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9066         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9067         Likewise.
9068         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9069         Likewise.
9070         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9071         Likewise.
9072         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9073         Likewise.
9074         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9075         (__lll_timedlock_elision, __lll_lock_elision)
9076         (__lll_unlock_elision, __lll_trylock_elision)
9077         (lll_timedlock_elision, lll_lock_elision)
9078         (lll_unlock_elision, lll_trylock_elision): Add.
9079         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9080         (pthread_mutex_t): Add lock elision support for s390.
9082 2014-05-14  Wilco  <wdijkstr@arm.com>
9084         * sysdeps/arm/fclrexcpt.c: Cleanup.
9085         * sysdeps/arm/fedisblxcpt.c: Cleanup.
9086         * sysdeps/arm/feenablxcpt.c: Cleanup.
9087         * sysdeps/arm/fegetenv.c: Cleanup.
9088         * sysdeps/arm/fegetexcept.c: Cleanup.
9089         * sysdeps/arm/fegetround.c: Cleanup.
9090         * sysdeps/arm/feholdexcpt.c: Cleanup.
9091         * sysdeps/arm/fesetenv.c: Cleanup.
9092         * sysdeps/arm/fesetround.c: Cleanup.
9093         * sysdeps/arm/feupdateenv.c: Cleanup.
9094         * sysdeps/arm/fgetexcptflg.c: Cleanup.
9095         * sysdeps/arm/fraiseexcpt.c: Cleanup.
9096         * sysdeps/arm/fsetexcptflg.c: Cleanup.
9097         * sysdeps/arm/ftestexcept.c: Cleanup.
9098         * sysdeps/arm/get-rounding-mode.h: Cleanup.
9099         * sysdeps/arm/setfpucw.c: Cleanup.
9101 2014-05-09  Will Newton  <will.newton@linaro.org>
9103         * sysdeps/arm/armv7/strcmp.S: New file.
9104         * NEWS: Mention addition of ARMv7 optimized strcmp.
9106 2014-05-08  Roland McGrath  <roland@hack.frob.com>
9108         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9109         look for %.ac rather than %.in.
9111         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9112         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9113         * sysdeps/mach/hurd/configure: Regenerated.
9114         * sysdeps/unix/sysv/linux/configure: Regenerated.
9116         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9118 2014-05-07  Steve Ellcey  <sellcey@mips.com>
9120         [BZ# 16922]
9121         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9122         (LONG_SUB): Ditto.
9123         (PTR_SUB): Ditto.
9125 2014-05-07  Andreas Schwab  <schwab@suse.de>
9127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9128         when skipping over non-matching result from nscd.
9130 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
9132         [BZ #16876]
9133         * nptl/sockperf.c (client): Check socket return value.
9135         [BZ #16877]
9136         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9137         nscd security class.
9139 2014-05-06  Roland McGrath  <roland@hack.frob.com>
9141         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9142         * sysdeps/arm/unwind.h: ... here.
9144 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
9146         [BZ# 16916]
9147         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9148         Define.
9150 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9152         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9153         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9154         multiarch strncpy for PPC64.
9155         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9156         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9158         multiarch optimizations.
9159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9160         (__libc_ifunc_impl_list): Likewise.
9161         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9162         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9163         multiarch stpncpy for PPC64.
9164         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9165         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9167 2014-05-06  Andreas Schwab  <schwab@suse.de>
9169         [BZ #16912]
9170         * gmon/mcount.c (_MCOUNT_DECL): Use
9171         atomic_compare_and_exchange_bool_acq instead of
9172         catomic_compare_and_exchange_bool_acq.
9174 2014-05-05  Roland McGrath  <roland@hack.frob.com>
9176         * elf/Makefile (others, install-bin): Remove pldd.
9177         (pldd-modules): Variable removed.
9178         ($(objpfx)pldd): Target removed.
9179         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9180         (others, install-bin): Append pldd here.
9181         ($(objpfx)pldd): New target.
9183         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9184         to 0, so the first #if test emitted later doesn't see it undefined.
9185         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9186         * sysdeps/gnu/errlist.c: Regenerated.
9188 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9190         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9191         [libc_hidden_builtin_def]: Define to empty value.
9192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9193         [libc_hidden_builtin_def]: Likewise.
9194         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9195         [libc_hidden_builtin_def]: Likewise.
9196         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9197         [libc_hidden_builtin_def]: Likewise.
9198         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9199         __redirect_memcpy and define ifunc as default hidden symbol.
9200         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9201         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9203 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9205         * locale/iso-4217.def: Reintroduce XDR currency.
9207 2014-05-04  Allan McRae  <allan@archlinux.org>
9209         * po/eo.po: Update Esperanto translation from translation project.
9211 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9213         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9214         and FEATURE_INDEX_MAX to 1.
9215         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9217 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9219         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9220         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9221         * iconvdata/big5.c (ONE_DIRECTION): Define.
9222         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9223         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9224         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9225         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9226         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9227         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9228         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9229         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9230         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9231         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9232         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9233         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9234         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9235         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9236         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9237         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9238         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9239         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9240         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9241         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9242         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9243         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9244         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9245         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9246         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9247         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9248         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9249         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9250         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9251         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9252         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9253         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9254         * iconvdata/johab.c (ONE_DIRECTION): Define.
9255         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9256         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9257         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9258         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9259         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9260         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9261         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9262         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9263         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9264         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9266 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9268         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9269         (_IO_JUMPS_OFFSET): Define to 0.
9271         * nptl/sysdeps/pthread/bits/libc-lock.h
9272         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9273         (__libc_lock_define_initialized_recursive): Always define using
9274         initializer.  Modern compilers treat uninitialized (implicit zero) and
9275         explicit zero initializers the same (i.e. put the datum in bss).
9277 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9279         * nscd/nscd-client.h: Include <string.h>.
9281 2014-05-01  David S. Miller  <davem@davemloft.net>
9283         [BZ #16885]
9284         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9285         multiple zero bytes exist at the end of a string.
9286         Reported by Aurelien Jarno <aurelien@aurel32.net>
9288         * string/test-strcmp.c (check): Add explicit test for situations where
9289         there are multiple zero bytes after the first.
9291 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9293         [BZ #16890]
9294         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9295         when compiling wprintf.
9296         * stdio-common/tstdiomisc.c (t3): New function.
9297         (main): Call it.
9299 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9301         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9302         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9303         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9304         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9306 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9308         * stdlib/longlong.h: Updated from GCC.
9310 2014-05-01  Will Newton  <will.newton@linaro.org>
9311             Bernard Ogden  <bernie.ogden@linaro.org>
9313         * NEWS: Update fixed bug list.
9315         [BZ #15119]
9316         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9318 2014-04-30  David S. Miller  <davem@davemloft.net>
9320         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9321         (libc_feholdexcept_setround_sparc_ctx): New function.
9322         (libc_fesetenv_sparc_ctx): Likewise.
9323         (libc_feupdateenv_sparc_ctx): Likewise.
9324         (libc_feholdsetround_sparc_ctx): Likewise.
9325         (libc_feholdexcept_setround_ctx): Define.
9326         (libc_feholdexcept_setroundf_ctx): Likewise.
9327         (libc_feholdexcept_setroundl_ctx): Likewise.
9328         (libc_fesetenv_ctx): Likewise.
9329         (libc_fesetenvf_ctx): Likewise.
9330         (libc_fesetenvl_ctx): Likewise.
9331         (libc_feupdateenv_ctx): Likewise.
9332         (libc_feupdateenvf_ctx): Likewise.
9333         (libc_feupdateenvl_ctx): Likewise.
9334         (libc_feresetround_ctx): Likewise.
9335         (libc_feresetroundf_ctx): Likewise.
9336         (libc_feresetroundl_ctx): Likewise.
9337         (libc_feholdsetround_ctx): Likewise.
9338         (libc_feholdsetroundf_ctx): Likewise.
9339         (libc_feholdsetroundl_ctx): Likewise.
9341         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9342         with __USE_GNU instead of XOPEN cpp guards.
9344         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9345         0.
9347         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9348         with XOPEN cpp guards.
9350 2014-04-30  Julian Brown  <julian@codesourcery.com>
9352         [BZ #16888]
9353         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9354         handling.
9356 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
9358         [BZ #9894]
9359         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9360         Change to 2.6.32.
9361         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9362         * sysdeps/unix/sysv/linux/configure: Regenerated.
9363         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9364         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9365         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9366         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9367         * README: Update reference to required Linux kernel version.
9368         * manual/install.texi (Linux): Update reference to required Linux
9369         kernel headers version.
9370         * INSTALL: Regenerated.
9372         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9373         header inclusion.
9374         [POSIX] (limits.h): Likewise.
9375         [POSIX] (math.h): Likewise.
9376         [POSIX] (sys/wait.h): Likewise.
9377         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9378         function.
9379         [POSIX] (stddef.h): Do not allow header inclusion.
9381 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9383         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9385 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
9387         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9388         Return immediately after lll_futex_wake.
9390 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9392         [BZ #16791]
9393         * nscd/nscd-client.h (datahead_init_common): Initialize entire
9394         structure.
9395         (datahead_init_pos): Call datahead_init_common early.
9396         (datahead_init_neg): Likewise.
9398         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9399         datahead_init_neg): New functions.
9400         * nscd/aicache.c (addhstaiX): Use them.
9401         * nscd/grpcache.c (cache_addgr): Likewise.
9402         * nscd/hstcache.c (cache_addhst): Likewise.
9403         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9404         * nscd/netgroupcache.c (do_notfound): Likewise.
9405         (addgetnetgrentX): Likewise.
9406         (addinnetgrX): Likewise.
9407         * nscd/pwdcache.c (cache_addpw): Likewise.
9408         * nscd/servicescache.c (cache_addserv): Likewise.
9410 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9411             Atsushi Onoe  <atsushi@onoe.org>
9413         [BZ #14308]
9414         [BZ #12994]
9415         [BZ #13651]
9416         * resolv/res_query.c (__libc_res_nsearch): Return if at least
9417         one response is valid.
9418         * resolv/res_send.c (send_dg): Check for validity of other
9419         response if the current response is a referral.
9421 2014-04-29  Steve Ellcey  <sellcey@mips.com>
9423         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9425 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
9427         [BZ #16823]
9428         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9429         Always divide by positive zero when computing -Inf result.
9430         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9431         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9433 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9435         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9436         FPSCR if value do not change.
9437         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9438         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9439         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9440         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9441         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9442         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9443         function.
9445 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
9447         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9448         * sysdeps/unix/sysv/linux/hppa: Move directory from
9449         ports/systeps/unix/sysv/linux/hppa.
9450         * README: Update listing for hppa-*-linux-gnu.
9452 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
9454         [BZ #16754]
9455         * manual/stdio.texi (Hook functions): Fix types of stream hook
9456         functions.
9457         [BZ #16854]
9458         * socket/sys/socket.h: Fix typo in comment.
9460 2014-04-28  Wilco  <wdijkstr@arm.com>
9462         * sysdeps/arm/fenv_private.h: New file.
9463         * sysdeps/arm/math_private.h: New file.
9464         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9466 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
9468         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9469         with __int128_t.
9470         (La_x86_64_retval): Likewise.
9472 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
9474         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9475         fpsr if value didn't change.
9476         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9477         to fpcr if value didn't change.
9478         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9479         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9480         fpsr or fpcr if value didn't change.
9481         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9482         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9483         fpcr if value didn't change.
9484         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9485         to fpsr if value didn't change.
9487 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9489         * nptl/tst-sem3.c: Use test-skeleton.c
9490         (main): Rename to do_test.  Use return instead of
9491         exit.
9492         * nptl/tst-sem4.c: Use test-skeleton.c
9493         (main): Rename to do_test.
9495 2014-04-22  David S. Miller  <davem@davemloft.net>
9497         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9498         (struct sigaction): New struct member __glibc_reserved0, change
9499         type of sa_flags to int.
9501 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
9503         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9504         (COUNT_LEADING_ZEROS_0): Define for AArch64.
9506 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9508         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9509         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9511 2014-04-22  Will Newton  <will.newton@linaro.org>
9512             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
9514         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9515         (__longjmp): Add longjmp and longjmp_target SystemTap
9516         probes.
9517         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9518         (__sigsetjmp): Add setjmp SystemTap probe.
9520 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
9522         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9523         match manual order.
9525 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9527         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9529         * sysdeps/powerpc/fpu/fenv_private.h
9530         (libc_feholdexcept_setroundl_ctx): Define to
9531         libc_feholdexcept_setround_ppc_ctx.
9532         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9533         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9534         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9535         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9537 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9539         * sysdeps/aarch64/math-tests.h: New file.
9541 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
9543         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9544         New.
9545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9546         Check and set bit_AVX2_Usable.
9547         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9548         macro.
9549         (bit_AVX2): Likewise.
9550         (index_AVX2_Usable): Likewise.
9551         (CPUID_AVX2): Likewise.
9552         (HAS_AVX2): Likewise.
9554 2014-04-17  Will Newton  <will.newton@linaro.org>
9556         * manual/setjmp.texi (System V contexts): Add note that
9557         calling setcontext on a context created by a call to a
9558         signal handler is undefined.  Update text to note that
9559         setcontext from a signal handler is possible but not
9560         recommended.
9562         [BZ #16629]
9563         * stdlib/tst-setcontext.c: Include signal.h.
9564         (main): Check that the signal stack before and
9565         after swapcontext is the same.
9567         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9568         Re-implement to restore registers in user code and avoid
9569         rt_sigreturn system call.
9571 2014-04-17  Wilco  <wdijkstr@arm.com>
9573         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9574         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9575         * math/test-fenv.c: Skip exception trap tests on targets which only
9576         support non-stop mode.
9578 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9579             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9581         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9582         (libc_feholdsetround_aarch64_ctx)
9583         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9584         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9585         (libc_feresetround_ctx, libc_feresetroundf_ctx)
9586         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9587         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9588         (libc_feresetround_noexl_ctx): Define.
9590 2014-04-16  Richard Henderson  <rth@redhat.com>
9592         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9594         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9595         unwind tables.
9597         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9598         const from the non-libc, non-ldso copy.
9600         * sysdeps/alpha/libm-test-ulps: Regenerate.
9602 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
9603             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9605         * sysdeps/aarch64/fpu/math_private.h: New file.
9607 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9609         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9611 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
9613         [BZ #16275]
9614         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9615         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9617         Intel MPX bound registers before _dl_profile_fixup.
9618         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9619         registers after _dl_profile_fixup.  Save and restore bound
9620         registers bnd0/bnd1 when calling _dl_call_pltexit.
9621         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9622         (LR_BND_OFFSET): Likewise.
9623         (LRV_BND0_OFFSET): Likewise.
9624         (LRV_BND1_OFFSET): Likewise.
9626 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9628         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9629         to...
9630         * sysdeps/mach/hurd/i386/tls.h: ... here.
9631         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9632         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9633         fields.
9635 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9637         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9639 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9641         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9643 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9645         [BZ #14770]
9646         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9647         * sysdeps/s390/configure: Regenerate.
9649         [BZ #16824]
9650         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9651         Set round-to-nearest internally to reduce error accumulation.
9653 2014-04-16  Alan Modra  <amodra@gmail.com>
9655         [BZ #16740]
9656         [BZ #16619]
9657         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9658         * math/libm-test.inc (frexp_test_data): Add tests.
9659         * NEWS: Update fixed bug list.
9661 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9663         * benchtests/Makefile: Depend on libraries in build directory.
9664         (bench-math): Separate out math tests.
9665         (bench-pthread): Separate out pthread tests.
9666         (bench): Include math and pthread tests.
9668 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
9670         [BZ #16831]
9671         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9672         _dl_debug_initialize.
9674         * configure.ac: Remove SELinux header check.
9675         * configure: Regenerate.
9676         * nscd/selinux.c (perms): Array of const char* to permission names.
9677         (nscd_request_avc_has_perm): Call security_deny_unknown to find
9678         default policy. Call string_to_security_class and string_to_av_perm to
9679         translate strings. Enforce default policy and call avs_has_perm with
9680         results of translated strings.
9682 2014-04-13  David S. Miller  <davem@davemloft.net>
9684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9686 2014-04-12  Allan McRae  <allan@archlinux.org>
9688         [BZ #16838]
9689         * manual/string.texi (Collation Functions): Fix qsort argument
9690         order in example.
9691         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9693 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
9695         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9696         Make the test a no-op if there are no exceptions defined.
9698 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9700         * elf/Makefile (tests): make tst-dlopen-aout conditional on
9701         enable-hardcoded-path-in-tests
9703 2014-04-11  Will Newton  <will.newton@linaro.org>
9705         * benchtests/Makefile (extra-objs): Add json-lib.o.
9706         (bench-func): Tidy up JSON output.
9707         * benchtests/bench-skeleton.c: Include json-lib.h.
9708         (main): Use JSON library functions to do output of
9709         benchmark results.
9710         * benchtests/bench-timing-type.c (main): Output the
9711         timing type simply, leaving formatting to the user.
9712         * benchtests/json-lib.c: New file.
9713         * benchtests/json-lib.h: Likewise.
9715 2014-04-11  Torvald Riegel  <triegel@redhat.com>
9717         [BZ #15215]
9718         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9719         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
9720         memory barriers.  Add comments.
9721         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9722         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9723         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9724         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9725         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9726         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9728 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9730         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9731         * sysdeps/s390/s390-64/configure.ac: ... this ...
9732         * sysdeps/s390/configure.ac: ... to here.
9733         * sysdeps/s390/s390-32/configure: Delete file.
9734         * sysdeps/s390/s390-64/configure: Delete file.
9735         * sysdeps/s390/configure: Regenerate.
9737 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
9739         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9741 2014-04-11  Will Newton  <will.newton@linaro.org>
9743         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9744         to zero if it is not defined elsewhere.  (mtrim): Test
9745         the value of MALLOC_DEBUG with #if rather than #ifdef.
9747 2014-04-10 Torvald Riegel  <triegel@redhat.com>
9749         * benchtests/pthread_once-inputs: New file.
9750         * benchtests/pthread_once-source.c: New file.
9751         * benchtests/README: Update documentation.
9753 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9754             H.J. Lu  <hongjiu.lu@intel.com>
9756         [BZ #16275]
9757         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9758         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9759         * sysdeps/x86_64/configure: Regenerated.
9760         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9761         macro.
9762         (REGISTER_SAVE_RAX): Likewise.
9763         (REGISTER_SAVE_RCX): Likewise.
9764         (REGISTER_SAVE_RDX): Likewise.
9765         (REGISTER_SAVE_RSI): Likewise.
9766         (REGISTER_SAVE_RDI): Likewise.
9767         (REGISTER_SAVE_R8): Likewise.
9768         (REGISTER_SAVE_R9): Likewise.
9769         (REGISTER_SAVE_BND0): Likewise.
9770         (REGISTER_SAVE_BND1): Likewise.
9771         (REGISTER_SAVE_BND2): Likewise.
9772         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
9773         bound registers when calling _dl_fixup.
9775 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9777         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9778         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9779         of its definition.
9780         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9781         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9782         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9783         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9784         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9785         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9786         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9788 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
9790         [BZ #15514]
9791         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9792         pathconf(_PC_NAME_MAX).
9794 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9796         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9797         Remove macro usage.
9798         (__PTHREAD_SPINS): Move definition to ...
9799         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9800         (__PTHREAD_SPINS): ... here.
9801         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9802         (__PTHREAD_SPIN): Likewise.
9803         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9804         (__PTHREAD_SPIN): Likewise.
9805         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9806         (__PTHREAD_SPIN): Likewise.
9807         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9808         (__PTHREAD_SPIN): Likewise.
9809         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9810         (__PTHREAD_SPIN): Likewise.
9811         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9812         (__PTHREAD_SPIN): Likewise.
9813         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9814         (__PTHREAD_SPIN): Likewise.
9815         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9816         (__PTHREAD_SPIN): Likewise.
9817         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9818         (__PTHREAD_SPIN): Likewise.
9819         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9820         (__PTHREAD_SPIN): Likewise.
9821         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9822         (__PTHREAD_SPIN): Likewise.
9823         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9824         (__PTHREAD_SPIN): Likewise.
9826         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9827         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9828         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9829         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9830         imply folder.
9831         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9832         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9833         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9834         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9835         correct imply path.
9836         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9837         strlen symbol for non multi-arch builds.
9838         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9839         missing hidden_def and weak_alias.
9841 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9843         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9845 2014-04-07  Will Newton  <will.newton@linaro.org>
9847         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9848         and contents.  [!_LIBC] Remove #ifndef and contents.
9849         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9850         * string/memccpy.c (__memccpy): Use ANSI prototype.
9851         * string/memfrob.c (memfrob): Likewise.
9852         * string/strcoll.c (STRCOLL): Likewise.
9853         * string/strlen.c (strlen): Likewise.
9854         * string/strtok.c (STRTOK): Likewise.
9855         * string/strcat.c: Remove unused #include of memcopy.h.
9856         (strcat): Use ANSI prototype.
9857         * string/strchr.c: Remove unused #include of memcopy.h.
9858         (strchr): Use ANSI prototype.
9859         * string/strcmp.c: Remove unused #include of memcopy.h.
9860         (strcmp): Use ANSI prototype.
9861         * string/strcpy.c: Remove unused #include of memcopy.h.
9862         (strcpy): Use ANSI prototype.
9864 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9866         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9867         * config.make.in (config-extra-cppflags): Set it from
9868         libc_extra_cppflags.
9869         * configure.ac (libc_extra_cflags): Make it accumulate over
9870         configure fragments.
9871         (libc_extra_cppflags): New flag.
9872         * configure. Regenerate.
9873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9874         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9875         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9878         [BZ #16815]
9879         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9880         result for FE_DOWNWARD rounding mode.
9881         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9882         Likewise.
9883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9885 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9887         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9888         in function argument name.
9890 2014-04-03  David Svoboda  <svoboda@cert.org>
9892         [BZ #5666]
9893         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9894         explicitly.
9896 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9898         * elf/dl-unmap-segments.h: New file.
9899         * sysdeps/generic/ldsodefs.h
9900         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9901         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9902         * elf/dl-fptr.c: Likewise.
9903         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9904         * sysdeps/aarch64/tlsdesc.c: Likewise.
9905         * sysdeps/arm/tlsdesc.c: Likewise.
9906         * sysdeps/i386/tlsdesc.c: Likewise.
9907         * sysdeps/tile/dl-runtime.c: Likewise.
9908         * sysdeps/x86_64/tlsdesc.c: Likewise.
9909         * elf/dl-load.h: New file.
9910         * elf/dl-load.c: Include it.
9911         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9912         Macros moved to dl-load.h.
9913         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9914         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9915         Use _dl_unmap_segments in place of __munmap.
9916         Break out segment-mapping loop into ...
9917         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9919 2014-04-03  Will Newton  <will.newton@linaro.org>
9921         * elf/dl-lookup.c (do_lookup_x): Remove comment
9922         referring to nested function and move variable
9923         declarations down to before first use.
9925 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9927         [BZ #16799]
9928         [BZ #16800]
9929         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9930         with 0 numerator.
9931         * math/s_catanf.c (__catanf): Likewise.
9932         * math/s_catanh.c (__catanh): Likewise.
9933         * math/s_catanhf.c (__catanhf): Likewise.
9934         * math/s_catanhl.c (__catanhl): Likewise.
9935         * math/s_catanl.c (__catanl): Likewise.
9936         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9937         by positive zero when computing -Inf result.
9938         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9939         (catanh_test): Likewise.
9940         * sysdeps/i386/fpu/libm-test-ulps: Update.
9941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9943         [BZ #16789]
9944         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9945         instead of using underflowing value in computing result.
9946         * math/s_clog10.c (__clog10): Likewise.
9947         * math/s_clog10f.c (__clog10f): Likewise.
9948         * math/s_clog10l.c (__clog10l): Likewise.
9949         * math/s_clogf.c (__clogf): Likewise.
9950         * math/s_clogl.c (__clogl): Likewise.
9951         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9952         (clog10_test): Likewise.
9953         * sysdeps/i386/fpu/libm-test-ulps: Update.
9954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9956 2014-04-02  Alan Modra  <amodra@gmail.com>
9958         [BZ #16739]
9959         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9960         output when value is near a power of two.  Use int64_t for lx and
9961         remove casts.  Use decimal rather than hex exponent constants.
9962         Don't use long double multiplication when double will suffice.
9963         * math/libm-test.inc (nextafter_test_data): Add tests.
9964         * NEWS: Add 16739 and 16786 to bug list.
9966         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9968         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9970 2014-04-01  Will Newton  <will.newton@linaro.org>
9972         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9973         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9975 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9977         [BZ #13347]
9978         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9979         * nptl/tst-setuid2.c: New file.
9980         * nptl/Makefile (xtests): Add tst-setuid2.
9982 2014-04-01  Alan Modra  <amodra@gmail.com>
9984         [BZ #16786]
9985         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9987 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9989         [BZ #6803]
9990         [BZ #6804]
9991         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9992         set errno as appropriate.
9993         * math/w_scalbf.c (__scalbf): Likewise.
9994         * math/w_scalbl.c (__scalbl): Likewise.
9995         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9996         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9997         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9998         Add more NaN tests.
10000         [BZ #16349]
10001         * math/w_atan2.c: Include <errno.h>.
10002         (__atan2): Set errno for result underflowing to zero.
10003         * math/w_atan2f.c: Include <errno.h>.
10004         (__atan2f): Set errno for result underflowing to zero.
10005         * math/w_atan2l.c: Include <errno.h>.
10006         (__atan2l): Set errno for result underflowing to zero.
10007         * math/auto-libm-test-in: Don't allow missing errno for some atan2
10008         tests.
10009         * math/auto-libm-test-out: Regenerated.
10011 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10013         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10014         Encode instruction correctly in little endian.
10015         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10016         Likewise.
10017         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10018         Likewise.
10019         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10020         Likewise.
10021         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10022         Likewise.
10024 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10026         [BZ #9894]
10027         * sysdeps/unix/sysv/linux/kernel-features.h
10028         [__sparc__ && !__arch64__ && !__sparc_v9__]
10029         (__ASSUME_SET_ROBUST_LIST): Do not define.
10030         [__sparc__ && !__arch64__ && !__sparc_v9__]
10031         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10032         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10033         Likewise.
10034         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10035         (__ASSUME_FUTEX_LOCK_PI): Undefine.
10036         (__ASSUME_REQUEUE_PI): Likewise.
10037         (__ASSUME_SET_ROBUST_LIST): Likewise.
10038         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10039         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10040         Undefine.
10041         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10042         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10043         Likewise.
10044         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10045         Likewise.
10046         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10047         Likewise.
10048         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10049         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10050         Undefine.
10051         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10052         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10053         Likewise.
10055         [BZ #16648]
10056         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10057         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10058         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10060 2014-03-31  Will Newton  <will.newton@linaro.org>
10062         * benchtests/Makefile (bench): Add ffs and ffsll to list
10063         of tests.
10064         * benchtests/ffs-inputs: New file.
10065         * benchtests/ffsll-inputs: Likewise.
10067 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
10069         [BZ #16770]
10070         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10071         too large before casting to int.
10072         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10073         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10074         * math/libm-test.inc (scalb_test_data): Add more tests.
10076 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10078         * benchtests/Makefile (DETAILED_OPT): New make option.
10079         (bench-func): Run benchmark program with -d if DETAILED_OPT is
10080         set.
10081         * benchtests/bench-skeleton.c: Include stdbool.h.
10082         (main): Store and print timings per input.
10083         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10084         member to each argument value.
10085         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10086         (_print_arg_data): Initialize per-input timing to 0.
10088         * benchtests/Makefile (timing-type): New binary.
10089         (bench-clean): Also remove bench-timing-type.
10090         (bench): New target for timing-type.
10091         (bench-func): Print output in JSON format.
10092         * benchtests/bench-skeleton.c (main): Print output in JSON
10093         format.
10094         * benchtests/bench-timing-type.c: New file.
10095         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10096         (TIMING_PRINT_STATS): Remove.
10097         * benchtests/scripts/bench.py (_print_arg_data): Store variant
10098         name separately.
10100         * benchtests/bench-modf.c: Remove.
10101         * benchtests/modf-inputs: New inputs file.
10103 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
10105         [BZ #16362]
10106         * math/s_clog10.c (M_PI_LOG10E): New macro.
10107         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10108         imaginary parts are 0.
10109         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10110         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10111         imaginary parts are 0.
10112         * math/s_clog10l.c (M_PI_LOG10El): New macro.
10113         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10114         imaginary parts are 0.
10115         * math/libm-test.inc (clog10_test_data): Update expected results
10116         for when real and imaginary parts are 0.
10118 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10120         * elf/dl-load.c: Finish conversion of __builtin_expect into
10121         __glibc_{un}likely.
10123 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
10125         [BZ #16348]
10126         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10127         1+x for argument with exponent below -67.
10128         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10129         Likewise.
10130         * math/auto-libm-test-in: Add more tests of exp.
10131         * math/auto-libm-test-out: Regenerated.
10133 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10135         [BZ #16759]
10136         * inet/getnetgrent_r.c (get_nonempty_val): New function.
10137         (nscd_getnetgrent): Use it.
10139         [BZ #16760]
10140         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10141         of stpcpy.
10143 2014-03-27  Andi Kleen  <ak@linux.intel.com>
10145         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10146         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10147         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10148         (lll_robust_unlock): Remove out of line section. Use cfi
10149         intrinsics.
10150         (LLL_STUB_UNWIND_INFO*): Remove.
10151         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10152         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10153         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10154         (lll_robust_unlock): Remove out of line section. Use cfi
10155         intrinsics.
10156         (LLL_STUB_UNWIND_INFO*): Remove.
10158 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10160         [BZ #16758]
10161         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10162         blank values.
10164 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10166         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10168 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
10170         [BZ #16198]
10171         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10172         fnstenv.
10173         * math/test-fenv-preserve.c: New file.
10174         * math/Makefile (tests): Add test-fenv-preserve.
10176 2014-03-26  Will Newton <will.newton@linaro.org>
10178         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10180 2014-03-25  Roland McGrath  <roland@hack.frob.com>
10182         * scripts/versionlist.awk: Partition the version sets and emit all
10183         GLIBC_* (sorted) before all others (sorted).
10185 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10187         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10188         GLIBC_2.2.5 version.
10190 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10192         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10193         calls.
10195         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10196         previous change.
10198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10200 2014-03-25  Andreas Schwab  <schwab@suse.de>
10202         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10203         label to be used after in6ailist is initialized.
10205 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10207         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10208         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10210 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10212         [BZ #16357]
10213         [BZ #16599]
10214         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10215         min_plus_half.
10216         (fp_formats): Update initializers.
10217         (init_fp_formats): Initialize new field.
10218         (output_for_one_input_case): Allow underflow for results up to
10219         min_plus_half.
10220         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10221         * math/auto-libm-test-in: Don't mark some underflows from asin and
10222         atanh as spurious.
10223         * math/auto-libm-test-out: Regenerated.
10224         * sysdeps/i386/fpu/libm-test-ulps: Update.
10225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10227 2014-03-25  Andreas Schwab  <schwab@suse.de>
10229         * libio/Makefile (tst-ftell-partial-wide-ENV)
10230         (tst-ftell-active-handler-ENV): Define.
10232 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10234         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10236 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10238         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10240 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10242         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10243         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10244         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10246 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10248         [BZ #16634]
10249         * elf/dl-load.c (open_verify): Add mode parameter.
10250         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10251         (open_path): Change from boolean 'secure' to complete flag 'mode'
10252         (_dl_map_object): Adjust.
10253         * elf/Makefile (tests): Add tst-dlopen-aout.
10254         * elf/tst-dlopen-aout.c: New test.
10256 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10258         [BZ #16714]
10259         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10260         (struct stat): Rename member pad0 to __glibc_reserved0.
10262         [BZ #16712]
10263         * sysdeps/s390/s390-32/bits/wordsize.h
10264         (__WORDSIZE32_SIZE_ULONG): New define.
10265         * sysdeps/s390/s390-64/bits/wordsize.h
10266         (__WORDSIZE32_SIZE_ULONG): Likewise.
10267         * sysdeps/generic/stdint.h (SIZE_MAX):
10268         Define as UL if __WORDSIZE32_SIZE_ULONG.
10270         [BZ #16713]
10271         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10272         (__glibc_reserved0): New variable.
10273         (sa_flags): Change type to int.
10275         * posix/Makefile (before-compile): Use += before-compile instead
10276         of a :=.
10278         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10279         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10281 2014-03-20  Andreas Schwab  <schwab@suse.de>
10283         [BZ #16743]
10284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10285         non-matching result from nscd.
10287 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10289         * scripts/bench.py: Moved to ...
10290         * benchtests/scripts/bench.py: ... here.
10291         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10293 2014-03-24  Andreas Schwab  <schwab@suse.de>
10295         [BZ #16002]
10296         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10297         alloca_account and account alloca use for struct in6ailist.
10299 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10301         [BZ #16284]
10302         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10303         rounding mode to recompute results that overflow to infinity or
10304         underflow to zero.
10305         * math/auto-libm-test-in: Don't mark tests as expected to fail for
10306         bug 16284.
10307         * math/auto-libm-test-out: Regenerated.
10308         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10309         (ccosh_test): Likewise.
10310         (csin_test_data): Use plus_oflow.
10311         (csin_test): Use ALL_RM_TEST.
10312         (csinh_test_data): Use plus_oflow.
10313         (csinh_test): Use ALL_RM_TEST.
10314         * sysdeps/i386/fpu/libm-test-ulps: Update.
10315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10317 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
10319         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10320         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10321         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10323         [BZ #16731]
10324         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10325         when x - 1 is zero.
10326         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10327         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10328         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10329         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10330         argument is 1.
10331         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10332         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10333         zero.
10334         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10335         * sysdeps/i386/fpu/libm-test-ulps: Update.
10336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10338 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10340         * scripts/bench.pl: Remove file.
10341         * scripts/bench.py: New benchmark script.
10342         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10343         * benchtests/README: Mention python dependency.
10344         * scripts/pylintrc: New file.
10345         * scripts/pylint: New file.
10347         * bits/mathdef.h: Use #ifdef instead of #if.
10348         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10349         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10350         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10351         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10352         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10353         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10355 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10356             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10358         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10360         and strpbrk-ppc64 objects.
10361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10362         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10363         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10364         multiarch strpbrk for POWER7.
10365         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10366         multiarch strpbrk for PPC64.
10367         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10368         ifunc selector.
10369         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10370         strpbrk for POWER7.
10372 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10374         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10375         (atan_test): Likewise.
10376         (atanh_test_data): Use NO_TEST_INLINE for two tests.
10377         (atanh_test): Use ALL_RM_TEST.
10378         (atan2_test_data): Likewise.
10379         (cabs_test): Likewise.
10380         (cacosh_test): Likewise.
10381         (carg_test): Likewise.
10382         (casin_test): Likewise.
10383         (casinh_test): Likewise.
10384         (cbrt_test): Likewise.
10385         (csqrt_test): Likewise.
10386         (erf_test): Likewise.
10387         (erfc_test): Likewise.
10388         (pow10_test): Likewise.
10389         (exp2_test): Likewise.
10390         (hypot_test): Likewise.
10391         (j0_test): Likewise.
10392         (j1_test): Likewise.
10393         (lgamma_test): Likewise.
10394         (gamma_test): Likewise.
10395         (sincos_test): Likewise.
10396         (tanh_test): Likewise.
10397         (y0_test): Likewise.
10398         (y1_test): Likewise.
10399         * sysdeps/i386/fpu/libm-test-ulps: Update.
10400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10402 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10404         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10406         and strcspn-ppc64 objects.
10407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10408         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10409         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10410         multiarch strcspn for POWER7.
10411         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10412         multiarch strcspn for PPC64.
10413         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10414         ifunc selector.
10415         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10416         strcspn for POWER7.
10418 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10420         * math/gen-libm-test.pl (generate_testfile): Expect only function
10421         name as argument to AUTO_TESTS_* and pass results for all rounding
10422         modes to parse_args.
10423         (parse_auto_input): Separate inputs of automatic tests from
10424         outputs before storing in %auto_tests.
10425         * math/libm-test.inc (acos_test_data): Update call to
10426         AUTO_TESTS_f_f.
10427         (acos_test): Use ALL_RM_TEST.
10428         (acos_tonearest_test_data): Remove.
10429         (acos_test_tonearest): Likewise.
10430         (acos_towardzero_test_data): Likewise.
10431         (acos_test_towardzero): Likewise.
10432         (acos_downward_test_data): Likewise.
10433         (acos_test_downward): Likewise.
10434         (acos_upward_test_data): Likewise.
10435         (acos_test_upward): Likewise.
10436         (acosh_test_data): Update call to AUTO_TESTS_f_f.
10437         (asin_test_data): Likewise.
10438         (asin_test): Use ALL_RM_TEST.
10439         (asin_tonearest_test_data): Remove.
10440         (asin_test_tonearest): Likewise.
10441         (asin_towardzero_test_data): Likewise.
10442         (asin_test_towardzero): Likewise.
10443         (asin_downward_test_data): Likewise.
10444         (asin_test_downward): Likewise.
10445         (asin_upward_test_data): Likewise.
10446         (asin_test_upward): Likewise.
10447         (asinh_test_data): Update call to AUTO_TESTS_f_f.
10448         (atan_test_data): Likewise.
10449         (atanh_test_data): Likewise.
10450         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10451         (cabs_test_data): Update call to AUTO_TESTS_c_f.
10452         (carg_test_data): Likewise.
10453         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10454         (ccos_test_data): Update call to AUTO_TESTS_c_c.
10455         (ccosh_test_data): Likewise.
10456         (cexp_test_data): Likewise.
10457         (clog_test_data): Likewise.
10458         (clog10_test_data): Likewise.
10459         (cos_test_data): Update call to AUTO_TESTS_f_f.
10460         (cos_test): Use ALL_RM_TEST.
10461         (cos_tonearest_test_data): Remove.
10462         (cos_test_tonearest): Likewise.
10463         (cos_towardzero_test_data): Likewise.
10464         (cos_test_towardzero): Likewise.
10465         (cos_downward_test_data): Likewise.
10466         (cos_test_downward): Likewise.
10467         (cos_upward_test_data): Likewise.
10468         (cos_test_upward): Likewise.
10469         (cosh_test_data): Update call to AUTO_TESTS_f_f.
10470         (cosh_test): Use ALL_RM_TEST.
10471         (cosh_tonearest_test_data): Remove.
10472         (cosh_test_tonearest): Likewise.
10473         (cosh_towardzero_test_data): Likewise.
10474         (cosh_test_towardzero): Likewise.
10475         (cosh_downward_test_data): Likewise.
10476         (cosh_test_downward): Likewise.
10477         (cosh_upward_test_data): Likewise.
10478         (cosh_test_upward): Likewise.
10479         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10480         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10481         (ctan_test_data): Likewise.
10482         (ctan_test): Use ALL_RM_TEST.
10483         (ctan_tonearest_test_data): Remove.
10484         (ctan_test_tonearest): Likewise.
10485         (ctan_towardzero_test_data): Likewise.
10486         (ctan_test_towardzero): Likewise.
10487         (ctan_downward_test_data): Likewise.
10488         (ctan_test_downward): Likewise.
10489         (ctan_upward_test_data): Likewise.
10490         (ctan_test_upward): Likewise.
10491         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10492         (ctanh_test): Use ALL_RM_TEST.
10493         (ctanh_tonearest_test_data): Remove.
10494         (ctanh_test_tonearest): Likewise.
10495         (ctanh_towardzero_test_data): Likewise.
10496         (ctanh_test_towardzero): Likewise.
10497         (ctanh_downward_test_data): Likewise.
10498         (ctanh_test_downward): Likewise.
10499         (ctanh_upward_test_data): Likewise.
10500         (ctanh_test_upward): Likewise.
10501         (erf_test_data): Update call to AUTO_TESTS_f_f.
10502         (erfc_test_data): Likewise.
10503         (exp_test_data): Likewise.
10504         (exp_test): Use ALL_RM_TEST.
10505         (exp_tonearest_test_data): Remove.
10506         (exp_test_tonearest): Likewise.
10507         (exp_towardzero_test_data): Likewise.
10508         (exp_test_towardzero): Likewise.
10509         (exp_downward_test_data): Likewise.
10510         (exp_test_downward): Likewise.
10511         (exp_upward_test_data): Likewise.
10512         (exp_test_upward): Likewise.
10513         (exp10_test_data): Update call to AUTO_TESTS_f_f.
10514         (exp10_test): Use ALL_RM_TEST.
10515         (exp10_tonearest_test_data): Remove.
10516         (exp10_test_tonearest): Likewise.
10517         (exp10_towardzero_test_data): Likewise.
10518         (exp10_test_towardzero): Likewise.
10519         (exp10_downward_test_data): Likewise.
10520         (exp10_test_downward): Likewise.
10521         (exp10_upward_test_data): Likewise.
10522         (exp10_test_upward): Likewise.
10523         (exp2_test_data): Update call to AUTO_TESTS_f_f.
10524         (expm1_test_data): Likewise.
10525         (expm1_test): Use ALL_RM_TEST.
10526         (expm1_tonearest_test_data): Remove.
10527         (expm1_test_tonearest): Likewise.
10528         (expm1_towardzero_test_data): Likewise.
10529         (expm1_test_towardzero): Likewise.
10530         (expm1_downward_test_data): Likewise.
10531         (expm1_test_downward): Likewise.
10532         (expm1_upward_test_data): Likewise.
10533         (expm1_test_upward): Likewise.
10534         (fma_test_data): Update call to AUTO_TESTS_fff_f.
10535         (fma_test): Use ALL_RM_TEST.
10536         (fma_towardzero_test_data): Remove.
10537         (fma_test_towardzero): Likewise.
10538         (fma_downward_test_data): Likewise.
10539         (fma_test_downward): Likewise.
10540         (fma_upward_test_data): Likewise.
10541         (fma_test_upward): Likewise.
10542         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10543         (j0_test_data): Update call to AUTO_TESTS_f_f.
10544         (j1_test_data): Likewise.
10545         (jn_test_data): Update call to AUTO_TESTS_if_f.
10546         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10547         (log_test_data): Update call to AUTO_TESTS_f_f.
10548         (log10_test_data): Likewise.
10549         (log1p_test_data): Likewise.
10550         (log2_test_data): Likewise.
10551         (pow_test_data): Update call to AUTO_TESTS_ff_f.
10552         (pow_tonearest_test_data): Likewise.
10553         (sin_test_data): Update call to AUTO_TESTS_f_f.
10554         (sin_test): Use ALL_RM_TEST.
10555         (sin_tonearest_test_data): Remove.
10556         (sin_test_tonearest): Likewise.
10557         (sin_towardzero_test_data): Likewise.
10558         (sin_test_towardzero): Likewise.
10559         (sin_downward_test_data): Likewise.
10560         (sin_test_downward): Likewise.
10561         (sin_upward_test_data): Likewise.
10562         (sin_test_upward): Likewise.
10563         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10564         (sinh_test_data): Update call to AUTO_TESTS_f_f.
10565         (sinh_test): Use ALL_RM_TEST.
10566         (sinh_tonearest_test_data): Remove.
10567         (sinh_test_tonearest): Likewise.
10568         (sinh_towardzero_test_data): Likewise.
10569         (sinh_test_towardzero): Likewise.
10570         (sinh_downward_test_data): Likewise.
10571         (sinh_test_downward): Likewise.
10572         (sinh_upward_test_data): Likewise.
10573         (sinh_test_upward): Likewise.
10574         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10575         (sqrt_test): Use ALL_RM_TEST.
10576         (sqrt_tonearest_test_data): Remove.
10577         (sqrt_test_tonearest): Likewise.
10578         (sqrt_towardzero_test_data): Likewise.
10579         (sqrt_test_towardzero): Likewise.
10580         (sqrt_downward_test_data): Likewise.
10581         (sqrt_test_downward): Likewise.
10582         (sqrt_upward_test_data): Likewise.
10583         (sqrt_test_upward): Likewise.
10584         (tan_test_data): Update call to AUTO_TESTS_f_f.
10585         (tan_test): Use ALL_RM_TEST.
10586         (tan_tonearest_test_data): Remove.
10587         (tan_test_tonearest): Likewise.
10588         (tan_towardzero_test_data): Likewise.
10589         (tan_test_towardzero): Likewise.
10590         (tan_downward_test_data): Likewise.
10591         (tan_test_downward): Likewise.
10592         (tan_upward_test_data): Likewise.
10593         (tan_test_upward): Likewise.
10594         (tanh_test_data): Update call to AUTO_TESTS_f_f.
10595         (tgamma_test_data): Likewise.
10596         (y0_test_data): Likewise.
10597         (y1_test_data): Likewise.
10598         (yn_test_data): Update call to AUTO_TESTS_if_f.
10599         (main): Do not call removed functions.
10601 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10603         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10604         (ldexp_test_data): Remove.
10605         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
10606         scalbn_test_data.
10607         (scalb_test): Use ALL_RM_TEST.
10609 2014-03-19  Andreas Schwab  <schwab@suse.de>
10611         * nscd/nscd.service: Also invalidate netgroup cache on reload.
10613 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10615         [BZ #16649]
10616         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10617         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10618         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10619         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10620         (__ASSUME_PREADV): Undefine.
10621         (__ASSUME_PWRITEV): Likewise.
10623 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10625         * bits/mman-linux.h: Add comment about non-Linux use.
10626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10627         bits/mman-linux.h resting place.
10629         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10630         * bits/mman-linux.h: ... here.
10632 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10634         * conform/conformtest.pl: Add standard definition when calling C
10635         preprocessor on data files.
10636         (checknamespace): Remove unused variable.
10638 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10640         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10641         minus_oflow, plus_uflow and minus_uflow in expected results.
10642         * math/libm-test.inc (scalbn_test_data): Add more tests of
10643         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
10644         minus_uflow.
10645         (scalbn_test): Use ALL_RM_TEST.
10646         (scalbln_test_data): Add more tests of negative arguments.  Use
10647         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10648         (scalbln_test): Use ALL_RM_TEST.
10650 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10652         * scripts/abilist.awk: Ignore symbols marked with .hidden.
10654 2014-03-18  Will Newton  <will.newton@linaro.org>
10656         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10657         inaccurate comment.
10659 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10661         * Makerules [!subdir] (check-abi): Exit with error status if a
10662         test failed.
10664 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10666         * math/libm-test.inc (nearbyint_test_data): Include all tests used
10667         for rint.  Include results for all rounding modes.
10668         (nearbyint_test): Use ALL_RM_TEST.
10669         (rint_test_data): Include all tests used for nearbyint.
10671 2014-03-17  Will Newton  <will.newton@linaro.org>
10673         * nptl/sysdeps/pthread/pthread.h: Revert previous
10674         change.
10676         * sysdeps/generic/ldsodefs.h: Revert previous
10677         change.
10679         * libio/genops.c: Revert previous change.
10680         * libio/libioP.h: Likewise.
10681         * stdio-common/vfprintf.c: Likewise.
10683         * sysdeps/generic/math_private.h: Revert previous
10684         change.
10686         * sysdeps/generic/math_private.h: Check whether
10687         HAVE_RM_CTX is defined with #ifdef rather
10688         than #if.
10690         * argp/argp-fmtstream.h: Check whether
10691         __STRICT_ANSI__ is defined with #ifdef rather
10692         than #if.
10693         * argp/argp.h: Likewise.
10695         * libio/genops.c: Check whether
10696         _IO_JUMPS_OFFSET is defined with #ifdef rather
10697         than #if.
10698         * libio/libioP.h: Likewise.
10699         * stdio-common/vfprintf.c: Likewise.
10701         * sysdeps/generic/ldsodefs.h: Check whether
10702         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10703         than #if.
10705         * nptl/sysdeps/pthread/pthread.h: Check
10706         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10707         its value.
10709 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10711         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10712         setting O_APPEND.
10713         * libio/tst-ftell-active-handler.c (do_append_test): Add a
10714         test case.
10716         [BZ #16680]
10717         * libio/fileops.c (_IO_file_open): Seek to end of file but
10718         don't cache the offset.
10719         (get_file_offset): Remove function.
10720         (do_ftell): Use cached offset when available.
10721         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10722         don't cache the offset.
10723         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10724         case.
10725         (do_one_test): Call it.
10726         (do_ftell_test): Fix up expected old offset for a+ mode.
10727         * libio/wfileops.c (do_ftell_wide): Used cached offset when
10728         available.
10730         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10731         up test status with function return status.
10732         (do_write_test): Likewise.
10733         (do_append_test): Likewise.
10735         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10736         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10737         Remove.
10739 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10741         * math/gen-libm-test.pl (parse_args): Handle results specified for
10742         each rounding mode separately.
10743         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10744         tests and results from lrint_tonearest_test_data,
10745         lrint_towardzero_test_data, lrint_downward_test_data and
10746         lrint_upward_test_data.
10747         (lrint_test): Use ALL_RM_TEST.
10748         (lrint_tonearest_test_data): Remove.
10749         (lrint_test_tonearest): Likewise.
10750         (lrint_towardzero_test_data): Likewise.
10751         (lrint_test_towardzero): Likewise.
10752         (lrint_downward_test_data): Likewise.
10753         (lrint_test_downward): Likewise.
10754         (lrint_upward_test_data): Likewise.
10755         (lrint_test_upward): Likewise.
10756         (llrint_test_data): Merge in per-rounding-mode tests and results
10757         from llrint_tonearest_test_data, llrint_towardzero_test_data,
10758         llrint_downward_test_data and llrint_upward_test_data.
10759         (llrint_test): Use ALL_RM_TEST.
10760         (llrint_tonearest_test_data): Remove.
10761         (llrint_test_tonearest): Likewise.
10762         (llrint_towardzero_test_data): Likewise.
10763         (llrint_test_towardzero): Likewise.
10764         (llrint_downward_test_data): Likewise.
10765         (llrint_test_downward): Likewise.
10766         (llrint_upward_test_data): Likewise.
10767         (llrint_test_upward): Likewise.
10768         (rint_test_data): Merge in per-rounding-mode tests and results
10769         from rint_tonearest_test_data, rint_towardzero_test_data,
10770         rint_downward_test_data and rint_upward_test_data.  Add
10771         per-rounding-mode results for tests not in those arrays.
10772         (rint_test): Use ALL_RM_TEST.
10773         (rint_tonearest_test_data): Remove.
10774         (rint_test_tonearest): Likewise.
10775         (rint_towardzero_test_data): Likewise.
10776         (rint_test_towardzero): Likewise.
10777         (rint_downward_test_data): Likewise.
10778         (rint_test_downward): Likewise.
10779         (rint_upward_test_data): Likewise.
10780         (rint_test_upward): Likewise.
10781         (main): Don't call removed functions.
10783 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10785         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10786         "Compiled on ..." crapola.  It is anti-useful.
10788 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
10790         * scripts/evaluate-test.sh: Handle fourth argument to determine
10791         whether test run should stop on failure.
10792         * Makeconfig (stop-on-test-failure): New variable.
10793         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10794         $(stop-on-test-failure).
10795         * Makefile (tests): Give a summary of results from testing and
10796         exit with failure status if they include an ERROR or FAIL.
10797         (xtests): Likewise.
10798         * manual/install.texi (Configuring and compiling): Mention
10799         stop-on-test-failure=y.
10800         * INSTALL: Regenerated.
10802 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10804         * scripts/versionlist.awk: New file.
10805         * Makerules [$(build-shared) = yes]
10806         (postclean-generated): Add Versions.def, not Versions.def.v and
10807         Versions.def.v.i.
10808         ($(common-objpfx)Versions.def.v.i): Target removed.
10809         ($(common-objpfx)Versions.def): New target.
10810         ($(common-objpfx)Versions.all): Depend on that rather that
10811         $(common-objpfx)Versions.def.v.
10812         * Versions.def: File removed.
10814         * Makeconfig (+gccwarn): Add -Wundef.
10815         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10816         a dl-sysdep.h breaking its contract.
10817         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10818         * include/stackinfo.h: New file.
10819         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10820         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10821         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10822         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10823         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10824         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10825         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10826         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10827         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10828         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10829         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10830         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10831         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10832         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10833         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10835 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10837         [BZ #16707]
10838         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10839         implementation.
10840         * math/libm-test.inc (round_test_data): Add more tests.
10842         [BZ #16706]
10843         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10844         implementation.
10845         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10847         [BZ #16701]
10848         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10849         implementation.
10850         * math/libm-test.inc (ceil_test_data): Add more tests.
10852         * math/libm-test.inc (trunc_test_data): Add more tests related to
10853         BZ#16414.
10855 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10857         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10858         with #if rather than #ifdef.
10859         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10861 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10863         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10864         first.  Disable AVX-512 GCC support if assembler doesn't support
10865         it.
10866         * sysdeps/x86_64/configure: Regenerated.
10868 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10870         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10871         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10872         (__old_pthread_attr_setstack): Likewise.
10873         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10874         [!_STACK_GROWS_DOWN]: Likewise.
10876 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10878         * config.make.in (have-bash2): Delete.
10879         * configure.ac (libc_cv_have_bash2): Delete.
10880         * configure: Regenerate.
10881         * elf/Makefile (common-ldd-rewrite): Rename to ...
10882         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10883         (sh-ldd-rewrite): Delete.
10884         (bash-ldd-rewrite): Delete.
10885         (have-bash2): Delete checks.
10886         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10887         ldd-rewrite.
10889         * config.make.in (have-ksh): Delete.
10890         (KSH): Delete.
10891         * configure.ac (libc_cv_have_ksh): Delete.
10892         * configure: Regenerate.
10894         * elf/Makefile: Delete $(have-ksh) check.
10895         ($(objpfx)sotruss): Change KSH to BASH.
10896         * elf/sotruss.ksh: Rename to ...
10897         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10898         function style to match POSIX.  Drop ksh vim mode setting.
10900         * manual/time.texi (Specifying the Time Zone with TZ): Change
10901         Tuesday to Thursday.
10903         * debug/tst-longjmp_chk2.c: Update header comment.
10904         (stackoverflow_handler): Add comment.  Call assert on pass value.
10906 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10908         [BZ #16194]
10909         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10910         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10911         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10912         (La_x86_64_vector): Add zmm.
10913         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10914         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10915         ($(objpfx)tst-audit10): New target.
10916         ($(objpfx)tst-audit10.out): Likewise.
10917         (tst-audit10-ENV): New.
10918         (AVX512-CFLAGS): Likewise.
10919         (CFLAGS-tst-audit10.c): Likewise.
10920         (CFLAGS-tst-auditmod10a.c): Likewise.
10921         (CFLAGS-tst-auditmod10b.c): Likewise.
10922         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10923         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10924         * sysdeps/x86_64/configure: Regenerated.
10925         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10926         AVX-512 zmm register support.
10927         (_dl_x86_64_save_sse): Likewise.
10928         (_dl_x86_64_restore_sse): Likewise.
10929         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10930         size vector registers.
10931         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10932         (ZMM_SIZE): Likewise.
10933         * sysdeps/x86_64/tst-audit10.c: New file.
10934         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10935         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10937 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10939         * configure.ac (HAVE_EHDR_START): New check.
10940         * configure: Regenerated.
10941         * config.h.in (HAVE_EHDR_START): New #undef.
10942         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10943         assuming the lowest-addressed segment maps the start of the file.
10945 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10947         * INSTALL: Regenerated.
10949 2014-03-13  Will Newton  <will.newton@linaro.org>
10951         * manual/setjmp.texi (System V contexts): Improve
10952         clarity and grammar of documentation.
10954 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10956         [BZ #16381]
10957         * elf/Makefile (tests): Add tst-pie2.
10958         (tests-pie): Add tst-pie2.
10959         * elf/tst-pie2.c: New file.
10960         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10961         for ET_EXEC.
10962         * elf/rtld.c (map_doit): Load executable as lt_executable.
10963         (dl_main): Likewise.
10965 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10967         [BZ #16642]
10968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10969         (__ASSUME_PSELECT): Undefine.
10971 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10973         [BZ #16689]
10974         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10975         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10976         static build.
10977         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10978         selector for static builds.
10980 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10982         [BZ #16695]
10983         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10984         key in the buffer.
10986 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10988         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10989         IFUNC selector for static builds.
10991 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10993         * sysdeps/mips/math_private.h [__mips_hard_float]
10994         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10995         libc_feresetround_mips_ctx.
10996         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10997         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10998         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11000         [BZ #16677]
11001         * math/s_nextafter.c (__nextafter): Do not return value from
11002         overflowing computation.
11003         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11004         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11005         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11006         Likewise.
11007         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11008         Likewise.
11009         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11010         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11012 2014-03-11  Roland McGrath  <roland@hack.frob.com>
11014         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11015         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11016         Move sfi_sp use from the load-multiple (that no longer sets sp) to
11017         the new mov targetting sp.
11019 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11021         [BZ #16683]
11022         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11023         Define it for static builds as well.
11024         (NO_BZERO_IMPL): Likewise.
11026 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11028         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11029         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11030         multiarch strspn for PPC64.
11031         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11032         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11034         (__libc_ifunc_impl_list): Likewise.
11035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11036         multiarch optimizations
11037         * string/strspn.c (strspn): Using macro to redefine symbol name.
11039 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11040             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11042         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11043         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11044         multiarch strncat for PPC64.
11045         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11046         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11048         (__libc_ifunc_impl_list): Likewise.
11049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11050         multiarch optimizations
11052 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11054         [BZ #16639]
11055         * nscd/nscd.service: Make service type forking.
11057 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11059         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11060         sign in non default rounding modes.
11061         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11063 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
11065         * math/libm-test.inc (ALL_RM_TEST): New macro.
11066         (ceil_test): Use ALL_RM_TEST.
11067         (cimag_test): Likewise.
11068         (conj_test): Likewise.
11069         (copysign_test): Likewise.
11070         (cproj_test): Likewise.
11071         (creal_test): Likewise.
11072         (fabs_test): Likewise.
11073         (floor_test): Likewise.
11074         (fmax_test): Likewise.
11075         (fmin_test): Likewise.
11076         (fmod_test): Likewise.
11077         (fpclassify_test): Likewise.
11078         (frexp_test): Likewise.
11079         (ilogb_test): Likewise.
11080         (isfinite_test): Likewise.
11081         (finite_test): Likewise.
11082         (isgreater_test): Likewise.
11083         (isgreaterequal_test): Likewise.
11084         (isinf_test): Likewise.
11085         (isless_test): Likewise.
11086         (islessequal_test): Likewise.
11087         (islessgreater_test): Likewise.
11088         (isnan_test): Likewise.
11089         (isnormal_test): Likewise.
11090         (issignaling_test): Likewise.
11091         (isunordered_test): Likewise.
11092         (logb_test): Likewise.
11093         (logb_downward_test_data): Remove.
11094         (logb_test_downward): Likewise.
11095         (lround_test): Use ALL_RM_TEST.
11096         (llround_test): Likewise.
11097         (modf_test): Likewise.
11098         (nexttoward_test): Likewise.
11099         (remainder_test): Likewise.
11100         (drem_test): Likewise.
11101         (remainder_tonearest_test_data): Likewise.
11102         (remainder_test_tonearest): Likewise.
11103         (drem_test_tonearest): Likewise.
11104         (remainder_towardzero_test_data): Likewise.
11105         (remainder_test_towardzero): Likewise.
11106         (drem_test_towardzero): Likewise.
11107         (remainder_downward_test_data): Likewise.
11108         (remainder_test_downward): Likewise.
11109         (drem_test_downward): Likewise.
11110         (remainder_upward_test_data): Likewise.
11111         (remainder_test_upward): Likewise.
11112         (drem_test_upward): Likewise.
11113         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
11114         (round_test): Use ALL_RM_TEST.
11115         (signbit_test): Likewise.
11116         (trunc_test): Likewise.
11117         (significand_test): Likewise.
11118         (main): Don't call removed functions.
11120 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11122         [BZ #16674]
11123         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11124         || __USE_XOPEN2K8].
11125         (ILL_ILLOPN): Likewise.
11126         (ILL_ILLADR): Likewise.
11127         (ILL_ILLTRP): Likewise.
11128         (ILL_PRVOPC): Likewise.
11129         (ILL_PRVREG): Likewise.
11130         (ILL_COPROC): Likewise.
11131         (ILL_BADSTK): Likewise.
11132         (FPE_INTDIV): Likewise.
11133         (FPE_INTOVF): Likewise.
11134         (FPE_FLTDIV): Likewise.
11135         (FPE_FLTOVF): Likewise.
11136         (FPE_FLTUND): Likewise.
11137         (FPE_FLTRES): Likewise.
11138         (FPE_FLTINV): Likewise.
11139         (FPE_FLTSUB): Likewise.
11140         (SEGV_MAPERR): Likewise.
11141         (SEGV_ACCERR): Likewise.
11142         (BUS_ADRALN): Likewise.
11143         (BUS_ADRERR): Likewise.
11144         (BUS_OBJERR): Likewise.
11145         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11146         (TRAP_TRACE): Likewise.
11147         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11148         __USE_XOPEN2K8].
11149         (CLD_KILLED): Likewise.
11150         (CLD_DUMPED): Likewise.
11151         (CLD_TRAPPED): Likewise.
11152         (CLD_STOPPED): Likewise.
11153         (CLD_CONTINUED): Likewise.
11154         (POLL_IN): Likewise.
11155         (POLL_OUT): Likewise.
11156         (POLL_MSG): Likewise.
11157         (POLL_ERR): Likewise.
11158         (POLL_PRI): Likewise.
11159         (POLL_HUP): Likewise.
11160         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11161         Likewise.
11162         (ILL_ILLOPN): Likewise.
11163         (ILL_ILLADR): Likewise.
11164         (ILL_ILLTRP): Likewise.
11165         (ILL_PRVOPC): Likewise.
11166         (ILL_PRVREG): Likewise.
11167         (ILL_COPROC): Likewise.
11168         (ILL_BADSTK): Likewise.
11169         (FPE_INTDIV): Likewise.
11170         (FPE_INTOVF): Likewise.
11171         (FPE_FLTDIV): Likewise.
11172         (FPE_FLTOVF): Likewise.
11173         (FPE_FLTUND): Likewise.
11174         (FPE_FLTRES): Likewise.
11175         (FPE_FLTINV): Likewise.
11176         (FPE_FLTSUB): Likewise.
11177         (SEGV_MAPERR): Likewise.
11178         (SEGV_ACCERR): Likewise.
11179         (BUS_ADRALN): Likewise.
11180         (BUS_ADRERR): Likewise.
11181         (BUS_OBJERR): Likewise.
11182         (BUS_MCEERR_AR): Likewise.
11183         (BUS_MCEERR_AO): Likewise.
11184         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11185         (TRAP_TRACE): Likewise.
11186         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11187         __USE_XOPEN2K8].
11188         (CLD_KILLED): Likewise.
11189         (CLD_DUMPED): Likewise.
11190         (CLD_TRAPPED): Likewise.
11191         (CLD_STOPPED): Likewise.
11192         (CLD_CONTINUED): Likewise.
11193         (POLL_IN): Likewise.
11194         (POLL_OUT): Likewise.
11195         (POLL_MSG): Likewise.
11196         (POLL_ERR): Likewise.
11197         (POLL_PRI): Likewise.
11198         (POLL_HUP): Likewise.
11199         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11200         (ILL_ILLOPN): Likewise.
11201         (ILL_ILLADR): Likewise.
11202         (ILL_ILLTRP): Likewise.
11203         (ILL_PRVOPC): Likewise.
11204         (ILL_PRVREG): Likewise.
11205         (ILL_COPROC): Likewise.
11206         (ILL_BADSTK): Likewise.
11207         (FPE_INTDIV): Likewise.
11208         (FPE_INTOVF): Likewise.
11209         (FPE_FLTDIV): Likewise.
11210         (FPE_FLTOVF): Likewise.
11211         (FPE_FLTUND): Likewise.
11212         (FPE_FLTRES): Likewise.
11213         (FPE_FLTINV): Likewise.
11214         (FPE_FLTSUB): Likewise.
11215         (SEGV_MAPERR): Likewise.
11216         (SEGV_ACCERR): Likewise.
11217         (BUS_ADRALN): Likewise.
11218         (BUS_ADRERR): Likewise.
11219         (BUS_OBJERR): Likewise.
11220         (BUS_MCEERR_AR): Likewise.
11221         (BUS_MCEERR_AO): Likewise.
11222         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11223         (TRAP_TRACE): Likewise.
11224         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11225         __USE_XOPEN2K8].
11226         (CLD_KILLED): Likewise.
11227         (CLD_DUMPED): Likewise.
11228         (CLD_TRAPPED): Likewise.
11229         (CLD_STOPPED): Likewise.
11230         (CLD_CONTINUED): Likewise.
11231         (POLL_IN): Likewise.
11232         (POLL_OUT): Likewise.
11233         (POLL_MSG): Likewise.
11234         (POLL_ERR): Likewise.
11235         (POLL_PRI): Likewise.
11236         (POLL_HUP): Likewise.
11237         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11238         Likewise.
11239         (ILL_ILLOPN): Likewise.
11240         (ILL_ILLADR): Likewise.
11241         (ILL_ILLTRP): Likewise.
11242         (ILL_PRVOPC): Likewise.
11243         (ILL_PRVREG): Likewise.
11244         (ILL_COPROC): Likewise.
11245         (ILL_BADSTK): Likewise.
11246         (ILL_BADIADDR): Likewise.
11247         (ILL_BREAK): Likewise.
11248         (FPE_INTDIV): Likewise.
11249         (FPE_INTOVF): Likewise.
11250         (FPE_FLTDIV): Likewise.
11251         (FPE_FLTOVF): Likewise.
11252         (FPE_FLTUND): Likewise.
11253         (FPE_FLTRES): Likewise.
11254         (FPE_FLTINV): Likewise.
11255         (FPE_FLTSUB): Likewise.
11256         (FPE_DECOVF): Likewise.
11257         (FPE_DECDIV): Likewise.
11258         (FPE_DECERR): Likewise.
11259         (FPE_INVASC): Likewise.
11260         (FPE_INVDEC): Likewise.
11261         (SEGV_MAPERR): Likewise.
11262         (SEGV_ACCERR): Likewise.
11263         (SEGV_PSTKOVF): Likewise.
11264         (BUS_ADRALN): Likewise.
11265         (BUS_ADRERR): Likewise.
11266         (BUS_OBJERR): Likewise.
11267         (BUS_MCEERR_AR): Likewise.
11268         (BUS_MCEERR_AO): Likewise.
11269         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11270         (TRAP_TRACE): Likewise.
11271         (TRAP_BRANCH): Likewise.
11272         (TRAP_HWBKPT): Likewise.
11273         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11274         __USE_XOPEN2K8].
11275         (CLD_KILLED): Likewise.
11276         (CLD_DUMPED): Likewise.
11277         (CLD_TRAPPED): Likewise.
11278         (CLD_STOPPED): Likewise.
11279         (CLD_CONTINUED): Likewise.
11280         (POLL_IN): Likewise.
11281         (POLL_OUT): Likewise.
11282         (POLL_MSG): Likewise.
11283         (POLL_ERR): Likewise.
11284         (POLL_PRI): Likewise.
11285         (POLL_HUP): Likewise.
11286         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11287         (ILL_ILLOPN): Likewise.
11288         (ILL_ILLADR): Likewise.
11289         (ILL_ILLTRP): Likewise.
11290         (ILL_PRVOPC): Likewise.
11291         (ILL_PRVREG): Likewise.
11292         (ILL_COPROC): Likewise.
11293         (ILL_BADSTK): Likewise.
11294         (FPE_INTDIV): Likewise.
11295         (FPE_INTOVF): Likewise.
11296         (FPE_FLTDIV): Likewise.
11297         (FPE_FLTOVF): Likewise.
11298         (FPE_FLTUND): Likewise.
11299         (FPE_FLTRES): Likewise.
11300         (FPE_FLTINV): Likewise.
11301         (FPE_FLTSUB): Likewise.
11302         (SEGV_MAPERR): Likewise.
11303         (SEGV_ACCERR): Likewise.
11304         (BUS_ADRALN): Likewise.
11305         (BUS_ADRERR): Likewise.
11306         (BUS_OBJERR): Likewise.
11307         (BUS_MCEERR_AR): Likewise.
11308         (BUS_MCEERR_AO): Likewise.
11309         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11310         (TRAP_TRACE): Likewise.
11311         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11312         __USE_XOPEN2K8].
11313         (CLD_KILLED): Likewise.
11314         (CLD_DUMPED): Likewise.
11315         (CLD_TRAPPED): Likewise.
11316         (CLD_STOPPED): Likewise.
11317         (CLD_CONTINUED): Likewise.
11318         (POLL_IN): Likewise.
11319         (POLL_OUT): Likewise.
11320         (POLL_MSG): Likewise.
11321         (POLL_ERR): Likewise.
11322         (POLL_PRI): Likewise.
11323         (POLL_HUP): Likewise.
11324         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11325         (ILL_ILLOPN): Likewise.
11326         (ILL_ILLADR): Likewise.
11327         (ILL_ILLTRP): Likewise.
11328         (ILL_PRVOPC): Likewise.
11329         (ILL_PRVREG): Likewise.
11330         (ILL_COPROC): Likewise.
11331         (ILL_BADSTK): Likewise.
11332         (FPE_INTDIV): Likewise.
11333         (FPE_INTOVF): Likewise.
11334         (FPE_FLTDIV): Likewise.
11335         (FPE_FLTOVF): Likewise.
11336         (FPE_FLTUND): Likewise.
11337         (FPE_FLTRES): Likewise.
11338         (FPE_FLTINV): Likewise.
11339         (FPE_FLTSUB): Likewise.
11340         (SEGV_MAPERR): Likewise.
11341         (SEGV_ACCERR): Likewise.
11342         (BUS_ADRALN): Likewise.
11343         (BUS_ADRERR): Likewise.
11344         (BUS_OBJERR): Likewise.
11345         (BUS_MCEERR_AR): Likewise.
11346         (BUS_MCEERR_AO): Likewise.
11347         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11348         (TRAP_TRACE): Likewise.
11349         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11350         __USE_XOPEN2K8].
11351         (CLD_KILLED): Likewise.
11352         (CLD_DUMPED): Likewise.
11353         (CLD_TRAPPED): Likewise.
11354         (CLD_STOPPED): Likewise.
11355         (CLD_CONTINUED): Likewise.
11356         (POLL_IN): Likewise.
11357         (POLL_OUT): Likewise.
11358         (POLL_MSG): Likewise.
11359         (POLL_ERR): Likewise.
11360         (POLL_PRI): Likewise.
11361         (POLL_HUP): Likewise.
11362         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11363         (ILL_ILLOPN): Likewise.
11364         (ILL_ILLADR): Likewise.
11365         (ILL_ILLTRP): Likewise.
11366         (ILL_PRVOPC): Likewise.
11367         (ILL_PRVREG): Likewise.
11368         (ILL_COPROC): Likewise.
11369         (ILL_BADSTK): Likewise.
11370         (FPE_INTDIV): Likewise.
11371         (FPE_INTOVF): Likewise.
11372         (FPE_FLTDIV): Likewise.
11373         (FPE_FLTOVF): Likewise.
11374         (FPE_FLTUND): Likewise.
11375         (FPE_FLTRES): Likewise.
11376         (FPE_FLTINV): Likewise.
11377         (FPE_FLTSUB): Likewise.
11378         (SEGV_MAPERR): Likewise.
11379         (SEGV_ACCERR): Likewise.
11380         (BUS_ADRALN): Likewise.
11381         (BUS_ADRERR): Likewise.
11382         (BUS_OBJERR): Likewise.
11383         (BUS_MCEERR_AR): Likewise.
11384         (BUS_MCEERR_AO): Likewise.
11385         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11386         (TRAP_TRACE): Likewise.
11387         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11388         __USE_XOPEN2K8].
11389         (CLD_KILLED): Likewise.
11390         (CLD_DUMPED): Likewise.
11391         (CLD_TRAPPED): Likewise.
11392         (CLD_STOPPED): Likewise.
11393         (CLD_CONTINUED): Likewise.
11394         (POLL_IN): Likewise.
11395         (POLL_OUT): Likewise.
11396         (POLL_MSG): Likewise.
11397         (POLL_ERR): Likewise.
11398         (POLL_PRI): Likewise.
11399         (POLL_HUP): Likewise.
11400         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11401         (ILL_ILLOPN): Likewise.
11402         (ILL_ILLADR): Likewise.
11403         (ILL_ILLTRP): Likewise.
11404         (ILL_PRVOPC): Likewise.
11405         (ILL_PRVREG): Likewise.
11406         (ILL_COPROC): Likewise.
11407         (ILL_BADSTK): Likewise.
11408         (ILL_DBLFLT): Likewise.
11409         (ILL_HARDWALL): Likewise.
11410         (FPE_INTDIV): Likewise.
11411         (FPE_INTOVF): Likewise.
11412         (FPE_FLTDIV): Likewise.
11413         (FPE_FLTOVF): Likewise.
11414         (FPE_FLTUND): Likewise.
11415         (FPE_FLTRES): Likewise.
11416         (FPE_FLTINV): Likewise.
11417         (FPE_FLTSUB): Likewise.
11418         (SEGV_MAPERR): Likewise.
11419         (SEGV_ACCERR): Likewise.
11420         (BUS_ADRALN): Likewise.
11421         (BUS_ADRERR): Likewise.
11422         (BUS_OBJERR): Likewise.
11423         (BUS_MCEERR_AR): Likewise.
11424         (BUS_MCEERR_AO): Likewise.
11425         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11426         (TRAP_TRACE): Likewise.
11427         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11428         __USE_XOPEN2K8].
11429         (CLD_KILLED): Likewise.
11430         (CLD_DUMPED): Likewise.
11431         (CLD_TRAPPED): Likewise.
11432         (CLD_STOPPED): Likewise.
11433         (CLD_CONTINUED): Likewise.
11434         (POLL_IN): Likewise.
11435         (POLL_OUT): Likewise.
11436         (POLL_MSG): Likewise.
11437         (POLL_ERR): Likewise.
11438         (POLL_PRI): Likewise.
11439         (POLL_HUP): Likewise.
11440         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11441         (ILL_ILLOPN): Likewise.
11442         (ILL_ILLADR): Likewise.
11443         (ILL_ILLTRP): Likewise.
11444         (ILL_PRVOPC): Likewise.
11445         (ILL_PRVREG): Likewise.
11446         (ILL_COPROC): Likewise.
11447         (ILL_BADSTK): Likewise.
11448         (FPE_INTDIV): Likewise.
11449         (FPE_INTOVF): Likewise.
11450         (FPE_FLTDIV): Likewise.
11451         (FPE_FLTOVF): Likewise.
11452         (FPE_FLTUND): Likewise.
11453         (FPE_FLTRES): Likewise.
11454         (FPE_FLTINV): Likewise.
11455         (FPE_FLTSUB): Likewise.
11456         (SEGV_MAPERR): Likewise.
11457         (SEGV_ACCERR): Likewise.
11458         (BUS_ADRALN): Likewise.
11459         (BUS_ADRERR): Likewise.
11460         (BUS_OBJERR): Likewise.
11461         (BUS_MCEERR_AR): Likewise.
11462         (BUS_MCEERR_AO): Likewise.
11463         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11464         (TRAP_TRACE): Likewise.
11465         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11466         __USE_XOPEN2K8].
11467         (CLD_KILLED): Likewise.
11468         (CLD_DUMPED): Likewise.
11469         (CLD_TRAPPED): Likewise.
11470         (CLD_STOPPED): Likewise.
11471         (CLD_CONTINUED): Likewise.
11472         (POLL_IN): Likewise.
11473         (POLL_OUT): Likewise.
11474         (POLL_MSG): Likewise.
11475         (POLL_ERR): Likewise.
11476         (POLL_PRI): Likewise.
11477         (POLL_HUP): Likewise.
11478         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11479         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11481         [BZ #16670]
11482         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11483         before #include of <time.h>.
11484         [!__USE_XOPEN2K] (__need_timespec): Likewise.
11485         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11486         (test-xfail-UNIX98/sched.h/conform): Likewise.
11488 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11490         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11491         error absence of trapping exception support.
11492         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11494 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11496         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11497         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11498         * timezone/Makefile (testdata): Move definition above include of
11499         Rules.
11500         (test-zones): New variable.
11501         (tests-special): Add zone files.
11502         (build-testdata): Use $(evaluate-test).
11504         * elf/Makefile (tests-special): Rename tests to end with .out.
11505         ($(objpfx)noload-mem): Likewise.
11506         ($(objpfx)tst-leaks1-mem): Likewise.
11507         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11508         * iconv/Makefile (xtests-special): Change test-iconvconfig to
11509         $(objpfx)test-iconvconfig.out.
11510         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
11511         set -e inside subshell and redirect output to file.
11512         * iconvdata/Makefile (generated): Rename tests to end with .out.
11513         Correct type.
11514         (tests-special): Rename tests to end with .out.
11515         ($(objpfx)mtrace-tst-loading): Likewise.
11516         * intl/Makefile (generated): Likewise.
11517         (tests-special): Likewise.
11518         ($(objpfx)mtrace-tst-gettext): Likewise.
11519         * misc/Makefile (generated): Likewise.
11520         (tests-special): Likewise.
11521         ($(objpfx)tst-error1-mem): Likewise.
11522         * nptl/Makefile (tests-special): Likewise.
11523         ($(objpfx)tst-stack3-mem): Likewise.
11524         (generated): Likewise.
11525         * posix/Makefile (generated): Likewise.
11526         (tests-special): Likewise.
11527         (xtests-special): Likewise.
11528         ($(objpfx)tst-fnmatch-mem): Likewise.
11529         ($(objpfx)bug-regex2-mem): Likewise.
11530         ($(objpfx)bug-regex14-mem): Likewise.
11531         ($(objpfx)bug-regex21-mem): Likewise.
11532         ($(objpfx)bug-regex31-mem): Likewise.
11533         ($(objpfx)tst-vfork3-mem): Likewise.
11534         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11535         ($(objpfx)tst-pcre-mem): Likewise.
11536         ($(objpfx)tst-boost-mem): Likewise.
11537         ($(objpfx)bug-ga2-mem): Likewise.
11538         ($(objpfx)bug-glob2-mem): Likewise.
11539         * resolv/Makefile (generate): Likewise.
11540         (tests-special): Likewise.
11541         (xtests-special): Likewise.
11542         (generated): Likewise.
11543         ($(objpfx)mtrace-tst-leaks): Likewise.
11544         ($(objpfx)mtrace-tst-leaks2): Likewise.
11546         * scripts/merge-test-results.sh: New file.
11547         * Makefile (tests-special-notdir): New variable.
11548         (tests): Run merge-test-results.sh.
11549         (xtests): Likewise.
11550         * Rules (tests-special-notdir): New variable.
11551         (xtests-special-notdir): Likewise.
11552         (tests): Run merge-test-results.sh
11553         (xtests): Likewise.
11555         * Makeconfig (test-xfail-name): New variable.
11556         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11557         compute variable name for expected failures.
11558         * conform/Makefile (conformtest-headers-data): New variable.
11559         (conformtest-standards): Likewise.
11560         (conformtest-headers-ISO): Likewise.
11561         (conformtest-headers-ISO99): Likewise.
11562         (conformtest-headers-ISO11): Likewise.
11563         (conformtest-headers-POSIX): Likewise.
11564         (conformtest-headers-XPG3): Likewise.
11565         (conformtest-headers-XPG4): Likewise.
11566         (conformtest-headers-UNIX98): Likewise.
11567         (conformtest-headers-XOPEN2K): Likewise.
11568         (conformtest-headers-POSIX2008): Likewise.
11569         (conformtest-headers-XOPEN2K8): Likewise.
11570         (conformtest-header-list-base): Likewise.
11571         (conformtest-header-list-tests): Likewise.
11572         (conformtest-header-base): Likewise.
11573         (conformtest-header-tests): Likewise.
11574         (tests-special): Add $(conformtest-header-list-tests).  If
11575         [$(fast-check) && !$(cross-compiling)], add
11576         $(conformtest-header-tests) instead of
11577         $(objpfx)run-conformtest.out.
11578         (generated): Add $(conformtest-header-list-base).  If
11579         [$(fast-check) && !$(cross-compiling)], add
11580         $(conformtest-header-base).  Remove previous setting.
11581         ($(conformtest-header-list-tests)): New target.
11582         (test-xfail-run-conformtest): Remove variable.
11583         ($(objpfx)run-conformtest.out): Remove target.
11584         (test-xfail-ISO11/complex.h/conform): New variable.
11585         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11586         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11587         (test-xfail-XPG3/varargs.h/conform): Likewise.
11588         (test-xfail-XPG4/varargs.h/conform): Likewise.
11589         (test-xfail-UNIX98/varargs.h/conform): Likewise.
11590         (test-xfail-XPG4/ndbm.h/conform): Likewise.
11591         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11592         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11593         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11594         (test-xfail-XPG3/fcntl.h/conform): Likewise.
11595         (test-xfail-XPG3/ftw.h/conform): Likewise.
11596         (test-xfail-XPG3/grp.h/conform): Likewise.
11597         (test-xfail-XPG3/langinfo.h/conform): Likewise.
11598         (test-xfail-XPG3/limits.h/conform): Likewise.
11599         (test-xfail-XPG3/pwd.h/conform): Likewise.
11600         (test-xfail-XPG3/search.h/conform): Likewise.
11601         (test-xfail-XPG3/signal.h/conform): Likewise.
11602         (test-xfail-XPG3/stdio.h/conform): Likewise.
11603         (test-xfail-XPG3/stdlib.h/conform): Likewise.
11604         (test-xfail-XPG3/string.h/conform): Likewise.
11605         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11606         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11607         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11608         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11609         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11610         (test-xfail-XPG3/sys/types.h/conform): Likewise.
11611         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11612         (test-xfail-XPG3/termios.h/conform): Likewise.
11613         (test-xfail-XPG3/time.h/conform): Likewise.
11614         (test-xfail-XPG3/unistd.h/conform): Likewise.
11615         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11616         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11617         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11618         (test-xfail-XPG4/netdb.h/conform): Likewise.
11619         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11620         (test-xfail-XPG4/signal.h/conform): Likewise.
11621         (test-xfail-XPG4/stdio.h/conform): Likewise.
11622         (test-xfail-XPG4/stdlib.h/conform): Likewise.
11623         (test-xfail-XPG4/stropts.h/conform): Likewise.
11624         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11625         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11626         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11627         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11628         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11629         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11630         (test-xfail-XPG4/sys/time.h/conform): Likewise.
11631         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11632         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11633         (test-xfail-XPG4/termios.h/conform): Likewise.
11634         (test-xfail-XPG4/ucontext.h/conform): Likewise.
11635         (test-xfail-XPG4/unistd.h/conform): Likewise.
11636         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11637         (test-xfail-POSIX/sched.h/conform): Likewise.
11638         (test-xfail-POSIX/signal.h/conform): Likewise.
11639         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11640         (test-xfail-POSIX/tar.h/conform): Likewise.
11641         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11642         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11643         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11644         (test-xfail-UNIX98/netdb.h/conform): Likewise.
11645         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11646         (test-xfail-UNIX98/sched.h/conform): Likewise.
11647         (test-xfail-UNIX98/signal.h/conform): Likewise.
11648         (test-xfail-UNIX98/stdio.h/conform): Likewise.
11649         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11650         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11651         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11652         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11653         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11654         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11655         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11656         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11657         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11658         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11659         (test-xfail-UNIX98/unistd.h/conform): Likewise.
11660         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11661         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11662         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11663         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11664         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11665         (test-xfail-XOPEN2K/math.h/conform): Likewise.
11666         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11667         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11668         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11669         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11670         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11671         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11672         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11673         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11674         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11675         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11676         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11677         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11678         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11679         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11680         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11681         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11682         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11683         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11684         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11685         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11686         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11687         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11688         (test-xfail-POSIX2008/signal.h/conform): Likewise.
11689         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11690         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11691         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11692         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11693         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11694         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11695         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11696         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11697         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11698         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11699         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11700         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11701         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11702         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11703         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11704         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11705         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11706         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11707         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11708         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11709         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11710         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11711         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11712         (conformtest-cc-flags): Likewise.
11713         ($(conformtest-header-tests): New target.
11714         * conform/check-header-lists.sh: New file.
11715         * conform/run-conformtest.sh: Remove.
11717         * conform/conformtest.pl: Allow ' and \ in values given for
11718         constants.
11719         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11720         inclusion.
11721         [POSIX] (sys/types.h): Likewise.
11722         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11723         inclusion.
11724         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11725         inclusion.
11726         * conform/data/signal.h-data (SIGIO): Remove expectation.
11727         [XPG3] (SIGBUS): Do not expect.
11728         [POSIX || XPG3] (SIGPOLL): Likewise.
11729         [POSIX || XPG3] (SIGPROF): Likewise.
11730         [POSIX || XPG3] (SIGSYS): Likewise.
11731         [XPG3] (SIGTRAP): Likewise.
11732         [POSIX || XPG3] (SIGURG): Likewise.
11733         [POSIX || XPG3] (SIGVTALRM): Likewise.
11734         [POSIX || XPG3] (SIGXCPU): Likewise.
11735         [POSIX || XPG3] (SIGXFSZ): Likewise.
11736         [POSIX] (SA_SIGINFO): Expect.
11737         [XPG3] (siginfo_t): Do not expect type or contents.
11738         [POSIX] (si_pid): Do not expect element.
11739         [POSIX] (si_uid): Likewise.
11740         [POSIX] (si_addr): Likewise.
11741         [POSIX] (si_status): Likewise.
11742         [POSIX] (si_band): Likewise.
11743         [XPG4] (si_value): Likewise.
11744         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11745         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11746         [POSIX || XPG3] (ILL_ILLADR): Likewise.
11747         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11748         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11749         [POSIX || XPG3] (ILL_PRVREG): Likewise.
11750         [POSIX || XPG3] (ILL_COPROC): Likewise.
11751         [POSIX || XPG3] (ILL_BADSTK): Likewise.
11752         [POSIX || XPG3] (FPE_INTDIV): Likewise.
11753         [POSIX || XPG3] (FPE_INTOVF): Likewise.
11754         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11755         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11756         [POSIX || XPG3] (FPE_FLTUND): Likewise.
11757         [POSIX || XPG3] (FPE_FLTRES): Likewise.
11758         [POSIX || XPG3] (FPE_FLTINV): Likewise.
11759         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11760         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11761         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11762         [POSIX || XPG3] (BUS_ADRALN): Likewise.
11763         [POSIX || XPG3] (BUS_ADRERR): Likewise.
11764         [POSIX || XPG3] (BUS_OBJERR): Likewise.
11765         [POSIX || XPG3] (CLD_EXITED): Likewise.
11766         [POSIX || XPG3] (CLD_KILLED): Likewise.
11767         [POSIX || XPG3] (CLD_DUMPED): Likewise.
11768         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11769         [POSIX || XPG3] (CLD_STOPPED): Likewise.
11770         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11771         [POSIX || XPG3] (POLL_IN): Likewise.
11772         [POSIX || XPG3] (POLL_OUT): Likewise.
11773         [POSIX || XPG3] (POLL_MSG): Likewise.
11774         [POSIX || XPG3] (POLL_ERR): Likewise.
11775         [POSIX || XPG3] (POLL_PRI): Likewise.
11776         [POSIX || XPG3] (POLL_HUP): Likewise.
11777         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11778         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11779         (SIG*): Do not allow.
11780         [XPG3] (si_*): Likewise.
11781         [XPG3] (SI_*): Likewise.
11782         [XPG3 || XPG4] (sigev_*): Likewise.
11783         [XPG3 || XPG4] (SIGEV_*): Likewise.
11784         [XPG3 || XPG4] (sival_*): Likewise.
11785         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11786         [POSIX || XPG3] (BUS_*): Likewise.
11787         [POSIX || XPG3] (CLD_*): Likewise.
11788         [POSIX || XPG3] (FPE_*): Likewise.
11789         [POSIX || XPG3] (ILL_*): Likewise.
11790         [POSIX || XPG3] (POLL_*): Likewise.
11791         [POSIX || XPG3] (SEGV_*): Likewise.
11792         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11793         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11794         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11795         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11796         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11797         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11798         Specify type and value.
11799         (TVERSLEN): Likewise.
11800         (REGTYPE): Likewise.
11801         (AREGTYPE): Likewise.
11802         (LNKTYPE): Likewise.
11803         (SYMTYPE): Likewise.
11804         (CHRTYPE): Likewise.
11805         (BLKTYPE): Likewise.
11806         (DIRTYPE): Likewise.
11807         (FIFOTYPE): Likewise.
11808         (CONTTYPE): Likewise.
11809         (TSUID): Likewise.
11810         (TSGID): Likewise.
11811         (TSVTX): Likewise.
11812         (TUREAD): Likewise.
11813         (TUWRITE): Likewise.
11814         (TUEXEC): Likewise.
11815         (TGREAD): Likewise.
11816         (TGWRITE): Likewise.
11817         (TGEXEC): Likewise.
11818         (TOREAD): Likewise.
11819         (TOWRITE): Likewise.
11820         (TOEXEC): Likewise.
11821         [POSIX] (TSVTX): Expect constant.
11823 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11825         * Makefile (tests): Change dependencies to ....
11826         (tests-special): ... additions to this variable.
11827         (tests): Depend on $(tests-special).
11828         * Makerules (check-abi-list): New variable.
11829         (check-abi): Depend on $(check-abi-list).
11830         [$(subdir) = elf] (tests-special): Add
11831         $(objpfx)check-abi-libc.out.
11832         [$(build-shared) = yes && subdir] (tests-special): Add
11833         $(check-abi-list).
11834         [$(build-shared) = yes && subdir] (tests): Do not depend on
11835         check-abi.
11836         * Rules (tests): Depend on $(tests-special).
11837         (xtests): Depend on $(xtests-special).
11838         * catgets/Makefile (tests): Change dependencies to ....
11839         (tests-special): ... additions to this variable.
11840         * conform/Makefile (tests): Change dependencies to ....
11841         (tests-special): ... additions to this variable.
11842         * elf/Makefile (tests): Change dependencies to ....
11843         (tests-special): ... additions to this variable.
11844         * grp/Makefile (tests): Change dependencies to ....
11845         (tests-special): ... additions to this variable.
11846         * iconv/Makefile (xtests): Change dependencies to ....
11847         (xtests-special): ... additions to this variable.
11848         * iconvdata/Makefile (tests): Change dependencies to ....
11849         (tests-special): ... additions to this variable.
11850         * intl/Makefile (tests): Change dependencies to ....
11851         (tests-special): ... additions to this variable.  Also add
11852         $(objpfx)tst-gettext.out.
11853         * io/Makefile (tests): Change dependencies to ....
11854         (tests-special): ... additions to this variable.
11855         * libio/Makefile (tests): Change dependencies to ....
11856         (tests-special): ... additions to this variable.
11857         * malloc/Makefile (tests): Change dependencies to ....
11858         (tests-special): ... additions to this variable.
11859         * misc/Makefile (tests): Change dependencies to ....
11860         (tests-special): ... additions to this variable.
11861         * nptl/Makefile (tests): Change dependencies to ....
11862         (tests-special): ... additions to this variable.
11863         * nptl_db/Makefile (tests): Change dependencies to ....
11864         (tests-special): ... additions to this variable.
11865         * posix/Makefile (tests): Change dependencies to ....
11866         (tests-special): ... additions to this variable.
11867         (xtests): Change dependencies to ....
11868         (xtests-special): ... additions to this variable.
11869         * resolv/Makefile (tests): Change dependencies to ....
11870         (tests-special): ... additions to this variable.
11871         (xtests): Change dependencies to ....
11872         (xtests-special): ... additions to this variable.
11873         * stdio-common/Makefile (tests): Change dependencies to ....
11874         (tests-special): ... additions to this variable.
11875         (do-tst-unbputc): Remove target.
11876         (do-tst-printf): Likewise.
11877         * stdlib/Makefile (tests): Change dependencies to ....
11878         (tests-special): ... additions to this variable.
11879         * string/Makefile (tests): Change dependencies to ....
11880         (tests-special): ... additions to this variable.
11881         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11882         (tests-special): ... additions to this variable.
11884         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11885         whole file.
11886         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11887         whole file.
11888         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11889         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11891         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11892         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11893         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11894         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11895         * conform/data/libgen.h-data [XPG3]: Likewise.
11896         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11897         * conform/data/ndbm.h-data [XPG3]: Likewise.
11898         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11899         * conform/data/netdb.h-data [XPG3]: Likewise.
11900         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11901         * conform/data/poll.h-data [XPG3]: Likewise.
11902         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11903         * conform/data/strings.h-data [XPG3]: Likewise.
11904         * conform/data/stropts.h-data [XPG3]: Likewise.
11905         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11906         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11907         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11908         Likewise.
11909         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11910         * conform/data/sys/time.h-data [XPG3]: Likewise.
11911         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11912         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11913         * conform/data/sys/un.h-data [XPG3]: Likewise.
11914         * conform/data/syslog.h-data [XPG3]: Likewise.
11915         * conform/data/ucontext.h-data [XPG3]: Likewise.
11916         * conform/data/utmpx.h-data [XPG3]: Likewise.
11917         * conform/data/varargs.h-data [UNIX98]: Enable file.
11919         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11921         * math/libm-test.inc (struct test_f_f_data): Move expected results
11922         into structure for each rounding mode.
11923         (struct test_ff_f_data): Likewise.
11924         (struct test_ff_f_data_nexttoward): Likewise.
11925         (struct test_fi_f_data): Likewise.
11926         (struct test_fl_f_data): Likewise.
11927         (struct test_if_f_data): Likewise.
11928         (struct test_fff_f_data): Likewise.
11929         (struct test_c_f_data): Likewise.
11930         (struct test_f_f1_data): Likewise.
11931         (struct test_fF_f1_data): Likewise.
11932         (struct test_ffI_f1_data): Likewise.
11933         (struct test_c_c_data): Likewise.
11934         (struct test_cc_c_data): Likewise.
11935         (struct test_f_i_data): Likewise.
11936         (struct test_ff_i_data): Likewise.
11937         (struct test_f_l_data): Likewise.
11938         (struct test_f_L_data): Likewise.
11939         (struct test_fFF_11_data): Likewise.
11940         (RM_): New macro.
11941         (RM_FE_DOWNWARD): Likewise.
11942         (RM_FE_TONEAREST): Likewise.
11943         (RM_FE_TOWARDZERO): Likewise.
11944         (RM_FE_UPWARD): Likewise.
11945         (RUN_TEST_LOOP_f_f): Update references to expected results.
11946         (RUN_TEST_LOOP_2_f): Likewise.
11947         (RUN_TEST_LOOP_fff_f): Likewise.
11948         (RUN_TEST_LOOP_c_f): Likewise.
11949         (RUN_TEST_LOOP_f_f1): Likewise.
11950         (RUN_TEST_LOOP_fF_f1): Likewise.
11951         (RUN_TEST_LOOP_fI_f1): Likewise.
11952         (RUN_TEST_LOOP_ffI_f1): Likewise.
11953         (RUN_TEST_LOOP_c_c): Likewise.
11954         (RUN_TEST_LOOP_cc_c): Likewise.
11955         (RUN_TEST_LOOP_f_i): Likewise.
11956         (RUN_TEST_LOOP_f_i_tg): Likewise.
11957         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11958         (RUN_TEST_LOOP_f_b): Likewise.
11959         (RUN_TEST_LOOP_f_b_tg): Likewise.
11960         (RUN_TEST_LOOP_f_l): Likewise.
11961         (RUN_TEST_LOOP_f_L): Likewise.
11962         (RUN_TEST_LOOP_fFF_11): Likewise.
11963         * math/gen-libm-test.pl (parse_args): Output four copies of
11964         expected results for each test.
11966         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11967         (__ASSUME_UTIMES): Remove.
11968         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11969         (__ASSUME_UTIMES): Likewise.
11971         * math/gen-auto-libm-tests.c: Update comment on output format.
11972         (output_for_one_input_case): Generate before-rounding and
11973         after-rounding information as conditions on output flags not
11974         floating-point format.
11975         * math/auto-libm-test-out: Regenerated.
11976         * math/gen-libm-test.pl (cond_value): New function.
11977         (or_cond_value): Use cond_value.
11978         (generate_testfile): Handle conditional exceptions.
11980 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11982         * math/libm-test.inc (max_valid_error): New variable.
11983         (init_max_error): Take new argument specifying whether function
11984         results are exactly determined.  Set max_valid_error and bound
11985         other variables for errors based on this argument.
11986         (set_max_error): Do not record results above max_valid_error.
11987         (check_float_internal): Only accept errors of up to 0.5ulps if
11988         also at most max_valid_error.
11989         (START): Take new argument EXACT and pass it to init_max_error.
11990         (acos_test): Update call to START.
11991         (acos_test_tonearest): Likewise.
11992         (acos_test_towardzero): Likewise.
11993         (acos_test_downward): Likewise.
11994         (acos_test_upward): Likewise.
11995         (acosh_test): Likewise.
11996         (asin_test): Likewise.
11997         (asin_test_tonearest): Likewise.
11998         (asin_test_towardzero): Likewise.
11999         (asin_test_downward): Likewise.
12000         (asin_test_upward): Likewise.
12001         (asinh_test): Likewise.
12002         (atan_test): Likewise.
12003         (atanh_test): Likewise.
12004         (atan2_test): Likewise.
12005         (cabs_test): Likewise.
12006         (cacos_test): Likewise.
12007         (cacosh_test): Likewise.
12008         (carg_test): Likewise.
12009         (casin_test): Likewise.
12010         (casinh_test): Likewise.
12011         (catan_test): Likewise.
12012         (catanh_test): Likewise.
12013         (cbrt_test): Likewise.
12014         (ccos_test): Likewise.
12015         (ccosh_test): Likewise.
12016         (ceil_test): Likewise.
12017         (cexp_test): Likewise.
12018         (cimag_test): Likewise.
12019         (clog_test): Likewise.
12020         (clog10_test): Likewise.
12021         (conj_test): Likewise.
12022         (copysign_test): Likewise.
12023         (cos_test): Likewise.
12024         (cos_test_tonearest): Likewise.
12025         (cos_test_towardzero): Likewise.
12026         (cos_test_downward): Likewise.
12027         (cos_test_upward): Likewise.
12028         (cosh_test): Likewise.
12029         (cosh_test_tonearest): Likewise.
12030         (cosh_test_towardzero): Likewise.
12031         (cosh_test_downward): Likewise.
12032         (cosh_test_upward): Likewise.
12033         (cpow_test): Likewise.
12034         (cproj_test): Likewise.
12035         (creal_test): Likewise.
12036         (csin_test): Likewise.
12037         (csinh_test): Likewise.
12038         (csqrt_test): Likewise.
12039         (ctan_test): Likewise.
12040         (ctan_test_tonearest): Likewise.
12041         (ctan_test_towardzero): Likewise.
12042         (ctan_test_downward): Likewise.
12043         (ctan_test_upward): Likewise.
12044         (ctanh_test): Likewise.
12045         (ctanh_test_tonearest): Likewise.
12046         (ctanh_test_towardzero): Likewise.
12047         (ctanh_test_downward): Likewise.
12048         (ctanh_test_upward): Likewise.
12049         (erf_test): Likewise.
12050         (erfc_test): Likewise.
12051         (exp_test): Likewise.
12052         (exp_test_tonearest): Likewise.
12053         (exp_test_towardzero): Likewise.
12054         (exp_test_downward): Likewise.
12055         (exp_test_upward): Likewise.
12056         (exp10_test): Likewise.
12057         (exp10_test_tonearest): Likewise.
12058         (exp10_test_towardzero): Likewise.
12059         (exp10_test_downward): Likewise.
12060         (exp10_test_upward): Likewise.
12061         (pow10_test): Likewise.
12062         (exp2_test): Likewise.
12063         (expm1_test): Likewise.
12064         (expm1_test_tonearest): Likewise.
12065         (expm1_test_towardzero): Likewise.
12066         (expm1_test_downward): Likewise.
12067         (expm1_test_upward): Likewise.
12068         (fabs_test): Likewise.
12069         (fdim_test): Likewise.
12070         (floor_test): Likewise.
12071         (fma_test): Likewise.
12072         (fma_test_towardzero): Likewise.
12073         (fma_test_downward): Likewise.
12074         (fma_test_upward): Likewise.
12075         (fmax_test): Likewise.
12076         (fmin_test): Likewise.
12077         (fmod_test): Likewise.
12078         (fpclassify_test): Likewise.
12079         (frexp_test): Likewise.
12080         (hypot_test): Likewise.
12081         (ilogb_test): Likewise.
12082         (isfinite_test): Likewise.
12083         (finite_test): Likewise.
12084         (isgreater_test): Likewise.
12085         (isgreaterequal_test): Likewise.
12086         (isinf_test): Likewise.
12087         (isless_test): Likewise.
12088         (islessequal_test): Likewise.
12089         (islessgreater_test): Likewise.
12090         (isnan_test): Likewise.
12091         (isnormal_test): Likewise.
12092         (issignaling_test): Likewise.
12093         (isunordered_test): Likewise.
12094         (j0_test): Likewise.
12095         (j1_test): Likewise.
12096         (jn_test): Likewise.
12097         (ldexp_test): Likewise.
12098         (lgamma_test): Likewise.
12099         (gamma_test): Likewise.
12100         (lrint_test): Likewise.
12101         (lrint_test_tonearest): Likewise.
12102         (lrint_test_towardzero): Likewise.
12103         (lrint_test_downward): Likewise.
12104         (lrint_test_upward): Likewise.
12105         (llrint_test): Likewise.
12106         (llrint_test_tonearest): Likewise.
12107         (llrint_test_towardzero): Likewise.
12108         (llrint_test_downward): Likewise.
12109         (llrint_test_upward): Likewise.
12110         (log_test): Likewise.
12111         (log10_test): Likewise.
12112         (log1p_test): Likewise.
12113         (log2_test): Likewise.
12114         (logb_test): Likewise.
12115         (logb_test_downward): Likewise.
12116         (lround_test): Likewise.
12117         (llround_test): Likewise.
12118         (modf_test): Likewise.
12119         (nearbyint_test): Likewise.
12120         (nextafter_test): Likewise.
12121         (nexttoward_test): Likewise.
12122         (pow_test): Likewise.
12123         (pow_test_tonearest): Likewise.
12124         (pow_test_towardzero): Likewise.
12125         (pow_test_downward): Likewise.
12126         (pow_test_upward): Likewise.
12127         (remainder_test): Likewise.
12128         (drem_test): Likewise.
12129         (remainder_test_tonearest): Likewise.
12130         (drem_test_tonearest): Likewise.
12131         (remainder_test_towardzero): Likewise.
12132         (drem_test_towardzero): Likewise.
12133         (remainder_test_downward): Likewise.
12134         (drem_test_downward): Likewise.
12135         (remainder_test_upward): Likewise.
12136         (drem_test_upward): Likewise.
12137         (remquo_test): Likewise.
12138         (rint_test): Likewise.
12139         (rint_test_tonearest): Likewise.
12140         (rint_test_towardzero): Likewise.
12141         (rint_test_downward): Likewise.
12142         (rint_test_upward): Likewise.
12143         (round_test): Likewise.
12144         (scalb_test): Likewise.
12145         (scalbn_test): Likewise.
12146         (scalbln_test): Likewise.
12147         (signbit_test): Likewise.
12148         (sin_test): Likewise.
12149         (sin_test_tonearest): Likewise.
12150         (sin_test_towardzero): Likewise.
12151         (sin_test_downward): Likewise.
12152         (sin_test_upward): Likewise.
12153         (sincos_test): Likewise.
12154         (sinh_test): Likewise.
12155         (sinh_test_tonearest): Likewise.
12156         (sinh_test_towardzero): Likewise.
12157         (sinh_test_downward): Likewise.
12158         (sinh_test_upward): Likewise.
12159         (sqrt_test): Likewise.
12160         (sqrt_test_tonearest): Likewise.
12161         (sqrt_test_towardzero): Likewise.
12162         (sqrt_test_downward): Likewise.
12163         (sqrt_test_upward): Likewise.
12164         (tan_test): Likewise.
12165         (tan_test_tonearest): Likewise.
12166         (tan_test_towardzero): Likewise.
12167         (tan_test_downward): Likewise.
12168         (tan_test_upward): Likewise.
12169         (tanh_test): Likewise.
12170         (tgamma_test): Likewise.
12171         (trunc_test): Likewise.
12172         (y0_test): Likewise.
12173         (y1_test): Likewise.
12174         (yn_test): Likewise.
12175         (significand_test): Likewise.
12177         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12178         individual tests in comment.
12179         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12180         (prev_max_error): New variable.
12181         (prev_real_max_error): Likewise.
12182         (prev_imag_max_error): Likewise.
12183         (compare_ulp_data): Don't refer to test names in comment.
12184         (find_test_ulps): Remove function.
12185         (find_function_ulps): Likewise.
12186         (find_complex_function_ulps): Likewise.
12187         (init_max_error): Take function name as argument.  Look up ulps
12188         for that function.
12189         (print_ulps): Remove function.
12190         (print_max_error): Use prev_max_error instead of calling
12191         find_function_ulps.
12192         (print_complex_max_error): Use prev_real_max_error and
12193         prev_imag_max_error instead of calling find_complex_function_ulps.
12194         (check_float_internal): Take max_ulp parameter instead of calling
12195         find_test_ulps.  Don't call print_ulps.
12196         (check_float): Update call to check_float_internal.
12197         (check_complex): Update calls to check_float_internal.
12198         (START): Pass argument to init_max_error.
12199         * math/gen-libm-test.pl (%results): Don't include "kind"
12200         information.
12201         (parse_ulps): Don't handle ulps of individual tests.
12202         (print_ulps_file): Likewise.
12203         (output_ulps): Likewise.
12204         * math/README.libm-test: Update.
12205         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12206         individual tests.
12207         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12208         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12209         * sysdeps/arm/libm-test-ulps: Likewise.
12210         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12211         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12212         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12213         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12214         * sysdeps/microblaze/libm-test-ulps: Likewise.
12215         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12216         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12217         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12218         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12219         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12220         * sysdeps/sh/libm-test-ulps: Likewise.
12221         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12222         * sysdeps/tile/libm-test-ulps: Likewise.
12223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12225 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12227         * math/libm-test.inc (print_complex_max_error): Check separately
12228         whether real and imaginary errors are within allowed range and
12229         pass 0 to print_complex_function_ulps instead of value within
12230         allowed range.
12232 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12234         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12235         formatting.
12236         (get_handles_fopen): Likewise.
12237         (do_write_test): Likewise.
12239         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12241         * libio/fileops.c (do_ftell): Use cached offset when
12242         available.
12243         * libio/iofwide.c (do_ftell_wide): Likewise.
12244         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12245         _IO_file_attach.
12246         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12248         [BZ #16532]
12249         * libio/libioP.h (get_file_offset): New function.
12250         * libio/fileops.c (get_file_offset): Likewise.
12251         (do_ftell): Likewise.
12252         (_IO_new_file_seekoff): Split out ftell logic.
12253         * libio/wfileops.c (do_ftell_wide): Likewise.
12254         (_IO_wfile_seekoff): Split out ftell logic.
12255         * libio/tst-ftell-active-handler.c: New test case.
12256         * libio/Makefile (tests): Add it.
12258 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12260         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12261         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12263 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12265         [BZ #16639]
12266         * nscd/connections.c (nscd_init): Call do_exit.
12267         (start_threads): Call do_exit and notify_parent.
12268         (begin_drop_privileges): Call do_exit.
12269         (finish_drop_privileges): Likewise.
12270         * nscd/selinux.c (preserve_capabilities): Likewise.
12271         (install_real_capabilities): Likewise.
12272         (nscd_selinux_enabled): Likewise.
12273         (avc_create_thread): Likewise.
12274         (avc_alloc_lock): Likewise.
12275         (nscd_avc_init): Likewise.
12276         * nscd/nscd.c (parent_fd): New static variable.
12277         (main): Create a pipe between parent and child processes.
12278         Skip closing parent_fd.
12279         (monitor_child): New function.
12280         (do_exit): Likewise.
12281         (notify_parent): Likewise.
12282         * nscd/nscd.h (notify_parent): Likewise.
12283         (do_exit): Likewise.
12285 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12287         * malloc/malloc.c (__libc_calloc): Revert last change.
12289 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12293 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12295         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12297         implementation.
12298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12299         (__libc_ifunc_impl_list): Likewise.
12300         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12301         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12302         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12303         * string/strrchr.c: Define STRRCHR.
12305 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
12307         * benchtest/bench-strtok.c (simple_strtok): Delete.
12308         (strtok_string): Use as benchmark.
12309         * string/strtok (STRTOK): New macro.
12311 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
12313         * manual/threads.texi: Add header and standard comments to all
12314         functions.
12316         * elf/dl-lookup.c (check_match): New function.
12317         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12318         (do_lookup_x): Remove nested function check_match. Use non-nested
12319         function check_match.
12321 2014-02-28  Roland McGrath  <roland@hack.frob.com>
12323         * csu/Makefile (generated, before-compile): Use += rather than =.
12324         * catgets/Makefile (generated, generated-dirs): Likewise.
12325         * debug/Makefile (generated): Likewise.
12326         * dlfcn/Makefile (generated): Likewise.
12327         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12328         * iconvdata/Makefile (before-compile, generated): Likewise.
12329         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12330         * libio/Makefile (generated): Likewise.
12331         * malloc/Makefile (generated): Likewise.
12332         * manual/Makefile (generated, generated-dirs): Likewise.
12333         * misc/Makefile (generated): Likewise.
12334         * posix/Makefile (generated): Likewise.
12335         * resolv/Makefile (generated): Likewise.
12336         * sunrpc/Makefile (generated, generated-dirs): Likewise.
12337         * timezone/Makefile (generated, generated-dirs): Likewise.
12339         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12341 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12344         power8 implementation.
12345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12346         file: POWER8 llround ifunc implementation.
12347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12348         (__lllround): Add POWER8 implementation.
12349         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12350         POWER8 llround implementation.
12352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12353         power8 implementation.
12354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12355         file: POWER8 llrint ifunc implementation.
12356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12357         Add POWER8 implementation.
12358         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12359         POWER8 llrint implementation.
12361         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12362         power8 implementation.
12363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12364         file: POWER8 finite ifunc implementation.
12365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12366         Add POWER8 implementation.
12367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12368         Likewise.
12369         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12370         POWER8 finite implementation.
12371         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12374         power8 implementation.
12375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12376         file: POWER8 isinf ifunc implementation.
12377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12378         POWER8 implementation.
12379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12380         Likewise.
12381         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12382         isinf implementation.
12383         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12385         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12386         (INIT_ARCH): Add hwcap2 initialization.
12387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12388         power8 implementation.
12389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12390         file: POWER8 isnan ifunc implementation.
12391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12392         POWER8 implementation.
12393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12394         Likewise.
12395         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12396         isnan implementation.
12397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12399 2014-02-27  Joey Ye  <joey.ye@arm.com>
12401         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12402         (_FP_NANFRAC_Q): Set to zero.
12404 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12406         [BZ #16623]
12407         * math/auto-libm-test-in: New test inputs.
12408         * math/auto-libm-test-out: Regenerate.
12409         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12410         and DA.
12411         (__cos): Likewise.
12412         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12414 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
12416         * scripts/evaluate-test.sh: Take new argument indicating whether
12417         failure is expected.
12418         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12419         indicating whether failure is expected.
12420         * conform/Makefile (test-xfail-run-conformtest): New variable.
12421         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12422         level.
12423         * posix/Makefile (test-xfail-annexc): New variable.
12424         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12426 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
12428         * argp/Makefile: Include Makeconfig immediately after defining
12429         subdir.
12430         * assert/Makefile: Likewise.
12431         * benchtests/Makefile: Likewise.
12432         * catgets/Makefile: Likewise.
12433         * conform/Makefile: Likewise.
12434         * crypt/Makefile: Likewise.
12435         * csu/Makefile: Likewise.
12436         (all): Remove target.
12437         * ctype/Makefile: Include Makeconfig immediately after defining
12438         subdir.
12439         * debug/Makefile: Likewise.
12440         * dirent/Makefile: Likewise.
12441         * dlfcn/Makefile: Likewise.
12442         * gmon/Makefile: Likewise.
12443         * gnulib/Makefile: Likewise.
12444         * grp/Makefile: Likewise.
12445         * gshadow/Makefile: Likewise.
12446         * hesiod/Makefile: Likewise.
12447         * hurd/Makefile: Likewise.
12448         (all): Remove target.
12449         * iconvdata/Makefile: Include Makeconfig immediately after
12450         defining subdir.
12451         * inet/Makefile: Likewise.
12452         * intl/Makefile: Likewise.
12453         * io/Makefile: Likewise.
12454         * libio/Makefile: Likewise.
12455         (all): Remove target.
12456         * locale/Makefile: Include Makeconfig immediately after defining
12457         subdir.
12458         * login/Makefile: Likewise.
12459         * mach/Makefile: Likewise.
12460         (all): Remove target.
12461         * malloc/Makefile: Include Makeconfig immediately after defining
12462         subdir.
12463         (all): Remove target.
12464         * manual/Makefile: Include Makeconfig immediately after defining
12465         subdir.
12466         * math/Makefile: Likewise.
12467         * misc/Makefile: Likewise.
12468         * nis/Makefile: Likewise.
12469         * nss/Makefile: Likewise.
12470         * po/Makefile: Likewise.
12471         (all): Remove target.
12472         * posix/Makefile: Include Makeconfig immediately after defining
12473         subdir.
12474         * pwd/Makefile: Likewise.
12475         * resolv/Makefile: Likewise.
12476         * resource/Makefile: Likewise.
12477         * rt/Makefile: Likewise.
12478         * setjmp/Makefile: Likewise.
12479         * shadow/Makefile: Likewise.
12480         * signal/Makefile: Likewise.
12481         * socket/Makefile: Likewise.
12482         * soft-fp/Makefile: Likewise.
12483         * stdio-common/Makefile: Likewise.
12484         * stdlib/Makefile: Likewise.
12485         * streams/Makefile: Likewise.
12486         * string/Makefile: Likewise.
12487         * sunrpc/Makefile: Likewise.
12488         (all): Remove target.
12489         * sysvipc/Makefile: Include Makeconfig immediately after defining
12490         subdir.
12491         * termios/Makefile: Likewise.
12492         * time/Makefile: Likewise.
12493         * timezone/Makefile: Likewise.
12494         (all): Remove target.
12495         * wcsmbs/Makefile: Include Makeconfig immediately after defining
12496         subdir.
12497         * wctype/Makefile: Likewise.
12499 2014-02-26  Steve Ellcey  <sellcey@mips.com>
12501         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12502         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12503         (libc_feholdexcept_setround_mips): Ditto.
12504         (libc_feholdsetround): New.
12505         (libc_feholdsetroundf): New.
12506         (libc_feholdsetroundl): New.
12507         (libc_feupdateenv_test_mips): New.
12508         (libc_feupdateenv_test): New.
12509         (libc_feupdateenv_testf): New.
12510         (libc_feupdateenv_testl): New.
12511         (libc_feresetround): New.
12512         (libc_feresetroundf): New.
12513         (libc_feresetroundl): New.
12514         (libc_fetestexcept_mips): New.
12515         (libc_fetestexcept): New.
12516         (libc_fetestexceptf): New.
12517         (libc_fetestexceptl): New.
12518         (HAVE_RM_CTX): New.
12519         (libc_feholdexcept_setround_mips_ctx): New.
12520         (libc_feholdexcept_setround_ctx): New.
12521         (libc_feholdexcept_setroundf_ctx): New.
12522         (libc_feholdexcept_setroundl_ctx): New.
12523         (libc_fesetenv_mips_ctx): New.
12524         (libc_fesetenv_ctx): New.
12525         (libc_fesetenv_ctxf): New.
12526         (libc_fesetenv_ctxl): New.
12527         (libc_feupdateenv_mips_ctx): New.
12528         (libc_feupdateenv_ctx): New.
12529         (libc_feupdateenvf_ctx): New.
12530         (libc_feupdateenvl_ctx): New.
12531         (libc_feholdsetround_mips_ctx): New.
12532         (libc_feholdsetround_ctx): New.
12533         (libc_feholdsetroundf_ctx): New.
12534         (libc_feholdsetroundl_ctx): New.
12535         (libc_feresetround_mips_ctx): New.
12536         (libc_feresetround_ctx): New.
12537         (libc_feresetroundf_ctx): New.
12538         (libc_feresetroundl_ctx): New.
12540 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
12542         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12544         * manual/ipc.texi: New file.
12545         * manual/Makefile (chapters): Add ipc.
12546         * manual/job.texi: Add "Inter-Process Communication" to next.
12547         * manual/process.texi: Add "Inter-Process Communication" to prev.
12549 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12553 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
12555         * malloc/malloc.c (__libc_calloc): Simplify implementation.
12557         * manual/arith.texi: Fix spaces after sentences.
12558         * manual/charset.texi: Likewise.
12559         * manual/errno.texi: Likewise.
12560         * manual/install.texi: Likewise.
12561         * manual/llio.texi: Likewise.
12562         * manual/locale.texi: Likewise.
12563         * manual/maint.texi: Likewise.
12564         * manual/math.texi: Likewise.
12565         * manual/memory.texi: Likewise.
12566         * manual/message.texi: Likewise.
12567         * manual/probes.texi: Likewise.
12568         * manual/resource.texi: Likewise.
12569         * manual/signal.texi: Likewise.
12570         * manual/socket.texi: Likewise.
12571         * manual/stdio.texi: Likewise.
12572         * manual/string.texi: Likewise.
12573         * manual/time.texi: Likewise.
12574         * manual/users.texi: Likewise.
12576 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
12578         [BZ #16632]
12579         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12580         _DEFAULT_SOURCE is defined.
12582 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
12583             Carlos O'Donell  <carlos@redhat.com>
12585         [BZ #16613]
12586         * elf/dl-tls.c (_dl_count_modids): New function.
12587         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12588         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12589         audit library and increment generation counter.
12590         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12591         * elf/tst-audit9.c: New file.
12592         * elf/tst-auditmod9a.c: New file.
12593         * elf/tst-auditmod9b.c: New file.
12594         * elf/Makefile: Add rules to build and run tst-audit9.
12596 2014-02-25  Florian Weimer  <fweimer@redhat.com>
12598         [BZ #15347]
12599         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12601 2014-02-25  Will Newton  <will.newton@linaro.org>
12603         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12604         (__longjmp): Restore sp and lr before restoring callee
12605         saved registers.  Add longjmp and longjmp_target
12606         SystemTap probe point.
12607         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12608         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12609         Define to zero to match jmpbuf layout.
12610         * sysdeps/arm/setjmp.S: Include stap-probe.h.
12611         (__sigsetjmp): Save sp and lr before saving callee
12612         saved registers.  Add setjmp SystemTap probe point.
12614 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12616         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12618 2014-02-24  Andreas Schwab  <schwab@suse.de>
12620         [BZ #15804]
12621         * elf/pldd.c (wait_for_ptrace_stop): New function.
12622         (main): Call it after attaching.
12624 2014-02-22  Roland McGrath  <roland@hack.frob.com>
12626         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12627         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12628         Versions files is now verboten.
12629         * hurd/Versions (libc: GLIBC_2.0):
12630         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12631         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12632         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12633         * mach/Versions: Likewise.
12635         * csu/Versions: Remove unused %include.
12636         * resolv/Versions: Likewise.
12638 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
12640         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12641         ($(objpfx)check-local-headers.out): Likewise.
12642         ($(objpfx)begin-end-check.out): Likewise.
12643         * Makerules (check-abi-%.out): Likewise.
12644         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12645         ($(objpfx)test2.cat): Likewise.
12646         ($(objpfx)de/libc.cat): Likewise.
12647         ($(objpfx)test-gencat.out): Likewise.
12648         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12649         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12650         ($(objpfx)noload-mem): Likewise.
12651         ($(objpfx)tst-pathopt.out): Likewise.
12652         ($(objpfx)tst-rtld-load-self.out): Likewise.
12653         ($(objpfx)tst-array1-cmp.out): Likewise.
12654         ($(objpfx)tst-array1-static-cmp.out): Likewise.
12655         ($(objpfx)tst-array2-cmp.out): Likewise.
12656         ($(objpfx)tst-array3-cmp.out): Likewise.
12657         ($(objpfx)tst-array4-cmp.out): Likewise.
12658         ($(objpfx)tst-array5-cmp.out): Likewise.
12659         ($(objpfx)tst-array5-static-cmp.out): Likewise.
12660         ($(objpfx)check-textrel.out): Likewise.
12661         ($(objpfx)check-execstack.out): Likewise.
12662         ($(objpfx)check-localplt.out): Likewise.
12663         ($(objpfx)order2-cmp.out): Likewise.
12664         ($(objpfx)tst-leaks1-mem): Likewise.
12665         ($(objpfx)tst-leaks1-static-mem): Likewise.
12666         ($(objpfx)tst-initorder-cmp.out): Likewise.
12667         ($(objpfx)tst-initorder2-cmp.out): Likewise.
12668         ($(objpfx)tst-unused-dep.out): Likewise.
12669         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12670         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12671         * iconv/Makefile (test-iconvconfig): Likewise.
12672         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12673         ($(objpfx)iconv-test.out): Likewise.
12674         ($(objpfx)tst-tables.out): Likewise.
12675         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12676         ($(objpfx)tst-gettext.out): Likewise.
12677         ($(objpfx)tst-translit.out): Likewise.
12678         ($(objpfx)tst-gettext2.out): Likewise.
12679         ($(objpfx)tst-gettext4.out): Likewise.
12680         ($(objpfx)tst-gettext6.out): Likewise.
12681         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12682         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12683         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12684         ($(objpfx)tst-fopenloc-mem.out): Likewise.
12685         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12686         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12687         * posix/Makefile ($(objpfx)globtest.out): Likewise.
12688         ($(objpfx)wordexp-tst.out): Likewise.
12689         ($(objpfx)annexc.out): Likewise.
12690         ($(objpfx)tst-fnmatch-mem): Likewise.
12691         ($(objpfx)bug-regex2-mem): Likewise.
12692         ($(objpfx)bug-regex14-mem): Likewise.
12693         ($(objpfx)bug-regex21-mem): Likewise.
12694         ($(objpfx)bug-regex31-mem): Likewise.
12695         ($(objpfx)tst-vfork3-mem): Likewise.
12696         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12697         ($(objpfx)tst-pcre-mem): Likewise.
12698         ($(objpfx)tst-boost-mem): Likewise.
12699         ($(objpfx)tst-getconf.out): Likewise.
12700         ($(objpfx)bug-ga2-mem): Likewise.
12701         ($(objpfx)bug-glob2-mem): Likewise.
12702         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12703         ($(objpfx)mtrace-tst-leaks2): Likewise.
12704         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12705         ($(objpfx)tst-printf.out): Likewise.
12706         ($(objpfx)tst-setvbuf1.out): Likewise.
12707         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12708         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12709         ($(objpfx)tst-fmtmsg.out): Likewise.
12710         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12711         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12713         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12714         * bits/sigaction.h [__USE_MISC]: Likewise.
12715         * bits/waitstatus.h: Update #endif comments.
12716         * ctype/ctype.h: Likewise.
12717         * dirent/dirent.h: Likewise.
12718         [__USE_MISC]: Remove redundant conditionals.
12719         * grp/grp.h: Update #endif comments.
12720         [__USE_GNU]: Remove redundant conditionals.
12721         [__USE_MISC]: Likewise.
12722         * inet/netinet/in.h [__USE_GNU]: Likewise.
12723         * io/sys/stat.h [__USE_MISC]: Likewise.
12724         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12725         * libio/bits/stdio.h: Update #endif comments.
12726         [__USE_MISC]: Remove redundant conditionals.
12727         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12728         * libio/stdio.h: Update #endif comments.
12729         [__USE_MISC]: Remove redundant conditionals.
12730         * math/bits/math-finite.h [__USE_MISC]: Likewise.
12731         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12732         * math/math.h: Update #else and #endif comments.
12733         [__USE_MISC]: Remove redundant conditionals.
12734         * misc/sys/uio.h: Update #endif comments.
12735         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12736         * posix/glob.h [__USE_MISC]: Likewise.
12737         * posix/sys/types.h: Update #endif comments.
12738         [__USE_MISC]: Remove redundant conditionals.
12739         * posix/sys/wait.h: Update #endif comments.
12740         [__USE_MISC]: Remove redundant conditionals.
12741         * posix/unistd.h: Update #endif comments.
12742         [__USE_MISC]: Remove redundant conditionals.
12743         * pwd/pwd.h [__USE_GNU]: Likewise.
12744         [__USE_MISC]: Likewise.
12745         * resolv/netdb.h [__USE_GNU]: Likewise.
12746         * signal/signal.h: Update #endif comments.
12747         [__USE_MISC]: Remove redundant conditionals.
12748         * stdlib/stdlib.h: Update #else and #endif comments.
12749         [__USE_MISC]: Remove redundant conditionals.
12750         [__USE_GNU]: Likewise.
12751         * string/bits/string2.h [__USE_MISC]: Likewise.
12752         * string/string.h: Update #endif comments.
12753         [__USE_MISC]: Remove redundant conditionals.
12754         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12755         Likewise.
12756         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12757         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12758         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12759         Likewise.
12760         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12761         Likewise.
12762         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12763         comments.
12764         [__USE_MISC]: Remove redundant conditionals.
12765         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12766         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12767         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12768         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12769         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12770         Likewise.
12771         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12772         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12773         Likewise.
12774         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12775         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12776         Likewise.
12777         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12778         Likewise.
12779         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12780         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12781         Likewise.
12782         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12783         Likewise.
12784         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12785         * sysdeps/x86/bits/string.h: Update #endif comments.
12786         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12787         conditionals.
12788         * time/sys/time.h: Update #endif comments.
12789         * time/time.h: Likewise.
12790         [__USE_MISC]: Remove redundant conditionals.
12792 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
12794         [BZ #16600]
12795         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12797 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
12799         * Versions.def (librt): Add GLIBC_2.17.
12801 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12803         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12804         synonym for _SYS_AUXV_H to allow direct inclusion.
12805         * sysdeps/sparc/bits/hwcap.h: Likewise.
12806         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12807         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12808         * sysdeps/sparc/sysdep.h: Likewise.
12810 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12812         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12814 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12816         * benchtests/bench-strrchr.c: Print length instead of position.
12818 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12820         [BZ #16611]
12821         * sysdeps/unix/sysv/linux/kernel-features.h
12822         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12823         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12824         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12825         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12826         Likewise.
12827         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12828         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12829         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12830         (__ASSUME_SENDMMSG): Define instead of using previous
12831         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12832         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12833         (__ASSUME_SENDMMSG_SYSCALL): Define.
12834         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12835         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12836         Likewise.
12837         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12838         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12839         Likewise.
12840         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12841         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12842         Likewise.
12843         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12844         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12845         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12846         [__ASSUME_SENDMMSG]: Change conditionals to
12847         [__ASSUME_SENDMMSG_SOCKETCALL].
12848         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12849         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12850         Define.
12851         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12852         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12853         Likewise.
12854         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12855         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12856         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12857         [!__ASSUME_SENDMMSG]: Change conditional to
12858         [!__ASSUME_SENDMMSG_SOCKETCALL].
12859         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12860         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12861         Define.
12863         [BZ #16610]
12864         * sysdeps/unix/sysv/linux/kernel-features.h
12865         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12866         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12867         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12868         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12869         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12870         [__i386__ || __sparc__]
12871         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12872         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12873         (__ASSUME_RECVMMSG): Define instead of using previous
12874         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12875         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12876         (__ASSUME_RECVMMSG_SYSCALL): Define.
12877         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12878         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12879         Likewise.
12880         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12881         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12882         Likewise.
12883         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12884         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12885         Likewise.
12886         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12887         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12888         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12889         [__ASSUME_RECVMMSG]: Change condition to
12890         [__ASSUME_RECVMMSG_SOCKETCALL].
12891         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12892         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12893         Define.
12894         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12895         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12896         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12897         Likewise.
12898         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12899         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12900         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12901         [!__ASSUME_RECVMMSG]: Change condition to
12902         [!__ASSUME_RECVMMSG_SOCKETCALL].
12903         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12904         (__ASSUME_RECVMMSG_SYSCALL): Define.
12906         [BZ #16609]
12907         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12908         __powerpc__ || __s390__ || __sh__ || __sparc__]
12909         (__ASSUME_SOCKETCALL): Define.
12910         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12911         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12912         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12913         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12914         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12915         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12916         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12917         (__ASSUME_ACCEPT4): Define instead of using previous
12918         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12919         __powerpc__ || __sparc__ || __s390__)] condition.
12920         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12921         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12922         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12923         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12924         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12925         [!__ASSUME_ACCEPT4]: Change condition to
12926         [!__ASSUME_ACCEPT4_SOCKETCALL].
12927         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12928         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12929         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12930         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12931         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12932         __ASSUME_ACCEPT4_SYSCALL.
12933         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12934         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12935         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12936         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12937         __ASSUME_ACCEPT4_SYSCALL.
12938         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12939         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12940         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12941         [__ASSUME_ACCEPT4]: Change condition to
12942         [__ASSUME_ACCEPT4_SOCKETCALL].
12943         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12944         (__ASSUME_SOCKETCALL): Define.
12945         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12947         (__ASSUME_SOCKETCALL): Define.
12948         (__ASSUME_ACCEPT4): Remove.
12949         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12950         Define.
12951         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12952         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12953         Likewise.
12954         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12955         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12957         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12958         macro.
12959         (HWCAP_ARM_LPAE): Likewise.
12960         (HWCAP_ARM_EVTSTRM): Likewise.
12961         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12962         Add vpfd32, lpae and evtstrm.
12963         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12964         Increase to 22.
12966 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12968         * math/auto-libm-test-in: Add tests of clog10.
12969         * math/auto-libm-test-out: Regenerated.
12970         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12971         * sysdeps/i386/fpu/libm-test-ulps: Update.
12972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12974 2014-02-18  Andreas Schwab  <schwab@suse.de>
12976         [BZ #16574]
12977         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12978         Store non-zero if the second buffer was newly allocated.
12979         (send_dg): Likewise.
12980         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12981         to send_vc and send_dg.
12982         (res_nsend): Pass NULL for ansp2_malloced.
12983         * resolv/res_query.c (__libc_res_nquery): Add parameter
12984         answerp2_malloced and pass it down to __libc_res_nsend.
12985         (res_nquery): Pass additional NULL to __libc_res_nquery.
12986         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12987         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12988         second answer buffer if answerp2_malloced was set.
12989         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12990         (__libc_res_nquerydomain): Add parameter
12991         answerp2_malloced and pass it down to __libc_res_nquery.
12992         (res_nquerydomain): Pass additional NULL to
12993         __libc_res_nquerydomain.
12994         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12995         additional NULL to __libc_res_nsend and __libc_res_nquery.
12996         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12997         additional NULL to __libc_res_nsearch.
12998         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12999         parameter of __libc_res_nsearch to check for separately allocated
13000         second buffer.
13001         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13002         __libc_res_nquery.
13003         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13004         additional NULL to __libc_res_nquery.
13005         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13006         __libc_res_nsearch.
13007         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13008         * include/resolv.h: Update prototypes of __libc_res_nquery,
13009         __libc_res_nsearch, __libc_res_nsend.
13011 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
13013         * math/auto-libm-test-in: Add tests of fma.
13014         * math/auto-libm-test-out: Regenerated.
13015         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13016         (fma_towardzero_test_data): Likewise.
13017         (fma_downward_test_data): Likewise.
13018         (fma_upward_test_data): Likewise.
13019         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13020         mpc_mode.
13021         (rounding_modes): Add values for new field.
13022         (func_calc_method): Add value mpfr_fff_f.
13023         (func_calc_desc): Add mpfr_fff_f union field.
13024         (test_function): Add field exact_args.
13025         (FUNC): Add macro argument EXACT_ARGS.
13026         (FUNC_mpfr_f_f): Update call to FUNC.
13027         (FUNC_mpfr_f_f): Likewise.
13028         (FUNC_mpfr_ff_f): Likewise.
13029         (FUNC_mpfr_if_f): Likewise.
13030         (FUNC_mpc_c_f): Likewise.
13031         (FUNC_mpc_c_c): Likewise.
13032         (test_functions): Add fma.  Update calls to FUNC.
13033         (handle_input_arg): Add argument exact_args.
13034         (add_test): Update call to handle_input_arg.
13035         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
13036         (output_for_one_input_case): Update call to calc_generic_results.
13037         Recalculate exact zero results in each rounding mode.
13039         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13040         non-negative before setting low bit.
13041         * math/auto-libm-test-in: Mark one asin test possibly having
13042         spurious underflow.
13043         * math/auto-libm-test-out: Regenerated.
13044         * sysdeps/i386/fpu/libm-test-ulps: Update.
13045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13047 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
13049         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13050         * sysdeps/unix/sysv/linux/microblaze: Move directory from
13051         ports/sysdeps/unix/sysv/linux/microblaze.
13052         * README: Add missing listing for microblaze*-*-linux-gnu.
13054 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
13056         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13057         duplicate code
13059 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
13061         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13062         * sysdeps/unix/sysv/linux/ia64: Move directory from
13063         ports/sysdeps/unix/sysv/linux/ia64.
13064         * README: Update listing for ia64-*-linux-gnu.
13066 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
13067             Joseph Myers  <joseph@codesourcery.com>
13069         * Makeconfig (test-name): New variable.
13070         (evaluate-test): Likewise.
13071         * Makerules (do-test-clean): Remove .test-result files.
13072         (common-mostlyclean): Likewise.
13073         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13074         * scripts/evaluate-test.sh: New file.
13076 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
13078         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13079         separate $(objpfx)tst-fopenloc-cmp.out and
13080         $(objpfx)tst-fopenloc-mem.out targets.
13081         (tests): Update dependencies.
13082         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13083         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13084         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13085         (tst-rxspencer-no-utf8-ARGS): New variable.
13086         (tst-rxspencer-no-utf8-ENV): Likewise.
13087         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13088         instead of $(objpfx)tst-rxspencer-mem.
13089         ($(objpfx)tst-rxspencer-mem): Change target to
13090         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
13091         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13092         * posix/tst-rxspencer-no-utf8.c: New file.
13094         * elf/Makefile ($(objpfx)order.out): Remove rule.
13095         [$(run-built-tests) = yes] (tests): Depend on
13096         $(objpfx)order-cmp.out.
13097         ($(objpfx)order-cmp.out): New rule.
13098         [$(run-built-tests) = yes] (tests): Depend on
13099         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13100         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13101         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13102         $(objpfx)tst-array5-static-cmp.out.
13103         ($(objpfx)tst-array1.out): Remove rule.
13104         ($(objpfx)tst-array1-cmp.out): New rule.
13105         ($(objpfx)tst-array1-static.out): Remove rule.
13106         ($(objpfx)tst-array1-static-cmp.out): New rule.
13107         ($(objpfx)tst-array2.out): Remove rule.
13108         ($(objpfx)tst-array2-cmp.out): New rule.
13109         ($(objpfx)tst-array3.out): Remove rule.
13110         ($(objpfx)tst-array3-cmp.out): New rule.
13111         ($(objpfx)tst-array4.out): Remove rule.
13112         ($(objpfx)tst-array4-cmp.out): New rule.
13113         ($(objpfx)tst-array5.out): Remove rule.
13114         ($(objpfx)tst-array5-cmp.out): New rule.
13115         ($(objpfx)tst-array5-static.out): Remove rule.
13116         ($(objpfx)tst-array5-static-cmp.out): New rule.
13117         [$(run-built-tests) = yes] (tests): Depend on
13118         $(objpfx)order2-cmp.out.
13119         ($(objpfx)order2.out): Remove rule.
13120         ($(objpfx)order2-cmp.out): New rule.
13121         ($(objpfx)tst-initorder.out): Remove rule.
13122         [$(run-built-tests) = yes] (tests): Depend on
13123         $(objpfx)tst-initorder-cmp.out.
13124         ($(objpfx)tst-initorder-cmp.out): New rule.
13125         ($(objpfx)tst-initorder2.out): Remove rule.
13126         [$(run-built-tests) = yes] (tests): Depend on
13127         $(objpfx)tst-initorder2-cmp.out.
13128         ($(objpfx)tst-initorder2-cmp.out): New rule.
13129         [$(run-built-tests) = yes] (tests): Depend on
13130         $(objpfx)tst-unused-dep-cmp.out.
13131         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13132         ($(objpfx)tst-unused-dep-cmp.out): New rule.
13133         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13134         on $(objpfx)tst-setvbuf1-cmp.out.
13135         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13136         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13137         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13138         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13139         ($(objpfx)tst-svc.out): Remove rule.
13140         ($(objpfx)tst-svc-cmp.out): New rule.
13142 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
13144         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13145         * ctype/ctype.h [__USE_MISC]: Likewise.
13146         * dirent/dirent.h [__USE_MISC]: Likewise.
13147         * grp/grp.h [__USE_MISC]: Likewise.
13148         * io/fcntl.h [__USE_MISC]: Likewise.
13149         * io/sys/stat.h [__USE_MISC]: Likewise.
13150         * libio/stdio.h [__USE_MISC]: Likewise.
13151         * posix/unistd.h [__USE_MISC]: Likewise.
13152         * pwd/pwd.h [__USE_MISC]: Likewise.
13153         * stdlib.h [__USE_MISC]: Likewise.
13154         * string/bits/string2.h [__USE_MISC]: Likewise.
13155         * string/string.h [__USE_MISC]: Likewise.
13156         * time/time.h [__USE_MISC]: Likewise.
13158 2014-02-13  Andreas Schwab  <schwab@suse.de>
13160         [BZ #16574]
13161         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13162         second answer buffer if it was separately allocated.
13164 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
13166         * sysdeps/mips/math-tests.h: Include <features.h>.
13167         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13168         (ROUNDING_TESTS_long_double): Do not define.
13169         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13170         (EXCEPTION_TESTS_long_double): Likewise.
13171         * sysdeps/mips/mips64/libm-test-ulps: Update.
13173         * include/features.h (__USE_BSD): Remove macro definitions.
13174         (__USE_SVID): Likewise.
13175         (_BSD_SOURCE): Likewise.
13176         (_SVID_SOURCE): Likewise.
13177         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13178         from definition of _DEFAULT_SOURCE.
13179         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13180         [_DEFAULT_SOURCE].
13181         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13182         * bits/mman.h [__USE_BSD]: Likewise.
13183         * bits/termios.h [__USE_BSD]: Likewise.
13184         * bits/waitstatus.h [__USE_BSD]: Likewise.
13185         * ctype/ctype.h [__USE_SVID]: Likewise.
13186         * dirent/dirent.h [__USE_BSD]: Likewise.
13187         * grp/grp.h [__USE_SVID]: Likewise.
13188         [__USE_BSD]: Likewise.
13189         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13190         * io/fcntl.h [__USE_BSD]: Likewise.
13191         * io/ftw.h [__USE_BSD]: Likewise.
13192         * io/sys/stat.h [__USE_BSD]: Likewise.
13193         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13194         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13195         * libio/stdio.h [__USE_SVID]: Likewise.
13196         [__USE_BSD]: Likewise.
13197         * math/math.h [__USE_SVID]: Likewise.
13198         [__USE_BSD]: Likewise.
13199         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13200         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13201         * misc/search.h [__USE_SVID]: Likewise.
13202         * misc/sys/mman.h [__USE_BSD]: Likewise.
13203         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13204         * misc/sys/uio.h [__USE_BSD]: Likewise.
13205         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13206         * posix/glob.h [__USE_BSD]: Likewise.
13207         * posix/regex.h [__USE_BSD]: Likewise.
13208         * posix/sys/types.h [__USE_BSD]: Likewise.
13209         [__USE_SVID]: Likewise.
13210         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13211         * posix/sys/wait.h [__USE_BSD]: Likewise.
13212         [__USE_SVID]: Likewise.
13213         * posix/unistd.h [__USE_BSD]: Likewise.
13214         [__USE_SVID]: Likewise.
13215         * pwd/pwd.h [__USE_SVID]: Likewise.
13216         * resolv/netdb.h [__USE_BSD]: Likewise.
13217         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13218         * signal/signal.h [__USE_BSD]: Likewise.
13219         [__USE_SVID]: Likewise.
13220         * socket/sys/socket.h [__USE_BSD]: Likewise.
13221         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13222         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13223         [__USE_SVID]: Likewise.
13224         * string/bits/string2.h [__USE_BSD]: Likewise.
13225         [__USE_SVID]: Likewise.
13226         * string/bits/string3.h [__USE_BSD]: Likewise.
13227         * string/endian.h [__USE_BSD]: Likewise.
13228         * string/string.h [__USE_SVID]: Likewise.
13229         [__USE_BSD]: Likewise.
13230         * string/strings.h [__USE_BSD]: Likewise.
13231         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13232         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13233         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13234         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13235         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13236         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13237         Likewise.
13238         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13239         Likewise.
13240         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13241         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13242         Likewise.
13243         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13244         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13245         Likewise.
13246         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13247         Likewise.
13248         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13249         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13250         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13251         Likewise.
13252         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13253         Likewise.
13254         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13255         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13256         * termios/termios.h [__USE_BSD]: Likewise.
13257         * time/sys/time.h [__USE_BSD]: Likewise.
13258         * time/time.h [__USE_BSD]: Likewise.
13259         [__USE_SVID]: Likewise.
13261         * Makefile (subdir_targets): Remove subdir_lint.out.
13263         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13264         (do-tst-printf): Likewise.
13265         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13266         $(objpfx)tst-printf.out.
13268         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13270         * Makerules (check-abi-%): Change target to
13271         $(objpfx)check-abi-%.out.
13272         (check-abi target): Update dependencies.
13273         (check-abi-pattern variable): Redirect output of diff to $@.
13274         (check-abi variable): Likewise.
13275         * elf/Makefile (check-abi): Update dependencies.
13277         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13278         unused.
13279         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13280         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13281         subnormal range.
13282         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13283         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13284         value has largest subnormal exponent.
13285         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13286         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13287         * sysdeps/aarch64/soft-fp/sfp-machine.h
13288         (_FP_TININESS_AFTER_ROUNDING): New macro.
13289         * sysdeps/alpha/soft-fp/sfp-machine.h
13290         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13291         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13292         Likewise.
13293         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13294         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13295         * sysdeps/mips/soft-fp/sfp-machine.h
13296         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13297         * sysdeps/powerpc/soft-fp/sfp-machine.h
13298         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13299         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13300         Likewise.
13301         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13302         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13303         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13304         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13305         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13306         Likewise.
13308 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
13310         [BZ #16545]
13311         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13312         model 1.
13314 2014-02-12  Richard Henderson  <rth@redhat.com>
13316         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13317         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13318         * sysdeps/unix/sysv/linux/alpha: Move directory from
13319         ports/sysdeps/unix/sysv/linux/alpha.
13320         * README: Update listing for alpha-*-linux-gnu.
13322 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
13324         * include/features.h: Update comment documenting feature test
13325         macros.
13326         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
13327         _DEFAULT_SOURCE.
13328         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13329         (_SVID_SOURCE): Likewise.
13330         (_DEFAULT_SOURCE): Update description of default features.
13331         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13332         with _GNU_SOURCE.
13333         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13334         (S_ISVTX): Likewise.
13335         * manual/math.texi (Mathematical Constants): Likewise.
13336         * manual/signal.texi (Interrupted Primitives): Likewise.
13337         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13338         * math/test-matherr.c (_SVID_SOURCE): Do not define.
13339         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13340         Don't refer to _SVID_SOURCE in warning text.
13342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13344         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13345         already defined.
13346         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13347         * sysdeps/mips/dl-lookup.c: Remove.
13348         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13350 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13352         [BZ #16447]
13353         * math/auto-libm-test-in: Add testcase for expl.
13354         * math/auto-libm-test-out: Regenerate.
13355         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13356         calculation of unsafe.
13357         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13359 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13361         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13362         * sysdeps/unix/sysv/linux/aarch64: Move directory from
13363         ports/sysdeps/unix/sysv/linux/aarch64.
13364         * README: Update listing for aarch64*-*-linux-gnu.
13366 2014-02-11  Will Newton  <will.newton@linaro.org>
13368         * manual/probes.texi (Mathematical Function Probes): Use
13369         "triggered" instead of "hit".
13371         * manual/probes.texi (Internal Probes): Add documentation
13372         of setjmp, longjmp and longjmp_target probes.
13374         * include/stap-probe.h: Add comment about probe argument
13375         format.
13377         * malloc/mtrace.c (attribute_hidden): Remove unused macro
13378         definition.  (tr_where, tr_freehook, tr_mallochook,
13379         tr_reallochook, tr_memalignhook): Use ANSI protoype.
13381 2014-02-11  David S. Miller  <davem@davemloft.net>
13383         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13384         processing int_tests.
13386 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
13388         * sysdeps/mips: Move directory from ports/sysdeps/mips.
13389         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13390         * sysdeps/unix/sysv/linux/mips: Move directory from
13391         ports/sysdeps/unix/sysv/linux/mips.
13392         * README: Update listing for mips-*-linux-gnu and
13393         mips64-*-linux-gnu.
13395 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
13397         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13398         * sysdeps/unix/sysv/linux/m68k: Move directory from
13399         ports/sysdeps/unix/sysv/linux/m68k.
13400         * README: Update listing for m68k-*-linux-gnu.
13402 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
13404         * sysdeps/tile: Move directory from ports/sysdeps/tile.
13405         * sysdeps/unix/sysv/linux/generic: Move directory from
13406         ports/sysdeps/unix/sysv/linux/generic.
13407         * sysdeps/unix/sysv/linux/tile: Move directory from
13408         ports/sysdeps/unix/sysv/linux/tile.
13409         * README: Update listing for tile*-*-linux-gnu.
13411 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
13413         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13414         __builtin_expect.
13415         * benchtests/bench-memmem.c (simple_memmem): Likewise.
13416         * catgets/open_catalog.c (__open_catalog): Likewise.
13417         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13418         * debug/confstr_chk.c: Likewise.
13419         * debug/fread_chk.c (__fread_chk): Likewise.
13420         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13421         * debug/getgroups_chk.c: Likewise.
13422         * debug/mbsnrtowcs_chk.c: Likewise.
13423         * debug/mbsrtowcs_chk.c: Likewise.
13424         * debug/mbstowcs_chk.c: Likewise.
13425         * debug/memcpy_chk.c: Likewise.
13426         * debug/memmove_chk.c: Likewise.
13427         * debug/mempcpy_chk.c: Likewise.
13428         * debug/memset_chk.c: Likewise.
13429         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13430         * debug/strcat_chk.c (__strcat_chk): Likewise.
13431         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13432         * debug/strncat_chk.c (__strncat_chk): Likewise.
13433         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13434         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13435         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13436         * debug/wcpncpy_chk.c: Likewise.
13437         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13438         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13439         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13440         * debug/wcsncpy_chk.c: Likewise.
13441         * debug/wcsnrtombs_chk.c: Likewise.
13442         * debug/wcsrtombs_chk.c: Likewise.
13443         * debug/wcstombs_chk.c: Likewise.
13444         * debug/wmemcpy_chk.c: Likewise.
13445         * debug/wmemmove_chk.c: Likewise.
13446         * debug/wmempcpy_chk.c: Likewise.
13447         * debug/wmemset_chk.c: Likewise.
13448         * dirent/scandirat.c (SCANDIRAT): Likewise.
13449         * dlfcn/dladdr1.c (dladdr1): Likewise.
13450         * dlfcn/dladdr.c (dladdr): Likewise.
13451         * dlfcn/dlclose.c (dlclose_doit): Likewise.
13452         * dlfcn/dlerror.c (__dlerror): Likewise.
13453         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13454         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13455         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13456         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13457         * dlfcn/dlsym.c (dlsym_doit): Likewise.
13458         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13459         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13460         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13461         Likewise.
13462         * elf/dl-conflict.c: Likewise.
13463         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13464         * elf/dl-dst.h: Likewise.
13465         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13466         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13467         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13468         * elf/dl-init.c (call_init, _dl_init): Likewise.
13469         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13470         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13471         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13472         Likewise.
13473         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13474         Likewise.
13475         * elf/dl-minimal.c (__libc_memalign): Likewise.
13476         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13477         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13478         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13479         * elf/dl-sym.c (do_sym): Likewise.
13480         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13481         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13482         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13483         * elf/dl-writev.h (_dl_writev): Likewise.
13484         * elf/ldconfig.c (search_dir): Likewise.
13485         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13486         (dl_main): Likewise.
13487         * elf/setup-vdso.h (setup_vdso): Likewise.
13488         * grp/compat-initgroups.c (compat_call): Likewise.
13489         * grp/fgetgrent.c (fgetgrent): Likewise.
13490         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13491         * grp/putgrent.c (putgrent): Likewise.
13492         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13493         Likewise.
13494         * hurd/hurdinit.c: Likewise.
13495         * iconvdata/8bit-gap.c (struct): Likewise.
13496         * iconvdata/ansi_x3.110.c : Likewise.
13497         * iconvdata/big5.c : Likewise.
13498         * iconvdata/big5hkscs.c : Likewise.
13499         * iconvdata/cp1255.c: Likewise.
13500         * iconvdata/cp1258.c : Likewise.
13501         * iconvdata/cp932.c : Likewise.
13502         * iconvdata/euc-cn.c: Likewise.
13503         * iconvdata/euc-jisx0213.c : Likewise.
13504         * iconvdata/euc-jp.c: Likewise.
13505         * iconvdata/euc-jp-ms.c : Likewise.
13506         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13507         * iconvdata/gb18030.c : Likewise.
13508         * iconvdata/gbbig5.c (const): Likewise.
13509         * iconvdata/gbgbk.c: Likewise.
13510         * iconvdata/gbk.c : Likewise.
13511         * iconvdata/ibm1364.c : Likewise.
13512         * iconvdata/ibm930.c : Likewise.
13513         * iconvdata/ibm932.c: Likewise.
13514         * iconvdata/ibm933.c : Likewise.
13515         * iconvdata/ibm935.c : Likewise.
13516         * iconvdata/ibm937.c : Likewise.
13517         * iconvdata/ibm939.c : Likewise.
13518         * iconvdata/ibm943.c: Likewise.
13519         * iconvdata/iso_11548-1.c: Likewise.
13520         * iconvdata/iso-2022-cn.c : Likewise.
13521         * iconvdata/iso-2022-cn-ext.c : Likewise.
13522         * iconvdata/iso-2022-jp-3.c: Likewise.
13523         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13524         * iconvdata/iso-2022-kr.c : Likewise.
13525         * iconvdata/iso646.c (gconv_end): Likewise.
13526         * iconvdata/iso_6937-2.c : Likewise.
13527         * iconvdata/iso_6937.c : Likewise.
13528         * iconvdata/iso8859-1.c: Likewise.
13529         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13530         * iconvdata/shift_jisx0213.c : Likewise.
13531         * iconvdata/sjis.c : Likewise.
13532         * iconvdata/t.61.c : Likewise.
13533         * iconvdata/tcvn5712-1.c : Likewise.
13534         * iconvdata/tscii.c: Likewise.
13535         * iconvdata/uhc.c : Likewise.
13536         * iconvdata/unicode.c (gconv_end): Likewise.
13537         * iconvdata/utf-16.c (gconv_end): Likewise.
13538         * iconvdata/utf-32.c (gconv_end): Likewise.
13539         * iconvdata/utf-7.c (base64): Likewise.
13540         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13541         * iconv/gconv_close.c (__gconv_close): Likewise.
13542         * iconv/gconv_open.c (__gconv_open): Likewise.
13543         * iconv/gconv_simple.c (internal_ucs4_loop_single)
13544         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13545         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13546         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13547         (ucs4le_internal_loop_single): Likewise.
13548         * iconv/iconv.c (iconv): Likewise.
13549         * iconv/iconv_close.c: Likewise.
13550         * iconv/loop.c (SINGLE): Likewise.
13551         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13552         * include/atomic.h: Likewise.
13553         * inet/inet6_option.c (option_alloc): Likewise.
13554         * intl/bindtextdom.c (set_binding_values): Likewise.
13555         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13556         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13557         * intl/localealias.c (read_alias_file): Likewise.
13558         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13559         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13560         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13561         * libio/fmemopen.c (fmemopen): Likewise.
13562         * libio/iofgets.c (_IO_fgets): Likewise.
13563         * libio/iofgets_u.c (fgets_unlocked): Likewise.
13564         * libio/iofgetws.c (fgetws): Likewise.
13565         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13566         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13567         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13568         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13569         * locale/findlocale.c (_nl_find_locale): Likewise.
13570         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13571         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13572         Likewise.
13573         * locale/setlocale.c (setlocale): Likewise.
13574         * login/programs/pt_chown.c (main): Likewise.
13575         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13576         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13577         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13578         (mmap, mmap64, mremap, munmap): Likewise.
13579         * math/e_exp2l.c: Likewise.
13580         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13581         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13582         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13583         * math/s_catan.c (__catan): Likewise.
13584         * math/s_catanf.c (__catanf): Likewise.
13585         * math/s_catanh.c (__catanh): Likewise.
13586         * math/s_catanhf.c (__catanhf): Likewise.
13587         * math/s_catanhl.c (__catanhl): Likewise.
13588         * math/s_catanl.c (__catanl): Likewise.
13589         * math/s_ccosh.c (__ccosh): Likewise.
13590         * math/s_ccoshf.c (__ccoshf): Likewise.
13591         * math/s_ccoshl.c (__ccoshl): Likewise.
13592         * math/s_cexp.c (__cexp): Likewise.
13593         * math/s_cexpf.c (__cexpf): Likewise.
13594         * math/s_cexpl.c (__cexpl): Likewise.
13595         * math/s_clog10.c (__clog10): Likewise.
13596         * math/s_clog10f.c (__clog10f): Likewise.
13597         * math/s_clog10l.c (__clog10l): Likewise.
13598         * math/s_clog.c (__clog): Likewise.
13599         * math/s_clogf.c (__clogf): Likewise.
13600         * math/s_clogl.c (__clogl): Likewise.
13601         * math/s_csin.c (__csin): Likewise.
13602         * math/s_csinf.c (__csinf): Likewise.
13603         * math/s_csinh.c (__csinh): Likewise.
13604         * math/s_csinhf.c (__csinhf): Likewise.
13605         * math/s_csinhl.c (__csinhl): Likewise.
13606         * math/s_csinl.c (__csinl): Likewise.
13607         * math/s_csqrt.c (__csqrt): Likewise.
13608         * math/s_csqrtf.c (__csqrtf): Likewise.
13609         * math/s_csqrtl.c (__csqrtl): Likewise.
13610         * math/s_ctan.c (__ctan): Likewise.
13611         * math/s_ctanf.c (__ctanf): Likewise.
13612         * math/s_ctanh.c (__ctanh): Likewise.
13613         * math/s_ctanhf.c (__ctanhf): Likewise.
13614         * math/s_ctanhl.c (__ctanhl): Likewise.
13615         * math/s_ctanl.c (__ctanl): Likewise.
13616         * math/w_pow.c: Likewise.
13617         * math/w_powf.c: Likewise.
13618         * math/w_powl.c: Likewise.
13619         * math/w_scalb.c (sysv_scalb): Likewise.
13620         * math/w_scalbf.c (sysv_scalbf): Likewise.
13621         * math/w_scalbl.c (sysv_scalbl): Likewise.
13622         * misc/error.c (error_tail): Likewise.
13623         * misc/pselect.c (__pselect): Likewise.
13624         * nis/nis_callback.c (__nis_create_callback): Likewise.
13625         * nis/nis_call.c (__nisfind_server): Likewise.
13626         * nis/nis_creategroup.c (nis_creategroup): Likewise.
13627         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13628         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13629         * nis/nis_getservlist.c (nis_getservlist): Likewise.
13630         * nis/nis_lookup.c (nis_lookup): Likewise.
13631         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13632         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13633         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13634         * nis/nis_xdr.c (xdr_endpoint): Likewise.
13635         * nis/nss_compat/compat-grp.c (getgrent_next_file)
13636         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13637         * nis/nss_compat/compat-initgroups.c (add_group)
13638         (internal_getgrent_r): Likewise.
13639         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13640         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13641         * nis/nss_compat/compat-spwd.c (getspent_next_file)
13642         (internal_getspnam_r): Likewise.
13643         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13644         (_nss_nis_getaliasbyname_r): Likewise.
13645         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13646         (_nss_nis_getntohost_r): Likewise.
13647         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13648         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13649         (_nss_nis_getgrgid_r): Likewise.
13650         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13651         (internal_nis_gethostent_r, internal_gethostbyname2_r)
13652         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13653         (_nss_nis_gethostbyname4_r): Likewise.
13654         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13655         (initgroups_netid): Likewise.
13656         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13657         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13658         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13659         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13660         (_nss_nis_getprotobynumber_r): Likewise.
13661         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13662         (_nss_nis_getsecretkey): Likewise.
13663         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13664         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13665         (_nss_nis_getpwuid_r): Likewise.
13666         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13667         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13668         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13669         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13670         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13671         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13672         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13673         Likewise.
13674         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13675         (_nss_nisplus_getntohost_r): Likewise.
13676         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13677         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13678         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13679         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13680         Likewise.
13681         * nis/nss_nisplus/nisplus-initgroups.c
13682         (_nss_nisplus_initgroups_dyn): Likewise.
13683         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13684         (_nss_nisplus_getnetbyaddr_r): Likewise.
13685         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13686         (_nss_nisplus_getprotobynumber_r): Likewise.
13687         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13688         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13689         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13690         Likewise.
13691         * nis/nss_nisplus/nisplus-service.c
13692         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13693         (_nss_nisplus_getservbyport_r): Likewise.
13694         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13695         (_nss_nisplus_getspnam_r): Likewise.
13696         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13697         Likewise.
13698         * nscd/aicache.c (addhstaiX): Likewise.
13699         * nscd/cache.c (cache_search, prune_cache): Likewise.
13700         * nscd/connections.c (register_traced_file, send_ro_fd)
13701         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13702         (main_loop_epoll): Likewise.
13703         * nscd/grpcache.c (addgrbyX): Likewise.
13704         * nscd/hstcache.c (addhstbyX): Likewise.
13705         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13706         * nscd/mem.c (gc, mempool_alloc): Likewise.
13707         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13708         (addinnetgrX): Likewise.
13709         * nscd/nscd-client.h (__nscd_acquire_maplock)
13710         (__nscd_drop_map_ref): Likewise.
13711         * nscd/nscd_getai.c (__nscd_getai): Likewise.
13712         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13713         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13714         Likewise.
13715         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13716         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13717         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13718         (__nscd_get_map_ref): Likewise.
13719         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13720         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13721         Likewise.
13722         * nscd/pwdcache.c (addpwbyX): Likewise.
13723         * nscd/selinux.c (preserve_capabilities): Likewise.
13724         * nscd/servicescache.c (addservbyX): Likewise.
13725         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13726         * posix/fnmatch.c (fnmatch): Likewise.
13727         * posix/getopt.c (_getopt_internal_r): Likewise.
13728         * posix/glob.c (glob, glob_in_dir): Likewise.
13729         * posix/wordexp.c (exec_comm_child): Likewise.
13730         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13731         (getanswer_r, gaih_getanswer_slice): Likewise.
13732         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13733         * resolv/res_init.c: Likewise.
13734         * resolv/res_mkquery.c (res_nmkquery): Likewise.
13735         * resolv/res_query.c (__libc_res_nquery): Likewise.
13736         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13737         Likewise.
13738         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13739         * stdio-common/perror.c (perror): Likewise.
13740         * stdio-common/printf_fp.c (___printf_fp): Likewise.
13741         * stdio-common/tmpnam.c (tmpnam): Likewise.
13742         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13743         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13744         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13745         Likewise.
13746         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13747         * stdlib/putenv.c (putenv): Likewise.
13748         * stdlib/setenv.c (__add_to_environ): Likewise.
13749         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13750         * stdlib/strtol_l.c (INTERNAL): Likewise.
13751         * string/memmem.c (memmem): Likewise.
13752         * string/strerror.c (strerror): Likewise.
13753         * string/strnlen.c (__strnlen): Likewise.
13754         * string/test-memmem.c (simple_memmem): Likewise.
13755         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13756         * sunrpc/pm_getport.c (__get_socket): Likewise.
13757         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13758         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13759         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13760         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13761         Likewise.
13762         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13763         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13764         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13765         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13766         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13767         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13768         Likewise.
13769         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13770         Likewise.
13771         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13772         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13773         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13774         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13775         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13776         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13777         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13778         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13779         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13780         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13781         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13782         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13783         Likewise.
13784         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13785         Likewise.
13786         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13787         Likewise.
13788         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13789         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13790         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13791         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13792         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13793         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13794         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13795         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13796         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13797         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13798         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13799         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13800         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13801         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13802         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13803         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13804         Likewise.
13805         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13806         Likewise.
13807         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13808         Likewise.
13809         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13810         Likewise.
13811         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13812         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13813         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13814         Likewise.
13815         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13816         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13817         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13818         * sysdeps/posix/sleep.c: Likewise.
13819         * sysdeps/posix/tempname.c: Likewise.
13820         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13821         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13822         Likewise.
13823         * sysdeps/powerpc/powerpc32/dl-machine.h
13824         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13825         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13826         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13827         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13828         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13829         Likewise.
13830         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13831         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13832         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13833         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13834         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13835         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13836         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13837         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13838         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13839         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13840         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13841         (elf_machine_lazy_rel): Likewise.
13842         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13843         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13844         (elf_machine_lazy_rel): Likewise.
13845         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13846         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13847         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13848         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13849         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13850         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13851         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13852         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13853         Likewise.
13854         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13855         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13856         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13857         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13858         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13859         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13860         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13861         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13862         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13863         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13864         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13865         Likewise.
13866         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13867         (__posix_fallocate64_l64): Likewise.
13868         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13869         (posix_fallocate): Likewise.
13870         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13871         Likewise.
13872         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13873         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13874         (getifaddrs_internal): Likewise.
13875         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13876         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13877         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13878         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13879         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13880         (__posix_fallocate64_l64): Likewise.
13881         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13882         Likewise.
13883         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13884         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13885         (__get_clockfreq): Likewise.
13886         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13887         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13888         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13891         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13892         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13893         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13894         Likewise.
13895         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13896         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13897         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13898         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13899         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13900         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13901         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13902         Likewise.
13903         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13904         (posix_fallocate): Likewise.
13905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13906         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13907         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13908         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13909         (elf_machine_rela, elf_machine_rela_relative)
13910         (elf_machine_lazy_rel): Likewise.
13911         * time/asctime.c (asctime_internal): Likewise.
13912         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13913         * time/tzset.c (__tzset_parse_tz): Likewise.
13914         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13915         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13916         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13917         * wcsmbs/wcsmbsload.h: Likewise.
13919         [BZ #15894]
13920         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13922         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13923         (arena_get2): Remove THREAD_STATS conditionals.
13924         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13925         (__malloc_stats, int): Likewise.
13927 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13929         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13930         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13932         * manual/setjmp.texi: Fix typos/grammar errors.
13934         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13935         Only return early when n is <= 0.  Delete unused return statement.
13937         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13938         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13939         * debug/tst-longjmp_chk3.c: New file.
13941         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13942         (test_main): Replace code with set_fortify_handler call.
13943         * debug/test-strcpy_chk.c: Likewise.
13944         * debug/tst-chk1.c: Likewise.
13945         * debug/tst-longjmp_chk.c: Likewise.
13946         * test-skeleton.c: Include fcntl.h & paths.h
13947         (set_fortify_handler): Define.
13949         * debug/tst-longjmp_chk.c: Add header comment and include
13950         ../test-skeleton.c.
13951         (do_test): Mark static.
13952         (TEST_FUNCTION): Define.
13954         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13955         (IP_PMTUDISC_INTERFACE): Likewise.
13956         (IP_MULTICAST_IF): Likewise.
13957         (IP_MULTICAST_TTL): Likewise.
13958         (IP_MULTICAST_LOOP): Likewise.
13959         (IP_ADD_MEMBERSHIP): Likewise.
13960         (IP_DROP_MEMBERSHIP): Likewise.
13961         (IP_UNBLOCK_SOURCE): Likewise.
13962         (IP_BLOCK_SOURCE): Likewise.
13963         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13964         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13965         (IP_MSFILTER): Likewise.
13966         (MCAST_JOIN_GROUP): Likewise.
13967         (MCAST_BLOCK_SOURCE): Likewise.
13968         (MCAST_UNBLOCK_SOURCE): Likewise.
13969         (MCAST_LEAVE_GROUP): Likewise.
13970         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13971         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13972         (MCAST_MSFILTER): Likewise.
13973         (IP_MULTICAST_ALL): Likewise.
13974         (IP_UNICAST_IF): Likewise.
13976         * timezone/Makefile: Delete $(have-ksh) check.
13977         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13978         * timezone/tzselect.ksh: Add +x mode bits.
13980         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13981         (ANON_INODE_FS_MAGIC): Likewise.
13982         (BDEVFS_MAGIC): Likewise.
13983         (BINFMTFS_MAGIC): Likewise.
13984         (BTRFS_TEST_MAGIC): Likewise.
13985         (CRAMFS_MAGIC_WEND): Likewise.
13986         (DEBUGFS_MAGIC): Likewise.
13987         (ECRYPTFS_SUPER_MAGIC): Likewise.
13988         (EXT3_SUPER_MAGIC): Likewise.
13989         (EXT4_SUPER_MAGIC): Likewise.
13990         (FUTEXFS_SUPER_MAGIC): Likewise.
13991         (HOSTFS_SUPER_MAGIC): Likewise.
13992         (HUGETLBFS_MAGIC): Likewise.
13993         (MINIX3_SUPER_MAGIC): Likewise.
13994         (MTD_INODE_FS_MAGIC): Likewise.
13995         (NILFS_SUPER_MAGIC): Likewise.
13996         (OPENPROM_SUPER_MAGIC): Likewise.
13997         (PIPEFS_MAGIC): Likewise.
13998         (PSTOREFS_MAGIC): Likewise.
13999         (QNX6_SUPER_MAGIC): Likewise.
14000         (RAMFS_MAGIC): Likewise.
14001         (REISERFS_SUPER_MAGIC_STRING): Likewise.
14002         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14003         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14004         (SECURITYFS_MAGIC): Likewise.
14005         (SELINUX_MAGIC): Likewise.
14006         (SMACK_MAGIC): Likewise.
14007         (SOCKFS_MAGIC): Likewise.
14008         (SQUASHFS_MAGIC): Likewise.
14009         (STACK_END_MAGIC): Likewise.
14010         (TMPFS_MAGIC): Likewise.
14011         (USBDEVICE_SUPER_MAGIC): Likewise.
14012         (V9FS_MAGIC): Likewise.
14013         (XENFS_SUPER_MAGIC): Likewise.
14014         (CRAMFS_MAGIC): Fix typo in comment.
14015         (EXT2_SUPER_MAGIC): Update comment.
14016         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14018 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
14020         * sysdeps/arm: Move directory from ports/sysdeps/arm.
14021         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14022         * sysdeps/unix/sysv/linux/arm: Move directory from
14023         ports/sysdeps/unix/sysv/linux/arm.
14024         * README: Update listing for arm-*-linux-gnueabi.
14026         * README: Remove mention of am33.
14028 2014-02-07  Roland McGrath  <roland@hack.frob.com>
14030         * bits/sigset.h (__sigemptyset): Use a statement expression rather
14031         than the comma operator, to avoid "rhs of comma has no effect"
14032         compiler warnings.
14033         (__sigfillset, __sigandset, __sigorset): Likewise.
14034         * include/signal.h (__sigemptyset): Likewise.
14035         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14037 2014-02-07  Allan McRae  <allan@archlinux.org>
14039         * version.h (RELEASE): Set to "development".
14040         (VERSION): Set to "2.19.90"
14041         * NEWS: Add 2.20 section.
14043 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
14045         [BZ #16529]
14046         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14048 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14050         * manual/contrib.texi: Update entry for Carlos O'Donell,
14051         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14053 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
14055         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14057         * sysdeps/unix/sysv/linux/kernel-features.h
14058         [__LINUX_KERNEL_VERSION >= 0x020621]
14059         (__ASSUME_PROC_PID_TASK_COMM): Define.
14061 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14063         [BZ #16398]
14064         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14065         conversion when destination buffer does not have enough space.
14066         * libio/tst-ftell-partial-wide.c: New test case.
14067         * libio/Makefile (tests): Add tst-ftell-partial-wide.
14069         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14070         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
14071         Leonard and Allan McRae.
14073 2014-02-04  David S. Miller  <davem@davemloft.net>
14075         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14076         32-bit.
14078 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14081         New file
14082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14083         New file
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14085         New file.
14086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14087         New file.
14088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14089         New file.
14090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14091         New file.
14092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14093         New file.
14094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14095         New file.
14096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14097         New file.
14098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14099         New file.
14100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14101         New file.
14102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14103         New file.
14104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14105         New file.
14107 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14109         * nptl/shlib-versions: Change powerpc*le start to 2.17.
14110         * shlib-versions: Likewise.
14112 2014-02-04  Roland McGrath  <roland@hack.frob.com>
14113             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14115         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14116         (abilist-pattern): New variable, set to %-le.abilist.
14118         * Makerules (abilist-pattern): New variable.
14119         (vpath): Use $(abilist-pattern) in place of %.abilist.
14120         (check-abi-% pattern rule): Likewise.
14121         (check-abi, update-abi): Likewise.
14123 2014-02-04  Eric Wong  <normalperson@yhbt.net>
14125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14127 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
14129         * manual/startup.texi: Add next, previous, and top entries for
14130         the `Program Arguments' and `Environment Variables' nodes.
14132 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
14134         * manual/macros.texi: Add comments before MTASC-safety macros.
14136         * manual/users.texi: Document MTASC-safety properties.
14138         * manual/threads.texi (pthread_key_create, pthread_key_delete)
14139         (pthread_getspecific, pthread_setspecific): Format with
14140         @deftypefun, and add @safety note.
14141         * manual/signal.texi: Move comments that analyze the above
14142         functions to their home place.
14144 2014-02-03  Allan McRae  <allan@archlinux.org>
14146         * po/sl.po: Update Slovenian translation from translation project.
14148 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
14150         * manual/time.texi (timegm): Add missing blank after @c.
14151         Reported by Joseph Myers <joseph@codesourcery.com>.
14153 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
14155         * manual/check-safety.sh: New.
14156         * manual/Makefile ($(objpfx)stamp-summary): Run it.
14158         * manual/terminal.texi: Document MTASC-safety properties.
14160         * manual/filesys.texi: Document MTASC-safety properties.
14162         * manual/errno.texi: Document MTASC-safety properties.
14164         * manual/intro.texi: Document safety identifiers and
14165         conditionals.
14167         * manual/string.texi (wcstok): Fix prototype.
14168         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14170         * manual/time.texi: Document MTASC-safety properties.
14172         * manual/string.texi: Document MTASC-safety properties.
14174         * manual/threads.texi: Document MTASC-safety properties.
14176         * manual/stdio.texi: Document MTASC-safety properties.
14178         * manual/syslog.texi: Document MTASC-safety properties.
14180         * manual/sysinfo.texi: Document MTASC-safety properties.
14182         * manual/startup.texi: Document MTASC-safety properties.
14184         * manual/socket.texi: Document MTASC-safety properties.
14186         * manual/signal.texi: Document MTASC-safety properties.
14188 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14190         * manual/setjmp.texi: Document MTASC-safety properties.
14192         * manual/search.texi: Document MTASC-safety properties.
14194         * manual/resource.texi: Document MTASC-safety properties.
14196         * manual/process.texi: Document MTASC-safety properties.
14198         * manual/platform.texi: Document MTASC-safety properties.
14200         * manual/pipe.texi: Document MTASC-safety properties.
14202         * manual/pattern.texi: Document MTASC-safety properties.
14204         * manual/message.texi: Document MTASC-safety properties.
14206         [BZ #12751]
14207         * manual/memory.texi: Document MTASC-safety properties.
14209         * manual/math.texi: Document MTASC-safety properties.
14211         * manual/locale.texi: Document MTASC-safety properties.
14213         * manual/llio.texi: Document MTASC-safety properties.
14215         * manual/libdl.texi: New.
14217         * manual/lang.texi: Document MTASC-safety properties.
14219         * manual/job.texi: Document MTASC-safety properties.
14221         * manual/getopt.texi: Document MTASC-safety properties.
14223         * manual/ctype.texi: Document MTASC-safety properties.
14225 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14227         [BZ #16046]
14228         * csu/libc-tls.c (static_map): Remove variable.
14229         (__libc_setup_tls): Use main executable's link map for TLS data.
14230         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14231         casing for LM_ID_BASE and GL(dl_nns).
14232         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14233         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14234         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14235         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14236         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14237         member.
14238         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14239         l_phnum members.
14241 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14243         * manual/debug.texi: Document MTASC-safety properties.
14245 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14247         [BZ #16510]
14248         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14249         of __x86_64__ when disabling x87 inline functions.
14251 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14253         * manual/charset.texi: Document MTASC-safety properties.
14255         * manual/crypt.texi: Document MTASC-safety properties.
14257         * manual/conf.texi: Document MTASC-safety properties.
14259         * manual/arith.texi: Document MTASC-safety properties.
14261         * manual/argp.texi: Document MTASC-safety properties.
14263         * manual/macros.texi: Introduce macros to document multi
14264         thread, asynchronous signal and asynchronous cancellation
14265         safety properties.
14266         * manual/intro.texi: Introduce the properties themselves.
14268 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14270         * sysdeps/sh/sh4/Makefile: New file.
14272 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14274         * math/gen-libm-test.pl ($srcdir): New variable.
14275         ($auto_input): Use it.
14277 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14279         [BZ #16506]
14280         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14281         access beyond array bounds when parsing netgroups file.
14283         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14284         the old buffer before realloc.
14286 2014-01-27  Allan McRae  <allan@archlinux.org>
14288         * po/fr.po: Update French translation from translation project.
14290 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14292         * sysdeps/sh/libm-test-ulps: Regenerate.
14294 2014-01-24  David S. Miller  <davem@davemloft.net>
14296         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14298 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14300         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14301         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14303 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14305         [BZ #16474]
14306         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14307         string pointers after reallocation.
14309 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14311         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14312         __SH4A__ instead of __SH_FPU_ANY__.
14314 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14316         * sysdeps/sh/fpu_control.h: New file.
14317         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14318         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14319         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14320         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14321         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14322         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14323         * sysdeps/sh/sys/ucontext.h: Remove.
14324         * sysdeps/sh/sys: Remove directory.
14326 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14328         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14329         s390/sys/ucontext.h.
14330         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14331         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14333 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14335         [BZ #15605]
14336         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14338 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14340         [BZ#16431]
14341         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14342         Adjust the vDSO correctly for internal calls.
14343         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14345 2014-01-20  Allan McRae  <allan@archlinux.org>
14347         * po/ca.po: Update Catalan translation from translation project.
14349 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
14351         * sysdeps/s390/sotruss-lib.c: New file.
14353 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14355         [BZ#16430]
14356         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14357         (__GI___gettimeofday): Alias for a different internal symbol to avoid
14358         local calls issues by not having a PLT stub required for IFUNC calls.
14359         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14361 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
14363         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14364         * math/test-fpucw-static.c: Likewise.
14366 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14368         [BZ #16453]
14369         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14371 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14373         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14374         implementation for powerpc.
14376 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
14378         [BZ #14782]
14379         * sysdeps/posix/system.c (__libc_system): Do not enable
14380         asynchronous cancellation.
14382 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14384         [BZ #16427]
14385         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14386         handling only for numbers special also in the IEEE case.
14388 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14390         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14392 2014-01-11  Allan McRae  <allan@archlinux.org>
14394         * po/bg.po: Update Bulgarian translation from translation project.
14396         * po/de.po: Update German translation from translation project.
14398 2014-01-10  Roland McGrath  <roland@hack.frob.com>
14400         * sysdeps/generic/gcc-compat.h: New file.
14402 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14404         * benchtests/asin-inputs: Correct slow inputs.
14405         * benchtests/acos-inputs: Likewise.
14407 2014-01-10  Allan McRae  <allan@archlinux.org>
14409         * po:sv.po: Update Swedish translation from translation project.
14411         * po/vi.po: Update Vietnamese translation from translation project.
14413         * po/eo.po: Update Esperanto translation from translation project.
14415         * po/cs.po: Update Czech translation from translation project.
14417         * po/nl.po: Update Dutch translation from translation project.
14419         * po/pl.po: Update Polish translation from translation project.
14421         * po/ru.po: Update Russian translation from translation project.
14423         * po/uk.po: Update Ukrainian translation from translation project.
14425 2014-01-08  Brooks Moses  <bmoses@google.com>
14427         * elf/dl-load.c: Fix comment typo.
14429 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
14431         * po/header.pot: Rename to...
14432         * po/pot.header: ... this.
14433         * po/Makefile: Use pot.header.
14435 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
14436             Maxim Kuvyrkov  <maxim@kugelworks.com>
14438         [BZ #16394]
14439         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14440         SRC and DEST against LEN.
14442 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14444         [BZ #16414]
14445         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14446         implementation.
14447         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14449 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14453 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
14455         [BZ #16408]
14456         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14457         for large positive arguments.
14459 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
14461         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14463         * math/auto-libm-test-in: Mark various tests with
14464         xfail-rounding:ldbl-128ibm.
14465         * math/auto-libm-test-out: Regenerated.
14467         [BZ #16407]
14468         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14469         Increase overflow threshold.
14471 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
14473         [BZ #14286]
14474         * stdio-common/vfprintf.c: Check for integer overflow.
14476 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14478         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14479         the first argument and return value of __tls_get_addr_internal.
14481 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14483         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14484         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14486 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14488         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14489         * sysdeps/s390/rtld-global-offsets.sym: New file.
14490         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14491         GLIBC_2.19 symbol.
14492         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14493         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14494         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14495         ... this.
14496         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14497         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14498         ... this.
14499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14500         Regenerate.
14501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14502         Regenerate.
14503         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14504         halfs of GPRs for high_gprs contexts.
14505         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14506         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
14507         field.
14508         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14509         uc_flags field.
14510         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14511         64 bit versions:
14512         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14513         for high GPRs (uc_high_gprs) and for future extensions
14514         (__reserved).
14515         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14516         for future extensions (__reserved).
14517         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14518         64 bit versions:
14519         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14520         SC_HIGHGPRS offset definition.
14521         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14522         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14524         * Versions.def: Add GLIBC_2.19 for libpthread.
14525         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14526         siglongjmp for libpthread with GLIBC_2.19 symver.
14527         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14528         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14529         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14530         * sysdeps/s390/__longjmp.c: New file.
14531         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14532         * sysdeps/s390/longjmp.c: New file.
14533         * sysdeps/s390/setjmp.S: New file.
14534         * sysdeps/s390/sigjmp.S: New file.
14535         * sysdeps/s390/v1-longjmp.c: New file.
14536         * sysdeps/s390/v1-setjmp.h: New file.
14537         * sysdeps/s390/v1-sigjmp.c: New file.
14538         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14539         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14540         GLIBC_2.19 version.
14541         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14542         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14543         versioned symbols for ____longjmp_chk.
14544         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14545         Likewise.
14546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14547         Regenerate.
14548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14549         Regenerate.
14550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14551         Regenerate.
14552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14553         Regenerate.
14554         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14555         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14556         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14557         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14558         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14559         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14560         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14561         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14562         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14563         * sysdeps/s390/rtld-__longjmp.c: New file.
14564         * sysdeps/s390/rtld-setjmp.S: New file.
14566 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
14568         [BZ #16400]
14569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14570         Return -__logl (x) for small positive arguments without evaluating
14571         a polynomial.
14573 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
14575         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14576         Rename to ...
14577         (__ptrace_peeksiginfo_args): ... this.
14578         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14579         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14580         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14582 2014-01-06  Allan McRae  <allan@archlinux.org>
14584         * inet/netinet/in.h: Fix typo in comment.
14586 2014-01-05  Andreas Jaeger  <aj@suse.de>
14588         * sysdeps/i386/fpu/libm-test-ulps: Update.
14590 2014-01-05  Allan McRae  <allan@archlinux.org>
14592         * po/libc.pot: Regenerated.
14594         * malloc/memusagestat.c: Fix gettext call formatting.
14596 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
14598         * nscd/nscd.c: Improve usage() output.
14600 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
14602         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14603         * sysdeps/unix/sysv/linux/configure: Regenerated.
14604         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14605         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14607 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14609         [BZ #16390]
14610         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14611         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14613 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14615         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14616         extra tokens at end of #undef directive.
14617         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14618         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14619         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14621 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14623         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14625         * math/auto-libm-test-in: Mark various tests with
14626         xfail-rounding:ldbl-128ibm.
14627         * math/auto-libm-test-out: Regenerated.
14629 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
14631         [BZ #16386]
14632         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14633         numbers with subnormal high part when calculating exponent.
14635         [BZ #16385]
14636         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14637         fabs.
14639         [BZ #16384]
14640         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14641         M_LN2l.
14642         (__ieee754_acoshl): Use __log1pl not __log1p.
14644 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
14646         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14647         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14648         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14649         (grow_heap, heap_trim, _int_new_arena, get_free_list)
14650         (reused_arena, arena_get2): Convert to GNU style.
14651         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14652         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14653         (memalign_check, __malloc_set_state): Likewise.
14654         * malloc/mallocbug.c (main): Likewise.
14655         * malloc/malloc.c (__malloc_assert, malloc_init_state)
14656         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14657         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14658         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14659         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14660         (__posix_memalign, malloc_info): Likewise.
14661         * malloc/malloc.h: Likewise.
14662         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14663         (mallochook, memalignhook, reallochook, mabort): Likewise.
14664         * malloc/mcheck.h: Likewise.
14665         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14666         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14667         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14668         * malloc/morecore.c (__default_morecore): Likewise.
14669         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14670         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14671         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14672         (print_and_abort): Likewise.
14673         * malloc/obstack.h: Likewise.
14674         * malloc/set-freeres.c (__libc_freeres): Likewise.
14675         * malloc/tst-mallocstate.c (main): Likewise.
14676         * malloc/tst-mtrace.c (main): Likewise.
14677         * malloc/tst-realloc.c (do_test): Likewise.
14679 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14681         [BZ #16366]
14682         * nscd/netgroupcache.c (do_notfound): New function.
14683         (addgetnetgrentX): Use it.
14685         [BZ # 16365]
14686         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14687         NSS_STATUS_NOTFOUND.
14689 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
14691         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14694 2014-01-01  Allan McRae  <allan@archlinux.org>
14696         * scripts/update-copyrights: Update configure input file suffix.
14698         * NEWS: Update copyright year.
14699         * catgets/gencat.c: Likewise.
14700         * csu/version.c: Likewise.
14701         * debug/catchsegv.sh: Likewise.
14702         * debug/pcprofiledump.c: Likewise.
14703         * debug/xtrace.sh: Likewise.
14704         * elf/ldconfig.c: Likewise.
14705         * elf/ldd.bash.in: Likewise.
14706         * elf/pldd.c: Likewise.
14707         * elf/sotruss.ksh: Likewise.
14708         * elf/sprof.c: Likewise.
14709         * iconv/iconv_prog.c: Likewise.
14710         * iconv/iconvconfig.c: Likewise.
14711         * locale/programs/locale.c: Likewise.
14712         * locale/programs/localedef.c: Likewise.
14713         * login/programs/pt_chown.c: Likewise.
14714         * malloc/memusage.sh: Likewise.
14715         * malloc/memusagestat.c: Likewise.
14716         * malloc/mtrace.pl: Likewise.
14717         * manual/libc.texinfo: Likewise.
14718         * nscd/nscd.c: Likewise.
14719         * nss/getent.c: Likewise.
14720         * nss/makedb.c: Likewise.
14721         * posix/getconf.c: Likewise.
14722         * scripts/test-installation.pl: Likewise.
14724         * All files with FSF copyright notices: Update copyright dates
14725         using scripts/update-copyrights.
14726         * intl/plural.c: Regenerated.
14727         * locale/programs/charmap-kw.h: Likewise.
14728         * locale/programs/locfile-kw.h: Likewise.
14730 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
14732         * sysdeps/unix/sysv/linux/configure: Regenerated.
14733         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14734         the linux/fanotify.h header.
14735         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14736         HAVE_LINUX_FANOTIFY_H is defined.
14738 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14740         * benchtests/cos-inputs: New inputs.
14741         * benchtests/sin-inputs: Likewise.
14743         * benchtests/atan-inputs: New inputs. Fix name of multiple
14744         precision fallback inputs.
14746         * benchtests/atanh-inputs: New inputs.
14747         * benchtests/tanh-inputs: Likewise.
14749         * benchtests/acosh-inputs: New inputs.
14750         * benchtests/asinh-inputs: Likewise.
14752         * benchtests/cosh-inputs: New inputs.
14753         * benchtests/sinh-inputs: Likewise.
14755         * benchtests/acos-inputs: Add more inputs.
14756         * benchtests/asin-inputs: Likewise.
14758 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
14760         [BZ #16375]
14761         * manual/arith.texi: Fix spelling.
14762         * manual/charset.texi: Likewise.
14763         * manual/errno.texi: Likewise.
14764         * manual/filesys.texi: Likewise.
14765         * manual/lang.texi: Likewise.
14766         * manual/llio.texi: Likewise.
14767         * manual/locale.texi: Likewise.
14768         * manual/message.texi: Likewise.
14769         * manual/resource.texi: Likewise.
14770         * manual/search.texi: Likewise.
14771         * manual/setjmp.texi: Likewise.
14772         * manual/stdio.texi: Likewise.
14773         * manual/string.texi: Likewise.
14774         * manual/sysinfo.texi: Likewise.
14775         * manual/time.texi: Likewise.
14777 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
14779         * po/sl.po: New file.
14781 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
14783         * .gitignore: Add core/.gdbinit/.gdb_history.
14785 2013-12-27  Allan McRae  <allan@archlinux.org>
14787         [BZ #16369]
14788         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14789         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14791 2013-12-24  Brooks Moses  <bmoses@google.com>
14793         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14794         all compilers that claim C++98 compliance, not just GCC.
14795         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14796         Likewise.
14798 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14800         * NEWS: Restore accidentally deleted bug-fix entries.
14802 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14803             Ondřej Bílka  <neleai@seznam.cz>
14805         [BZ #15073]
14806         * malloc/malloc.c (_int_free): Perform sanity check only if we
14807         have_lock.
14809 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14811         [BZ #12986]
14812         * manual/stdio.texi (String Input Conversions): Clarify that character
14813         classes are not supported.
14815 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14819 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14821         [BZ #16337]
14822         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14823         Calculate results for small negative arguments directly rather
14824         than using reflection formula with special underflow handling.
14826         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14827         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14828         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14829         (fchflags): Likewise.
14830         (revoke): Likewise.
14831         (setlogin): Likewise.
14832         (sigaltstack): Likewise.
14833         (wait4): Likewise.
14834         (sigblock): Remove.
14835         (sigsetmask): Likewise.
14836         (wait3): Likewise.
14837         (waitpid): Likewise.
14838         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14839         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14840         file.
14841         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14842         * sysdeps/unix/bsd/Makefile: ... here.
14843         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14844         * sysdeps/unix/bsd/Versions: ... here.
14845         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14846         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14847         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14848         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14849         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14850         * sysdeps/unix/bsd/sigblock.c: ... here.
14851         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14852         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14853         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14854         * sysdeps/unix/bsd/sigvec.c: ... here.
14855         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14856         * sysdeps/unix/bsd/tcdrain.c: ... here.
14857         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14858         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14859         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14860         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14861         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14862         * sysdeps/unix/bsd/wait.c: ... here.
14863         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14864         * sysdeps/unix/bsd/wait3.c: ... here.
14865         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14866         * sysdeps/unix/bsd/waitpid.c: ... here.
14868 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14870         [BZ #16356]
14871         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14872         round-to-nearest for [!USE_AS_EXPM1L].
14873         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14874         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14875         more tests of exp and exp10.  Expect some exp10 tests to miss
14876         exceptions or fail in directed rounding modes.
14877         * math/auto-libm-test-out: Regenerated.
14878         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14879         (exp10_test_tonearest): New function.
14880         (exp10_towardzero_test_data): New array.
14881         (exp10_test_towardzero): New function.
14882         (exp10_downward_test_data): New array.
14883         (exp10_test_downward): New function.
14884         (exp10_upward_test_data): New array.
14885         (exp10_test_upward): New function.
14886         (main): Call the new functions.
14887         * sysdeps/i386/fpu/libm-test-ulps: Update.
14888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14890 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14892         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14893         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14894         * math/auto-libm-test-out: Regenerated.
14895         * math/libm-test.inc (acosh_test_data): Add more tests.
14896         (atanh_test_data): Likewise.
14897         (ceil_test_data): Likewise.
14898         (copysign_test_data): Likewise.
14899         * sysdeps/i386/fpu/libm-test-ulps: Update.
14900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14902         * timezone/checktab.awk: Update from tzcode 2013i.
14903         * timezone/private.h: Likewise.
14904         * timezone/scheck.c: Likewise.
14905         * timezone/tzfile.h: Likewise.
14906         * timezone/tzselect.ksh: Likewise.
14907         * timezone/zdump.c: Likewise.
14908         * timezone/zic.c: Likewise.
14910         * math/auto-libm-test-in: Add tests of cpow.
14911         * math/auto-libm-test-out: Regenerated.
14912         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14913         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14914         mpc_cc_c.
14915         (func_calc_desc): Add mpc_cc_c union field.
14916         (test_functions): Add cpow.
14917         (special_fill_2pi): New function.
14918         (special_real_inputs): Add 2pi.
14919         (calc_generic_results): Handle mpc_cc_c.
14920         * sysdeps/i386/fpu/libm-test-ulps: Update.
14921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14923         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14924         csqrt, ctan and ctanh.
14925         * math/auto-libm-test-out: Regenerated.
14926         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14927         (TEST_COND_x86): Likewise.
14928         (ccos_test_data): Use AUTO_TESTS_c_c.
14929         (ccosh_test_data): Likewise.
14930         (cexp_test_data): Likewise.
14931         (clog_test_data): Likewise.
14932         (csqrt_test_data): Likewise.
14933         (ctan_test_data): Likewise.
14934         (ctan_tonearest_test_data): Likewise.
14935         (ctan_towardzero_test_data): Likewise.
14936         (ctan_downward_test_data): Likewise.
14937         (ctan_upward_test_data): Likewise.
14938         (ctanh_test_data): Likewise.
14939         (ctanh_tonearest_test_data): Likewise.
14940         (ctanh_towardzero_test_data): Likewise.
14941         (ctanh_downward_test_data): Likewise.
14942         (ctanh_upward_test_data): Likewise.
14943         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14944         mpc_c_c.
14945         (func_calc_desc): Add mpc_c_c union field.
14946         (FUNC_mpc_c_c): New macro.
14947         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14948         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14949         ctanh.
14950         (special_fill_min_subnorm_p120): New function.
14951         (special_real_inputs): Add min_subnorm_p120.
14952         (calc_generic_results): Handle mpc_c_c.
14953         * sysdeps/i386/fpu/libm-test-ulps: Update.
14954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14956 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14958         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14959         (do_sin_slow): New functions.
14960         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14961         (cslow2, csloww1, csloww2): Use the new functions.
14963         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14964         Use M to change sign of result instead of X.  Assume X is
14965         positive.
14966         (csloww1): Likewise.
14967         (__sin): Adjust.
14968         (__cos): Adjust.
14970         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14971         arguments A and DA.
14972         (__sin): Adjust.
14973         (__cos): Likewise.
14975         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14976         (__cos): Likewise.
14977         (sloww1): Don't adjust sign of DX.
14978         (csloww1): Likewise.
14979         (sloww2): Use X directly and don't adjust sign of DX.
14980         (csloww2): Likewise.
14982 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14984         * math/auto-libm-test-in: Add tests of cabs and carg.
14985         * math/auto-libm-test-out: Regenerated.
14986         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14987         (carg_test_data): Likewise.
14988         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14989         mpc_c_f.
14990         (func_calc_desc): Add mpc_c_f union field.
14991         (test_functions): Add cabs and carg.
14992         (calc_generic_results): Handle mpc_c_f.
14994         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14995         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14996         as a macro and a compat symbol.
14997         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14998         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14999         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15000         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15001         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15002         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15003         not use .hidden.
15004         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15005         Likewise.
15006         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15007         Likewise.
15008         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15009         Likewise.
15010         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15011         Likewise.
15012         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15013         Likewise.
15014         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15015         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15016         from GLIBC_2.3.2.
15018 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15022 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15024         * manual/texinfo.tex: Update to version 2013-11-26.10 with
15025         trailing whitespace removed.
15026         * scripts/config.guess: Update to version 2013-11-29.
15027         * scripts/config.sub: Update to version 2013-10-01.
15029         * math/auto-libm-test-in: Add tests of sincos.
15030         * math/auto-libm-test-out: Regenerated.
15031         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15032         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15033         mpfr_f_11.
15034         (func_calc_desc): Add mpfr_f_11 union field.
15035         (test_functions): Add sincos.
15036         (calc_generic_results): Handle mpfr_f_11.
15037         * sysdeps/i386/fpu/libm-test-ulps: Update.
15038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15040 2013-12-19  Andreas Schwab  <schwab@suse.de>
15042         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15043         CALL_MCOUNT.
15044         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15045         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15046         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15048 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15050         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15051         * sysdeps/i386/fpu/libm-test-ulps: Update.
15052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15054         [BZ #16293]
15055         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15056         round-to-nearest mode when using frndint.
15057         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15058         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15059         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15060         Likewise.
15061         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
15062         sinh test to fail.
15063         * math/auto-libm-test-out: Regenerated.
15064         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15065         (TEST_COND_x86): Likewise.
15066         (expm1_tonearest_test_data): New array.
15067         (expm1_test_tonearest): New function.
15068         (expm1_towardzero_test_data): New array.
15069         (expm1_test_towardzero): New function.
15070         (expm1_downward_test_data): New array.
15071         (expm1_test_downward): New function.
15072         (expm1_upward_test_data): New array.
15073         (expm1_test_upward): New function.
15074         (main): Run the new test functions.
15075         * sysdeps/i386/fpu/libm-test-ulps: Update.
15076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15078         * include/features.h: Update comment documenting feature test
15079         macros.  Mention _DEFAULT_SOURCE in comment.
15080         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15081         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15082         _BSD_SOURCE and _SVID_SOURCE.
15083         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15084         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15085         !_SVID_SOURCE]: Likewise.
15086         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15087         (__USE_POSIX_IMPLICITLY): Define.
15088         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15089         (_POSIX_SOURCE): Undefine and redefine.
15090         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15091         (_POSIX_C_SOURCE): Likewise.
15092         * manual/creature.texi (_DEFAULT_SOURCE): Document.
15093         (Feature Test Macros): Update documentation of default features.
15095 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15097         * benchtests/Makefile: Add bench-strtok.
15098         * benchtests/bench-strtok.c: New file: strtok benchtest.
15100 2013-12-19  Allan McRae  <allan@archlinux.org>
15102         * manual/install.texi: Suppress menu for plain text output.
15103         * INSTALL: Regenerated.
15105 2013-12-18  Brooks Moses  <bmoses@google.com>
15107         [BZ #15846]
15108         * misc/getauxval.c: Include errno.h.
15109         (__getauxval): Set errno to ENOENT if the requested type is not
15110         found.
15111         * misc/sys/auxv.h (getauxval): Document that it may set errno;
15112         don't declare with __attribute_const__.
15113         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15114         * manual/startup.texi: Document that getauxval sets errno.
15116 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15118         * math/auto-libm-test-in: Add tests of jn and yn.
15119         * math/auto-libm-test-out: Regenerated.
15120         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15121         (yn_test_data): Likewise.
15122         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15123         mpfr_if_f.
15124         (func_calc_desc): Add mpfr_if_f union field.
15125         (FUNC_mpfr_if_f): New macro.
15126         (test_functions): Add jn and yn.
15127         (calc_generic_results): Assert type of second input for
15128         mpfr_ff_f.  Handle mpfr_if_f.
15129         (output_for_one_input_case): Disable all checking for arguments
15130         fitting floating-point types in case of an integer argument.
15131         * sysdeps/i386/fpu/libm-test-ulps: Update.
15132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15135         Don't expect fegetround reference in libm.so.
15137 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15139         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15140         $(config-cflags-nofma).
15142 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15144         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15145         * math/auto-libm-test-out: Regenerated.
15147         [BZ #16338]
15148         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15149         to determine exponent and adjust argument to have exponent of -1.
15150         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15151         log2.
15152         * math/auto-libm-test-out: Regenerated.
15153         * sysdeps/i386/fpu/libm-test-ulps: Update.
15154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15156 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
15158         * manual/probes.texi: Remove cases when per-thread arenas are
15159         disabled.
15161 2013-12-18  Andreas Schwab  <schwab@suse.de>
15163         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15164         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15165         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15166         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15167         * sysdeps/i386/i686/multiarch/Makefile: Update.
15168         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15170 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15172         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15173         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15175 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
15177         [BZ #15968]
15178         Support TZ transition times < 00:00:00.
15179         This is needed for version-3 tz-format files; it supports time
15180         stamps past 2037 for America/Godthab (the only entry in the tz
15181         database for which this change is relevant).
15182         * manual/time.texi (TZ Variable): Document transition times
15183         from -167:59:59 through -00:00:01.
15184         * time/tzset.c (tz_rule): Time of day is now signed.
15185         (__tzset_parse_tz): Parse negative time of day.
15187         Document TZ transition times >= 25:00:00.
15188         * manual/time.texi (TZ Variable): Document transition times from
15189         25:00:00 through 167:59:59.  These are already supported, and this
15190         support will help with version-3 tz-format files.
15192         * manual/time.texi (TZ Variable): Modernize North America example
15193         to reflect current (i.e., 2007-and-later) daylight saving rules.
15195         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15197 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15199         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15200         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15201         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15202         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15203         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15204         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15205         * sysdeps/unix/bsd/clock.c: Likewise.
15206         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15207         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15208         * sysdeps/unix/bsd/init-posix.c: Likewise.
15209         * sysdeps/unix/bsd/poll.c: Likewise.
15210         * sysdeps/unix/bsd/ptsname.c: Likewise.
15211         * sysdeps/unix/bsd/seekdir.c: Likewise.
15212         * sysdeps/unix/bsd/setegid.c: Likewise.
15213         * sysdeps/unix/bsd/seteuid.c: Likewise.
15214         * sysdeps/unix/bsd/setgid.c: Likewise.
15215         * sysdeps/unix/bsd/setrgid.c: Likewise.
15216         * sysdeps/unix/bsd/setruid.c: Likewise.
15217         * sysdeps/unix/bsd/setsid.c: Likewise.
15218         * sysdeps/unix/bsd/setuid.c: Likewise.
15219         * sysdeps/unix/bsd/sigaction.c: Likewise.
15220         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15221         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15222         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15223         * sysdeps/unix/bsd/telldir.c: Likewise.
15224         * sysdeps/unix/bsd/times.c: Likewise.
15225         * sysdeps/unix/bsd/usleep.c: Likewise.
15227         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15228         ($(objpfx)libbsd-compat.a): Remove rule.
15230         * include/features.h (__FAVOR_BSD): Do not define.
15231         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15232         features conflicting with POSIX.
15233         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15234         (_BSD_SOURCE): Remove description of not being a subset of other
15235         feature test macros.
15236         * manual/job.texi (getpgrp): Do not document BSD version.
15237         (getpgid): Do not document by reference to BSD getpgrp.
15238         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15239         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15240         * signal/signal.h [__FAVOR_BSD]: Likewise.
15241         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15242         instead of making contents conditional on [__FAVOR_BSD].
15243         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15245 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15249 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15251         [BZ #16314]
15252         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15253         values below 2**-450, not 2**-500.
15254         * math/auto-libm-test-in: Don't allow spurious underflow from
15255         hypot.
15256         * math/auto-libm-test-out: Regenerated.
15258         [BZ #16316]
15259         [BZ #16330]
15260         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15261         values of ha and hb and sort them after adjusting subnormal
15262         arguments.
15263         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15264         Likewise.
15265         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15266         values of ea and eb and sort them after adjusting subnormal
15267         arguments.
15268         * math/auto-libm-test-in: Do not expect some hypot tests of
15269         subnormals to fail.  Add more hypot tests.
15270         * math/auto-libm-test-out: Regenerated.
15272 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15274         [BZ #13304]
15275         * sysdeps/sh/s_fma.c: New file.
15276         * sysdeps/sh/s_fmaf.c: New file.
15277         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15278         version.
15279         * sysdeps/sh/Implies: Add sh/soft-fp.
15281 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15283         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15284         level of indirection to members `objname', `errstring', `malloced'.
15285         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15286         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15287         it as the __longjmp argument (just pass 1 instead).
15288         (_dl_catch_error): Initialize C with argument pointers and address of
15289         volatile local ERRCODE rather than copying values out of C at return.
15291 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15293         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15294         * math/auto-libm-test-out: Regenerated.
15295         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15296         (hypot_test_data): Likewise.
15297         (pow_test_data): Likewise.
15298         (pow_tonearest_test_data): Likewise.
15299         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15300         mpfr_ff_f.
15301         (func_calc_desc): Add mpfr_ff_f union field.
15302         (FUNC_mpfr_ff_f): New macro.
15303         (test_functions): Add atan2, hypot and pow.
15304         (special_fill_min): New function.
15305         (special_fill_minus_min): Likewise.
15306         (special_fill_min_subnorm): Likewise.
15307         (special_fill_minus_min_subnorm): Likewise.
15308         (special_real_inputs): Add min, -min, min_subnorm and
15309         -min_subnorm.
15310         (calc_generic_results): Handle mpfr_ff_f.
15311         * sysdeps/i386/fpu/libm-test-ulps: Update.
15312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15314 2013-12-16  Will Newton  <will.newton@linaro.org>
15316         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15317         (Aligned Memory Blocks): Add documentation for aligned_alloc
15318         and suggest it as an alternative to posix_memalign.
15319         (Hooks for Malloc): Document __memalign_hook is also called
15320         for aligned_alloc.  (Summary of Malloc): Add summary for
15321         aligned alloc.  Document __memalign_hook is also called
15322         for aligned_alloc.
15324 2013-12-16  Will Newton  <will.newton@linaro.org>
15326         * manual/memory.texi (Malloc Examples): Clarify default
15327         alignment documentation.  Suggest posix_memalign rather
15328         than memalign or valloc.
15329         (Aligned Memory Blocks): Remove suggestion to use memalign
15330         or valloc.  Remove obsolete comment about BSD.
15331         Document memalign errno values and mark the function obsolete.
15332         Document posix_memalign returned error codes.  Mark valloc
15333         as obsolete.  (Hooks for Malloc): __memalign_hook is also
15334         called for posix_memalign and valloc.
15335         (Summary of Malloc): Add posix_memalign to function summary.
15336         __memalign_hook is also called for posix_memalign and valloc.
15338 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15340         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15341         TAYLOR_SIN.
15342         (__sin): Adjust.
15343         (__cos): Likewise.
15344         (sloww): Use mynumber union.  Expand ternary operator into
15345         if-else statements.
15346         (cslow): use mynumber union.
15348 2013-12-16  Allan McRae  <allan@archlinux.org>
15350         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15351         * configure: Regenerated.
15353         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15355         [BZ #14120]
15356         * configure.ac: Added --enable-maintainer-mode. Check for
15357         autoconf when enabled.
15358         * configure: Regenerated.
15360         * nscd/nscd.service: New file.
15361         * nscd/nscd.tmpfiles: New file.
15363 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
15365         [BZ #12100]
15366         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15367         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15368         * sysdeps/x86_64/multiarch/strstr.c: ... here.
15369         (strstr): Add __strstr_sse2_unaligned ifunc.
15370         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15371         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15372         (strcasestr): Remove __strcasestr_sse42 ifunc.
15373         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15374         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15375         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15377 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15379         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15380         * sysdeps/sh/bits/fenv.h: ... here.
15381         * sysdeps/sh/sh4/fpu/bits: Remove directory.
15383 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15385         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15388         hypotf multiarch implementations.
15389         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15390         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15391         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15392         multiarch hypot for PPC64.
15393         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15394         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15395         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15396         multiarch hypotf for PPC64.
15398         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15399         modff multiarch implementations.
15400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15403         multiarch modf for PPC64.
15404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15407         multiarch modff for PPC64.
15409         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15410         and logl multiarch implementations.
15411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15414         multiarch logb for PPC64.
15415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15418         multiarch logb for PPC64.
15419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15422         multiarch logb for PPC64.
15424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15425         isinff multiarch implementation.
15426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15427         file.
15428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15430         multiarch isinf for PPC64.
15431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15432         file.
15433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15434         multiarch isinff for PPC64.
15436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15437         finitef multiarch implementation.
15438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15439         file.
15440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15442         multiarch finite for PPC64.
15443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15444         file.
15445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15446         multiarch finitef for PPC64.
15448         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15449         lrint multiarch implementation.
15450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15451         file.
15452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15454         multiarch llrint for PPC64.
15455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15456         multiarch lrint for PPC64.
15458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15459         copysignf multiarch implementation.
15460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15461         file.
15462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15463         file.
15464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15465         multiarch copysign for PPC64.
15466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15467         multiarch copysignf for PPC64.
15469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15470         multiarch implementation.
15471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15472         file.
15473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15474         file.
15475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15476         file.
15477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15478         file.
15479         multiarch llround for PPC64.
15480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15481         multiarch trunc for PPC64.
15482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15483         multiarch truncf for PPC64.
15485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15486         multiarch implementation.
15487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15488         file.
15489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15490         file.
15491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15492         file.
15493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15494         file.
15495         multiarch llround for PPC64.
15496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15497         multiarch round for PPC64.
15498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15499         multiarch roundf for PPC64.
15501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15502         multiarch implementation.
15503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15504         file.
15505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15506         file.
15507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15508         file.
15509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15510         file.
15511         multiarch llround for PPC64.
15512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15513         multiarch floor for PPC64.
15514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15515         multiarch floorf for PPC64.
15517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15518         multiarch implementation.
15519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15520         file.
15521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15522         file.
15523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15524         file.
15525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15526         file.
15527         multiarch llround for PPC64.
15528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15529         multiarch ceil for PPC64.
15530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15531         multiarch ceilf for PPC64.
15533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15534         multiarch implementation.
15535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15536         file.
15537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15538         file.
15539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15540         file.
15541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15542         multiarch llround for PPC64.
15543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15544         multiarch lround for PPC64.
15546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15547         multiarch implementation.
15548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15551         file.
15552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15555         multiarch isnan for PPC64.
15556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15557         multiarch isnanf for PPC64.
15559         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15560         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15561         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15562         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15563         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15566         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15567         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15568         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15569         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15572         multiarch implementations.
15573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15574         (__libc_ifunc_impl_list): Likewise.
15575         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15576         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15577         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15578         multiarch stpcpy for PPC64.
15580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15581         multiarch implementations.
15582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15583         (__libc_ifunc_impl_list): Likewise.
15584         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15585         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15586         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15587         multiarch strcpy for PPC64.
15589         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15590         redefine function name.
15591         (_wordcopy_fwd_dest_aligned): Likewise.
15592         (_wordcopy_bwd_aligned): Likewise.
15593         (_wordcopy_bwd_dest_aligned): Likewise.
15594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15595         multiarch implementations.
15596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15597         (__libc_ifunc_impl_list): Likewise.
15598         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15599         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15600         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15601         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15602         multiarch wcscpy for PPC64.
15604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15605         multiarch implementations.
15606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15607         (__libc_ifunc_impl_list): Likewise.
15608         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15609         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15610         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15611         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15612         multiarch wcscpy for PPC64.
15614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15615         multiarch implementations.
15616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15617         (__libc_ifunc_impl_list): Likewise.
15618         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15619         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15620         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15621         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15622         multiarch wcsrchr for PPC64.
15624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15625         multiarch implementations.
15626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15627         (__libc_ifunc_impl_list): Likewise.
15628         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15629         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15630         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15631         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15632         multiarch wcschr for PPC64.
15634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15635         multiarch implementations.
15636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15637         (__libc_ifunc_impl_list): Likewise.
15638         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15639         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15640         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15641         multiarch strchrnul for PPC64.
15643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15644         implementations.
15645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15646         (__libc_ifunc_impl_list): Likewise.
15647         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15648         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15649         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15650         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15651         strchr for PPC64.
15653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15654         implementations.
15655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15656         (__libc_ifunc_impl_list): Likewise.
15657         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15658         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15659         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15660         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15661         strncmp for PPC64.
15663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15664         multiarch implementations.
15665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15666         (__libc_ifunc_impl_list): Likewise.
15667         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15668         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15669         strncasecmp for PPC64.
15670         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15671         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15672         multiarch strncasecmp_l for PPC64.
15674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15675         multiarch implementations.
15676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15677         (__libc_ifunc_impl_list): Likewise.
15678         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15679         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15680         multiarch strcasecmp for PPC64.
15681         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15682         file.
15683         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15684         multiarch strcasecmp_l for PPC64.
15686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15687         implementations.
15688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15689         (__libc_ifunc_impl_list): Likewise.
15690         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15691         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15692         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15693         strnlen for PPC64.
15695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15696         implementations.
15697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15698         (__libc_ifunc_impl_list): Likewise.
15699         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15700         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15701         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15702         strlen for PPC64.
15704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15705         implementations.
15706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15707         (__libc_ifunc_impl_list): Likewise.
15708         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15709         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15710         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15711         rawmemrchr for PPC64.
15713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15714         implementation.
15715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15716         (__libc_ifunc_impl_list): Likewise.
15717         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15718         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15719         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15720         memrchr for PPC64.
15722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15723         implementation.
15724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15725         (__libc_ifunc_impl_list): Likewise.
15726         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15727         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15728         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15729         memchr for PPC64.
15731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15732         implementation.
15733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15734         (__libc_ifunc_impl_list): Likewise.
15735         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15736         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15737         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15738         mempcpy for PPC64.
15740         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15741         avoid cretion of __bzero symbol.
15742         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15743         Likewise.
15744         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15745         Likewise.
15746         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15747         Likewise.
15748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15749         multiarch implementations.
15750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15751         (__libc_ifunc_impl_list): Likewise.
15752         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15753         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15754         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15755         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15756         bzero for PPC32.
15757         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15758         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15759         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15760         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15761         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15762         memset for PPC64.
15763         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15765         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15767         implementations.
15768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15769         (__libc_ifunc_impl_list): Likewise.
15770         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15771         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15772         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15773         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15774         memcmp for PPC64.
15776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15777         multiarch for POWER/PPC64.
15778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15779         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15780         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15781         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15782         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15783         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15784         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15785         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15786         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15787         memcpy for PPC64.
15789         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15790         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15791         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15792         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15793         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15794         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15795         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15796         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15797         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15798         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15799         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15800         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15801         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15802         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15803         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15812 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15814         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15816 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15818         * benchtests/Makefile (bench): Add exp2 and log2.
15819         (LDLIBS-bench-exp2): Add -lm.
15820         (LDLIBS-bench-log2): Likewise.
15821         * benchtests/exp2-inputs: New inputs file.
15822         * benchtests/log2-inputs: New inputs file.
15823         * benchtests/log-inputs: Add new inputs.
15824         * benchtests/tan-inputs: Likewise.
15826 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15828         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15829         definition...
15830         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15831         (csloww2): ... from here.
15833         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15834         instead of structures.
15835         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15836         (POLYNOMIAL): Likewise.
15837         (TAYLOR_SLOW): Likewise.
15838         (__sin): Likewise.
15839         (__cos): Likewise.
15840         (slow1): Likewise.
15841         (slow2): Likewise.
15842         (sloww): Likewise.
15843         (sloww1); Likewise.
15844         (sloww2): Likewise.
15845         (bsloww1): Likewise.
15846         (bsloww2): Likewise.
15847         (cslow2): Likewise.
15848         (csloww): Likewise.
15849         (csloww1): Likewise.
15850         (csloww2): Likewise.
15852 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15854         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15855         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15856         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15857         * malloc/hooks.c (realloc_check): Likewise.
15859         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15860         * malloc/arena.c: Remove PER_THREAD conditional.
15861         [!PER_THREAD]: Remove code.
15862         (ptmalloc_unlock_all2): Likewise.
15863         (ptmalloc_init): Likewise.
15864         (_int_new_arena): Likewise.
15865         (arena_get2): Likewise.
15866         * malloc/hooks.c (__malloc_get_state): Likewise.
15867         (__malloc_set_state): Likewise.
15868         * malloc/malloc.c: Likewise.
15869         (struct malloc_state): Likewise.
15870         (struct malloc_par): Likewise.
15871         (__libc_realloc): Likewise.
15872         (__libc_mallopt): Likewise.
15874 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15876         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15878 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15880         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15881         macro to a function.  Check for zero perturb_byte.
15882         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15884         * malloc/malloc.c: (force_reg): Remove.
15885         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15886         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15887         force_reg by atomic_forced_read.
15888         * malloc/arena.c (ptmalloc_init): Likewise.
15889         * malloc/hooks.c (top_check): Likewise.
15891 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15895 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15897         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15899 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15901         * math/auto-libm-test-in: Add tests of lgamma.
15902         * math/auto-libm-test-out: Regenerated.
15903         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15904         (M_LOG_2_SQRT_PIl): Likewise.
15905         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15906         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15907         mpfr_f_f1.
15908         (func_calc_desc): Add mpfr_f_f1 union field.
15909         (ARGS1): New macro.
15910         (ARGS2): Likewise.
15911         (ARGS3): Likewise.
15912         (ARGS4): Likewise.
15913         (RET1): Likewise.
15914         (RET2): Likewise.
15915         (CALC): Likewise.
15916         (FUNC): Likewise.
15917         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15918         (test_functions): Add lgamma.
15919         (calc_generic_results): Handle mpfr_f_f1.
15920         * sysdeps/i386/fpu/libm-test-ulps: Update.
15921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15923 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15925         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15926         __mpn_add_n for PowerPC64/POWER7.
15927         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15928         __mpn_sub_n for PowerPC64/POWER7.
15930         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15931         __mpn_addmul_1 for PowerPC64.
15932         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15933         __mpn_submul_1 for PowerPC64.
15934         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15935         for PowerPC64.
15936         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15937         for PowerPC64.
15939 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15941         [BZ #15089]
15942         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15944 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15946         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15948         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15949         add multiarch folders.
15950         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15951         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15952         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15953         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15954         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15955         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15956         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15957         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15958         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15959         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15960         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15969         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15971         New file.
15972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15973         New file.
15974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15975         multiarch __ieee754_hypot for PowerPC32.
15976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15977         New file.
15978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15979         New file.
15980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15981         multiarch __ieee754_hypotf for PowerPC32.
15983         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15984         long_double_symbol only if __logbl is defined.
15985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15986         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15988         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15989         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15990         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15991         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15992         path for implementation.
15993         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15994         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15996         logb, and logbl multiarch implementations for PowerPC32.
15997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15998         file.
15999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16000         file.
16001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16002         multiarch logb for PowerPC32.
16003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16004         file.
16005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16006         file.
16007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16008         multiarch logbf for PowerPC32.
16009         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16011         file.
16012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16013         multiarch logbl implementation for PowerPC32.
16015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16016         and modff multiarch implementations.
16017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16018         New file.
16019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16020         New file.
16021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16022         multiarch modf for PowerPC32.
16023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16024         New file.
16025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16026         New file.
16027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16028         multiarch modff for PowerPC32.
16030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16031         and lrintf multiarch implementations.
16032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16033         New file.
16034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16035         New file.
16036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16037         multiarch lrint for PowerPC32.
16038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16039         file: multiarch lrintf for PowerPC32.
16041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16042         and lroundf multiarch implementations.
16043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16044         New file.
16045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16046         New file.
16047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16048         New file.
16049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16050         multiarch lround for PowerPC32.
16051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16052         file: multiarch lroundf for PowerPC32.
16054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16055         copysign and copysignf multiarch implementations.
16056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16057         New file.
16058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16059         New file.
16060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16061         file: multiarch copysign for PowerPC32.
16062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16063         file: multiarch copysignf for PowerPC32.
16065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16066         and truncf multiarch implementations.
16067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16068         New file.
16069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16070         file.
16071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16072         multiarch trunc for PowerPC32.
16073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16074         New file.
16075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16076         New file.
16077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16078         multiarch truncf for PowerPC32.
16080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16081         and roundf multiarch implementations.
16082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16083         New file.
16084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16085         file.
16086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16087         multiarch round for PowerPC32.
16088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16089         New file.
16090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16091         New file.
16092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16093         multiarch roundf for PowerPC32.
16095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16096         and floorf multiarch implementations.
16097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16098         New file.
16099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16100         file.
16101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16102         multiarch floor for PowerPC32.
16103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16104         New file.
16105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16106         New file.
16107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16108         multiarch floorf for PowerPC32.
16110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16111         and ceilf multiarch implementations.
16112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16113         New file.
16114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16115         file.
16116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16117         multiarch ceil for PowerPC32.
16118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16119         New file.
16120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16121         file.
16122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16123         multiarch ceilf for PowerPC32.
16125         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16126         is defined.
16127         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16128         FINITEF is defined.
16129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16130         and finitef multiarch implementations.
16131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16132         New file.
16133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16134         file.
16135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16136         multiarch finite for PowerPC32.
16137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16138         New file.
16139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16140         file: multiarch finitef for PowerPC32.
16142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16143         and isinff multiarch implementations.
16144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16145         file.
16146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16147         file.
16148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16149         multiarch isinf for PowerPC32.
16150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16151         New file.
16152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16153         multiarch isinff for PowerPC32.
16155         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16156         alias when __isnan is defined.
16157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16158         and isnanf multiarch implementations.
16159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16160         file.
16161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16162         file.
16163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16164         file.
16165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16166         file.
16167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16168         multiarch isnan for PowerPC32.
16169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16170         New file.
16171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16172         New file.
16173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16174         multiarch isnanf for PowerPC32.
16176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16177         and sqrtf multiarch implementations.
16178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16179         file.
16180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16181         file.
16182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16183         multiarch sqrt for PowerPC32.
16184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16185         file.
16186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16187         file.
16188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16189         multiarch sqrtf for PowerPC32.
16191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16192         and llroundf multiarch implementations.
16193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16194         New file.
16195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16196         New file.
16197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16198         New file.
16199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16200         file: multiarch llround for PowerPC32.
16201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16202         file: multiarch llroundf for PowerPC32.
16204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16205         multiarch PowerPC32 fpu implementations.
16206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16207         New file.
16208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16209         New file.
16210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16211         multiarch llrint for PowerPC32.
16212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16213         New file.
16214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16215         New file.
16216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16217         file.
16219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16221         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16222         file.
16223         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16224         file.
16225         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16226         file.
16227         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16228         multiarch wordcopy for PPC32.
16229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16230         wordcopy objects.
16231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16232         (__libc_ifunc_impl_list): Likewise.
16233         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16234         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16235         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16236         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16237         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16238         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16240         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16242         file.
16243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16244         file.
16245         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16246         file.
16247         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16248         multiarch wcscpy for PPC32.
16249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16250         multiarch objects.
16251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16252         (__libc_ifunc_impl_list): Likewise.
16253         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16254         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16255         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16256         sysdeps/powerpc/power6/wcscpy.c.
16258         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16260         file.
16261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16262         file.
16263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16264         file.
16265         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16266         multiarch wcsrchr for PPC32.
16267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16268         multiarch objects.
16269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16270         (__libc_ifunc_impl_list): Likewise.
16271         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16272         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16273         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16274         sysdeps/powerpc/power6/wcsrchr.c.
16276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16277         file.
16278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16279         file.
16280         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16282         multiarch wcschr for PPc32.
16283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16284         multiarch objects.
16285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16286         (__libc_ifunc_impl_list): Likewise.
16287         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16288         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16289         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16290         sysdeps/powerpc/power6/wcschr.c.
16292         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16293         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16294         file.
16295         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16296         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16297         file: multiarch strchr for PPC32.
16298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16299         multiarch objects.
16300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16301         (__libc_ifunc_impl_list): Likewise.
16303         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16304         name.
16305         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16306         file.
16307         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16308         file.
16309         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16310         multiarch strchrnul for PPC32.
16311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16312         multiarch objects.
16313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16314         (__libc_ifunc_impl_list): Likewise.
16316         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16317         file.
16318         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16319         multiarch strncasecmp for PPC32.
16320         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16321         file.
16322         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16323         multiarch strncasecmp_l for PPC32.
16324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16325         strncasecmp multiarch objects.
16326         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16327         (__libc_ifunc_impl_list): Likewise.
16329         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16330         file.
16331         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16332         multiarch strncasecmp for PPC32.
16333         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16334         New file.
16335         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16336         multiarch strcasecmp_l for PPC32.
16337         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16338         multiarch objects.
16339         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16340         (__libc_ifunc_impl_list): Likewise.
16342         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16343         file.
16344         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16345         file.
16346         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16347         multiarch strncmp for PPC32.
16348         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16349         multiarch objects.
16350         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16351         (__libc_ifunc_impl_list): Likewise.
16353         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16354         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16355         file.
16356         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16357         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16359         multiarch objects.
16360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16361         (__libc_ifunc_impl_list): Likewise.
16363         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16364         file.
16365         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16366         file.
16367         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16368         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16369         multiarch objects.
16370         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16371         (__libc_ifunc_impl_list): Likewise.
16373         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16374         file.
16375         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16376         file.
16377         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16378         multiarch rawmemchr for PPC32.
16379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16380         multiarch objects.
16381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16382         (__libc_ifunc_impl_list): Likewise.
16384         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16385         file.
16386         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16387         file.
16388         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16389         file: memrchr multiarch for PPC32.
16390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16391         multiarch objects.
16392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16393         (__libc_ifunc_impl_list): Likewise.
16395         * string/memchr.c (__memchr): Using macro to redefine symbol name.
16396         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16397         file.
16398         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16399         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16400         multiarch memchr for PPC32.
16401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16402         multiarch objects.
16403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16404         (__libc_ifunc_impl_list): Likewise.
16406         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16407         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16408         file.
16409         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16410         file.
16411         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16412         file: multiarch mempcpy for PPC32.
16413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16414         multiarch objects.
16415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16416         (__libc_ifunc_impl_list): Likewise.
16418         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16419         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16420         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16421         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16422         multiarch bzero for PPC32.
16423         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16424         file.
16425         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16426         file.
16427         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16428         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16429         file: multiarch memset for PPC32.
16430         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16431         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16432         memset multiarch objects.
16433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16434         (__libc_ifunc_impl_list): Likewise.
16436         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16437         file.
16438         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16439         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16440         memcmp for PPC32.
16441         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16443         multiarch objects.
16444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16445         (__libc_ifunc_impl_list): Likewise.
16447         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16448         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16449         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16450         file.
16451         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16452         file.
16453         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16454         file.
16455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16456         multiarch memcpy for PPC32.
16457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16458         multiarch objects.
16459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16460         (__libc_ifunc_impl_list): Likewise.
16462         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16463         support multiarch for POWER/PPC32.
16464         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16465         Likewise.
16466         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16468         Implies file to make multiarch folder appers before the fpu and
16469         default folder for power4 configuration.
16471 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16473         * scripts/bench.pl: Append volatile keyword to type.
16475 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16477         * sysdeps/sh/sotruss-lib.c: New file.
16478         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16480 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16484 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
16486         [BZ #6810]
16487         * math/w_tgamma.c: Include <errno.h>.
16488         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
16489         * math/w_tgammaf.c: Include <errno.h>.
16490         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
16491         * math/w_tgammal.c: Include <errno.h>.
16492         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
16493         * math/auto-libm-test-in: Do not allow missing errno on tgamma
16494         underflow.  Add more tgamma tests.
16495         * math/auto-libm-test-out: Regenerated.
16496         * sysdeps/i386/fpu/libm-test-ulps: Update.
16497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16499         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16500         sin, sinh, tan, tanh, tgamma, y0 and y1.
16501         * math/auto-libm-test-out: Regenerated.
16502         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16503         (TEST_COND_x86): Likewise.
16504         (M_E2l): Remove macro.
16505         (M_E3l): Likewise.
16506         (M_2_SQRT_PIl): Likewise.
16507         (M_SQRT_PIl): Likewise.
16508         (M_1_DIV_El): Likewise.
16509         (log_test_data): Use AUTO_TESTS_f_f.
16510         (log10_test_data): Likewise.
16511         (log1p_test_data): Likewise.
16512         (log2_test_data): Likewise.
16513         (sin_test_data): Likewise.
16514         (sin_tonearest_test_data): Likewise.
16515         (sin_towardzero_test_data): Likewise.
16516         (sin_downward_test_data): Likewise.
16517         (sin_upward_test_data): Likewise.
16518         (sinh_test_data): Likewise.
16519         (sinh_tonearest_test_data): Likewise.
16520         (sinh_towardzero_test_data): Likewise.
16521         (sinh_downward_test_data): Likewise.
16522         (sinh_upward_test_data): Likewise.
16523         (tan_test_data): Likewise.
16524         (tan_tonearest_test_data): Likewise.
16525         (tan_towardzero_test_data): Likewise.
16526         (tan_downward_test_data): Likewise.
16527         (tan_upward_test_data): Likewise.
16528         (tanh_test_data): Likewise.
16529         (tgamma_test_data): Likewise.
16530         (y0_test_data): Likewise.
16531         (y1_test_data): Likewise.
16532         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16533         (special_real_inputs): Add pi/4.
16534         * sysdeps/i386/fpu/libm-test-ulps: Update.
16535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16537 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16539         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16540         "longjmp_target" static probes.
16541         (__longjmp): Rename to __longjmp_symbol.
16542         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16543         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16544         on which longjmp to generate.
16545         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16546         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16547         probe.
16548         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16549         (__sigjmp_save): Rename to __sigjmp_save_symbol.
16550         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16551         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16552         and __sigjmp_save_symbol based on which sigsetjmp to generated.
16553         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16555         __longjmp_symbol based on which __longjmp to generate.
16556         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16557         probe.
16558         (setjmp): Rename to setjmp_symbol.
16559         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16560         (_setjmp): Rename to _setjmp_symbol.
16561         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16562         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16563         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16564         which setjmp to generate.
16565         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16566         "longjmp_target" static probes.
16568 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16570         * benchtests/README: Add note about output arguments.
16571         * benchtests/bench-sincos.c: Remove file.
16572         * benchtests/sincos-inputs: New file.
16573         * scripts/bench.pl: Identify output arguments and define
16574         static variables for them.
16576         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16578         [BZ #15941]
16579         * Makefile (INSTALL): Add install-plain.texi as the primary
16580         dependency.
16581         * manual/install-plain.texi: New file.
16582         * manual/install.texi: Include node directive only for
16583         non-plaintext output.
16585 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
16587         * stdlib/longlong.h: Update from GCC.
16589         [BZ #6807]
16590         [BZ #15901]
16591         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16592         * math/w_j0f.c (y0f): Likewise.
16593         * math/w_j0l.c (__y0l): Likewise.
16594         * math/w_j1.c (y1): Likewise.
16595         * math/w_j1f.c (y1f): Likewise.
16596         * math/w_j1l.c (__y1l): Likewise
16597         * math/w_jn.c (yn): Likewise.
16598         * math/w_jnf.c (ynf): Likewise.
16599         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16600         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
16601         value for Bessel function domain errors outside _SVID_ mode.
16602         Adjust sign of return value for yn (negative integer, 0).
16603         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16604         by zero in return for negative x and set sign appropriately for
16605         negative n.
16606         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16607         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16608         * math/libm-test.inc (y0_test_data): Add more tests and adjust
16609         expectations in error cases.
16610         (y1_test_data): Likewise.
16611         (yn_test_data): Likewise.
16612         * sysdeps/i386/fpu/libm-test-ulps: Update.
16613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16615 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16617         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16618         "64" to "64-v1".  Add "64-v2".
16619         (abi-64-options): Rename to ...
16620         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
16621         (abi-64-condition): Rename to ...
16622         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
16623         (abi-64-ld-soname): Rename to ...
16624         (abi-64-v1-ld-soname): ... this.
16625         (abi-64-v2-options): Define.
16626         (abi-64-v2-condition): Likewise.
16627         (abi-64-v2-ld-soname): Likewise.
16628         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16629         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16634 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16635             Alan Modra  <amodra@gmail.com>
16637         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16638         New versions for use with the ELFv2 ABI.
16639         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16640         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16641         declaration.
16642         (struct La_ppc64v2_retval): Likewise.
16643         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16644         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16645         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16646         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16647         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16648         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16649         Do not save or restore CR.
16650         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16651         (_dl_profile_resolve): Do no save or restore CR.  Support extended
16652         return values for ELFv2 ABI.  Fix location of FPR return registers.
16653         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16654         updated values for _CALL_ELF == 2.
16655         (La_regs, La_retval, int_retval): Likewise.
16657 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16659         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16660         (FRAME_MIN_SIZE_PARM): Likewise.
16661         (FRAME_BACKCHAIN): Likewise.
16662         (FRAME_CR_SAVE): Likewise.
16663         (FRAME_LR_SAVE): Likewise.
16664         (FRAME_TOC_SAVE): Likewise.
16665         (FRAME_PARM_SAVE): Likewise.
16666         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16667         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16668         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16669         (call_mcount_parm_offset): New macro.
16670         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16671         (PROF): Use symbolic stack frame offsets.
16672         (TAIL_CALL_SYSCALL_ERROR): Likewise.
16673         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16674         Redefine in terms of FRAME_MIN_SIZE.
16675         (_dl_runtime_resolve): Use symbolic stack frame offsets.
16676         (_dl_profile_resolve): Likewise.  Update comment.
16677         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16678         symbols stack frame offsets.
16679         (__sigsetjmp): Likewise.
16680         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16681         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16682         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16683         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16686         (FRAME_BACKCHAIN): Remove.
16687         (FRAME_CR_SAVE): Likewise.
16688         (FRAME_LR_SAVE): Likewise.
16689         (FRAME_COMPILER_DW): Likewise.
16690         (FRAME_LINKER_DW): Likewise.
16691         (FRAME_TOC_SAVE): Likewise.
16692         (FRAME_PARM_SAVE): Likewise.
16693         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16694         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16695         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16697         (CHECK_SP): Use symbolic stack frame offsets.
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16699         zone" instead of caller's parameter save area for temp storage.
16700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16701         Likewise.  Also, use symbolic stack frame offsets.
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16703         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16704         our own stack frame instead of the caller's.
16705         (__socket): Use symbolic stack frame offsets.
16707 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16708             Alan Modra  <amodra@gmail.com>
16710         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16711         Define.
16712         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16713         (PPC64_LOCAL_ENTRY_OFFSET): Define.
16714         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16715         New function.
16716         (elf_machine_fixup_plt): Call it.
16717         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
16718         reloc arguments.
16719         (elf_machine_rela): Update call to elf_machine_plt_conflict.
16720         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16721         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16722         r2 before calling target.
16724 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16725             Alan Modra  <amodra@gmail.com>
16727         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16728         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16729         versions of macros to support ELFv2 ABI.
16730         (LOCALENTRY): New macro.
16731         (ENTRY, EALIGN): Use it.
16732         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16733         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16734         fall through into ENTRY entry point.
16735         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16736         Only define if _CALL_ELF != 2.
16738         (elf_machine_matches_host): Verify ABI version matches.
16739         (RTLD_START): Use LOCALENTRY.
16740         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16741         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16742         (PLT_ENTRY_WORDS): New macro.
16743         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16744         (elf_machine_runtime_setup): Support ELFv2 ABI.
16745         (elf_machine_fixup_plt): Likewise.
16746         (elf_machine_plt_conflict): Likewise.
16747         (resolve_ifunc): Likewise.
16748         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16749         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16750         Likewise.
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16752         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16754         (makecontext): Support ELFv2 ABI.
16755         * elf/elf.h (EF_PPC64_ABI): Define.
16757 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16759         * sysdeps/powerpc/powerpc64/sysdep.h
16760         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16761         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16762         (ENTRY) [ASSEMBLER]: ... but instead here ...
16763         (EALIGN) [ASSEMBLER]: ... and here.
16764         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16765         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16766         (ENTRY_2) [!ASSEMBLER]: Use it.
16767         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16768         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
16769         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16770         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16771         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16773         Use PPC64_LOAD_FUNCPTR.
16775         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16777 2013-12-04  Alan Modra  <amodra@gmail.com>
16779         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16780         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16781         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16782         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16784         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16785         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16786         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16787         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16788         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16789         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16791 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16794         (__makecontext): Fix incorrect CFI when backtracing out of
16795         context created via makecontext.
16796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16797         (__setcontext): Fix incorrect CFI during switch to new context.
16798         (__novec_setcontext): Likewise.
16800 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16802         [BZ #4772]
16803         * time/strptime_l.c (__strptime_internal): Allow modifiers
16804         in strptime.
16805         * time/tst-strptime.c (day_tests): Add testcase.
16807 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16809         * scripts/bench.pl: Skip over blank lines.
16811 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16813         [BZ #926]
16814         * manual/time.texi (Calendar Time): Clarify what timezone functions
16815         use.
16817 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16821 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16823         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16824         implementation.
16825         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16826         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16827         * debug/memset_chk.c (__memset_chk): Likewise.
16828         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16829         * debug/strncpy_chk.c: Likewise.
16831 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16833         [BZ #15268]
16834         [BZ #15425]
16835         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16836         (__ieee754_exp): For possibly underflowing results, check size of
16837         result and force underflow exception if required.
16838         * math/auto-libm-test-in: Add more tests of exp.
16839         * math/auto-libm-test-out: Regenerated.
16840         * sysdeps/i386/fpu/libm-test-ulps: Update.
16841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16843         [BZ #16283]
16844         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16845         * math/w_exp2f.c (__exp2f): Likewise.
16846         * math/w_exp2l.c (__exp2l): Likewise.
16847         * math/auto-libm-test-in: Do not allow missing errno on exp2
16848         underflow.
16849         * math/auto-libm-test-out: Regenerated.
16851 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16853         [BZ #16274]
16854         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16855         handle filename validation.
16856         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16857         (do_open): Delete.
16859 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16861         [BZ #6786]
16862         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16863         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16864         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16865         <float.h>.
16866         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16867         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16868         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16869         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16870         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16871         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16872         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16873         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16874         Add more erfc tests.
16875         * math/auto-libm-test-out: Regenerated.
16876         * sysdeps/i386/fpu/libm-test-ulps: Update.
16877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16879         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16880         exp2, expm1, j0 and j1.
16881         * math/auto-libm-test-out: Regenerated.
16882         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16883         (erfc_test_data): Likewise.
16884         (exp_test_data): Likewise.
16885         (exp_tonearest_test_data): Likewise.
16886         (exp_towardzero_test_data): Likewise.
16887         (exp_downward_test_data): Likewise.
16888         (exp_upward_test_data): Likewise.
16889         (exp10_test_data): Likewise.
16890         (exp2_test_data): Likewise.
16891         (expm1_test_data): Likewise.
16892         (j0_test_data): Likewise.
16893         (j1_test_data): Likewise.
16894         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16895         (input_flag_type): Add flag_xfail_rounding.
16896         (input_flags): Add xfail-rounding.
16897         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16898         (output_for_one_input_case): Handle flag_xfail_rounding.
16899         * sysdeps/i386/fpu/libm-test-ulps: Update.
16900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16902 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16904         [BZ #16289]
16905         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16906         division by 0.
16908 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16910         [BZ #16195]
16911         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16912         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16913         (STAP_PROBE0): New macro.
16914         (STAP_PROBE1): Likewise.
16915         (STAP_PROBE2): Likewise.
16916         (STAP_PROBE3): Likewise.
16917         (STAP_PROBE4): Likewise.
16919 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16921         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16923 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16925         * benchtests/Makefile (bench): Add sqrt.
16926         (LDLIBS-bench-sqrt): New.
16927         * benchtests/sqrt-input: New.
16929 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16931         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16932         (GAIH_EAI): Likewise.
16933         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16934         (gaih_inet): Likewise.
16935         (getaddrinfo): Don't use GAIH_EAI.
16937         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16938         (struct gaih): Remove definition.
16940 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16942         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16943         Use HERRNOP directly.
16945 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16949 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16951         * math/gen-auto-libm-tests.c (test_functions): Add more
16952         single-argument functions.
16953         (special_fill_pi_2): New function.
16954         (special_fill_minus_pi_2): Likewise.
16955         (special_fill_pi_6): Likewise.
16956         (special_fill_minus_pi_6): Likewise.
16957         (special_fill_pi_3): Likewise.
16958         (special_fill_2pi_3): Likewise.
16959         (special_fill_e): Likewise.
16960         (special_fill_1_e): Likewise.
16961         (special_fill_e_minus_1): Likewise.
16962         (special_real_inputs): Add more special inputs.
16963         (output_for_one_input_case): Do not require ERANGE on underflow to
16964         zero if round-to-nearest result does not underflow to zero, unless
16965         exact results required.
16966         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16967         atan, atanh, cbrt, cos and cosh.
16968         * math/auto-libm-test-out: Regenerated.
16969         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16970         (acos_tonearest_test_data): Likewise.
16971         (acos_towardzero_test_data): Likewise.
16972         (acos_downward_test_data): Likewise.
16973         (acos_upward_test_data): Likewise.
16974         (acosh_test_data): Likewise.
16975         (asin_test_data): Likewise.
16976         (asin_tonearest_test_data): Likewise.
16977         (asin_towardzero_test_data): Likewise.
16978         (asin_upward_test_data): Likewise.
16979         (asinh_test_data): Likewise.
16980         (atan_test_data): Likewise.
16981         (atanh_test_data): Likewise.
16982         (cbrt_test_data): Likewise.
16983         (cos_test_data): Likewise.
16984         (cos_tonearest_test_data): Likewise.
16985         (cos_towardzero_test_data): Likewise.
16986         (cos_downward_test_data): Likewise.
16987         (cos_upward_test_data): Likewise.
16988         (cosh_test_data): Likewise.
16989         (cosh_tonearest_test_data): Likewise.
16990         (cosh_towardzero_test_data): Likewise.
16991         (cosh_downward_test_data): Likewise.
16992         (cosh_upward_test_data): Likewise.
16993         * sysdeps/i386/fpu/libm-test-ulps: Update.
16994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16996 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16998         [BZ #6787]
16999         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17000         * math/w_exp10f.c (__exp10f): Likewise.
17001         * math/w_exp10l.c (__exp10l): Likewise.
17002         * math/libm-test.inc (exp10_test_data): Add more tests and expect
17003         errno settings in existing tests.
17005         [BZ #14032]
17006         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17007         precision control set to double precision.
17008         * sysdeps/i386/fpu/w_sqrt.c: New file.
17009         * math/auto-libm-test-in: Add more tests.
17010         * math/auto-libm-test-out: Update.
17012         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17013         (sqrt_test_tonearest): New function.
17014         (sqrt_towardzero_test_data): New variable.
17015         (sqrt_test_towardzero): New function.
17016         (sqrt_downward_test_data): New variable.
17017         (sqrt_test_downward): New function.
17018         (sqrt_upward_test_data): New variable.
17019         (sqrt_test_upward): New function.
17020         (main): Call the new functions.
17022         * math/gen-auto-libm-tests.c: New file.
17023         * math/auto-libm-test-in: Likewise.
17024         * math/auto-libm-test-out: New generated file.
17025         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17026         variables.
17027         (%beautify): Add generated representations of zero.
17028         (top level): Set $auto_input and call parse_auto_input.
17029         (beautify): Remove trailing "f" from hex float constants.
17030         (parse_args): Handle XFAIL_TEST.
17031         (convert_condition): New function.
17032         (or_value): Likewise.
17033         (or_cond_value): Likewise.
17034         (generate_testfile): Handle AUTO_TESTS_* lines.
17035         (parse_auto_input): New function.
17036         * math/libm-test.inc (XFAIL_TEST): New macro.
17037         (ERRNO_UNCHANGED): Update value.
17038         (ERRNO_EDOM): Likewise.
17039         (ERRNO_ERANGE): Likewise.
17040         (IGNORE_RESULT): Likewise.
17041         (TEST_COND_flt_32): New macro.
17042         (TEST_COND_dbl_64): Likewise.
17043         (TEST_COND_ldbl_96_intel): Likewise.
17044         (TEST_COND_ldbl_96_m68k): Likewise.
17045         (TEST_COND_ldbl_128): Likewise.
17046         (TEST_COND_ldbl_128ibm): Likewise.
17047         (TEST_COND_long32): Likewise.
17048         (TEST_COND_long64): Likewise.
17049         (TEST_COND_before_rounding): Likewise.
17050         (TEST_COND_after_rounding): Likewise.
17051         (enable_test): Handle XFAIL_TEST flag.
17052         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17053         with finite results.
17054         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17055         auto-libm-test-out.
17057 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17058             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17060         [BZ #16214]
17061         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17062         __tls_get_addr_internal instead of __tls_get_offset in order to
17063         avoid GOT pointer dependency.  Make rtld export
17064         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17065         __tls_get_addr since we are a __tls_get_offset platform.
17066         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17067         GOT pointer being set up before.
17068         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17070 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
17072         * manual/math.texi (Errors in Math Functions): Document accuracy
17073         goals.
17075         [BZ #15004]
17076         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17077         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17078         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17079         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17080         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17081         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17082         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17083         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17084         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17085         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17086         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17087         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17088         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17089         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17090         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17091         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17093         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17094         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17095         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17096         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17097         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17098         Likewise.
17099         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17100         Likewise.
17101         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17102         Likewise.
17103         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17104         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17105         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17106         atomic-feupdateenv and flt-rounds.
17107         * sysdeps/powerpc/nofpu/Versions (libc): Add
17108         __atomic_feholdexcept, __atomic_feclearexcept,
17109         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17110         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17111         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17112         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17113         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17114         here.
17115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17116         Update.
17118         * manual/arith.texi (FP Exceptions): Document that exceptions may
17119         not be raised when matherr is used.
17120         (Math Error Reporting): Document overflow in directed rounding
17121         modes.  Document that errno may not be set when finite values are
17122         returned on overflow.  Document intent to set errno on underflow
17123         only for underflow to zero.
17125         [BZ #16271]
17126         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17127         round-to-nearest then adjust result for other rounding modes.
17128         * include/fenv.h (fegetround): Use libm_hidden_proto.
17129         * math/fegetround.c (fegetround): Use libm_hidden_def.
17130         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17131         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17132         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17133         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17134         Likewise.
17135         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17136         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17137         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17138         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17140 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17142         [BZ #16077]
17143         * nss/Versions (libnss_files): Add
17144         _nss_files_gethostbyname3_r.
17145         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17146         New function.
17147         (HOST_DB_LOOKUP): Remove macro.
17148         (_nss_files_gethostbyname_r): Implement function without the
17149         HOST_DB_LOOKUP macro.
17150         (_nss_files_gethostbyname2_r): Likewise.
17152 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
17154         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17156 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
17158         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17159         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17160         warning.
17162 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17164         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17165         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17166         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17167         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17168         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17169         __fe_nomask_env_priv and attribute_hidden.
17170         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17171         (libc_feupdateenv_test_ppc): Likewise.
17172         (libc_feresetround_ppc): Likewise.
17173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17174         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17175         compat_symbol macro.
17176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17177         (__fe_nomask_env): Likewise.
17178         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17180 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17182         * string/Makefile: Remove ifunc tests.
17183         * string/test-string.h: Define TEST_IFUNC.
17184         * string/test-bcopy-ifunc.c: Remove.
17185         * string/test-bzero-ifunc.c: Likewise.
17186         * string/test-memccpy-ifunc.c: Likewise.
17187         * string/test-memchr-ifunc.c: Likewise.
17188         * string/test-memcmp-ifunc.c: Likewise.
17189         * string/test-memcpy-ifunc.c: Likewise.
17190         * string/test-memmem-ifunc.c: Likewise.
17191         * string/test-memmove-ifunc.c: Likewise.
17192         * string/test-mempcpy-ifunc.c: Likewise.
17193         * string/test-memrchr-ifunc.c: Likewise.
17194         * string/test-memset-ifunc.c: Likewise.
17195         * string/test-rawmemchr-ifunc.c: Likewise.
17196         * string/test-stpcpy-ifunc.c: Likewise.
17197         * string/test-stpncpy-ifunc.c: Likewise.
17198         * string/test-strcasecmp-ifunc.c: Likewise.
17199         * string/test-strcasestr-ifunc.c: Likewise.
17200         * string/test-strcat-ifunc.c: Likewise.
17201         * string/test-strchr-ifunc.c: Likewise.
17202         * string/test-strchrnul-ifunc.c: Likewise.
17203         * string/test-strcmp-ifunc.c: Likewise.
17204         * string/test-strcpy-ifunc.c: Likewise.
17205         * string/test-strcspn-ifunc.c: Likewise.
17206         * string/test-strlen-ifunc.c: Likewise.
17207         * string/test-strncasecmp-ifunc.c: Likewise.
17208         * string/test-strncat-ifunc.c: Likewise.
17209         * string/test-strncmp-ifunc.c: Likewise.
17210         * string/test-strncpy-ifunc.c: Likewise.
17211         * string/test-strnlen-ifunc.c: Likewise.
17212         * string/test-strpbrk-ifunc.c: Likewise.
17213         * string/test-strrchr-ifunc.c: Likewise.
17214         * string/test-strspn-ifunc.c: Likewise.
17215         * string/test-strstr-ifunc.c: Likewise.
17217 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17219         * benchtests/Makefile: Remove ifunc tests.
17220         * benchtests/bench-string.h: Define TEST_IFUNC.
17221         * benchtests/bench-bcopy-ifunc.c: Remove.
17222         * benchtests/bench-bzero-ifunc.c: Likewise.
17223         * benchtests/bench-memccpy-ifunc.c: Likewise.
17224         * benchtests/bench-memchr-ifunc.c: Likewise.
17225         * benchtests/bench-memcmp-ifunc.c: Likewise.
17226         * benchtests/bench-memcpy-ifunc.c: Likewise.
17227         * benchtests/bench-memmem-ifunc.c: Likewise.
17228         * benchtests/bench-memmove-ifunc.c: Likewise.
17229         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17230         * benchtests/bench-memrchr-ifunc.c: Likewise.
17231         * benchtests/bench-memset-ifunc.c: Likewise.
17232         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17233         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17234         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17235         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17236         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17237         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17238         * benchtests/bench-strcat-ifunc.c: Likewise.
17239         * benchtests/bench-strchr-ifunc.c: Likewise.
17240         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17241         * benchtests/bench-strcmp-ifunc.c: Likewise.
17242         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17243         * benchtests/bench-strcpy-ifunc.c: Likewise.
17244         * benchtests/bench-strcspn-ifunc.c: Likewise.
17245         * benchtests/bench-strlen-ifunc.c: Likewise.
17246         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17247         * benchtests/bench-strncat-ifunc.c: Likewise.
17248         * benchtests/bench-strncmp-ifunc.c: Likewise.
17249         * benchtests/bench-strncpy-ifunc.c: Likewise.
17250         * benchtests/bench-strnlen-ifunc.c: Likewise.
17251         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17252         * benchtests/bench-strrchr-ifunc.c: Likewise.
17253         * benchtests/bench-strsep-ifunc.c: Likewise.
17254         * benchtests/bench-strspn-ifunc.c: Likewise.
17255         * benchtests/bench-strstr-ifunc.c: Likewise.
17257 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17259         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17261 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17263         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17264         * rt/aio.h: Likewise.
17265         * sysdeps/gnu/bits/utmp.h: Likewise.
17266         * sysdeps/gnu/bits/utmpx.h: Likewise.
17267         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17268         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17269         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17270         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17271         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17272         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17273         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17274         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17275         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17276         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17277         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17278         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17279         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17281         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17282         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17283         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17284         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17285         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17286         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17287         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17288         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17289         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17290         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17291         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17292         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17293         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17294         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17295         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17296         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17297         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17298         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17299         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17300         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17301         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17302         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17303         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17304         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17305         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17306         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17307         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17308         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17310 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
17312         [BZ #16245]
17313         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17314         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17316 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
17318         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17319         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17320         Likewise.
17322 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17324         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17325         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17326         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17327         (__fesetround): Remove define.
17328         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17329         rounding and exceptions handling.
17330         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17331         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17332         (__fe_nomask_env): Likewise.
17333         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17334         __fegetround instead of fegetround.
17335         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17336         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17338 2013-11-21  Roland McGrath  <roland@hack.frob.com>
17340         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17341         it's there.
17343         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17345 2013-11-21  Meador Inge  <meadori@codesourcery.com>
17347         [BZ #11157]
17348         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17349         (encrypt_r): Likewise.
17350         * malloc/obstack.h (obstack_free): Likewise.
17351         * posix/unistd.h (encrypt): Likewise.
17353 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
17355         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17356         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17357         DL_CALL_DT_FINI() that call the functions directly.
17358         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17359         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17360         * elf/dl-fini.c: Likewise.
17362 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
17364         * malloc/hooks.c (memalign_check): Add alignment rounding.
17365         * malloc/malloc.c (_mid_memalign): New function.
17366         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17367         Implement by calling _mid_memalign.
17368         * manual/probes.texi (Memory Allocation Probes): Remove
17369         memory_valloc_retry and memory_pvalloc_retry.
17371 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17373         * locale/programs/locarchive.c (open_archive): Add const
17374         qualifier to ARCHIVEFNAME and copy default fname to
17375         DEFAULT_FNAME.
17377         [BZ #15601]
17378         * libio/tst-widetext.input: Rename Oriya to Odia.
17379         * locale/iso-639.def: Likewise.
17381         * manual/probes.texi (Mathematical Function Probes): Add
17382         documentation for sin, cos, asin and acos probes.
17383         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17384         (__sin32): Add slowasin probe.
17385         (__cos32): Add slowacos probe.
17386         (__mpsin): Add slowsin probe.
17387         (__mpcos): Add slowcos probe.
17389 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
17391         [BZ #15483]
17392         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17393         thread-local __sim_exceptions_thread and global
17394         __sim_exceptions_global.
17395         (__sim_disabled_exceptions): Change to thread-local
17396         __sim_disabled_exceptions_thread and global
17397         __sim_disabled_exceptions_global.
17398         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17399         and global __sim_round_mode_global.
17400         (__simulate_exceptions): Use thread-local floating-point state and
17401         set global state from it as needed.
17402         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17403         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17404         __sim_round_mode_thread.
17405         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17406         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17407         and global __sim_exceptions_global.
17408         (__sim_disabled_exceptions): Change to thread-local
17409         __sim_disabled_exceptions_thread and global
17410         __sim_disabled_exceptions_global.
17411         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17412         and global __sim_round_mode_global.
17413         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17414         (SIM_SET_GLOBAL): Likewise.
17415         * sysdeps/powerpc/soft-fp/sfp-machine.h
17416         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17417         __sim_round_mode_thread.
17418         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17419         __sim_disabled_exceptions_thread.
17420         (__sim_exceptions): Change to __sim_exceptions_thread.
17421         (__sim_disabled_exceptions): Change to
17422         __sim_disabled_exceptions_thread.
17423         (__sim_round_mode): Change to __sim_round_mode_thread.
17424         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17425         thread-local floating-point state and set global state from it as
17426         needed.
17427         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17428         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17429         (__sim_disabled_exceptions): Remove extern declaration.
17430         (feenableexcept): Use thread-local floating-point state and set
17431         global state from it as needed.
17432         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17433         extern declaration.
17434         (__sim_disabled_exceptions): Likewise.
17435         (__sim_round_mode): Likewise.
17436         (__fegetenv): Use thread-local floating-point state.
17437         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17438         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17439         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17440         floating-point state and set global state from it as needed.
17441         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17442         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17443         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17444         Likewise.
17445         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17446         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17447         Likewise.
17448         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17449         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17450         Use __sim_round_mode_thread.
17451         * math/test-fenv-tls.c: New file.
17452         * math/Makefile (tests): Add test-fenv-tls.
17453         ($(objpfx)test-fenv-tls): Depend on
17454         $(common-objpfx)nptl/libpthread.so.
17456 2013-11-19  Andreas Schwab  <schwab@suse.de>
17458         * locale/programs/locale.c (show_info): Decode wordarray elements.
17459         * locale/categories.def (LC_MONETARY): Add element for
17460         _NL_MONETARY_CRNCYSTR.
17461         * locale/C-monetary.c (conversion_rate): New variable.
17462         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17463         element.
17465 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
17467         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17468         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17470 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17472         * elf/Makefile (tst-auxv): New test.
17473         * elf/tst-auxv.c: New
17474         * elf/rtld.c (dl_main): Adjust AT_EXECFN
17476 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
17478         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17479         (hidden_proto): Caller changed.
17480         (hidden_tls_proto): New macro.
17481         (libc_hidden_tls_proto): Likewise.
17482         (rtld_hidden_tls_proto): Likewise.
17483         (libm_hidden_tls_proto): Likewise.
17484         (libresolv_hidden_tls_proto): Likewise.
17485         (librt_hidden_tls_proto): Likewise.
17486         (libdl_hidden_tls_proto): Likewise.
17487         (libnss_files_hidden_tls_proto): Likewise.
17488         (libnsl_hidden_tls_proto): Likewise.
17489         (libnss_nisplus_hidden_tls_proto): Likewise.
17490         (libutil_hidden_tls_proto): Likewise.
17492 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
17494         [BZ #10253]
17495         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17496         (decompose_rpath): Defer expansion to fillin_rpath.
17497         (_dl_init_paths): Pass linkmap to fillin_rpath.
17499 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17501         * benchtests/Makefile: Add strsep.
17502         * benchtests/bench-strsep.c: New file: strsep benchtest.
17503         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17505 2013-11-18  Andreas Schwab  <schwab@suse.de>
17507         * locale/programs/locale.c (show_info) [case byte]: Check for
17508         '\377' instead of '\177'.
17509         * locale/C-monetary.c (not_available): Always use "\377".
17510         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17511         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
17512         detect unavailable sign_posn locale elements.
17513         * locale/localeconv.c (__localeconv): For grouping and
17514         mon_grouping handle "\177" and "\377" like no grouping.
17515         (INT_ELEM): New macro.  Use it to set all numeric members.
17516         * locale/programs/ld-monetary.c (monetary_read)
17517         <tok_mon_grouping>: Normalize single -1 to the empty string.
17518         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17519         Likewise.
17521 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17523         [BZ #16055]
17524         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17525         when we match (nil).
17526         * stdio-common/tst-sscanf.c (struct test): Add testcase.
17528 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
17530         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17531         (NO_TEST_INLINE): Update value.
17532         (ERRNO_UNCHANGED): Likewise.
17533         (ERRNO_EDOM): Likewise.
17534         (ERRNO_ERANGE): Likewise.
17535         (IGNORE_RESULT): Likewise.
17536         (check_float_internal): Check signs of NaN results if
17537         TEST_NAN_SIGN used.
17538         (check_complex): Pass TEST_NAN_SIGN flag through to second
17539         check_float_internal call.
17540         (copysign_test_data): Add tests with quiet NaNs as second
17541         argument.  Use TEST_NAN_SIGN.
17542         (fabs_test_data): Add test of negative quiet NaN argument.  Use
17543         TEST_NAN_SIGN.
17544         (signbit_test_data): Add tests of quiet NaN argument.
17545         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17547         * math/gen-libm-test.pl (show_exceptions): Take extra argument
17548         $ignore_result.
17549         (parse_args): Handle function results specified as IGNORE.
17550         * math/libm-test.inc (IGNORE_RESULT): New macro.
17551         (check_float_internal): Do not check numerical result if flag
17552         IGNORE_RESULT set.
17553         (check_complex): Pass through IGNORE_RESULT to second
17554         check_float_internal call.
17555         (check_int): Do not check numerical result if flag IGNORE_RESULT
17556         set.
17557         (check_long): Likewise.
17558         (check_bool): Likewise.
17559         (check_longlong): Likewise.
17560         (lrint_test_data): Add tests of infinite and NaN arguments.
17561         (lrint_tonearest_test_data): Likewise.
17562         (lrint_towardzero_test_data): Likewise.
17563         (lrint_downward_test_data): Likewise.
17564         (lrint_upward_test_data): Likewise.
17565         (llrint_test_data): Likewise.
17566         (llrint_tonearest_test_data): Likewise.
17567         (llrint_towardzero_test_data): Likewise.
17568         (llrint_downward_test_data): Likewise.
17569         (llrint_upward_test_data): Likewise.
17570         (lround_test_data): Likewise.
17571         (llround_test_data): Likewise.
17573         * math/libm-test.inc (NO_TEST_INLINE): New macro.
17574         (ERRNO_UNCHANGED): Update value.
17575         (ERRNO_EDOM): Likewise.
17576         (ERRNO_ERANGE): Likewise.
17577         (NO_TEST_INLINE_FLOAT): New macro.
17578         (NO_TEST_INLINE_DOUBLE): Likewise.
17579         (enable_test): New function.
17580         (RUN_TEST_f_f): Check enable_test before running test.
17581         (RUN_TEST_2_f): Likewise.
17582         (RUN_TEST_fff_f): Likewise.
17583         (RUN_TEST_c_f): Likewise.
17584         (RUN_TEST_f_f1): Likewise.
17585         (RUN_TEST_fF_f1): Likewise.
17586         (RUN_TEST_fI_f1): Likewise.
17587         (RUN_TEST_ffI_f1): Likewise.
17588         (RUN_TEST_c_c): Likewise.
17589         (RUN_TEST_cc_c): Likewise.
17590         (RUN_TEST_f_i): Likewise.
17591         (RUN_TEST_f_i_tg): Likewise.
17592         (RUN_TEST_ff_i_tg): Likewise.
17593         (RUN_TEST_f_b): Likewise.
17594         (RUN_TEST_f_b_tg): Likewise.
17595         (RUN_TEST_f_l): Likewise.
17596         (RUN_TEST_f_L): Likewise.
17597         (RUN_TEST_fFF_11): Likewise.
17598         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17599         conditionals.
17600         (cosh_test_data): Likewise.
17601         (exp_test_data): Likewise.
17602         (expm1_test_data): Likewise.
17603         (hypot_test_data): Likewise.
17604         (pow_test_data): Likewise.
17605         (sinh_test_data): Likewise.
17606         (tanh_test_data): Likewise.
17607         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17608         flags argument.
17610         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17611         tests with quiet NaN input and output.
17612         (acosh_test_data): Likewise.
17613         (asin_test_data): Likewise.
17614         (asinh_test_data): Likewise.
17615         (atan_test_data): Likewise.
17616         (atanh_test_data): Likewise.
17617         (atan2_test_data): Likewise.
17618         (cbrt_test_data): Likewise.
17619         (cos_test_data): Likewise.
17620         (cosh_test_data): Likewise.
17621         (erf_test_data): Likewise.
17622         (erfc_test_data): Likewise.
17623         (exp_test_data): Likewise.
17624         (exp10_test_data): Likewise.
17625         (exp2_test_data): Likewise.
17626         (expm1_test_data): Likewise.
17627         (hypot_test_data): Likewise.
17628         (j0_test_data): Likewise.
17629         (j1_test_data): Likewise.
17630         (jn_test_data): Likewise.
17631         (lgamma_test_data): Likewise.
17632         (log_test_data): Likewise.
17633         (log10_test_data): Likewise.
17634         (log1p_test_data): Likewise.
17635         (log2_test_data): Likewise.
17636         (pow_test_data): Likewise.
17637         (scalb_test_data): Likewise.
17638         (sin_test_data): Likewise.
17639         (sincos_test_data): Likewise.
17640         (sinh_test_data): Likewise.
17641         (tan_test_data): Likewise.
17642         (tanh_test_data): Likewise.
17643         (tgamma_test_data): Likewise.
17644         (y0_test_data): Likewise.
17645         (y1_test_data): Likewise.
17646         (yn_test_data): Likewise.
17648         [BZ #16167]
17649         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17650         argument being NaN and avoid computations with second argument in
17651         that case.
17652         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17653         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17654         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17656 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
17658         * locale/iso-639.def: Add Chitwani Tharu (the).
17660 2013-11-14  Andreas Schwab  <schwab@suse.de>
17662         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17663         word instead of empty string.
17665 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17668         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17670         (__fe_nomask_env): Likewise.
17672 2013-11-13  Steve Ellcey  <sellcey@mips.com>
17674         * benchtests/bench-timing.h: Include time.h.
17676 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
17678         [BZ #15997]
17679         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17680         to 3.4.0 for x32.
17681         * sysdeps/unix/sysv/linux/configure: Regenerated.
17683 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
17685         [BZ #16151]
17686         * stdlib/strtod_l.c (round_and_return): Do not consider
17687         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17688         exponent one less than half the least subnormal exponent.
17689         * stdlib/test-strtod-round-data: Add more tests.
17690         * stdlib/tst-strtod-round.c (tests): Regenerated.
17692 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17694         [BZ #14143]
17695         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17696         (__fe_mask_env): Likewise.
17697         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17698         libm_hidden_proto and add function prototype.
17699         (__fe_mask_env): Add function prototype.
17700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17701         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17703         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17705         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17707 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17709         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17710         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17712 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17714         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17715         of htab_find_slot().
17717 2013-11-11  David S. Miller  <davem@davemloft.net>
17719         [BZ #16150]
17720         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17721         symbol in the non-vis3 case in static builds.
17722         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17723         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17724         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17725         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17727 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17729         [BZ #387]
17730         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17731         it is empty.
17733 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17735         * benchtests/Makefile: Add bench-strtod.
17736         * benchtests/bench-strtod.c: New file: strtod benchtest
17738 2013-11-11  Andreas Schwab  <schwab@suse.de>
17740         [BZ #16153]
17741         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17742         terminating NUL in key length.
17744 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17746         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17747         Add artificial ODP entry for vDSO symbol for PPC64.
17748         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17749         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17751 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17753         [BZ #15374]
17754         * nss/getent.c (services_keys): Recognize services starting with digit.
17756 2013-11-06  David S. Miller  <davem@davemloft.net>
17758         [BZ #15985]
17759         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17760         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17762 2013-11-06  Will Newton  <will.newton@linaro.org>
17764         * manual/memory.texi (Malloc Examples): Remove register
17765         keyword from examples.
17767 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
17769         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17771 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
17773         [BZ #6981]
17774         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17775         depending on [__GCC_IEC_559 > 0].
17776         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17777         depending on [__GCC_IEC_559_COMPLEX > 0].
17779 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
17781         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17782         to iso-639.def.
17784 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
17786         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17788 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
17790         [BZ #16112]
17791         * malloc/malloc (malloc_info): Do not handle first bin as
17792         special case.
17794 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
17796         * locale/iso-639.def: Add Central Nahuatl (nhn).
17798 2013-11-01  Bruno Haible  <bruno@clisp.org>
17800         [BZ #7003]
17801         * manual/math.texi (BSD Random): Specify range upper bound as
17802         in POSIX.
17804 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17806         * locale/iso-639.def: Add Meadow Mari (mhr).
17808 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17810         [BZ #14752], [BZ #15763]
17811         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17812         Validate name.
17813         * rt/tst_shm.c: Add test for escaping directory.
17815 2013-10-31  Andreas Schwab  <schwab@suse.de>
17817         [BZ #15917]
17818         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17819         followed by 'x' as part of digit sequence.
17820         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17822 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17824         [BZ #16037]
17825         * configure.ac: allow GNU Make 4.0 and greater.
17826         * configure: Regenerated.
17828 2013-10-30  Will Newton  <will.newton@linaro.org>
17830         [BZ #16038]
17831         * malloc/hooks.c (memalign_check): Limit alignment to the
17832         maximum representable power of two.
17833         * malloc/malloc.c (__libc_memalign): Likewise.
17834         * malloc/tst-memalign.c (do_test): Add test for very
17835         large alignment values.
17836         * malloc/tst-posix_memalign.c (do_test): Likewise.
17838 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17840         [BZ #11087]
17841         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17842         (munmap_chunk): Likewise.
17843         (mremap_chunk): Likewise.
17845 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17847         [BZ #15799]
17848         * stdlib/div.c (div): Remove obsolete code.
17849         * stdlib/ldiv.c (ldiv): Likewise.
17850         * stdlib/lldiv.c (lldiv): Likewise.
17852 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17854         [BZ #16071]
17855         * nss/nss_files/files-XXX.c (get_contents_ret): New
17856         enumerator.
17857         (get_contents): New function.
17858         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17860 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17862         * configure.in: Moved to ...
17863         * configure.ac: ... here. Change reference to configure.in
17864         to configure.ac.
17865         * sysdeps/arm/preconfigure.ac: ... here.
17866         configure.in to configure.ac.
17867         * sysdeps/gnu/configure.in: Moved to ...
17868         * sysdeps/gnu/configure.ac: ... here.
17869         * sysdeps/i386/configure.in: Moved to ...
17870         * sysdeps/i386/configure.ac: ... here.
17871         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17872         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17873         * sysdeps/mach/configure.in: Moved to ...
17874         * sysdeps/mach/configure.ac: ... here.
17875         * sysdeps/mach/hurd/configure.in: Moved to ...
17876         * sysdeps/mach/hurd/configure.ac: ... here.
17877         * sysdeps/powerpc/configure.in: Moved to ...
17878         * sysdeps/powerpc/configure.ac: ... here.
17879         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17880         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17881         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17882         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17883         * sysdeps/s390/s390-32/configure.in: Moved to ...
17884         * sysdeps/s390/s390-32/configure.ac: ... here.
17885         * sysdeps/s390/s390-64/configure.in: Moved to ...
17886         * sysdeps/s390/s390-64/configure.ac: ... here.
17887         * sysdeps/sh/configure.in: Moved to ...
17888         * sysdeps/sh/configure.ac: ... here.
17889         * sysdeps/sparc/configure.in: Moved to ...
17890         * sysdeps/sparc/configure.ac: ... here.
17891         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17892         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17893         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17894         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17895         * sysdeps/x86_64/configure.in: Moved to ...
17896         * sysdeps/x86_64/configure.ac: ... here.
17897         * sysdeps/x86_64/preconfigure.in: Moved to ...
17898         * sysdeps/x86_64/preconfigure.ac: ... here.
17899         * aclocal.m4: Change reference to configure.in to configure.ac.
17900         * config.h.in: Likewise.
17901         * manual/install.texi: Likewise.
17902         * manual/maint.texi: Likewise.
17903         * Makefile: Likewise.
17904         * malloc/Makefile: Likewise.
17905         * nscd/Makefile: Likewise.
17906         * Makeconfig: Change reference to configure.in and
17907         preconfigure.in to configure.ac and preconfigure.ac
17908         respectively.
17909         * INSTALL: Regenerated.
17910         * configure: Likewise.
17911         * sysdeps/gnu/configure: Likewise.
17912         * sysdeps/i386/configure: Likewise.
17913         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17914         * sysdeps/mach/configure: Likewise.
17915         * sysdeps/mach/hurd/configure: Likewise.
17916         * sysdeps/powerpc/configure: Likewise.
17917         * sysdeps/powerpc/powerpc32/configure: Likewise.
17918         * sysdeps/powerpc/powerpc64/configure: Likewise.
17919         * sysdeps/s390/s390-32/configure: Likewise.
17920         * sysdeps/s390/s390-64/configure: Likewise.
17921         * sysdeps/sh/configure: Likewise.
17922         * sysdeps/sparc/configure: Likewise.
17923         * sysdeps/unix/sysv/linux/configure: Likewise.
17924         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17925         * sysdeps/x86_64/configure: Likewise.
17926         * sysdeps/x86_64/preconfigure: Likewise.
17928 2013-10-29  Andreas Schwab  <schwab@suse.de>
17930         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17932 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17934         * benchtests/pow-inputs: Add new inputs.
17936         * benchtests/exp-inputs: Add new inputs.
17938         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17939         conditional check for return value.
17940         (__cos32): Likewise.
17942 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17944         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17945         to provide a boost for large inputs with word alignment.
17946         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17947         implementation based on optimized PPC64 strcpy.
17948         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17949         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17950         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17951         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17953 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17955         [BZ #2801]
17956         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17958 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17960         [BZ #14876]
17961         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17962         * time/tst-strptime.c (day_tests): Add testcase.
17964 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17966         [BZ #14029]
17967         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17969 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17971         [BZ #16074]
17972         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17973         MAP_FAILED on error.
17975 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17977         [BZ #16072]
17978         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17979         heap for large requests.
17981 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17983         [BZ #9954]
17984         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17985         result if the result has no associated interface.
17986         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17987         interface for all 127.X.Y.Z addresses.
17989 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17991         * locale/iso-639.def: Add Ligurian (lij)
17993 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17995         [BZ #15825]
17996         * sunrpc/rpc_main.c: Document rpcgen -5.
17998 2013-10-19  Michael Stahl  <mstahl@redhat.com>
18000         * elf/rtld.c (do_preload): Print the reason why preloading failed.
18002 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18004         [BZ #10278]
18005         * posix/glob.c: Match only directories when trailing slash is present.
18006         * posix/tst-gnuglob.c (my_opendir): Do not open files.
18007         (main): Add testcase.
18009 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18011         [BZ #15670]
18012         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18014 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
18016         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18017         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18018         AUTH_DES and cindex for FIPS 140-2.
18019         (DES Encryption): Add cindex FIPS 46-3.
18021         * locale/locarchive.h (struct locarhandle): Add fname.
18022         * locale/programs/localedef.c (main): Pass ARGV[remaining]
18023         if an optional argument was specified to --list-archive,
18024         otherwise NULL.
18025         * locale/programs/locarchive.c (show_archive_content): Take new
18026         argument fname and pass it via ah.fname to open_archive.
18027         * locale/programs/localedef.h: Update decl.
18028         (open_archive): If AH->fname is non-null, open that file
18029         rather than the default file name, and don't ignore ENOENT.
18030         (create_archive): Set AH.fname to NULL.
18031         (delete_locales_from_archive): Likewise.
18032         (add_locales_to_archive): Likewise.
18033         * locale/programs/locfile.c (write_all_categories): Likewise.
18035 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
18036             Aldy Hernandez  <aldyh@redhat.com>
18038         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18039         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18040         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18041         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18042         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18043         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18044         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18045         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18046         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18047         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18048         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18049         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18050         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18051         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18052         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18053         Likewise.
18054         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18055         Likewise.
18056         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18057         Likewise.
18058         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18059         Likewise.
18060         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18061         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18062         Likewise.
18063         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18064         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18065         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18066         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18067         Likewise.
18068         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18069         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18070         * sysdeps/powerpc/preconfigure: Likewise.
18071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18072         Likewise.
18073         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18074         Replace contents of file by #include of <fenv_libc.h>.
18075         * sysdeps/powerpc/soft-fp/sfp-machine.h
18076         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18077         and <sys/prctl.h>.
18078         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18079         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18080         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18081         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18082         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18083         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18085         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18086         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18087         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18088         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18089         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18091         Allow copysignl PLT reference to be missing.
18093 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
18094             Joseph Myers  <joseph@codesourcery.com
18096         [BZ #15948]
18097         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18098         single character.
18099         (add_to_tablewc): Assert sequence of wide characters is nonempty.
18101 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18103         * elf/tst-tls-dlinfo.c: Don't include tls.h.
18104         * elf/tst-tls1.c: Likewise.
18105         * elf/tst-tls10.h: Likewise.
18106         * elf/tst-tls14.c: Likewise.
18107         * elf/tst-tls2.c: Likewise.
18108         * elf/tst-tls3.c: Likewise.
18109         * elf/tst-tls4.c: Likewise.
18110         * elf/tst-tls5.c: Likewise.
18111         * elf/tst-tls6.c: Likewise.
18112         * elf/tst-tls7.c: Likewise.
18113         * elf/tst-tls8.c: Likewise.
18114         * elf/tst-tls9.c: Likewise.
18115         * elf/tst-tlsmod1.c: Likewise.
18116         * elf/tst-tlsmod13.c: Likewise.
18117         * elf/tst-tlsmod13a.c: Likewise.
18118         * elf/tst-tlsmod14a.c: Likewise.
18119         * elf/tst-tlsmod16a.c: Likewise.
18120         * elf/tst-tlsmod16b.c: Likewise.
18121         * elf/tst-tlsmod2.c: Likewise.
18122         * elf/tst-tlsmod3.c: Likewise.
18123         * elf/tst-tlsmod4.c: Likewise.
18124         * elf/tst-tlsmod5.c: Likewise.
18125         * elf/tst-tlsmod6.c: Likewise.
18127 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
18129         [BZ #12486]
18130         * malloc/malloc.c: remove checks for statistics.
18132 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18134         [BZ #15277]
18135         * inet/inet_net.c (inet_network): Detect additional invalid strings.
18136         * inet/tst-network.c: Add testcase.
18138 2013-10-17  Andreas Schwab  <schwab@suse.de>
18140         [BZ #15218]
18141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18142         to determine canonical name.
18144 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18146         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18147         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18148         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18149         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18150         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18151         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18152         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18153         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18154         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18155         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18156         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18157         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18158         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18159         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18160         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18161         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18162         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18163         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18164         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18165         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18166         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18167         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18168         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18169         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18170         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18171         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18172         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18173         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18174         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18175         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18176         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18177         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18178         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18179         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18180         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18181         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18182         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18183         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18184         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18185         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18186         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18187         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18188         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18189         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18190         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18191         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18192         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18193         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18194         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18195         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18196         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18197         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18198         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18199         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18200         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18201         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18202         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18203         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18205 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18207         [BZ #16041]
18208         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18209         make result into a quiet NaN.
18211 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18213         * soft-fp/adddf3.c: Fix horizontal whitespace.
18214         * soft-fp/addsf3.c: Likewise.
18215         * soft-fp/addtf3.c: Likewise.
18216         * soft-fp/divdf3.c: Likewise.
18217         * soft-fp/divsf3.c: Likewise.
18218         * soft-fp/divtf3.c: Likewise.
18219         * soft-fp/double.h: Likewise.
18220         * soft-fp/eqdf2.c: Likewise.
18221         * soft-fp/eqsf2.c: Likewise.
18222         * soft-fp/eqtf2.c: Likewise.
18223         * soft-fp/extenddftf2.c: Likewise.
18224         * soft-fp/extended.h: Likewise.
18225         * soft-fp/extendsfdf2.c: Likewise.
18226         * soft-fp/extendsftf2.c: Likewise.
18227         * soft-fp/extendxftf2.c: Likewise.
18228         * soft-fp/fixdfdi.c: Likewise.
18229         * soft-fp/fixdfsi.c: Likewise.
18230         * soft-fp/fixdfti.c: Likewise.
18231         * soft-fp/fixsfdi.c: Likewise.
18232         * soft-fp/fixsfsi.c: Likewise.
18233         * soft-fp/fixsfti.c: Likewise.
18234         * soft-fp/fixtfdi.c: Likewise.
18235         * soft-fp/fixtfsi.c: Likewise.
18236         * soft-fp/fixtfti.c: Likewise.
18237         * soft-fp/fixunsdfdi.c: Likewise.
18238         * soft-fp/fixunsdfsi.c: Likewise.
18239         * soft-fp/fixunsdfti.c: Likewise.
18240         * soft-fp/fixunssfdi.c: Likewise.
18241         * soft-fp/fixunssfsi.c: Likewise.
18242         * soft-fp/fixunssfti.c: Likewise.
18243         * soft-fp/fixunstfdi.c: Likewise.
18244         * soft-fp/fixunstfsi.c: Likewise.
18245         * soft-fp/fixunstfti.c: Likewise.
18246         * soft-fp/floatdidf.c: Likewise.
18247         * soft-fp/floatdisf.c: Likewise.
18248         * soft-fp/floatditf.c: Likewise.
18249         * soft-fp/floatsidf.c: Likewise.
18250         * soft-fp/floatsisf.c: Likewise.
18251         * soft-fp/floatsitf.c: Likewise.
18252         * soft-fp/floattidf.c: Likewise.
18253         * soft-fp/floattisf.c: Likewise.
18254         * soft-fp/floattitf.c: Likewise.
18255         * soft-fp/floatundidf.c: Likewise.
18256         * soft-fp/floatundisf.c: Likewise.
18257         * soft-fp/floatunditf.c: Likewise.
18258         * soft-fp/floatunsidf.c: Likewise.
18259         * soft-fp/floatunsisf.c: Likewise.
18260         * soft-fp/floatunsitf.c: Likewise.
18261         * soft-fp/floatuntidf.c: Likewise.
18262         * soft-fp/floatuntisf.c: Likewise.
18263         * soft-fp/floatuntitf.c: Likewise.
18264         * soft-fp/fmadf4.c: Likewise.
18265         * soft-fp/fmasf4.c: Likewise.
18266         * soft-fp/fmatf4.c: Likewise.
18267         * soft-fp/gedf2.c: Likewise.
18268         * soft-fp/gesf2.c: Likewise.
18269         * soft-fp/getf2.c: Likewise.
18270         * soft-fp/ledf2.c: Likewise.
18271         * soft-fp/lesf2.c: Likewise.
18272         * soft-fp/letf2.c: Likewise.
18273         * soft-fp/muldf3.c: Likewise.
18274         * soft-fp/mulsf3.c: Likewise.
18275         * soft-fp/multf3.c: Likewise.
18276         * soft-fp/negdf2.c: Likewise.
18277         * soft-fp/negsf2.c: Likewise.
18278         * soft-fp/negtf2.c: Likewise.
18279         * soft-fp/op-1.h: Likewise.
18280         * soft-fp/op-2.h: Likewise.
18281         * soft-fp/op-4.h: Likewise.
18282         * soft-fp/op-8.h: Likewise.
18283         * soft-fp/op-common.h: Likewise.
18284         * soft-fp/quad.h: Likewise.
18285         * soft-fp/single.h: Likewise.
18286         * soft-fp/soft-fp.h: Likewise.
18287         * soft-fp/sqrtdf2.c: Likewise.
18288         * soft-fp/sqrtsf2.c: Likewise.
18289         * soft-fp/sqrttf2.c: Likewise.
18290         * soft-fp/subdf3.c: Likewise.
18291         * soft-fp/subsf3.c: Likewise.
18292         * soft-fp/subtf3.c: Likewise.
18293         * soft-fp/truncdfsf2.c: Likewise.
18294         * soft-fp/trunctfdf2.c: Likewise.
18295         * soft-fp/trunctfsf2.c: Likewise.
18296         * soft-fp/trunctfxf2.c: Likewise.
18297         * soft-fp/unorddf2.c: Likewise.
18298         * soft-fp/unordsf2.c: Likewise.
18299         * soft-fp/unordtf2.c: Likewise.
18301 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
18303         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18304         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18306 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
18308         * elf/dl-libc.c: Clear initfini list after freeing.
18310 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
18312         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18313         * soft-fp/addsf3.c: Likewise.
18314         * soft-fp/addtf3.c: Likewise.
18315         * soft-fp/divdf3.c: Likewise.
18316         * soft-fp/divsf3.c: Likewise.
18317         * soft-fp/divtf3.c: Likewise.
18318         * soft-fp/double.h: Likewise.
18319         * soft-fp/eqdf2.c: Likewise.
18320         * soft-fp/eqsf2.c: Likewise.
18321         * soft-fp/eqtf2.c: Likewise.
18322         * soft-fp/extenddftf2.c: Likewise.
18323         * soft-fp/extended.h: Likewise.
18324         * soft-fp/extendsfdf2.c: Likewise.
18325         * soft-fp/extendsftf2.c: Likewise.
18326         * soft-fp/extendxftf2.c: Likewise.
18327         * soft-fp/fixdfdi.c: Likewise.
18328         * soft-fp/fixdfsi.c: Likewise.
18329         * soft-fp/fixdfti.c: Likewise.
18330         * soft-fp/fixsfdi.c: Likewise.
18331         * soft-fp/fixsfsi.c: Likewise.
18332         * soft-fp/fixsfti.c: Likewise.
18333         * soft-fp/fixtfdi.c: Likewise.
18334         * soft-fp/fixtfsi.c: Likewise.
18335         * soft-fp/fixtfti.c: Likewise.
18336         * soft-fp/fixunsdfdi.c: Likewise.
18337         * soft-fp/fixunsdfsi.c: Likewise.
18338         * soft-fp/fixunsdfti.c: Likewise.
18339         * soft-fp/fixunssfdi.c: Likewise.
18340         * soft-fp/fixunssfsi.c: Likewise.
18341         * soft-fp/fixunssfti.c: Likewise.
18342         * soft-fp/fixunstfdi.c: Likewise.
18343         * soft-fp/fixunstfsi.c: Likewise.
18344         * soft-fp/fixunstfti.c: Likewise.
18345         * soft-fp/floatdidf.c: Likewise.
18346         * soft-fp/floatdisf.c: Likewise.
18347         * soft-fp/floatditf.c: Likewise.
18348         * soft-fp/floatsidf.c: Likewise.
18349         * soft-fp/floatsisf.c: Likewise.
18350         * soft-fp/floatsitf.c: Likewise.
18351         * soft-fp/floattidf.c: Likewise.
18352         * soft-fp/floattisf.c: Likewise.
18353         * soft-fp/floattitf.c: Likewise.
18354         * soft-fp/floatundidf.c: Likewise.
18355         * soft-fp/floatundisf.c: Likewise.
18356         * soft-fp/floatunsidf.c: Likewise.
18357         * soft-fp/floatunsisf.c: Likewise.
18358         * soft-fp/floatuntidf.c: Likewise.
18359         * soft-fp/floatuntisf.c: Likewise.
18360         * soft-fp/floatuntitf.c: Likewise.
18361         * soft-fp/fmadf4.c: Likewise.
18362         * soft-fp/fmasf4.c: Likewise.
18363         * soft-fp/fmatf4.c: Likewise.
18364         * soft-fp/gedf2.c: Likewise.
18365         * soft-fp/gesf2.c: Likewise.
18366         * soft-fp/getf2.c: Likewise.
18367         * soft-fp/ledf2.c: Likewise.
18368         * soft-fp/lesf2.c: Likewise.
18369         * soft-fp/letf2.c: Likewise.
18370         * soft-fp/muldf3.c: Likewise.
18371         * soft-fp/mulsf3.c: Likewise.
18372         * soft-fp/multf3.c: Likewise.
18373         * soft-fp/negdf2.c: Likewise.
18374         * soft-fp/negsf2.c: Likewise.
18375         * soft-fp/negtf2.c: Likewise.
18376         * soft-fp/op-1.h: Likewise.
18377         * soft-fp/op-2.h: Likewise.
18378         * soft-fp/op-4.h: Likewise.
18379         * soft-fp/op-8.h: Likewise.
18380         * soft-fp/op-common.h: Likewise.
18381         * soft-fp/quad.h: Likewise.
18382         * soft-fp/single.h: Likewise.
18383         * soft-fp/soft-fp.h: Likewise.
18384         * soft-fp/sqrtdf2.c: Likewise.
18385         * soft-fp/sqrtsf2.c: Likewise.
18386         * soft-fp/sqrttf2.c: Likewise.
18387         * soft-fp/subdf3.c: Likewise.
18388         * soft-fp/subsf3.c: Likewise.
18389         * soft-fp/subtf3.c: Likewise.
18390         * soft-fp/truncdfsf2.c: Likewise.
18391         * soft-fp/trunctfdf2.c: Likewise.
18392         * soft-fp/trunctfsf2.c: Likewise.
18393         * soft-fp/trunctfxf2.c: Likewise.
18394         * soft-fp/unorddf2.c: Likewise.
18395         * soft-fp/unordsf2.c: Likewise.
18396         * soft-fp/unordtf2.c: Likewise.
18398 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
18400         [BZ #15672]
18401         * misc/error.c (error_tail): Fix possible buffer overflow.
18403 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
18405         [BZ #13028]
18406         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18407         address.
18409 2013-10-14  P. J. McDermott  <pj@pehjota.net>
18411         [BZ #832]
18412         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
18413         testing pipefail option.
18415 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18417         * soft-fp/double.h: Indent preprocessor directives inside #if.
18418         * soft-fp/extended.h: Likewise.
18419         * soft-fp/op-2.h: Likewise.
18420         * soft-fp/op-4.h: Likewise.
18421         * soft-fp/op-common.h: Likewise.
18422         * soft-fp/quad.h: Likewise.
18423         * soft-fp/single.h: Likewise.
18424         * soft-fp/soft-fp.h: Likewise.
18426 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
18428         * iconv/iconv_prog.c: Fix typos.
18429         * stdio-common/psiginfo-data.h: Likewise.
18431 2013-10-12   Reuben Thomas <rrt@sc3d.org>
18433         [BZ #15764]
18434         * locale/setlocale.c: Fix typo.
18436 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18438         [BZ #16036]
18439         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18440         signaling NaN arguments.
18441         * soft-fp/unordsf2.c (__unordsf2): Likewise.
18442         * soft-fp/unordtf2.c (__unordtf2): Likewise.
18444         [BZ #14910]
18445         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18446         unordered operands.
18447         * soft-fp/gesf2.c (__gesf2): Likewise.
18448         * soft-fp/getf2.c (__getf2): Likewise.
18449         * soft-fp/ledf2.c (__ledf2): Likewise.
18450         * soft-fp/lesf2.c (__lesf2): Likewise.
18451         * soft-fp/letf2.c (__letf2): Likewise.
18453         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18454         * soft-fp/eqsf2.c (__eqsf2): Likewise.
18455         * soft-fp/eqtf2.c (__eqtf2): Likewise.
18456         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18457         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18458         * soft-fp/fixdfti.c (__fixdfti): Likewise.
18459         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18460         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18461         * soft-fp/fixsfti.c (__fixsfti): Likewise.
18462         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18463         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18464         * soft-fp/fixtfti.c (__fixtfti): Likewise.
18465         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18466         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18467         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18468         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18469         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18470         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18471         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18472         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18473         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18474         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18475         * soft-fp/floatdisf.c (__floatdisf): Likewise.
18476         * soft-fp/floatsisf.c (__floatsisf): Likewise.
18477         * soft-fp/floattidf.c (__floattidf): Likewise.
18478         * soft-fp/floattisf.c (__floattisf): Likewise.
18479         * soft-fp/floattitf.c (__floattitf): Likewise.
18480         * soft-fp/floatundidf.c (__floatundidf): Likewise.
18481         * soft-fp/floatundisf.c (__floatundisf): Likewise.
18482         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18483         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18484         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18485         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18486         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18487         * soft-fp/gesf2.c (__gesf2): Likewise.
18488         * soft-fp/getf2.c (__getf2): Likewise.
18489         * soft-fp/ledf2.c (__ledf2): Likewise.
18490         * soft-fp/lesf2.c (__lesf2): Likewise.
18491         * soft-fp/letf2.c (__letf2): Likewise.
18493         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18494         Undefine and redefine.
18495         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18496         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18497         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18498         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18499         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18500         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18501         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18502         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18503         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18504         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18505         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18506         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18507         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18508         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18509         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18511         [BZ #16032]
18512         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18513         without decrementing exponent if mantissa >= that for the
18514         denominator, not >.
18515         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18516         denominator, not >.  Decrement exponent in < case instead of
18517         incrementing in >= case.
18518         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18519         without decrementing exponent if mantissa >= that for the
18520         denominator, not >.
18522         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18523         computing saturated result for unsigned overflow.
18525 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18526             Jeff Law  <law@redhat.com>
18528         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18529         (atan2Mp): Add systemtap probe marker.
18530         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18531         (__ieee754_log): Add systemtap probe marker.
18532         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18533         (atanMp): Add systemtap probe marker.
18534         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18535         (tanMp): Add systemtap probe marker.
18536         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18537         (__slowexp): Add systemtap probe marker.
18538         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18539         (__slowpow): Add systemtap probe marker.
18540         * manual/probes.texi: Document probes.
18542 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
18544         [BZ #15362]
18545         * libio/fileops.c (_IO_new_file_write): Return count of bytes
18546         written.
18547         (_IO_new_file_xsputn): Don't return EOF if nothing has been
18548         written.
18549         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18550         written to buffer but not flushed.
18551         * libio/iofwrite_u.c:  Likewise.
18552         * libio/iopadn.c:  Return bytes returned even if EOF was
18553         encountered.
18554         * libio/iowpadn.c:  Likewise.
18555         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18556         if _IO_padn does not write the whole buffer.
18557         [!COMPILE_WPRINTF] (PAD): Likewise.
18559 2013-10-10  David S. Miller  <davem@davemloft.net>
18561         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18562         directory block.
18564 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18566         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
18567         instead of FSF address.
18568         * soft-fp/fixdfti.c: Likewise.
18569         * soft-fp/fixsfti.c: Likewise.
18570         * soft-fp/fixtfti.c: Likewise.
18571         * soft-fp/fixunsdfti.c: Likewise.
18572         * soft-fp/fixunssfti.c: Likewise.
18573         * soft-fp/fixunstfti.c: Likewise.
18574         * soft-fp/floattidf.c: Likewise.
18575         * soft-fp/floattisf.c: Likewise.
18576         * soft-fp/floattitf.c: Likewise.
18577         * soft-fp/floatuntidf.c: Likewise.
18578         * soft-fp/floatuntisf.c: Likewise.
18579         * soft-fp/floatuntitf.c: Likewise.
18580         * soft-fp/trunctfxf2.c: Likewise.
18582         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
18583         * soft-fp/fixdfti.c: Likewise.
18584         * soft-fp/fixsfti.c: Likewise.
18585         * soft-fp/fixtfti.c: Likewise.
18586         * soft-fp/fixunsdfti.c: Likewise.
18587         * soft-fp/fixunssfti.c: Likewise.
18588         * soft-fp/fixunstfti.c: Likewise.
18589         * soft-fp/floattidf.c: Likewise.
18590         * soft-fp/floattisf.c: Likewise.
18591         * soft-fp/floattitf.c: Likewise.
18592         * soft-fp/floatuntidf.c: Likewise.
18593         * soft-fp/floatuntisf.c: Likewise.
18594         * soft-fp/floatuntitf.c: Likewise.
18595         * soft-fp/trunctfxf2.c: Likewise.
18597 2013-10-10  David S. Miller  <davem@davemloft.net>
18599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18601 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
18603         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18604         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18605         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18606         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18607         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18608         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18609         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18611         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18612         for NaNs before doing comparisons on argument.
18613         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18614         Likewise.
18616 2013-10-10  Will Newton  <will.newton@linaro.org>
18618         * malloc/hooks.c (memalign_check): Ensure the value of bytes
18619         passed to _int_memalign does not overflow.
18621 2013-10-10  Torvald Riegel  <triegel@redhat.com>
18623         * scripts/bench.pl: Add include-sources directive.
18624         * benchtests/README: Update documentation.
18626 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18628         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18629         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18630         instead of FP_INIT_ROUNDMODE.
18631         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18632         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18634         [BZ #16034]
18635         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
18636         copy class of input value.
18637         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
18638         not handle exceptions.
18639         * soft-fp/negsf2.c (__negsf2): Likewise.
18640         * soft-fp/negtf2.c (__negtf2): Likewise.
18641         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18643 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
18645         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18646         semicolon.  From Linux kernel.
18648 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
18650         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18652 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
18654         [BZ #156]
18655         * manual/socket.texi: Added statement about buffer
18656         for gethostbyname2_r.
18658 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
18660         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18661         Use .p2align directive instead, throughout.
18662         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18663         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18664         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18665         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18666         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18667         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18668         * sysdeps/x86_64/strchr.S: Likewise.
18669         * sysdeps/x86_64/strrchr.S: Likewise.
18671 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18673         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18675         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18677         * sysdeps/generic/math_private.h (__mpsin1): Remove
18678         declaration.
18679         (__mpcos1): Likewise.
18680         (__mpsin): New argument __range_reduce.
18681         (__mpcos): Likewise.
18682         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18683         (slow): Use __mpsin and __mpcos.
18684         (slow1): Likewise.
18685         (slow2): Likewise.
18686         (sloww): Likewise.
18687         (sloww1): Likewise.
18688         (sloww2): Likewise.
18689         (bsloww): Likewise.
18690         (bsloww1): Likewise.
18691         (bsloww2): Likewise.
18692         (cslow2): Likewise.
18693         (csloww): Likewise.
18694         (csloww1): Likewise.
18695         (csloww2): Likewise.
18696         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18697         range_reduce.  Merge in __mpsin1.
18698         (__mpcos): Likewise.
18699         (__mpsin1): Remove.
18700         (__mpcos1): Likewise.
18702 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
18704         * locale/loadlocale.c (_nl_intern_locale_data): Use
18705         LOCFILE_ALIGNED_P.
18706         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18707         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18708         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18709         obstack data is appropriately aligned.
18710         (obstack_int32_grow_fast): Likewise.
18711         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18712         * locale/programs/locfile.c (add_locale_uint32): Likewise.
18713         (add_locale_uint32_array): Likewise.
18715 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18717         * benchtests/Makefile: Remove ARGLIST and RET variables.
18718         ($(objpfx)bench-%.c): Pass only function name to the script.
18719         * benchtests/README: Update documentation.
18720         * benchtests/acos-inputs: Add new directives.
18721         * benchtests/acosh-inputs: Likewise.
18722         * benchtests/asin-inputs: Likewise.
18723         * benchtests/asinh-inputs: Likewise.
18724         * benchtests/atan-inputs: Likewise.
18725         * benchtests/atanh-inputs: Likewise.
18726         * benchtests/cos-inputs: Likewise.
18727         * benchtests/cosh-inputs: Likewise.
18728         * benchtests/exp-inputs: Likewise.
18729         * benchtests/log-inputs: Likewise.
18730         * benchtests/pow-inputs: Likewise.
18731         * benchtests/rint-inputs: Likewise.
18732         * benchtests/sin-inputs: Likewise.
18733         * benchtests/sinh-inputs: Likewise.
18734         * benchtests/tan-inputs: Likewise.
18735         * benchtests/tanh-inputs: Likewise.
18736         * scripts/bench.pl: Add support for new directives.
18738 2013-10-07  Alan Modra  <amodra@gmail.com>
18740         * README: Fix careless merge.
18742 2013-10-05  Alan Modra  <amodra@gmail.com>
18744         * NEWS: Mention powerpc64le support and bugs fixed.
18745         * README: Both big-endian and little-endian powerpc64 supported.
18747 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18749         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18750         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18751         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18752         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18754 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
18756         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18757         match prototype.
18759 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
18761         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18762         Move -mhard-float appending from
18763         ports/sysdeps/powerpc/powerpc32/Makefile.
18764         [$(with-fp) = yes] (ASFLAGS): Likewise.
18765         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18766         * sysdeps/powerpc/nofpu: Move directory from
18767         ports/sysdeps/powerpc/nofpu.
18768         * sysdeps/powerpc/soft-fp: Move directory from
18769         ports/sysdeps/powerpc/soft-fp.
18770         * sysdeps/powerpc/powerpc32/405: Move directory from
18771         ports/sysdeps/powerpc/powerpc32/405.
18772         * sysdeps/powerpc/powerpc32/440: Move directory from
18773         ports/sysdeps/powerpc/powerpc32/440.
18774         * sysdeps/powerpc/powerpc32/464: Move directory from
18775         ports/sysdeps/powerpc/powerpc32/464.
18776         * sysdeps/powerpc/powerpc32/476: Move directory from
18777         ports/sysdeps/powerpc/powerpc32/476.
18778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18779         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18781         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18783         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18785         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18787         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18788         * README: Update for powerpc-*-linux-gnu software floating point
18789         support in libc.
18791         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18792         case to powerpc/powerpc32*.
18793         * sysdeps/unix/sysv/linux/configure: Regenerated.
18795         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18796         (_FPU_MASK_OM): Define as 0x04.
18797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18799         0x00c10080.
18800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18801         0x0000003c.
18802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18805         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18806         getcontext_e500.
18807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18808         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18809         setcontext_e500.
18810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18811         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18812         and setcontext_e500.
18814 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18816         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18818 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18820         * manual/threads.texi (Default Thread Attributes): Fix typo.
18822 2013-10-04  Will Newton  <will.newton@linaro.org>
18824         * malloc/Makefile: Add tst-memalign.
18825         * malloc/tst-memalign.c: New file.
18827         * malloc/tst-posix_memalign.c: Add comments.
18828         (do_test): Add comments and call free on all potentially
18829         allocated pointers. Add space after cast.
18831         * malloc/tst-pvalloc.c: Add comments.
18832         (do_test): Add comments and call free on all potentially
18833         allocated pointers. Remove duplicate check for NULL pointer.
18834         Add space after cast.
18836         * malloc/tst-valloc.c: Add comments.
18837         (do_test): Add comments and call free on all potentially
18838         allocated pointers. Remove duplicate check for NULL pointer.
18839         Add space after cast.
18841 2013-10-04  Alan Modra  <amodra@gmail.com>
18843         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18844         Use stdint types in rather than __attribute__((mode())).
18845         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18847 2013-10-04  Alan Modra  <amodra@gmail.com>
18849         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18850         Correct handling of unaligned relocs for little-endian.
18851         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18853 2013-10-04  Alan Modra  <amodra@gmail.com>
18855         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18856         * configure: Regenerate.
18857         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18858         * shlib-versions: Likewise.
18860 2013-10-04  Alan Modra  <amodra@gmail.com>
18862         * string/tester.c (test_memrchr): Increment reported test cycle.
18864 2013-10-04  Alan Modra  <amodra@gmail.com>
18866         * string/test-memcpy.c (do_one_test): When reporting errors, print
18867         string address and don't overrun end of string.
18869 2013-10-04  Alan Modra  <amodra@gmail.com>
18871         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18872         insrdi.  Make better use of reg selection to speed exit slightly.
18873         Schedule entry path a little better.  Remove useless "are we done"
18874         checks on entry to main loop.  Handle wrapping around zero address.
18875         Correct main loop count.  Handle single left-over word from main
18876         loop inline rather than by using loop_small.  Remove extra word
18877         case in loop_small caused by wrong loop count.  Add little-endian
18878         support.
18879         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18880         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18881         cache hint.
18882         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18883         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18884         support.  Avoid rlwimi.
18885         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18887 2013-10-04  Alan Modra  <amodra@gmail.com>
18889         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18890         insrdi.  Formatting.
18891         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18892         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18893         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18894         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18895         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18896         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18898 2013-10-04  Alan Modra  <amodra@gmail.com>
18900         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18901         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18902         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18903         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18904         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18905         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18906         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18907         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18908         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18909         use of regs.  Use power7 mtocrf.  Tidy function tails.
18911 2013-10-04  Alan Modra  <amodra@gmail.com>
18913         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18914         Formatting.  Consistently use rXXX register defines or rN defines.
18915         Use early exit labels that avoid restoring unused non-volatile regs.
18916         Make cr field use more consistent with rWORDn compares.  Rename
18917         regs used as shift registers for unaligned loop, using rN defines
18918         for short lifetime/multiple use regs.
18919         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18920         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18921         addi 1,1,64 to pop stack frame.  Simplify return value code.
18922         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18924 2013-10-04  Alan Modra  <amodra@gmail.com>
18926         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18927         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18928         rather than rlwimi.
18929         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18930         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18931         little-endian support.  Correct typos.
18932         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18933         rather than rlwimi.
18934         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18935         in loop and entry code to keep "and." results.
18936         (strchr): Add little-endian support.  Comment.  Move cntlzd
18937         earlier in tail.
18938         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18940 2013-10-04  Alan Modra  <amodra@gmail.com>
18942         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18943         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18944         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18945         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18947 2013-10-04  Alan Modra  <amodra@gmail.com>
18949         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18950         (rTMP): Define as r11.
18951         (strcmp): Add little-endian support.  Optimise tail.
18952         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18953         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18954         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18955         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18956         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18957         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18958         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18960 2013-10-04  Alan Modra  <amodra@gmail.com>
18962         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18963         little-endian support.  Remove unnecessary "are we done" tests.
18964         Handle "s" wrapping around zero and extremely large "size".
18965         Correct main loop count.  Handle single left-over word from main
18966         loop inline rather than by using small_loop.  Correct comments.
18967         Delete "zero" tail, use "end_max" instead.
18968         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18970 2013-10-04  Alan Modra  <amodra@gmail.com>
18972         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18973         support.  Don't branch over align.
18974         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18975         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18976         support.  Rearrange tmp reg use to suit.  Comment.
18977         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18979 2013-10-04  Alan Modra  <amodra@gmail.com>
18981         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18983 2013-10-04  Alan Modra  <amodra@gmail.com>
18985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18986         conditional form of branch and link when obtaining pc.
18987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18989 2013-10-04  Alan Modra  <amodra@gmail.com>
18991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18992         HIWORD/LOWORD.
18993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18996 2013-10-04  Alan Modra  <amodra@gmail.com>
18998         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18999         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19000         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19001         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19002         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19003         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19004         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19005         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19006         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19007         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19009 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19010             Alistair Popple <alistair@ozlabs.au.ibm.com>
19011             Alan Modra <amodra@gmail.com>
19013         [BZ #15723]
19014         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19015         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19016         _dl_hwcap access for little-endian.
19017         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
19018         destroy vmx regs when saving unaligned.
19019         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19020         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
19021         destroy vmx regs when saving unaligned.
19023 2013-10-04  Alan Modra  <amodra@gmail.com>
19025         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19026         Don't use a union to pack hi/low value.
19028 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19030         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19031         for little-endian.
19032         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19033         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19034         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19035         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19036         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19038 2013-10-04  Alan Modra  <amodra@gmail.com>
19040         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19041         constants to usual value for .cst8 section, and remove redundant
19042         high address load.
19043         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19044         constant for 0x1p52.  Load little-endian words of double from
19045         correct stack offsets.
19047 2013-10-04  Alan Modra  <amodra@gmail.com>
19049         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19050         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19051         words of double from correct stack offsets.
19052         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19053         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19054         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19055         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19056         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19057         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19058         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19059         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19060         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19061         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19062         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19063         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19064         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19065         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19066         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19067         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19068         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19070 2013-10-04  Alan Modra  <amodra@gmail.com>
19072         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19073         64-bit int/double union.
19074         (_FPU_SETCW): Likewise.
19075         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19076         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19078 2013-10-04  Alan Modra  <amodra@gmail.com>
19080         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19081         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19083 2013-10-04  Alan Modra  <amodra@gmail.com>
19085         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19086         use vector int constants.
19087         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19089 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19091         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19092         array with long long.
19093         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19094         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19095         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19096         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19097         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19098         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19099         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19100         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19101         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19102         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19103         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19104         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19105         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19107 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19109         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19110         (__signbit): Likewise.  Correct for little-endian.
19111         (__signbitl): Call __signbit.
19112         (lrint): Correct for little-endian.
19113         (lrintf): Call lrint.
19115 2013-10-04  Alan Modra  <amodra@gmail.com>
19117         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19118         union 32-bit int array member with 64-bit int array.
19119         (t515, tm256): Double rather than long double.
19120         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19122 2013-10-04  Alan Modra  <amodra@gmail.com>
19124         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19125         Delete.
19126         (IEEE854_LONG_DOUBLE_BIAS): Delete.
19127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19128         version of math_ldbl.h.
19130 2013-10-04  Alan Modra  <amodra@gmail.com>
19132         [BZ #15734], [BZ #15735]
19133         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19134         all uses of ieee875 long double macros and unions.  Simplify test
19135         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
19136         ldbl_extract_mantissa value for ix,iy exponents.  Properly
19137         normalize after ldbl_extract_mantissa, and don't add hidden bit
19138         already handled.  Don't treat low word of ieee854 mantissa like
19139         low word of IBM long double and mask off bit when testing for
19140         zero.
19141         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19142         all uses of ieee875 long double macros and unions.  Simplify tests
19143         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
19144         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
19145         two1022, instead use their values.  Recognise that tests for large
19146         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
19147         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19148         Rewrite all uses of ieee875 long double macros and unions.  Simplify
19149         test for 0.0L and nan.  Correct negation.
19150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19151         ieee875 long double macros and unions.  Correct output for large
19152         magnitude x.  Correct absolute value calculation.
19153         (__erfcl): Likewise.
19154         * math/libm-test.inc: Add tests for errors discovered in IBM long
19155         double versions of fmodl, remainderl, erfl and erfcl.
19157 2013-10-04  Alan Modra  <amodra@gmail.com>
19159         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19160         all uses of ieee854 long double macros and unions.  Simplify tests
19161         for long doubles that are fully specified by the high double.
19162         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19163         Likewise.
19164         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19165         Remove dead code too.
19166         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19167         (__ieee754_ynl): Likewise.
19168         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19169         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19170         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19171         Remove dead code too.
19172         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19173         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19174         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19175         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19176         Simplify.
19177         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19178         Simplify.
19179         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19180         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19181         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19182         Comment on variable precision.
19183         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19184         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19185         Likewise.
19186         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19187         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19188         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19189         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19190         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19192 2013-10-04  Alan Modra  <amodra@gmail.com>
19194         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19195         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19196         all uses of ieee854 long double macros and unions.
19197         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19198         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19199         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19200         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19201         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19202         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19203         Likewise.
19204         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19205         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19206         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19207         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19208         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19209         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19210         Simplify sign and nan test too.
19211         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19212         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19213         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19214         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19215         Likewise.
19216         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19217         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19218         Likewise.
19219         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19220         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19221         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19222         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19223         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19224         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19226 2013-10-04  Alan Modra  <amodra@gmail.com>
19228         * stdio-common/printf_size.c (__printf_size): Don't use
19229         union ieee854_long_double in fpnum union.
19230         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19231         signbit macro to retrieve sign from long double.
19232         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19233         retrieve sign from long double.
19234         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19235         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19236         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19237         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19238         * math/test-misc.c (main): Don't use union ieee854_long_double.
19240 2013-10-04  Alan Modra  <amodra@gmail.com>
19242         [BZ #15680]
19243         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19244         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19245         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19246         calculation.  Remove unnecessary test for denormal exponent.
19247         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19248         Correct handling of denormals.  Avoid undefined shift behaviour.
19249         Correct normalisation of low mantissa when low double is denormal.
19250         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19251         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19252         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19253         Correct normalisation of low mantissa.  Test for overflow of high
19254         mantissa and normalise.
19255         (ldbl_nearbyint): Use more readable constant for two52.
19256         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19257         (__mpn_construct_long_double): Fix test for overflow of high
19258         mantissa and correct normalisation.  Avoid undefined shift.
19260 2013-10-04  Alan Modra  <amodra@gmail.com>
19262         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19263         (union ibm_extended_long_double): Define as an array of ieee754_double.
19264         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19265         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19266         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19267         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19268         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19269         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19270         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19271         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19272         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19273         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19274         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19276 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19278         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19279         page size instead of calling getpagesize.
19281         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19282         (LOCFILE_ALIGN_MASK): Likewise.
19283         (LOCFILE_ALIGN_UP): Likewise.
19284         (LOCFILE_ALIGNED_P): Likewise.
19285         * locale/programs/ld-collate.c (collate_output): Use the new
19286         macros instead of __alignof__ (int32_t).
19287         * locale/weight.h (findidx): Likewise.
19289 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19291         [BZ #431]
19292         * manual/string.texi: Fix strncat and wcsncat.
19294 2013-10-03  Brooks Moses  <bmoses@google.com>
19296         [BZ #15915]
19297         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19298         * Makerules: ...here, and adjust associated comments.
19300 2013-10-02  Will Newton  <will.newton@linaro.org>
19302         * malloc/Makefile: Add tst-pvalloc.
19303         * malloc/tst-pvalloc.c: New file.
19305 2013-10-02  Will Newton  <will.newton@linaro.org>
19307         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19308         improve test coverage.
19310 2013-10-02  Will Newton  <will.newton@linaro.org>
19312         * malloc/Makefile: Add tst-posix_memalign.
19313         * malloc/tst-posix_memalign.c: New file.
19315 2013-10-01  Eric Blake  <eblake@redhat.com>
19317         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19318         Use __THROWNL rather than __THROW on static functions.
19320 2013-09-30  Petr Machata  <pmachata@redhat.com>
19322         * elf/elf.h (R_AARCH64_ABS16): New macro.
19323         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19324         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19325         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19326         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19327         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19328         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19329         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19330         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19331         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19332         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19333         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19334         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19335         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19336         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19337         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19338         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19339         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19340         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19341         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19342         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19343         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19344         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19345         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19346         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19347         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19348         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19349         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19350         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19351         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19352         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19353         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19354         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19355         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19356         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19357         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19358         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19359         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19360         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19361         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19362         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19363         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19364         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19365         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19366         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19367         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19368         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19369         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19370         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19371         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19372         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19373         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19374         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19375         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19376         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19377         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19378         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19379         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19380         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19381         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19382         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19383         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19384         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19385         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19386         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19387         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19388         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19389         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19390         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19391         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19392         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19393         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19394         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19395         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19396         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19397         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19398         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19399         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19400         (R_AARCH64_TLSDESC_LDR): Likewise.
19401         (R_AARCH64_TLSDESC_ADD): Likewise.
19402         (R_AARCH64_TLSDESC_CALL): Likewise.
19404 2013-09-30  Andreas Schwab  <schwab@suse.de>
19406         [BZ #15048]
19407         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19408         the nss database lookup.
19409         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19412 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
19414         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19416 2013-09-28  P. J. McDermott  <pj@pehjota.net>
19418         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19419         ${Bash-specific parameter/pattern/string} parameter expansion.
19420         * sysdeps/unix/make-syscalls.sh: Likewise.
19422 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19424         * sysdeps/sh/stackguard-macros.h: New file.
19426 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
19428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19430         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19431         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19432         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19433         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19435 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19437         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19438         Fix thread ID register.
19440 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
19442         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19443         [POSIX || UNIX98]: Require rather than permitting all symbols from
19444         <time.h>.
19445         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19446         element of struct sched_param.
19447         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19448         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19449         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19450         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19451         constant.
19453 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
19455         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19456         argument calculation.
19458 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19460         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19461         Expect macro.
19462         [POSIX] (pthread_attr_t): Do not require type.
19463         [POSIX] (pthread_cond_t): Likewise.
19464         [POSIX] (pthread_condattr_t): Likewise.
19465         [POSIX] (pthread_key_t): Likewise.
19466         [POSIX] (pthread_mutex_t): Likewise.
19467         [POSIX] (pthread_mutexattr_t): Likewise.
19468         [POSIX] (pthread_once_t): Likewise.
19469         [POSIX] (pthread_t): Likewise.
19470         [POSIX-based standards] (pthread_atfork): Expect function.
19472 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19473             Richard Sandiford  <richard@codesourcery.com>
19475         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19476         (swap_endianness_p): New extern variable.
19477         (set_big_endian): New inline function.
19478         (maybe_swap_uint32): Likewise.
19479         (maybe_swap_uint32_array): Likewise.
19480         (maybe_swap_uint32_obstack): Likewise.
19481         * locale/programs/locfile.c: Include <stdbool.h>.
19482         (swap_endianness_p): New variable.
19483         (add_locale_uint32): Call maybe_swap_uint32.
19484         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19485         (write_locale_data): Call maybe_swap_uint32_array.
19486         * locale/programs/ld-collate.c (obstack_int32_grow): Call
19487         maybe_swap_uint32.
19488         (obstack_int32_grow_fast): Likewise.
19489         (output_weightwc): Call maybe_swap_uint32_obstack.
19490         (collate_output): Likewise.
19491         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19492         (OPT_LITTLE_ENDIAN): Likewise.
19493         (options): Add --little-endian and --big-endian options.
19494         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19495         * locale/programs/locarchive.c: Include "locfile.h".
19496         (GET): New macro.
19497         (SET): Likewise.
19498         (INC): Likewise.
19499         (create_archive): Use the new macros to access fields of
19500         structures directly mapped from or written to locale archives.
19501         (oldlocrecentcmp): Likewise.
19502         (enlarge_archive): Likewise.
19503         (insert_name): Likewise.
19504         (add_alias): Likewise.
19505         (add_locale): Likewise.
19506         (delete_locales_from_archive): Likewise.
19507         (show_archive_content): Likewise.
19508         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
19509         locale data.
19511 2013-09-24  Roland McGrath  <roland@hack.frob.com>
19513         * manual/freemanuals.texi: Updated from (newly) canonical copy at
19514         http://www.gnu.org/doc/freemanuals.texi.
19515         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19517 2013-09-24  Will Newton  <will.newton@linaro.org>
19519         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19520         macro.
19522 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
19524         * locale/hashval.h (compute_hashval): Interpret bytes of key as
19525         unsigned char.
19527 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
19529         * manual/threads.texi (POSIX Threads): Fix a typo.
19531 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19533         [BZ #14547]
19534         * string/tst-strcoll-overflow.c: New test case.
19535         * string/Makefile (xtests): Add tst-strcoll-overflow.
19536         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19537         cache if string sizes may cause integer overflow.
19539         [BZ #14547]
19540         * string/strcoll_l.c (coll_seq): New members rule, idx,
19541         save_idx and back_us.
19542         (get_next_seq_nocache): New function.
19543         (do_compare_nocache): New function.
19544         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19545         when malloc fails.
19547 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
19549         [BZ #15754]
19550         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19551         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19552         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19554         [BZ #15754]
19555         * elf/Makefile (tests): Add tst-ptrguard1.
19556         (tests-static): Add tst-ptrguard1-static.
19557         (tst-ptrguard1-ARGS): Define.
19558         (tst-ptrguard1-static-ARGS): Define.
19559         * elf/tst-ptrguard1.c: New file.
19560         * elf/tst-ptrguard1-static.c: New file.
19561         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19562         * sysdeps/i386/stackguard-macros.h: Likewise.
19563         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19564         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19565         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19566         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19567         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19568         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19570 2013-09-23  Hector Marco  <hecmargi@upv.es>
19571             Ismael Ripoll  <iripoll@disca.upv.es>
19572             Carlos O'Donell  <carlos@redhat.com>
19574         [BZ #15754]
19575         * sysdeps/generic/stackguard-macros.h: Define
19576         __pointer_chk_guard_local and POINTER_CHK_GUARD.
19577         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19578         Define __pointer_chk_guard_local.
19579         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19580         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19582 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
19584         [BZ #15859]
19585         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19587 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
19589         * include/string.h (__ffs): Declare as hidden.
19590         * string/ffs.c (__ffs): Define as hidden.
19591         * sysdeps/i386/ffs.c (__ffs): Likewise.
19592         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19593         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19594         * sysdeps/s390/ffs.c (__ffs): Likewise.
19595         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19597 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
19599         * NEWS: Mention malloc probes.
19601         * malloc/arena.c (new_heap): New memory_heap_new probe.
19602         (grow_heap): New memory_heap_more probe.
19603         (shrink_heap): New memory_heap_less probe.
19604         (heap_trim): New memory_heap_free probe.
19605         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19606         (systrim): New memory_sbrk_less probe.
19607         * manual/probes.texi: Document them.
19609         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19610         * manual/probes.texi: Document it.
19612         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19613         (__libc_realloc): Add memory_realloc_retry probe.
19614         (__libc_memalign): Add memory_memalign_retry probe.
19615         (__libc_valloc): Add memory_valloc_retry probe.
19616         (__libc_pvalloc): Add memory_pvalloc_retry probe.
19617         (__libc_calloc): Add memory_calloc_retry probe.
19618         * manual/probes.texi: Document them.
19620         * malloc/arena.c (get_free_list): Add probe
19621         memory_arena_reuse_free_list.
19622         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19623         and memory_arena_reuse.
19624         (arena_get2) [!PER_THREAD]: Likewise.
19625         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19626         memory_arena_reuse_realloc.
19627         * manual/probes.texi: Document them.
19629         * malloc/malloc.c (__libc_free): Add
19630         memory_mallopt_free_dyn_thresholds probe.
19631         (__libc_mallopt): Add multiple memory_mallopt probes.
19632         * manual/probes.texi: Document them.
19634         * malloc/malloc.c: Include stap-probe.h.
19635         (__libc_mallopt): Add memory_mallopt probe.
19636         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19637         * manual/probes.texi: New.
19638         * manual/Makefile (chapters): Add probes.
19639         * manual/threads.texi: Set next node.
19641 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
19643         [BZ #15963, #13985]
19644         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19645         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19646         Add `Chinese' to `nan' entry name.
19648 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19650         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19651         (POLYNOMIAL): Likewise.
19652         (TAYLOR_SINCOS): Likewise.
19653         (TAYLOR_SLOW): Likewise.
19654         (__sin): Use TAYLOR_SINCOS.
19655         (__cos): Likewise.
19656         (slow): Use TAYLOR_SLOW.
19657         (sloww): Likewise.
19658         (bsloww): Likewise.
19659         (csloww): Likewise.
19661 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19663         * stdlib/strtod_l.c: Fix buffer overrun.
19665 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19667         * benchtests/Makefile (bench): Add sincos.
19668         * benchtests/bench-sincos.c: New file.
19670         * math/libm-test.inc (cos_test_data): New test inputs.
19671         (sin_test_data): Likewise.
19673         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19674         macro.
19675         (__sin): Use it.
19676         (__cos): Likewise.
19677         (slow1): Likewise.
19678         (slow2): Likewise.
19679         (sloww1): Likewise.
19680         (sloww2): Likewise.
19681         (bsloww1): Likewise.
19682         (bsloww2): Likewise.
19683         (cslow2): Likewise.
19684         (csloww1): Likewise.
19685         (csloww2): Likewise.
19687         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19688         function.
19689         (__sin): Use it.
19690         (__cos): Likewise.
19692         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19693         gotos.
19694         (__cos): Likewise.
19696 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
19698         * config.h.in (HAVE_MIPS_NAN2008): New macro.
19699         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19700         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19701         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19702         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19703         * elf/cache.c (print_entry): Handle the new cache flags.
19705 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19706             Aldy Hernandez  <aldyh@redhat.com>
19708         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19709         Change condition to [_SOFT_FLOAT].
19710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19715         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19718         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19721         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19722         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19723         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19724         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19725         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19726         declaration.
19728 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19730         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19731         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19732         (__longjmp): Use LOAD_GP to load saved GPRs.
19733         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19734         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19735         (__sigsetjmp): Use SAVE_GP to save GPRs.
19737         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19738         Do not append -msoft-float.
19739         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19741 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19743         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19745 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
19747         [BZ #15966]
19748         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19749         (_FPU_GETCW): Use initial "__" on variable and field names but not
19750         on macro parameter name.
19751         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
19752         parentheses around reference to macro parameter.
19754 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
19756         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19757         prototype.
19758         (ctype_startup): Use uint32_t in cast and sizeof for
19759         ctype->charnames.
19761 2013-09-11  Jia Liu  <proljc@gmail.com>
19763         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19764         __daddr_t_defined.
19765         [__FreeBSD__]: Likewise.
19767 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
19769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19770         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19771         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19772         (strchr): Remove __strchr_sse42 ifunc selection.
19773         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19774         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19776 2013-09-11  Will Newton  <will.newton@linaro.org>
19778         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19779         parameter to RES. Remove hardcoded 1000 value.
19780         * benchtests/bench-skeleton.c (main): Pass RES parameter
19781         to TIMING_INIT and multiply result by 1000.
19783 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19787 2013-09-11  Andreas Schwab  <schwab@suse.de>
19789         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19790         if not defined.
19791         (O_TMPFILE) [__USE_GNU]: Define.
19792         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19793         Define.
19795 2013-09-11  Will Newton  <will.newton@linaro.org>
19797         [BZ #15857]
19798         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19799         does not overflow.
19801 2013-09-11  Will Newton  <will.newton@linaro.org>
19803         [BZ #15856]
19804         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19805         does not overflow.
19807 2013-09-11  Will Newton  <will.newton@linaro.org>
19809         [BZ #15855]
19810         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19811         does not overflow.
19813 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19815         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19816         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19817         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19818         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19819         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19821 2013-09-10  Allan McRae  <allan@archlinux.org>
19823         [BZ #15748]
19824         * manual/arith.texi (Parsing of Floats): Clarify
19825         cross-reference.
19827         [BZ #15849]
19828         * manual/install.texi (Running make install): Mention
19829         --enable-pt-chown.
19830         * INSTALL: Regenerated.
19832 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19834         * csu/init-first.c (_init): Remove the !SHARED condition around
19835         FPU control word initialization.
19836         * elf/dl-support.c (_dl_fpu_control): New variable.
19837         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19838         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19839         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19840         * math/test-fpucw-static.c: New file.
19841         * math/test-fpucw-ieee.c: New file.
19842         * math/test-fpucw-ieee-static.c: New file.
19843         * math/Makefile (tests): Add `test-fpucw-ieee' and
19844         `$(tests-static)'.
19845         (tests-static): New variable.
19846         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19847         dependency to...
19848         [($(build-shared),yes)]
19849         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19850         ... this.
19851         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19852         New dependency.
19854 2013-09-09  Allan McRae  <allan@archlinux.org>
19856         [BZ #15939]
19857         * manual/string.texi (Collation Functions): Fix typo in
19858         strcoll example.
19859         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19861         [BZ #15893]
19862         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19864         [BZ #15892]
19865         * libio/memstream.c (open_memstream): Fix memory leak.
19866         * libio/wmemstream.c (open_wmemstream): Likewise.
19868         [BZ #15895]
19869         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19871 2013-09-09  Will Newton  <will.newton@linaro.org>
19873         * malloc/Makefile: Add tst-realloc to tests.
19874         * malloc/tst-realloc.c: New file.
19876 2013-09-09  Allan McRae  <allan@archlinux.org>
19878         [BZ #15844]
19879         * COPYING: Update from GNU website to fix FSF address.
19880         * COPYING.LIB: Likewise.
19882 2013-09-06  David S. Miller  <davem@davemloft.net>
19884         * po/zh_TW.po: Update Chinese (traditional) translation from
19885         translation project.
19887 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19888             Joseph Myers  <joseph@codesourcery.com>
19890         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19891         "localeinfo.h".
19892         (obstack_chunk_alloc): New macro.
19893         (obstack_chunk_free): Likewise.
19894         (record_offset): New function.
19895         (init_locale_data): Likewise.
19896         (align_locale_data): Likewise.
19897         (add_locale_empty): Likewise.
19898         (add_locale_raw_data): Likewise.
19899         (add_locale_raw_obstack): Likewise.
19900         (add_locale_string): Likewise.
19901         (add_locale_wstring): Likewise.
19902         (add_locale_uint32): Likewise.
19903         (add_locale_uint32_array): Likewise.
19904         (add_locale_char): Likewise.
19905         (start_locale_structure): Likewise.
19906         (end_locale_structure): Likewise.
19907         (start_locale_prelude): Likewise.
19908         (end_locale_prelude): Likewise.
19909         (write_locale_data): Take locale_file structure rather than an
19910         iovec.
19911         * locale/programs/locfile.h: Include "obstack.h".
19912         (struct locale_file): Change to store locale file contents instead
19913         of header.
19914         (init_locale_data): New prototype.
19915         (align_locale_data): Likewise.
19916         (add_locale_empty): Likewise.
19917         (add_locale_raw_data): Likewise.
19918         (add_locale_raw_obstack): Likewise.
19919         (add_locale_string): Likewise.
19920         (add_locale_wstring): Likewise.
19921         (add_locale_uint32): Likewise.
19922         (add_locale_uint32_array): Likewise.
19923         (add_locale_char): Likewise.
19924         (start_locale_structure): Likewise.
19925         (end_locale_structure): Likewise.
19926         (start_locale_prelude): Likewise.
19927         (end_locale_prelude): Likewise.
19928         (write_locale_data): Update prototype.
19929         * locale/programs/3level.h (struct TABLE): Remove result field.
19930         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19931         Use new locale_file interface.
19932         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19933         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19934         * locale/programs/ld-address.c (address_output): Use new
19935         locale_file interface.
19936         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19937         NO_ADD_LOCALE.
19938         (collate_finish): Don't call collseq_table_finalize.
19939         (collate_output): Use new locale_file interface.
19940         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19941         in file.
19942         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19943         (TABLE): Move defines earlier in file.
19944         (ELEMENT): Likewise.
19945         (DEFAULT): Likewise.
19946         (wctrans_table_add): Move macro and inline function earlier in
19947         file.
19948         (struct wctype_table): Move type earlier in file.
19949         (add_locale_wctype_table): New static prototype.
19950         (struct locale_ctype_t): Use logical types instead of struct iovec
19951         pointers for members.
19952         (ctype_output): Use new locale_file interface.
19953         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19954         new locale_file interface.
19955         (allocate_arrays): Update for use of new locale_file interface.
19956         * locale/programs/ld-identification.c (identification_output): Use
19957         new locale_file interface.
19958         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19959         * locale/programs/ld-messages.c (messages_output): Likewise.
19960         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19961         * locale/programs/ld-name.c (name_output): Likewise.
19962         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19963         * locale/programs/ld-paper.c (paper_output): Likewise.
19964         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19965         * locale/programs/ld-time.c (time_output): Likewise.
19967 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19969         * benchtests/Makefile: Add memrchr benchmark.
19970         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19971         benchmark as memrchr.
19972         * benchtests/bench-memrchr-ifunc.c: New file.
19973         * benchtests/bench-memrchr.c: New file.
19975 2013-09-06   Will Newton  <will.newton@linaro.org>
19977         * benchtests/Makefile (string-bench): Add memcpy.
19979 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19980             Cong Wang  <amwang@redhat.com>
19982         [BZ #15850]
19983         * sysdeps/unix/sysv/linux/bits/in.h
19984         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19985         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19986         before __USE_KERNEL_IPV6_DEFS uses.
19987         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19988         IPPROTO_BEETPH.
19989         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19990         sockaddr_in6, or ipv6_mreq.
19992 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19994         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19995         memory access for final bytes in some large inputs.
19996         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19998 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20000         * string/test-memrchr.c: New file.
20001         * string/test-memrchr-ifunc.c: New file.
20002         * string/Makefile: Add new memrchr testcase.
20004 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
20006         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20007         fanotify_init returns EPERM.
20009 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20011         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20012         errors.
20013         (top level): Treat second token from macro or constant entries for
20014         allowed headers as allowed.
20015         * include/complex.h: Condition internal declarations on
20016         [!_ISOMAC].
20017         * include/fenv.h: Condition include of <stdbool.h> and internal
20018         declarations on [!_ISOMAC].
20020 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
20022         [BZ #15923]
20023         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20025 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20027         * configure.in (--enable-versioning): Remove configure option.
20028         (libc_cv_asm_symver_directive): Remove configure test.
20029         (libc_cv_ld_version_script_option): Likewise.
20030         (VERSIONING): Remove variable and AC_SUBST.
20031         (DO_VERSIONING): Remove AC_DEFINE.
20032         * configure: Regenerated.
20033         * config.h.in (DO_VERSIONING): Remove macro.
20034         * Makerules [$(versioning) = yes]: Change conditionals to
20035         [$(build-shared) = yes].
20036         * config.make.in (versioning): Remove variable.
20037         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20038         [$(build-shared) = yes].
20039         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20040         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20041         * elf/Makefile [$(versioning) = yes]: Change conditionals to
20042         [$(build-shared) = yes].
20043         * extra-lib.mk [$(versioning) = yes]: Likewise.
20044         * hurd/Makefile [$(versioning) = yes]: Likewise.
20045         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20046         [SHARED].
20047         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20048         [SHARED].
20049         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20050         [SHARED && !NO_HIDDEN].
20051         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20052         [SHARED].
20053         [SHARED && DO_VERSIONING]: Likewise..
20054         * libio/Makefile [$(versioning) = yes]: Change conditionals to
20055         [$(build-shared) = yes].
20056         * manual/install.texi (--disable-versioning): Remove
20057         documentation.
20058         * INSTALL: Regenerated.
20059         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20060         to [SHARED].
20061         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20062         [$(build-shared) = yes].
20063         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20064         * sysdeps/i386/i686/multiarch/strstr-c.c
20065         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20066         [SHARED && !NO_HIDDEN].
20067         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20068         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20069         * sysdeps/powerpc/powerpc32/dl-machine.c
20070         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20071         * sysdeps/powerpc/powerpc32/sysdep.h
20072         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20073         to [SHARED && PIC && !NO_HIDDEN].
20074         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20075         conditional to [SHARED].
20077 2013-09-04   Will Newton  <will.newton@linaro.org>
20079         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20080         * benchtests/bench-string.h: Include bench-timing.h instead
20081         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20082         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20083         call to HP_TIMING_DIFF_INIT.
20084         * benchtests/bench-memccpy.c: Use bench-timing.h macros
20085         instead of hp-timing.h macros.
20086         * benchtests/bench-memchr.c: Likewise.
20087         * benchtests/bench-memcmp.c: Likewise.
20088         * benchtests/bench-memcpy.c: Likewise.
20089         * benchtests/bench-memmem.c: Likewise.
20090         * benchtests/bench-memmove.c: Likewise.
20091         * benchtests/bench-memset.c: Likewise.
20092         * benchtests/bench-rawmemchr.c: Likewise.
20093         * benchtests/bench-strcasecmp.c: Likewise.
20094         * benchtests/bench-strcasestr.c: Likewise.
20095         * benchtests/bench-strcat.c: Likewise.
20096         * benchtests/bench-strchr.c: Likewise.
20097         * benchtests/bench-strcmp.c: Likewise.
20098         * benchtests/bench-strcpy.c: Likewise.
20099         * benchtests/bench-strcpy_chk.c: Likewise.
20100         * benchtests/bench-strlen.c: Likewise.
20101         * benchtests/bench-strncasecmp.c: Likewise.
20102         * benchtests/bench-strncat.c: Likewise.
20103         * benchtests/bench-strncmp.c: Likewise.
20104         * benchtests/bench-strncpy.c: Likewise.
20105         * benchtests/bench-strnlen.c: Likewise.
20106         * benchtests/bench-strpbrk.c: Likewise.
20107         * benchtests/bench-strrchr.c: Likewise.
20108         * benchtests/bench-strspn.c: Likewise.
20109         * benchtests/bench-strstr.c: Likewise.
20111 2013-09-04  Will Newton  <will.newton@linaro.org>
20113         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20115 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
20117         [BZ #15427]
20118         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20119         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20120         * math/libm-test.inc (lgamma_test_data): Add more tests.
20121         * sysdeps/i386/fpu/libm-test-ulps: Update.
20122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20124 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
20126         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20127         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20128         Add ifunc.
20129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20130         Add strcmp-sse2-unaligned
20131         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20133 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20135         * Versions.def (libc): Add GLIBC_2.19.
20137 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20139         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20140         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20142 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
20144         [BZ #14155]
20145         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20146         intermediate calculations in recurrence.
20147         (__ieee754_ynf): Likewise.
20148         * math/libm-test.inc (jn_test_data): Do not allow spurious
20149         underflow exception.  Add more tests.
20150         (yn_test_data): Add more tests.
20151         * sysdeps/i386/fpu/libm-test-ulps: Update.
20152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20154 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
20156         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20158 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20160         * csu/init-first.c: Fix then/than typos.
20161         * locale/programs/ld-collate.c: Likewise.
20162         * locale/programs/linereader.h: Likewise.
20163         * manual/charset.texi: Likewise.
20164         * manual/filesys.texi: Likewise.
20165         * manual/stdio.texi: Likewise.
20166         * manual/string.texi: Likewise.
20167         * stdlib/fmtmsg.c: Likewise.
20168         * sysdeps/i386/stpncpy.S: Likewise.
20169         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20170         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20171         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20172         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20174 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20176         * elf/dl-open.c: Fix typos.
20177         * iconvdata/gbbig5.c: Likewise.
20178         * iconvdata/iso-2022-jp.c: Likewise.
20179         * iconv/gconv_int.h: Likewise.
20180         * iconv/loop.c: Likewise.
20181         * nis/rpcsvc/nis.h: Likewise.
20182         * resolv/ns_name.c: Likewise.
20183         * stdio-common/vfscanf.c: Likewise.
20184         * streams/stropts.h: Likewise.
20185         * sunrpc/rpc_thread.c: Likewise.
20186         * sysdeps/i386/strpbrk.S: Likewise.
20187         * sysdeps/ieee754/k_standard.c: Likewise.
20188         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20189         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20190         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20191         * sysdeps/mach/hurd/profil.c: Likewise.
20192         * sysdeps/s390/dl-procinfo.h: Likewise.
20193         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20194         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20195         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20196         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20197         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20199 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20201         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20204 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20206         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20207         aix specific files.
20208         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20209         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20210         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20211         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20212         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20213         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20214         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20215         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20217 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20218             Roland McGrath  <roland@hack.frob.com>
20220         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20221         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20223 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20225         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20226         __executable_start symbol instead of _start.
20228 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20230         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20231         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20232         Move macros to...
20233         * sysdeps/gnu/ldsodefs.h: ... this new file.
20235         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20236         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20237         instead of ELFOSABI_LINUX.
20239         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20240         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20241         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20242         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20243         Likewise.
20244         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20245         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20246         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20247         Likewise.
20248         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20249         (ibm_extended_long_double): Add ieee_nan member.
20250         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20251         (do_test): New function.
20253         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20254         TEST_TRUNC.
20255         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20256         functions, renamed from truncdfsf_test, trunctfsf_test,
20257         trunctfdf_test.
20258         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20259         functions.
20260         (do_test): Run all these.
20262 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20264         * argp/argp-help.c: Fix typos.
20265         * argp/argp-parse.c: Likewise.
20266         * debug/backtracesyms.c: Likewise.
20267         * elf/elf.h: Likewise.
20268         * malloc/malloc.c: Likewise.
20269         * nis/nis_print.c: Likewise.
20270         * resolv/res_comp.c: Likewise.
20271         * stdlib/stdlib.h: Likewise.
20272         * sunrpc/clnt_tcp.c: Likewise.
20273         * sunrpc/clnt_udp.c: Likewise.
20274         * sunrpc/clnt_unix.c: Likewise.
20275         * sysdeps/unix/bsd/ptsname.c: Likewise.
20276         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20277         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20279         Likewise.
20280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20281         Likewise.
20282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20283         Likewise.
20284         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20286 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20288         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20291 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20293         [BZ #15897]
20294         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20295         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20296         ($(objpfx)bug-dl-leaf): New rule.
20297         ($(objpfx)bug-dl-leaf.so): Likewise.
20298         ($(objpfx)bug-dl-leaf.out): Likewise.
20299         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20300         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20301         * dlfcn/bug-dl-leaf.c: New test.
20302         * dlfcn/bug-dl-leaf-lib.c: Likewise.
20303         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20304         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20305         (dlclose): Likewise.
20306         (dlmopen): Likewise.
20308 2013-08-27  Roland McGrath  <roland@hack.frob.com>
20310         * include/netdb.h [!_ISOMAC]:
20311         Don't include <tls.h>.
20312         (h_errno, __libc_h_errno): Move declaration and macros out of
20313         [_LIBC_REENTRANT].
20315         * include/resolv.h [_RESOLV_H_]:
20316         Don't include <tls.h>.
20317         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20318         * resolv/res_libc.c: Don't include <tls.h>.
20319         (_res): Use __attribute__ ((nocommon)) in place of
20320         __attribute__ ((section (".bss"))).
20322         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20323         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20325         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20327         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20328         only under [SIOCGIFCONF && SIOCGIFNETMASK].
20330         * resolv/res_mkquery.c: Include <sys/time.h>.
20332         * inet/ifreq.c: Moved to ...
20333         * sysdeps/unix/ifreq.c: ... here.
20334         * inet/ifreq.c: New file, true stub version.
20336         * socket/sa_len.c: New file.
20337         * socket/Makefile (aux): Add it.
20338         * sysdeps/unix/sysv/linux/Makefile
20339         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20340         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20341         and #include <socket/sa_len.c>.
20342         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20343         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20345         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20346         * bits/socket.h: ... here.
20348         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20349         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20350         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20352 2013-08-27  Andreas Schwab  <schwab@suse.de>
20354         [BZ #15736]
20355         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20356         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20357         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20358         * string/test-strcasecmp.c (test_main): Run tests in several
20359         locales.
20360         * string/test-strncasecmp.c (test_main): Likewise.
20362         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20363         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20364         to __strcasecmp_nonascii and __strncasecmp_nonascii.
20365         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20366         (__strncasecmp_ssse3) [PIC]: Likewise.
20368 2013-08-26  Roland McGrath  <roland@hack.frob.com>
20370         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20372         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20373         instead of explicitly declaring xdecrypt.
20374         * nis/nss_nis/nis-publickey.c: Likewise.
20376 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20378         [BZ #15890]
20379         * nscd/aicache.c: Include res_hconf.h.
20380         (addhstaiX): Initialize res_hconf.
20382 2013-08-26  Andreas Schwab  <schwab@suse.de>
20384         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20385         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20387 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20389         * nscd/aicache.c (addhstaiX): Fix indentation.
20391 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
20393         * configure.ac: Quote $build_pt_chown test.
20394         * configure: Regenerated.
20396 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
20398         [BZ #15532]
20399         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20400         * math/s_cexpf.c (__cexpf): Likewise.
20401         * math/s_cexpl.c (__cexpl): Likewise.
20402         * math/libm-test.inc (cexp_test_data): Correct expected return
20403         value for NaN + i0.  Add another test.
20405 2013-08-22  David S. Miller  <davem@davemloft.net>
20407         * po/ca.po: Update Catalan translation from translation project.
20408         * po/uk.po: Add Ukrainian translations from translation project.
20410 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
20412         [BZ #15797]
20413         * math/s_fdim.c (__fdim): Check for infinite arguments if result
20414         is infinite, not alongside NaN test.
20415         * math/s_fdimf.c (__fdimf): Likewise.
20416         * math/s_fdiml.c (__fdiml): Likewise.
20417         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
20418         errno is unchanged.
20420 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
20422         * argp/argp-help.c: Fix typos.
20423         * crypt/speeds.c: Likewise.
20424         * csu/check_fds.c: Likewise.
20425         * elf/dl-load.c: Likewise.
20426         * elf/dl-open.c: Likewise.
20427         * elf/reldep3.c: Likewise.
20428         * elf/reldep.c: Likewise.
20429         * elf/sprof.c: Likewise.
20430         * iconv/iconv_charmap.c: Likewise.
20431         * iconv/skeleton.c: Likewise.
20432         * iconv/strtab.c: Likewise.
20433         * io/lockf64.c: Likewise.
20434         * libio/libioP.h: Likewise.
20435         * resolv/gai_notify.c: Likewise.
20436         * resolv/ns_name.c: Likewise.
20437         * resolv/ns_samedomain.c: Likewise.
20438         * resolv/res_send.c: Likewise.
20439         * stdlib/random.c: Likewise.
20440         * sunrpc/rpc/xdr.h: Likewise.
20441         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20442         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20443         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20444         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20445         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20446         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20447         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20448         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20449         * sysdeps/mach/hurd/check_fds.c: Likewise.
20450         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20451         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20452         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20453         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20454         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20455         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20456         * sysdeps/pthread/aio_notify.c: Likewise.
20457         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20458         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20459         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20460         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20461         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20463 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20465         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20466         version if bit_Slow_SSE4_2 is set.
20467         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20468         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20470 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20472         [BZ #15867]
20473         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20474         trampoline stack frame information.
20475         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20476         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20477         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20478         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20479         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20480         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20481         (_libc_vdso_platform_setup): Initialize the signal trampolines.
20482         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20483         sa_flags value.
20484         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20485         interrupting a syscall and set with option SA_SIGINFO.
20487 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20489         [BZ #15531]
20490         * math/s_cproj.c (__cproj): Only return an infinity if one part of
20491         argument is infinite.
20492         * math/s_cprojf.c (__cprojf): Likewise.
20493         * math/s_cprojl.c (__cprojl): Likewise.
20494         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20495         * math/libm-test.inc (cproj_test_data): Add more tests.
20497         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20499         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20500         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20501         size.  Use __ffs to determine corresponding shift.
20503 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20504             Roland McGrath  <roland@hack.frob.com>
20506         * Makefile (INSTALL): Remove trailing blank lines from output of
20507         makeinfo.
20509 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20511         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20512         Align 32 bit compat elf_greg to 8 bytes.
20514 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
20516         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20518 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20520         * string/strcoll_l.c (coll_seq): New structure.
20521         (get_next_seq_cached): New function.
20522         (get_next_seq): New function.
20523         (do_compare): New function.
20524         (STRCOLL): Use GNU style definition.  Simplify implementation
20525         by using get_next_seq, get_next_seq_cached and do_compare.
20527 2013-08-16  Florian Weimer  <fweimer@redhat.com>
20529         [BZ #14699]
20530         CVE-2013-4237
20531         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20532         member.
20533         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20534         member.
20535         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20536         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20537         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
20538         conditional.
20539         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20540         GETDENTS_64BIT_ALIGNED.
20541         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20542         * manual/filesys.texi (Reading/Closing Directory): Document
20543         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
20544         strongly.
20545         * manual/conf.texi (Limits for Files): Add portability note to
20546         NAME_MAX, PATH_MAX.
20547         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20549 2013-08-13  Andreas Schwab  <schwab@suse.de>
20551         [BZ #15749]
20552         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20553         of fabs.
20554         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20555         LDBL_MAX_EXP >= 16384]: Add tests for it.
20557 2013-08-12  David S. Miller  <davem@davemloft.net>
20559         * version.h (RELEASE): Set to "development".
20560         (VERSION): Set to "2.18.90".
20561         * NEWS: Add 2.19 section.
20563 2013-08-03  David S. Miller  <davem@davemloft.net>
20565         * po/ko.po: Update Korean translation from translation project.
20567 2013-08-01  David S. Miller  <davem@davemloft.net>
20569         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
20570         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20571         Bilka.
20573 2013-07-30  David S. Miller  <davem@davemloft.net>
20575         * po/fr.po: Update French translation from translation project.
20577 2013-07-28  David S. Miller  <davem@davemloft.net>
20579         * po/cs.po: Update Czech translation from translation project.
20581         * po/sv.po: Update Swedish translation from translation project.
20583 2013-07-27  David S. Miller  <davem@davemloft.net>
20585         * po/eo.po: Update Esperanto translation from translation project.
20587         * po/vi.po: Update Vietnamese translation from translation project.
20589         * po/de.po: Update German translation from translation project.
20591 2013-07-26  David S. Miller  <davem@davemloft.net>
20593         * po/bg.po: Update Bulgarian translation from translation project.
20595         * po/nl.po: Update Dutch translation from translation project.
20596         * po/pl.po: Update Polish translation from translation project.
20597         * po/ru.po: Update Russian translation from translation project.
20599 2013-07-24  David S. Miller  <davem@davemloft.net>
20601         * po/libc.pot: Update.
20603 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20605         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20606         variable page size.
20607         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20608         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20609         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20611 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20613         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20615 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20616             Andreas Schwab  <schwab@suse.de>
20617             Roland McGrath  <roland@hack.frob.com>
20618             Joseph Myers  <joseph@codesourcery.com>
20619             Carlos O'Donell  <carlos@redhat.com>
20621         [BZ #15755]
20622         * config.h.in: Define HAVE_PT_CHOWN.
20623         * config.make.in (build-pt-chown): New variable.
20624         * configure.in (--enable-pt_chown): New configure option.
20625         * configure: Regenerate.
20626         * login/Makefile: Include Makeconfig.  Build pt_chown only if
20627         build-pt-chown is enabled.
20628         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20629         pt_chown to fix pty ownership.
20630         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20631         CLOSE_ALL_FDS.
20632         * manual/install.texi (Configuring and compiling): Mention
20633         --enable-pt_chown. Add @findex for grantpt.
20634         * INSTALL: Regenerate.
20636 2013-07-20  David S. Miller  <davem@davemloft.net>
20638         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20639         difference between 32-bit and 64-bit.
20641 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
20643         [BZ #15711]
20644         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20645         Avoid system header dependency with -ffreestanding.
20646         ($(objpfx)bits/syscall%d): Likewise.
20648 2013-07-13  David S. Miller  <davem@davemloft.net>
20650         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20651         underflows from atanl/atan2l due to bug 15319.
20652         (casinh_test_data): Likewise.
20654 2013-07-07  David S. Miller  <davem@davemloft.net>
20656         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20658 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
20660         * sysdeps/i386/fpu/libm-test-ulps: Update.
20661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20663 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20665         * configure.in (--enable-lock-elision): Fix message text.
20666         * INSTALL: Regenerate.
20667         * configure: Regenerate.
20669 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20673 2013-07-03  Andreas Jaeger  <aj@suse.de>
20675         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20676         define.
20677         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20678         (ptrace_peeksiginfo_args): Add.
20679         (__ptrace_peeksiginfo_flags): Add.
20680         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20681         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20682         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20684 2013-07-03  Allan McRae  <allan@archlinux.org>
20686         * sysdeps/i386/fpu/libm-test-ulps: Update.
20688 2013-07-02  David S. Miller  <davem@davemloft.net>
20690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20692 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
20694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20696 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20698         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20701 2013-07-02  Andi Kleen <ak@linux.intel.com>
20703         * config.h.in (ENABLE_LOCK_ELISION): Add.
20704         * configure.in (--enable-lock-elision): Add option.
20705         * manual/install.texi: Document --enable lock elision.
20706         * configure: Regenerate
20707         * INSTALL: Regenerate.
20709 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
20711         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20712         SSE4.2 strcasecmp for libc.a.
20713         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20715 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20717         [BZ #13304]
20718         * soft-fp/op-common.h (_FP_FMA): New macro.
20719         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20720         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
20721         (_FP_MUL_MEAT_1_imm): ... here.
20722         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
20723         (_FP_MUL_MEAT_1_wide): ... here.
20724         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
20725         (_FP_MUL_MEAT_1_hard): ... here.
20726         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20727         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
20728         (_FP_MUL_MEAT_2_wide): ... here.
20729         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
20730         (_FP_MUL_MEAT_2_wide_3mul): ... here.
20731         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
20732         (_FP_MUL_MEAT_2_gmp): ... here.
20733         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20734         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
20735         (_FP_MUL_MEAT_4_wide): ... here.
20736         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
20737         (_FP_MUL_MEAT_4_gmp): ... here.
20738         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20739         (_FP_WFRACBITS_DW_S): Likewise.
20740         (_FP_WFRACXBITS_DW_S): Likewise.
20741         (_FP_HIGHBIT_DW_S): Likewise.
20742         (FP_FMA_S): Likewise.
20743         (_FP_FRAC_HIGH_DW_S): Likewise.
20744         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20745         (_FP_WFRACBITS_DW_D): Likewise.
20746         (_FP_WFRACXBITS_DW_D): Likewise.
20747         (_FP_HIGHBIT_DW_D): Likewise.
20748         (FP_FMA_D): Likewise.
20749         (_FP_FRAC_HIGH_DW_D): Likewise.
20750         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20751         (_FP_WFRACBITS_DW_E): Likewise.
20752         (_FP_WFRACXBITS_DW_E): Likewise.
20753         (_FP_HIGHBIT_DW_E): Likewise.
20754         (FP_FMA_E): Likewise.
20755         (_FP_FRAC_HIGH_DW_E): Likewise.
20756         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20757         (_FP_WFRACBITS_DW_Q): Likewise.
20758         (_FP_WFRACXBITS_DW_Q): Likewise.
20759         (_FP_HIGHBIT_DW_Q): Likewise.
20760         (FP_FMA_Q): Likewise.
20761         (_FP_FRAC_HIGH_DW_Q): Likewise.
20762         * soft-fp/fmasf4.c: New file.
20763         * soft-fp/fmadf4.c: Likewise.
20764         * soft-fp/fmatf4.c: Likewise.
20766 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20769         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20770         Silvermont.
20771         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20772         macro.
20773         (index_Slow_SSE4_2): Likewise.
20774         (index_Prefer_PMINUB_for_stringop): Likewise.
20775         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20776         bit_Slow_SSE4_2 is set.
20777         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20778         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20780 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20782         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20783         rtld_global._dl_hwcap2.
20784         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20785         POWER8.
20786         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20787         POWER8 feature descriptions defined in _dl_hwcap2.
20788         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20789         string handling for POWER8 feature bits.
20790         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20791         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20792         _dl_powerpc_cap_flags.
20793         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20794         * sysdeps/powerpc/rtld-global-offsets.sym
20795         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20796         _dl_hwcap2 in the rtld_global_ro structure.
20798 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20800         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20801         hardware capabilities in support of AT_HWCAP2.
20802         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20803         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20804         GLRO(dl_hwcap2).
20805         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20806         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20807         explicitly the unknown a_type display mechanism is used.
20808         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20809         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20810         struct member.
20811         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20812         to macro prototype for AT_HWCAP2 support.
20813         * sysdeps/i386/dl-procinfo.h: Likewise.
20814         * sysdeps/s390/dl-procinfo.h: Likewise.
20815         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20816         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20817         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20818         return -1 for unknown a_type display fallback.
20819         * sysdeps/sparc/dl-procinfo.h: Likewise.
20820         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20821         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20823 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20825         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20826         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20828 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20830         [BZ #12492]
20831         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20832         mprotect making __stack_prot writable.
20834 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20835             Joseph Myers  <joseph@codesourcery.com>
20837         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20838         as being properly aligned.
20840 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20842         * dlfcn/modstatic5.c: New file.
20843         * dlfcn/tststatic5.c: New file.
20844         * dlfcn/Makefile (tests): Add tststatic5.
20845         (tests-static): Likewise.
20846         (modules-names): Add modstatic5.
20847         (tststatic5-ENV): New variable.
20848         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20850         [BZ #15022]
20851         * elf/dl-support.c (_dl_main_map): New variable.
20852         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20853         (_dl_nns, _dl_load_adds): Set to 1.
20854         (_dl_initial_searchlist): Refer to _dl_main_map.
20855         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20856         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20857         call to _dl_get_origin.
20858         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20859         around call_map.
20860         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20861         * dlfcn/modstatic3.c: New file.
20862         * dlfcn/tststatic3.c: New file.
20863         * dlfcn/tststatic4.c: New file.
20864         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20865         (tests-static): Likewise.
20866         (modules-names): Add modstatic3.
20867         (tststatic3-ENV, tststatic4-ENV): New variables.
20868         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20869         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20871 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20873         * configure.in (CC): Require GCC version 4.4 or later.
20874         * configure: Regenerated.
20875         * manual/install.texi (Tools for Compilation): Update GCC version
20876         requirement.
20877         * INSTALL: Regenerated.
20879 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20881         [BZ #15674]
20882         * string/test-memcmp.c (check2): New.
20883         (main): Call check2.
20885         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20887 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20889         [BZ #15022]
20890         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20891         over to...
20892         (dl_open_worker) [!SHARED]: ... here.
20894 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20896         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20898 2013-06-25  Richard Henderson  <rth@redhat.com>
20900         * locale/programs/locarchive.c: Include <libc-internal.h>
20902 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20904         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20905         trailing whitespace removed.
20907 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20909         [BZ #10283]
20910         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20911         * locale/programs/locarchive.c: Include libc-mmap.h.
20912         (prepare_address_space): Take two new outputs (the mmap base and len).
20913         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20914         values.
20915         (create_archive): Declare new mmap base and len values for
20916         prepare_address_space, and store the result in ah.
20917         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20918         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20919         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20920         Declare new mmap base and len values for
20921         prepare_address_space, and store the result in new_ah.
20922         (open_archive): Declare new mmap base and len values for
20923         prepare_address_space, and store the result in ah.
20924         (close_archive): If ah->mmap_base is not NULL, use that and
20925         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20926         * sysdeps/generic/libc-mmap.h: New file.
20928 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20930         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20931         (ALIGN_UP): Likewise.
20932         (PTR_ALIGN_DOWN): Likewise.
20933         (PTR_ALIGN_UP): Likewise.
20935 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20937         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20938         entry mapped to PPC_PLATFORM_POWER8.
20939         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20940         POWER8.
20941         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20942         (_dl_string_platform): Add case for exporting platform position for
20943         POWER8.
20944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20945         search path to sysdeps/powerpc/powerpc32/power8 directory.
20946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20947         search path to sysdeps/powerpc/powerpc64/power8 directory.
20948         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20949         power7 directories.
20950         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20951         power7 directories.
20953 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20955         * INSTALL: Regenerate.
20957         * nscd/connections.c (nscd_init): Fix comment.
20959 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20961         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20963         [BZ #15667]
20964         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20965         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20967 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20969         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20970         DL_DST_REQ_STATIC.
20971         (DL_DST_REQ_STATIC): Remove macro.
20973 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20975         [BZ #7006]
20976         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20977         with a shift of 0 bits.
20979 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20981         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20982         $(tststatic-ENV).
20984 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20986         [BZ #15655]
20987         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20989 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20991         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20992         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20993         accepts -fno-tree-loop-distribute-patterns.
20994         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20995         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20996         recursive call.
20997         * string/memset.c (memset): Likewise.
20998         * string/test-memmove.c (simple_memmove): Disable loop transformation
20999         to library calls.
21000         * string/test-memset.c (simple_memset): Likewise.
21001         * benchtests/bench-memmove.c (simple_memmove): Likewise.
21002         * benchtests/bench-memset.c (simple_memset): Likewise.
21003         * configure: Regenerated.
21005 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
21007         * math/test-misc.c (main): Ignore fesetround failure when failures
21008         of subsequent rounding tests would be ignored.
21010         [BZ #15654]
21011         * math/fedisblxcpt.c (fedisableexcept): Return 0.
21012         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21013         * math/fegetenv.c (__fegetenv): Return 0.
21014         * math/fegetexcept.c (fegetexcept): Return 0.
21015         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21016         FE_TONEAREST.
21017         * math/feholdexcpt.c (feholdexcept): Return 0.
21018         * math/fesetenv.c (__fesetenv): Return 0.
21019         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21020         argument FE_TONEAREST.
21021         * math/feupdateenv.c (__feupdateenv): Return 0.
21022         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21024 2013-06-18  Roland McGrath  <roland@hack.frob.com>
21026         * elf/rtld-Rules (rtld-compile-command.S): New variable.
21027         (rtld-compile-command.s, rtld-compile-command.c): New variables.
21028         ($(objpfx)rtld-%.os rules): Use them.
21030 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21032         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21033         fields.
21035 2013-06-17  Roland McGrath  <roland@hack.frob.com>
21037         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21038         length of target pattern, then descending length of dependency pattern.
21039         * configure.in (AWK): Require gawk 3.1.2 or newer.
21040         * manual/install.texi (Tools for Compilation): Say that we do.
21041         * configure: Regenerated.
21043         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21044         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21045         * scripts/sysd-rules.awk: ... this new script.
21046         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21047         than a glob-style pattern.
21049 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
21051         * math/test-misc.c (main): Do not treat incorrectly rounded
21052         conversions as failure unless ROUNDING_TESTS passes.
21054 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
21056         [BZ #15631]
21057         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21058         restore exception state around main square root computation, then
21059         check for inexactness explicitly.
21061         * math/libm-test.inc (fma_test_data): Add another test.
21063 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21065         * manual/threads.texi (Non-POSIX Extensions): New document
21066         node.  Document pthread_getattr_default_np and
21067         pthread_setattr_default_np.
21069         * Versions.def (libpthread): Add GLIBC_2.18.
21070         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21072         Likewise.
21073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21074         Likewise.
21075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21076         Likewise.
21077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21078         Likewise.
21079         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21080         Likewise.
21081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21082         Likewise.
21083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21084         Likewise.
21085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21086         Likewise.
21087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21088         Likewise.
21090 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21093         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21095 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21096             H.J. Lu  <hjl.tools@gmail.com>
21098         [BZ #15627]
21099         * sysdeps/x86_64/rtld-memset.c: Remove file.
21100         * sysdeps/x86_64/rtld-memset.S: New file.
21102 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
21104         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21105         (test_in_one_mode): Take arguments for whether the rounding mode
21106         is supported for each floating-point type.
21107         (do_test): Pass new arguments to test_in_one_mode using
21108         ROUNDING_TESTS.
21110 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21112         * posix/tst-waitid.c (do_test): Distinguish different instances of
21113         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
21114         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21115         before entering the kernel for waitpid.
21117 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21119         * NEWS: Fix note on clock function precision.  Text by Roland
21120         McGrath.
21122 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21124         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21125         it into place only when and if the sanity check passes.
21127 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
21129         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21130         output for whether conversion result is exact.  Take argument
21131         indicating whether type is IBM long double.
21132         (round_for_all): Change need_exact field to ibm_ld.
21133         * stdlib/tst-strtod-round.c (struct exactness): New type.
21134         (struct test): Change bool ld_ok field to struct exactness exact.
21135         (TEST): Update all definitions for change to field.
21136         (tests): Regenerate array contents.
21137         (test_in_one_mode): Take pointer to new field instead of old ld_ok
21138         field value.  Check for IBM long double here.
21139         (do_test): Update calls to test_in_one_mode.
21141 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21143         [BZ #12515]
21144         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21145         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21147 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21149         [BZ #15605]
21150         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21151         generated by the compiler on loop optimizations.
21152         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21153         general definitions.
21155 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
21157         * math/bug-nextafter.c: Include <math-tests.h>.
21158         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21159         the relevant type.
21160         * math/bug-nexttoward.c: Include <math-tests.h>.
21161         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21162         the relevant type.
21163         * math/test-misc.c: Include <math-tests.h>.
21164         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21165         the relevant type.
21167 2013-06-12  Andreas Jaeger  <aj@suse.de>
21169         * po/ia.po: Update Interlingua translation from translation
21170         project.
21172 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21174         * include/fenv.h: Include stdbool.h.
21175         (struct rm_ctx): New structure.
21176         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21177         Define macro.
21178         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21179         (SET_RESTORE_ROUNDF): Likewise.
21180         (SET_RESTORE_ROUNDL): Likewise.
21181         (SET_RESTORE_ROUND_NOEX): Likewise.
21182         (SET_RESTORE_ROUND_NOEXF): Likewise.
21183         (SET_RESTORE_ROUND_NOEXL): Likewise.
21184         (SET_RESTORE_ROUND_53BIT): Likewise.
21185         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21186         (libc_feresetround_noexf_ctx): Likewise.
21187         (libc_feresetround_noexl_ctx): Likewise.
21188         (libc_feholdsetround_53bit_ctx): Likewise.
21189         (libc_feresetround_53bit_ctx): Likewise.
21190         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21191         (libc_feholdexcept_setround_sse_ctx): New function.
21192         (libc_fesetenv_sse_ctx): Likewise.
21193         (libc_feupdateenv_sse_ctx): Likewise.
21194         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21195         (libc_feholdexcept_setround_387_ctx): Likewise.
21196         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21197         (libc_feholdsetround_387_prec_ctx): Likewise.
21198         (libc_feholdsetround_387_ctx): Likewise.
21199         (libc_feholdsetround_387_53bit_ctx): Likewise.
21200         (libc_feholdsetround_sse_ctx): Likewise.
21201         (libc_feresetround_sse_ctx): Likewise.
21202         (libc_feresetround_387_ctx): Likewise.
21203         (libc_feupdateenv_387_ctx): Likewise.
21204         (libc_feholdexcept_setroundf_ctx): Define macro.
21205         (libc_fesetenvf_ctx): Likewise.
21206         (libc_feupdateenvf_ctx): Likewise.
21207         (libc_feholdsetroundf_ctx): Likewise.
21208         (libc_feresetroundf_ctx): Likewise.
21209         (libc_feholdexcept_setround_ctx): Likewise.
21210         (libc_fesetenv_ctx): Likewise.
21211         (libc_feupdateenv_ctx): Likewise.
21212         (libc_feholdsetround_ctx): Likewise.
21213         (libc_feresetround_ctx): Likewise.
21214         (libc_feholdexcept_setroundl_ctx): Likewise.
21215         (libc_feupdateenvl_ctx): Likewise.
21216         (libc_feholdsetroundl_ctx): Likewise.
21217         (libc_feresetroundl_ctx): Likewise.
21218         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21219         (libc_feresetround_53bit_ctx): Likewise.
21221 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21223         * locale/iso-639.def: Convert to UTF-8.
21225 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21227         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21228         (EXCEPTION_TESTS_double): Likewise.
21229         (EXCEPTION_TESTS_long_double): Likewise.
21230         (EXCEPTION_TESTS): Likewise.
21231         * math/libm-test.inc (test_exceptions): Only test exceptions if
21232         EXCEPTION_TESTS (FLOAT).
21234 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21236         * benchtests/Makefile (string-bench): Add strcpy_chk and
21237         stpcpy_chk.
21238         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21239         * benchtests/bench-stpcpy_chk.c: New file.
21240         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21241         * benchtests/bench-strcpy_chk.c: New file.
21242         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21243         code.
21244         (do_test): Likewise.
21246 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21248         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21249         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21250         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21251         with tabs where appropriate.
21252         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21253         dl-procinfo.h.
21254         [PPC_PLATFORM_PPC440]: Likewise.
21255         [PPC_PLATFORM_PPC464]: Likewise.
21256         [PPC_PLATFORM_PPC476]: Likewise.
21257         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21258         ppc464, and ppc476 platform strings merging from ports/
21259         dl-procinfo.h.
21261 2013-06-11  Andreas Schwab  <schwab@suse.de>
21263         [BZ #14991]
21264         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21265         (from_ucs4_idx): Regenerate.
21266         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21267         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21268         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21269         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21270         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21271         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21272         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21273         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21274         from FROM_LOOP and TO_LOOP specific macros.
21275         (BODY): Handle combining characters.
21276         * iconvdata/BIG5HKSCS.irreversible: Update.
21277         * iconvdata/BIG5HKSCS.precomposed: New file.
21278         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21279         characters.
21280         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21282 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21284         * include/sys/time.h: Fix indentation and add copyright header.
21286         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21287         (do_test): Likewise.
21288         * string/test-memchr.c (do_one_test): Likewise.
21289         (do_test): Likewise.
21290         * string/test-memcmp.c (do_one_test): Likewise.
21291         (do_test): Likewise.
21292         * string/test-memcpy.c (do_one_test): Likewise.
21293         (do_test): Likewise.
21294         * string/test-memmem.c (do_one_test): Likewise.
21295         (do_test): Likewise.
21296         (do_random_tests): Likewise.
21297         * string/test-memmove.c (do_one_test): Likewise.
21298         (do_test): Likewise.
21299         * string/test-memset.c (do_one_test): Likewise.
21300         (do_test): Likewise.
21301         * string/test-rawmemchr.c (do_one_test): Likewise.
21302         (do_test): Likewise.
21303         * string/test-strcasecmp.c (do_one_test): Likewise.
21304         (do_test): Likewise.
21305         * string/test-strcasestr.c (do_one_test): Likewise.
21306         (do_test): Likewise.
21307         * string/test-strcat.c (do_one_test): Likewise.
21308         (do_test): Likewise.
21309         * string/test-strchr.c (do_one_test): Likewise.
21310         (do_test): Likewise.
21311         * string/test-strcmp.c (do_one_test): Likewise.
21312         (do_test): Likewise.
21313         * string/test-strcpy.c (do_one_test): Likewise.
21314         (do_test): Likewise.
21315         * string/test-string.h: Likewise.
21316         (test_init): Likewise.
21317         * string/test-strlen.c (do_one_test): Likewise.
21318         (do_test): Likewise.
21319         * string/test-strncasecmp.c (do_one_test): Likewise.
21320         (do_test): Likewise.
21321         * string/test-strncat.c (do_one_test): Likewise.
21322         (do_test): Likewise.
21323         * string/test-strncmp.c (do_one_test): Likewise.
21324         (do_test_limit): Likewise.
21325         (do_test): Likewise.
21326         * string/test-strncpy.c (do_one_test): Likewise.
21327         (do_test): Likewise.
21328         * string/test-strnlen.c (do_one_test): Likewise.
21329         (do_test): Likewise.
21330         * string/test-strpbrk.c (do_one_test): Likewise.
21331         (do_test): Likewise.
21332         * string/test-strrchr.c (do_one_test): Likewise.
21333         (do_test): Likewise.
21334         * string/test-strspn.c (do_one_test): Likewise.
21335         (do_test): Likewise.
21336         * string/test-strstr.c (do_one_test): Likewise.
21337         (do_test): Likewise.
21339         * benchtests/Makefile (string-bench): Add string benchmarks.
21340         * benchtests/bench-bcopy-ifunc.c: New file.
21341         * benchtests/bench-bcopy.c: New file.
21342         * benchtests/bench-bzero-ifunc.c: New file.
21343         * benchtests/bench-bzero.c: New file.
21344         * benchtests/bench-memccpy-ifunc.c: New file.
21345         * benchtests/bench-memccpy.c: New file.
21346         * benchtests/bench-memchr-ifunc.c: New file.
21347         * benchtests/bench-memchr.c: New file.
21348         * benchtests/bench-memcmp-ifunc.c: New file.
21349         * benchtests/bench-memcmp.c: New file.
21350         * benchtests/bench-memmem-ifunc.c: New file.
21351         * benchtests/bench-memmem.c: New file.
21352         * benchtests/bench-memmove-ifunc.c: New file.
21353         * benchtests/bench-memmove.c: New file.
21354         * benchtests/bench-mempcpy-ifunc.c: New file.
21355         * benchtests/bench-mempcpy.c: New file.
21356         * benchtests/bench-memset-ifunc.c: New file.
21357         * benchtests/bench-memset.c: New file.
21358         * benchtests/bench-rawmemchr-ifunc.c: New file.
21359         * benchtests/bench-rawmemchr.c: New file.
21360         * benchtests/bench-stpcpy-ifunc.c: New file.
21361         * benchtests/bench-stpcpy.c: New file.
21362         * benchtests/bench-stpncpy-ifunc.c: New file.
21363         * benchtests/bench-stpncpy.c: New file.
21364         * benchtests/bench-strcasecmp-ifunc.c: New file.
21365         * benchtests/bench-strcasecmp.c: New file.
21366         * benchtests/bench-strcasestr-ifunc.c: New file.
21367         * benchtests/bench-strcasestr.c: New file.
21368         * benchtests/bench-strcat-ifunc.c: New file.
21369         * benchtests/bench-strcat.c: New file.
21370         * benchtests/bench-strchr-ifunc.c: New file.
21371         * benchtests/bench-strchr.c: New file.
21372         * benchtests/bench-strchrnul-ifunc.c: New file.
21373         * benchtests/bench-strchrnul.c: New file.
21374         * benchtests/bench-strcmp-ifunc.c: New file.
21375         * benchtests/bench-strcmp.c: New file.
21376         * benchtests/bench-strcpy-ifunc.c: New file.
21377         * benchtests/bench-strcpy.c: New file.
21378         * benchtests/bench-strcspn-ifunc.c: New file.
21379         * benchtests/bench-strcspn.c: New file.
21380         * benchtests/bench-strlen-ifunc.c: New file.
21381         * benchtests/bench-strlen.c: New file.
21382         * benchtests/bench-strncasecmp-ifunc.c: New file.
21383         * benchtests/bench-strncasecmp.c: New file.
21384         * benchtests/bench-strncat-ifunc.c: New file.
21385         * benchtests/bench-strncat.c: New file.
21386         * benchtests/bench-strncmp-ifunc.c: New file.
21387         * benchtests/bench-strncmp.c: New file.
21388         * benchtests/bench-strncpy-ifunc.c: New file.
21389         * benchtests/bench-strncpy.c: New file.
21390         * benchtests/bench-strnlen-ifunc.c: New file.
21391         * benchtests/bench-strnlen.c: New file.
21392         * benchtests/bench-strpbrk-ifunc.c: New file.
21393         * benchtests/bench-strpbrk.c: New file.
21394         * benchtests/bench-strrchr-ifunc.c: New file.
21395         * benchtests/bench-strrchr.c: New file.
21396         * benchtests/bench-strspn-ifunc.c: New file.
21397         * benchtests/bench-strspn.c: New file.
21398         * benchtests/bench-strstr-ifunc.c: New file.
21399         * benchtests/bench-strstr.c: New file.
21401         * benchtests/Makefile: Disable parallel execution of targets.
21402         (string-bench): Add memcpy.
21403         (benchset): New variable to store a list of benchmark sets.
21404         (bench-func): Renamed from bench.
21405         (bench-set): New target.
21406         (bench): Depend on bench-func and bench-set.
21407         * benchtests/README: Add section on benchmark sets.
21408         * benchtests/bench-memcpy-ifunc.c: New file.
21409         * benchtests/bench-memcpy.c: New file.
21410         * benchtests/bench-string.h: New file.
21412 2013-06-11  Andreas Schwab  <schwab@suse.de>
21414         [BZ #15577]
21415         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21416         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21417         values in the triple.
21418         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21419         terminator in the group key.
21421 2013-06-11  Andreas Jaeger  <aj@suse.de>
21423         * po/zh_TW.po: Update Chinese (traditional) translation from
21424         translation project.
21426 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21428         * include/time.h (__clock_gettime): Add libc_hidden_proto.
21429         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21430         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
21431         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21432         (clock_getcpuclockid): Likewise.
21433         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21434         Add weak_alias and libc_hidden_def.
21435         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21436         * rt/clock_gettime.c (clock_gettime): Rename to
21437         __clock_gettime.  Add weak_alias and libc_hidden_def.
21438         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21439         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21440         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
21441         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21442         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21443         Likewise.
21444         * rt/clock_settime.c (clock_settime): Rename to
21445         __clock_settime.  Add weak_alias and libc_hidden_def.
21446         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21448 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
21450         * mach/err_boot.sub: Remove trailing whitespace.
21451         * mach/err_ipc.sub: Likewise.
21452         * mach/err_mach.sub: Likewise.
21454         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21455         (ROUNDING_TESTS_double): Likewise.
21456         (ROUNDING_TESTS_long_double): Likewise.
21457         (ROUNDING_TESTS): Likewise.
21458         * math/libm-test.inc: Include <math-tests.h>.
21459         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21460         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21461         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21462         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21464 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21466         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21467         of assigning.
21469 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
21471         * sysdeps/gnu/errlist.awk: Do not generate space at end of
21472         otherwise empty TRANS lines.
21473         * sysdeps/gnu/errlist.c: Regenerated.
21475         * catgets/gencat.c (error_print): Use (void) in function
21476         definition.
21477         * crypt/crypt_util.c (__init_des): Likewise.
21478         * crypt/speeds.c (Stop): Likewise.
21479         (main): Likewise.
21480         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21481         * inet/ruserpass.c (token): Likewise.
21482         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21483         * intl/localealias.c (extend_alias_table): Likewise.
21484         * intl/plural-exp.c (init_germanic_plural): Likewise.
21485         * libio/fcloseall.c (__fcloseall): Likewise.
21486         * libio/genops.c (_IO_flush_all): Likewise.
21487         (_IO_flush_all_linebuffered): Likewise.
21488         (_IO_cleanup): Likewise.
21489         (_IO_iter_begin): Likewise.
21490         (_IO_iter_end): Likewise.
21491         (_IO_list_lock): Likewise.
21492         (_IO_list_unlock): Likewise.
21493         (_IO_list_resetlock): Likewise.
21494         * libio/getchar.c (getchar): Likewise.
21495         * libio/getchar_u.c (getchar_unlocked): Likewise.
21496         * libio/getwchar.c (getwchar): Likewise.
21497         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21498         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21499         * login/getpt.c (__getpt): Likewise.
21500         * login/tst-utmp.c (main): Likewise.
21501         * malloc/hooks.c (__malloc_check_init): Likewise.
21502         * malloc/malloc.c (__malloc_stats): Likewise.
21503         * malloc/mtrace.c (tr_break): Likewise.
21504         (mtrace): Likewise.
21505         (muntrace): Likewise.
21506         * misc/fstab.c (endfsent): Likewise.
21507         * misc/getclktck.c (__getclktck): Likewise.
21508         * misc/getdtsz.c (__getdtablesize): Likewise.
21509         * misc/gethostid.c (gethostid): Likewise.
21510         * misc/getpagesize.c (__getpagesize): Likewise.
21511         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21512         (__get_nprocs): Likewise.
21513         (__get_phys_pages): Likewise.
21514         (__get_avphys_pages): Likewise.
21515         * misc/getttyent.c (getttyent): Likewise.
21516         (setttyent): Likewise.
21517         (endttyent): Likewise.
21518         * misc/getusershell.c (getusershell): Likewise.
21519         (endusershell): Likewise.
21520         (setusershell): Likewise.
21521         (initshells): Likewise.
21522         * misc/hsearch.c (__hdestroy): Likewise.
21523         * misc/sync.c (sync): Likewise.
21524         * misc/syslog.c (closelog_internal): Likewise.
21525         (closelog): Likewise.
21526         * misc/ttyslot.c (ttyslot): Likewise.
21527         * misc/vhangup.c (vhangup): Likewise.
21528         * posix/fork.c (__fork): Likewise.
21529         * posix/getegid.c (__getegid): Likewise.
21530         * posix/geteuid.c (__geteuid): Likewise.
21531         * posix/getgid.c (__getgid): Likewise.
21532         * posix/getpid.c (__getpid): Likewise.
21533         * posix/getppid.c (__getppid): Likewise.
21534         * posix/getuid.c (__getuid): Likewise.
21535         * posix/pause.c (pause): Likewise.
21536         * posix/setpgrp.c (setpgrp): Likewise.
21537         * posix/setsid.c (__setsid): Likewise.
21538         * posix/test-vfork.c (noop): Likewise.
21539         * resolv/gethnamaddr.c (_endhtent): Likewise.
21540         (_gethtent): Likewise.
21541         (ht_endhostent): Likewise.
21542         (gethostent): Likewise.
21543         (dns_service): Likewise.
21544         * stdlib/drand48.c (drand48): Likewise.
21545         * stdlib/lrand48.c (lrand48): Likewise.
21546         * stdlib/mrand48.c (mrand48): Likewise.
21547         * stdlib/rand.c (rand): Likewise.
21548         * stdlib/random.c (__random): Likewise.
21549         * stdlib/setenv.c (clearenv): Likewise.
21550         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21551         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21552         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21553         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21554         (__get_nprocs): Likewise.
21555         (__get_phys_pages): Likewise.
21556         (__get_avphys_pages): Likewise.
21557         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21558         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21559         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21560         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21561         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21562         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21563         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21564         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21565         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21566         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21567         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21568         * sysdeps/mach/hurd/sync.c (sync): Likewise.
21569         * sysdeps/posix/clock.c (clock): Likewise.
21570         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21571         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21572         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21573         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21574         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21575         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21576         (__get_nprocs_conf): Likewise.
21577         (__get_phys_pages): Likewise.
21578         (__get_avphys_pages): Likewise.
21579         * time/clock.c (clock): Likewise.
21580         * time/tzset.c (__tzname_max): Likewise.
21582 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
21584         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21585         (__bswap_32): Do not use "register".
21586         * crypt/crypt.c (_ufc_doit_r): Likewise.
21587         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21588         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21589         * gmon/gmon.c (__monstartup): Likewise.
21590         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21591         * hurd/hurdmalloc.c (more_memory): Likewise.
21592         (malloc): Likewise.
21593         (free): Likewise.
21594         (realloc): Likewise.
21595         (malloc_fork_prepare): Likewise.
21596         (malloc_fork_parent): Likewise.
21597         (malloc_fork_child): Likewise.
21598         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21599         (_svcauth_des): Likewise.
21600         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21601         * inet/inet_net.c (inet_network): Likewise.
21602         * inet/inet_netof.c (inet_netof): Likewise.
21603         * inet/rcmd.c (__validuser2_sa): Likewise.
21604         * io/fts.c (fts_open): Likewise.
21605         (fts_load): Likewise.
21606         (fts_close): Likewise.
21607         (fts_read): Likewise.
21608         (fts_children): Likewise.
21609         (fts_build): Likewise.
21610         (fts_stat): Likewise.
21611         (fts_sort): Likewise.
21612         (fts_alloc): Likewise.
21613         (fts_lfree): Likewise.
21614         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21615         (_IO_file_xsgetn): Likewise.
21616         (_IO_file_xsgetn_mmap): Likewise.
21617         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21618         (_IO_cookie_write): Likewise.
21619         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21620         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21621         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21622         * malloc/obstack.c (_obstack_begin): Likewise.
21623         (_obstack_begin_1): Likewise.
21624         (_obstack_newchunk): Likewise.
21625         (_obstack_allocated_p): Likewise.
21626         (obstack_free): Likewise.
21627         (_obstack_memory_used): Likewise.
21628         * misc/getttyent.c (getttynam): Likewise.
21629         (getttyent): Likewise.
21630         (skip): Likewise.
21631         (value): Likewise.
21632         * misc/getusershell.c (initshells): Likewise.
21633         * misc/syslog.c (__vsyslog_chk): Likewise.
21634         * misc/ttyslot.c (ttyslot): Likewise.
21635         * nis/nis_hash.c (__nis_hash): Likewise.
21636         * posix/fnmatch_loop.c (FCT): Likewise.
21637         * posix/getconf.c (print_all): Likewise.
21638         (main): Likewise.
21639         * posix/getopt.c (exchange): Likewise.
21640         * posix/glob.c (globfree): Likewise.
21641         (prefix_array): Likewise.
21642         (__glob_pattern_type): Likewise.
21643         * resolv/arpa/nameser.h (NS_GET16): Likewise.
21644         (NS_GET32): Likewise.
21645         (NS_PUT16): Likewise.
21646         (NS_PUT32): Likewise.
21647         * resolv/gethnamaddr.c (getanswer): Likewise.
21648         (gethostbyname2): Likewise.
21649         (gethostbyaddr): Likewise.
21650         (_gethtent): Likewise.
21651         (_gethtbyname2): Likewise.
21652         (_gethtbyaddr): Likewise.
21653         * resolv/ns_print.c (dst_s_get_int16): Likewise.
21654         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21655         * resolv/res_init.c (__res_vinit): Likewise.
21656         (net_mask): Likewise.
21657         * resolv/res_mkquery.c (outchar): Likewise.
21658         (PRINT): Likewise.
21659         * stdio-common/printf_fp.c (outchar): Likewise.
21660         (PRINT): Likewise.
21661         * stdio-common/printf_fphex.c (outchar): Likewise.
21662         (PRINT): Likewise.
21663         * stdio-common/printf_size.c (outchar): Likewise.
21664         (PRINT): Likewise.
21665         * stdio-common/test_rdwr.c (main): Likewise.
21666         * stdio-common/tfformat.c (matches): Likewise.
21667         * stdio-common/vfprintf.c (outchar): Likewise.
21668         (printf_unknown): Likewise.
21669         (buffered_vfprintf): Likewise.
21670         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21671         * stdio-common/xbug.c (AppendToBuffer): Likewise.
21672         (ReadFile): Likewise.
21673         * stdlib/qsort.c (SWAP): Likewise.
21674         (_quicksort): Likewise.
21675         * stdlib/setenv.c (__add_to_environ): Likewise.
21676         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21677         * stdlib/strtol_l.c (__strtol_l): Likewise.
21678         * stdlib/tst-strtod.c (main): Likewise.
21679         * stdlib/tst-strtol.c (main): Likewise.
21680         * stdlib/tst-strtoll.c (main): Likewise.
21681         * string/bits/string2.h (__strcmp_cc): Likewise.
21682         (__strcmp_cg): Likewise.
21683         (__strcspn_c1): Likewise.
21684         (__strcspn_c2): Likewise.
21685         (__strcspn_c3): Likewise.
21686         (__strspn_c1): Likewise.
21687         (__strspn_c2): Likewise.
21688         (__strspn_c3): Likewise.
21689         (__strsep_1c): Likewise.
21690         (__strsep_2c): Likewise.
21691         (__strsep_3c): Likewise.
21692         * string/memccpy.c (__memccpy): Likewise.
21693         * string/stpcpy.c (__stpcpy): Likewise.
21694         * string/strcmp.c (strcmp): Likewise.
21695         * string/strrchr.c (strrchr): Likewise.
21696         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21697         Likewise.
21698         * sysdeps/mach/hurd/getcwd.c
21699         (_hurd_canonicalize_directory_name_internal): Likewise.
21700         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21701         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21702         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21703         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21704         Likewise, in both definitions.
21705         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21706         definitions.
21707         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21708         64] (__bswap_64): Likewise.
21709         * time/test_time.c (main): Likewise.
21710         * time/tzfile.c (__tzfile_read): Likewise.
21711         (__tzfile_compute): Likewise.
21712         * time/tzset.c (__tzset_parse_tz): Likewise.
21713         (tzset_internal): Likewise.
21714         (compute_change): Likewise.
21715         * wcsmbs/wcscat.c (__wcscat): Likewise.
21716         * wcsmbs/wcschr.c (wcschr): Likewise.
21717         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21718         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21719         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21720         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21721         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21722         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21723         * wcsmbs/wmemchr.c (wmemchr): Likewise.
21724         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21725         * wcsmbs/wmemset.c (wmemset): Likewise.
21727 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
21729         * scripts/config.guess: Update to version 2013-05-16.
21730         * scripts/config.sub: Update to version 2013-04-24.
21731         * scripts/install-sh: Update to version 2011-11-20.07.
21732         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21733         * scripts/move-if-change: Update to version 2012-01-06 07:23.
21735 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
21737         * debug/fgetws_u_chk.c: Fix leading whitespaces.
21738         * elf/sln.c: Likewise.
21739         * hurd/hurd/ioctl.h: Likewise.
21740         * hurd/hurdmalloc.c: Likewise.
21741         * hurd/xattr.c: Likewise.
21742         * include/shlib-compat.h: Likewise.
21743         * inet/ruserpass.c: Likewise.
21744         * libio/iofgets_u.c: Likewise.
21745         * libio/iofgetws_u.c: Likewise.
21746         * locale/programs/ld-identification.c: Likewise.
21747         * locale/programs/ld-time.c: Likewise.
21748         * mach/msg-destroy.c: Likewise.
21749         * nss/nss_files/files-netgrp.c: Likewise.
21750         * resolv/res_data.c: Likewise.
21751         * soft-fp/op-1.h: Likewise.
21752         * soft-fp/op-2.h: Likewise.
21753         * soft-fp/op-4.h: Likewise.
21754         * soft-fp/op-common.h: Likewise.
21755         * stdio-common/printf_fphex.c: Likewise.
21756         * stdlib/strtod_l.c: Likewise.
21757         * sunrpc/rpc/clnt.h: Likewise.
21758         * sysdeps/generic/framestate.c: Likewise.
21759         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21760         * sysdeps/i386/bsd-setjmp.S: Likewise.
21761         * sysdeps/i386/__longjmp.S: Likewise.
21762         * sysdeps/i386/setjmp.S: Likewise.
21763         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21764         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21765         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21766         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21767         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21768         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21769         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21770         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21771         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21772         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21773         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21774         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21775         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21776         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21777         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21778         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21779         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21780         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21781         * sysdeps/ieee754/support.c: Likewise.
21782         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21783         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21784         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21785         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21786         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21787         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21788         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21789         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21790         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21791         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21792         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21793         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21794         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21795         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21796         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21797         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21798         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21801 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21803         * posix/transbug.c: Remove executable mode.
21805 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21807         * crypt/speeds.c: Remove trailing whitespace.
21808         * dlfcn/default.c: Likewise.
21809         * elf/ifuncdep2.c: Likewise.
21810         * elf/ifuncmain1.c: Likewise.
21811         * elf/ifuncmain1vis.c: Likewise.
21812         * elf/testobj.h: Likewise.
21813         * elf/tst-stackguard1.c: Likewise.
21814         * gmon/sys/gmon.h: Likewise.
21815         * hurd/hurdmsg.c: Likewise.
21816         * hurd/new-fd.c: Likewise.
21817         * hurd/ports-get.c: Likewise.
21818         * iconvdata/ibm1008_420.c: Likewise.
21819         * inet/tst-getni1.c: Likewise.
21820         * inet/tst-getni2.c: Likewise.
21821         * libio/ioungetc.c: Likewise.
21822         * libio/wfiledoalloc.c: Likewise.
21823         * manual/libm-err-tab.pl: Likewise.
21824         * math/w_dremf.c: Likewise.
21825         * misc/ftruncate.c: Likewise.
21826         * posix/bug-glob2.c: Likewise.
21827         * posix/tst-pcre.c: Likewise.
21828         * posix/wait4.c: Likewise.
21829         * resolv/README: Likewise.
21830         * resolv/res_debug.h: Likewise.
21831         * resolv/tst-inet_ntop.c: Likewise.
21832         * setjmp/bug269-setjmp.c: Likewise.
21833         * soft-fp/extended.h: Likewise.
21834         * soft-fp/op-1.h: Likewise.
21835         * soft-fp/op-2.h: Likewise.
21836         * soft-fp/op-4.h: Likewise.
21837         * soft-fp/op-8.h: Likewise.
21838         * soft-fp/testit.c: Likewise.
21839         * stdio-common/bug16.c: Likewise.
21840         * stdlib/random.c: Likewise.
21841         * sunrpc/rpcsvc/rquota.x: Likewise.
21842         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21843         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21844         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21845         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21846         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21847         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21848         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21849         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21850         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21851         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21852         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21853         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21854         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21855         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21856         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21857         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21858         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21859         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21860         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21861         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21862         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21863         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21864         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21865         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21866         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21867         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21868         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21869         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21870         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21871         * sysdeps/ieee754/s_lib_version.c: Likewise.
21872         * sysdeps/mach/hurd/check_fds.c: Likewise.
21873         * sysdeps/mach/hurd/getsockname.c: Likewise.
21874         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21875         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21876         * sysdeps/powerpc/bits/link.h: Likewise.
21877         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21878         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21879         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21880         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21881         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21882         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21883         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21884         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21885         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21886         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21887         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21888         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21889         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21890         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21891         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21892         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21893         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21894         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21895         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21896         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21897         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21898         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21899         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21900         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21901         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21902         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21903         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21904         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21905         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21906         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21907         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21908         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21909         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21910         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21911         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21912         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21913         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21914         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21915         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21916         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21917         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21918         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21919         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21920         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21921         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21922         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21923         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21924         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21925         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21926         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21927         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21928         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21929         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21930         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21931         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21932         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21933         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21934         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21935         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21936         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21937         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21938         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21939         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21940         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21941         * sysdeps/powerpc/sysdep.h: Likewise.
21942         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21943         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21944         * sysdeps/sh/dl-trampoline.S: Likewise.
21945         * sysdeps/sh/memset.S: Likewise.
21946         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21947         * sysdeps/sh/strlen.S: Likewise.
21948         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21949         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21950         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21951         * sysdeps/sparc/sparc32/rem.S: Likewise.
21952         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21953         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21954         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21955         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21956         * sysdeps/sparc/sparc32/urem.S: Likewise.
21957         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21958         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21959         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21960         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21961         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21962         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21963         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21964         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21965         * sysdeps/unix/bsd/times.c: Likewise.
21966         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21967         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21971         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21972         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21973         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21974         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21975         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21976         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21977         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21978         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21979         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21980         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21981         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21982         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21983         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21984         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21985         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21986         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21987         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21988         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21989         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21990         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21991         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21992         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21993         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21994         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21995         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21996         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21997         * sysdeps/x86_64/strcspn.S: Likewise.
21999 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22001         * locale/C-translit.h: Revert #include <stdint.h> because this is a
22002         generated file.  Regenerate properly from gen-translit.pl.
22003         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
22004         locale/C-translit.h.
22006 2013-06-05  Andreas Schwab  <schwab@suse.de>
22008         [BZ #15100]
22009         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22010         week as 6 instead of -1.
22011         * time/tst-strptime.c (day_tests): Add test case.
22013 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22015         * sysdeps/generic/math_private.h
22016         (libc_feholdexcept_setround_53bit): Replace with
22017         libc_feholdsetround_53bit.
22018         (libc_feupdateenv_53bit): Replace with
22019         libc_feresetround_53bit.
22020         (SET_RESTORE_ROUND_53BIT): Adjust.
22022 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22024         * string/test-strchrnul.c: Add copyright header.
22026         * posix/tst-getaddrinfo4.c: Increase test timeout.
22028 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
22030         [BZ #15536]
22031         * math/libm-test.inc (MAX_EXP): Remove
22032         (MIN_EXP): Define.
22033         (ulp): Use MIN_EXP - MANT_DIG.
22034         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22036 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
22038         * po/be.po: Revert last change.
22039         * po/zh_CN.po: Likewise.
22040         * po/header.pot: Likewise.
22042 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
22044         * Makefile ($(common-objpfx)linkobj/libc.so): Define
22045         link-libc-deps to empty as target-specific variable.
22046         * Makerules (link-libc-args): New variable.
22047         (libc-for-link): Likewise.
22048         (link-libc-deps): Likewise.
22049         (lib%.so): Depend on $(link-libc-deps).  Link with
22050         $(link-libc-args).
22051         (build-module): Link with $(link-libc-args).
22052         (build-module-asneeded): Likewise.
22053         (build-module-helper-objlist): Filter out $(link-libc-deps) from
22054         list of objects.
22055         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22056         target-specific variable.
22057         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22058         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22059         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22060         libc.
22061         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22062         libc and ld.so.
22063         ($(objpfx)libpcprofile.so): Likewise.
22064         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22065         libc_nonshared.a.
22066         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22067         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22068         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22069         $(link-libc-deps).
22070         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22071         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22072         * login/Makefile ($(objpfx)libutil.so): Likewise.
22073         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22074         * math/Makefile ($(objpfx)libm.so): Likewise.
22075         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22076         $(objpfx)libnsl.so): Define libc-for-link as target-specific
22077         variable instead of depending directly on libc.
22078         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22079         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22080         $(link-libc-deps).
22081         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22082         libc.
22083         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22084         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22085         ($(objpfx)libanl.so): Likewise.
22086         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22087         ld.so.
22088         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22089         $(link-libc-deps).
22090         * sysdeps/i386/fpu/Makefile: Remove file.
22091         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22092         ($(objpfx)libm.so): Remove dependency on ld.so.
22094 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
22096         [BZ # 15553]
22097         * nis/yp_xdr.c (XDRMAXNAME): Define.
22098         (XDRMAXRECORD): Define.
22099         (xdr_domainname): Use XDRMAXNAME.
22100         (xdr_mapname): Likewise.
22101         (xdr_peername): Likewise.
22102         (xdr_keydat): Use XDRMAXRECORD.
22103         (xdr_valdat): Likewise.
22105 2013-05-30  Jeff Law  <law@redhat.com>
22107         [BZ #14256]
22108         * manual/errno.texi (ESTALE): Update to account for more than
22109         just NFS file systems.
22110         * sysdeps/gnu/errlist.c: Regenerated.
22112 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22114         [BZ #15465]
22115         * elf/Makefile (tests): Add tst-null-argv.
22116         (modules-names):  Add tst-null-argv-lib.
22117         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22118         (tst-null-argv-ENV): Set environment for tst-null-argv.
22119         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22120         (RTLD_PROGNAME): New macro.
22121         * elf/tst-null-argv.c: New test case.
22122         * elf/tst-null-argv-lib.c: Library for test case.
22123         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22124         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22125         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22126         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22127         * elf/dl-init.c (call_init): Likewise.
22128         (_dl_init): Likewise.
22129         * elf/dl-load.c (print_search_path): Likewise.
22130         (_dl_map_object): Likewise.
22131         * elf/dl-lookup.c (do_lookup_x): Likewise.
22132         (add_dependency): Likewise.
22133         (_dl_lookup_symbol_x): Likewise.
22134         (_dl_debug_bindings): Likewise.
22135         * elf/dl-open.c (_dl_show_scope): Likewise.
22136         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22137         * elf/dl-version.c (match_symbol): Likewise.
22138         (_dl_check_map_versions): Likewise.
22139         * elf/rtld.c (dl_main): Likewise.
22140         (print_unresolved): Use RTLD_PROGNAME.
22141         (print_missing_version): Likewise.
22142         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22143         (elf_machine_rela): Likewise.
22144         * sysdeps/powerpc/powerpc32/dl-machine.c
22145         (__process_machine_rela): Likewise.
22146         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22147         Likewise.
22148         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22149         Likewise.
22150         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22151         Likewise.
22152         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22153         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22154         Likewise.
22155         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22156         Likewise.
22157         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22159 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
22161         * po/be.po: Add descriptive title.
22162         * po/zh_CN.po: Likewise.
22163         * po/header.pot: Likewise.
22165 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
22167         * locale/programs/locarchive.c (create_archive): Inlucde fname in
22168         error message.
22169         (enlarge_archive): Likewise.
22171 2013-05-28  Ben North  <ben@redfrontdoor.org>
22173         * manual/arith.texi (frexp): It is the magnitude of the return
22174         value which lies in [0.5, 1), not the return value itself.
22176 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22180 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
22182         * stdio-common/bug26.c (main): Correct fscanf template.
22184         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22185         declare _dl_skip_args.
22187         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22188         Don't declare.
22190         * manual/platform.texi: Add missing @end deftypefun.
22192 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22194         [BZ #15529]
22195         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22196         bit of mantissa of 2^16382.
22197         * math/libm-test.inc (hypot_test_data): Add more tests.
22199         * math/libm-test.inc: Add drem and pow10 to list of tested
22200         functions.
22201         (pow10_test): New function.
22202         (drem_test): Likewise.
22203         (drem_test_tonearest): Likewise.
22204         (drem_test_towardzero): Likewise.
22205         (drem_test_downward): Likewise.
22206         (drem_test_upward): Likewise.
22207         (main): Call the new functions.
22209         * math/libm-test.inc (finite_test_data): Remove.
22210         (finite_test): Run tests from isfinite_test_data.
22211         (gamma_test_data): Remove.
22212         (gamma_test): Run tests from lgamma_test_data.
22213         * sysdeps/i386/fpu/libm-test-ulps: Update.
22214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22216 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22218         * manual/platform.texi: Add PowerPC PPR function set documentation.
22219         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22220         implementation.
22222 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22224         * math/libm-test.inc (MAX_EXP): Define.
22225         (ULPDIFF): Define.
22226         (ulp): New function.
22227         (check_float_internal): Use ULPDIFF.
22228         (cpow_test): Disable failing test.
22229         (check_ulp): Test ulp() implemetnation.
22230         (main): Call check_ulp before starting tests.
22232 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22234         * math/gen-libm-test.pl (generate_testfile): Do not handle
22235         START_DATA and END_DATA.
22236         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22237         END_DATA.
22238         (acos_tonearest_test_data): Likewise.
22239         (acos_towardzero_test_data): Likewise.
22240         (acos_downward_test_data): Likewise.
22241         (acos_upward_test_data): Likewise.
22242         (acosh_test_data): Likewise.
22243         (asin_test_data): Likewise.
22244         (asin_tonearest_test_data): Likewise.
22245         (asin_towardzero_test_data): Likewise.
22246         (asin_downward_test_data): Likewise.
22247         (asin_upward_test_data): Likewise.
22248         (asinh_test_data): Likewise.
22249         (atan_test_data): Likewise.
22250         (atanh_test_data): Likewise.
22251         (atan2_test_data): Likewise.
22252         (cabs_test_data): Likewise.
22253         (cacos_test_data): Likewise.
22254         (cacosh_test_data): Likewise.
22255         (carg_test_data): Likewise.
22256         (casin_test_data): Likewise.
22257         (casinh_test_data): Likewise.
22258         (catan_test_data): Likewise.
22259         (catanh_test_data): Likewise.
22260         (cbrt_test_data): Likewise.
22261         (ccos_test_data): Likewise.
22262         (ccosh_test_data): Likewise.
22263         (ceil_test_data): Likewise.
22264         (cexp_test_data): Likewise.
22265         (cimag_test_data): Likewise.
22266         (clog_test_data): Likewise.
22267         (clog10_test_data): Likewise.
22268         (conj_test_data): Likewise.
22269         (copysign_test_data): Likewise.
22270         (cos_test_data): Likewise.
22271         (cos_tonearest_test_data): Likewise.
22272         (cos_towardzero_test_data): Likewise.
22273         (cos_downward_test_data): Likewise.
22274         (cos_upward_test_data): Likewise.
22275         (cosh_test_data): Likewise.
22276         (cosh_tonearest_test_data): Likewise.
22277         (cosh_towardzero_test_data): Likewise.
22278         (cosh_downward_test_data): Likewise.
22279         (cosh_upward_test_data): Likewise.
22280         (cpow_test_data): Likewise.
22281         (cproj_test_data): Likewise.
22282         (creal_test_data): Likewise.
22283         (csin_test_data): Likewise.
22284         (csinh_test_data): Likewise.
22285         (csqrt_test_data): Likewise.
22286         (ctan_test_data): Likewise.
22287         (ctan_tonearest_test_data): Likewise.
22288         (ctan_towardzero_test_data): Likewise.
22289         (ctan_downward_test_data): Likewise.
22290         (ctan_upward_test_data): Likewise.
22291         (ctanh_test_data): Likewise.
22292         (ctanh_tonearest_test_data): Likewise.
22293         (ctanh_towardzero_test_data): Likewise.
22294         (ctanh_downward_test_data): Likewise.
22295         (ctanh_upward_test_data): Likewise.
22296         (erf_test_data): Likewise.
22297         (erfc_test_data): Likewise.
22298         (exp_test_data): Likewise.
22299         (exp_tonearest_test_data): Likewise.
22300         (exp_towardzero_test_data): Likewise.
22301         (exp_downward_test_data): Likewise.
22302         (exp_upward_test_data): Likewise.
22303         (exp10_test_data): Likewise.
22304         (exp2_test_data): Likewise.
22305         (expm1_test_data): Likewise.
22306         (fabs_test_data): Likewise.
22307         (fdim_test_data): Likewise.
22308         (finite_test_data): Likewise.
22309         (floor_test_data): Likewise.
22310         (fma_test_data): Likewise.
22311         (fma_towardzero_test_data): Likewise.
22312         (fma_downward_test_data): Likewise.
22313         (fma_upward_test_data): Likewise.
22314         (fmax_test_data): Likewise.
22315         (fmin_test_data): Likewise.
22316         (fmod_test_data): Likewise.
22317         (fpclassify_test_data): Likewise.
22318         (frexp_test_data): Likewise.
22319         (gamma_test_data): Likewise.
22320         (hypot_test_data): Likewise.
22321         (ilogb_test_data): Likewise.
22322         (isfinite_test_data): Likewise.
22323         (isgreater_test_data): Likewise.
22324         (isgreaterequal_test_data): Likewise.
22325         (isinf_test_data): Likewise.
22326         (isless_test_data): Likewise.
22327         (islessequal_test_data): Likewise.
22328         (islessgreater_test_data): Likewise.
22329         (isnan_test_data): Likewise.
22330         (isnormal_test_data): Likewise.
22331         (issignaling_test_data): Likewise.
22332         (isunordered_test_data): Likewise.
22333         (j0_test_data): Likewise.
22334         (j1_test_data): Likewise.
22335         (jn_test_data): Likewise.
22336         (ldexp_test_data): Likewise.
22337         (lgamma_test_data): Likewise.
22338         (lrint_test_data): Likewise.
22339         (lrint_tonearest_test_data): Likewise.
22340         (lrint_towardzero_test_data): Likewise.
22341         (lrint_downward_test_data): Likewise.
22342         (lrint_upward_test_data): Likewise.
22343         (llrint_test_data): Likewise.
22344         (llrint_tonearest_test_data): Likewise.
22345         (llrint_towardzero_test_data): Likewise.
22346         (llrint_downward_test_data): Likewise.
22347         (llrint_upward_test_data): Likewise.
22348         (log_test_data): Likewise.
22349         (log10_test_data): Likewise.
22350         (log1p_test_data): Likewise.
22351         (log2_test_data): Likewise.
22352         (logb_test_data): Likewise.
22353         (logb_downward_test_data): Likewise.
22354         (lround_test_data): Likewise.
22355         (llround_test_data): Likewise.
22356         (modf_test_data): Likewise.
22357         (nearbyint_test_data): Likewise.
22358         (nextafter_test_data): Likewise.
22359         (nexttoward_test_data): Likewise.
22360         (pow_test_data): Likewise.
22361         (pow_tonearest_test_data): Likewise.
22362         (pow_towardzero_test_data): Likewise.
22363         (pow_downward_test_data): Likewise.
22364         (pow_upward_test_data): Likewise.
22365         (remainder_test_data): Likewise.
22366         (remainder_tonearest_test_data): Likewise.
22367         (remainder_towardzero_test_data): Likewise.
22368         (remainder_downward_test_data): Likewise.
22369         (remainder_upward_test_data): Likewise.
22370         (remquo_test_data): Likewise.
22371         (rint_test_data): Likewise.
22372         (rint_tonearest_test_data): Likewise.
22373         (rint_towardzero_test_data): Likewise.
22374         (rint_downward_test_data): Likewise.
22375         (rint_upward_test_data): Likewise.
22376         (round_test_data): Likewise.
22377         (scalb_test_data): Likewise.
22378         (scalbn_test_data): Likewise.
22379         (scalbln_test_data): Likewise.
22380         (signbit_test_data): Likewise.
22381         (sin_test_data): Likewise.
22382         (sin_tonearest_test_data): Likewise.
22383         (sin_towardzero_test_data): Likewise.
22384         (sin_downward_test_data): Likewise.
22385         (sin_upward_test_data): Likewise.
22386         (sincos_test_data): Likewise.
22387         (sinh_test_data): Likewise.
22388         (sinh_tonearest_test_data): Likewise.
22389         (sinh_towardzero_test_data): Likewise.
22390         (sinh_downward_test_data): Likewise.
22391         (sinh_upward_test_data): Likewise.
22392         (sqrt_test_data): Likewise.
22393         (tan_test_data): Likewise.
22394         (tan_tonearest_test_data): Likewise.
22395         (tan_towardzero_test_data): Likewise.
22396         (tan_downward_test_data): Likewise.
22397         (tan_upward_test_data): Likewise.
22398         (tanh_test_data): Likewise.
22399         (tgamma_test_data): Likewise.
22400         (trunc_test_data): Likewise.
22401         (y0_test_data): Likewise.
22402         (y1_test_data): Likewise.
22403         (yn_test_data): Likewise.
22404         (significand_test_data): Likewise.
22406         * math/gen-libm-test.pl (@functions): Remove variable.
22407         (generate_testfile): Don't handle START and END lines.
22408         * math/libm-test.inc (START): New macro.
22409         (END): Likewise.
22410         (END_COMPLEX): Likewise.
22411         (acos_test): Use END macro without arguments.
22412         (acos_test_tonearest): Likewise.
22413         (acos_test_towardzero): Likewise.
22414         (acos_test_downward): Likewise.
22415         (acos_test_upward): Likewise.
22416         (acosh_test): Likewise.
22417         (asin_test): Likewise.
22418         (asin_test_tonearest): Likewise.
22419         (asin_test_towardzero): Likewise.
22420         (asin_test_downward): Likewise.
22421         (asin_test_upward): Likewise.
22422         (asinh_test): Likewise.
22423         (atan_test): Likewise.
22424         (atanh_test): Likewise.
22425         (atan2_test): Likewise.
22426         (cabs_test): Likewise.
22427         (cacos_test): Use END_COMPLEX macro without arguments.
22428         (cacosh_test): Likewise.
22429         (carg_test): Use END macro without arguments.
22430         (casin_test): Use END_COMPLEX macro without arguments.
22431         (casinh_test): Likewise.
22432         (catan_test): Likewise.
22433         (catanh_test): Likewise.
22434         (cbrt_test): Use END macro without arguments.
22435         (ccos_test): Use END_COMPLEX macro without arguments.
22436         (ccosh_test): Likewise.
22437         (ceil_test): Use END macro without arguments.
22438         (cexp_test): Use END_COMPLEX macro without arguments.
22439         (cimag_test): Use END macro without arguments.
22440         (clog_test): Use END_COMPLEX macro without arguments.
22441         (clog10_test): Likewise.
22442         (conj_test): Likewise.
22443         (copysign_test): Use END macro without arguments.
22444         (cos_test): Likewise.
22445         (cos_test_tonearest): Likewise.
22446         (cos_test_towardzero): Likewise.
22447         (cos_test_downward): Likewise.
22448         (cos_test_upward): Likewise.
22449         (cosh_test): Likewise.
22450         (cosh_test_tonearest): Likewise.
22451         (cosh_test_towardzero): Likewise.
22452         (cosh_test_downward): Likewise.
22453         (cosh_test_upward): Likewise.
22454         (cpow_test): Use END_COMPLEX macro without arguments.
22455         (cproj_test): Likewise.
22456         (creal_test): Use END macro without arguments.
22457         (csin_test): Use END_COMPLEX macro without arguments.
22458         (csinh_test): Likewise.
22459         (csqrt_test): Likewise.
22460         (ctan_test): Likewise.
22461         (ctan_test_tonearest): Likewise.
22462         (ctan_test_towardzero): Likewise.
22463         (ctan_test_downward): Likewise.
22464         (ctan_test_upward): Likewise.
22465         (ctanh_test): Likewise.
22466         (ctanh_test_tonearest): Likewise.
22467         (ctanh_test_towardzero): Likewise.
22468         (ctanh_test_downward): Likewise.
22469         (ctanh_test_upward): Likewise.
22470         (erf_test): Use END macro without arguments.
22471         (erfc_test): Likewise.
22472         (exp_test): Likewise.
22473         (exp_test_tonearest): Likewise.
22474         (exp_test_towardzero): Likewise.
22475         (exp_test_downward): Likewise.
22476         (exp_test_upward): Likewise.
22477         (exp10_test): Likewise.
22478         (exp2_test): Likewise.
22479         (expm1_test): Likewise.
22480         (fabs_test): Likewise.
22481         (fdim_test): Likewise.
22482         (finite_test): Likewise.
22483         (floor_test): Likewise.
22484         (fma_test): Likewise.
22485         (fma_test_towardzero): Likewise.
22486         (fma_test_downward): Likewise.
22487         (fma_test_upward): Likewise.
22488         (fmax_test): Likewise.
22489         (fmin_test): Likewise.
22490         (fmod_test): Likewise.
22491         (fpclassify_test): Likewise.
22492         (frexp_test): Likewise.
22493         (gamma_test): Likewise.
22494         (hypot_test): Likewise.
22495         (ilogb_test): Likewise.
22496         (isfinite_test): Likewise.
22497         (isgreater_test): Likewise.
22498         (isgreaterequal_test): Likewise.
22499         (isinf_test): Likewise.
22500         (isless_test): Likewise.
22501         (islessequal_test): Likewise.
22502         (islessgreater_test): Likewise.
22503         (isnan_test): Likewise.
22504         (isnormal_test): Likewise.
22505         (issignaling_test): Likewise.
22506         (isunordered_test): Likewise.
22507         (j0_test): Likewise.
22508         (j1_test): Likewise.
22509         (jn_test): Likewise.
22510         (ldexp_test): Likewise.
22511         (lgamma_test): Likewise.
22512         (lrint_test): Likewise.
22513         (lrint_test_tonearest): Likewise.
22514         (lrint_test_towardzero): Likewise.
22515         (lrint_test_downward): Likewise.
22516         (lrint_test_upward): Likewise.
22517         (llrint_test): Likewise.
22518         (llrint_test_tonearest): Likewise.
22519         (llrint_test_towardzero): Likewise.
22520         (llrint_test_downward): Likewise.
22521         (llrint_test_upward): Likewise.
22522         (log_test): Likewise.
22523         (log10_test): Likewise.
22524         (log1p_test): Likewise.
22525         (log2_test): Likewise.
22526         (logb_test): Likewise.
22527         (logb_test_downward): Likewise.
22528         (lround_test): Likewise.
22529         (llround_test): Likewise.
22530         (modf_test): Likewise.
22531         (nearbyint_test): Likewise.
22532         (nextafter_test): Likewise.
22533         (nexttoward_test): Likewise.
22534         (pow_test): Likewise.
22535         (pow_test_tonearest): Likewise.
22536         (pow_test_towardzero): Likewise.
22537         (pow_test_downward): Likewise.
22538         (pow_test_upward): Likewise.
22539         (remainder_test): Likewise.
22540         (remainder_test_tonearest): Likewise.
22541         (remainder_test_towardzero): Likewise.
22542         (remainder_test_downward): Likewise.
22543         (remainder_test_upward): Likewise.
22544         (remquo_test): Likewise.
22545         (rint_test): Likewise.
22546         (rint_test_tonearest): Likewise.
22547         (rint_test_towardzero): Likewise.
22548         (rint_test_downward): Likewise.
22549         (rint_test_upward): Likewise.
22550         (round_test): Likewise.
22551         (scalb_test): Likewise.
22552         (scalbn_test): Likewise.
22553         (scalbln_test): Likewise.
22554         (signbit_test): Likewise.
22555         (sin_test): Likewise.
22556         (sin_test_tonearest): Likewise.
22557         (sin_test_towardzero): Likewise.
22558         (sin_test_downward): Likewise.
22559         (sin_test_upward): Likewise.
22560         (sincos_test): Likewise.
22561         (sinh_test): Likewise.
22562         (sinh_test_tonearest): Likewise.
22563         (sinh_test_towardzero): Likewise.
22564         (sinh_test_downward): Likewise.
22565         (sinh_test_upward): Likewise.
22566         (sqrt_test): Likewise.
22567         (tan_test): Likewise.
22568         (tan_test_tonearest): Likewise.
22569         (tan_test_towardzero): Likewise.
22570         (tan_test_downward): Likewise.
22571         (tan_test_upward): Likewise.
22572         (tanh_test): Likewise.
22573         (tgamma_test): Likewise.
22574         (trunc_test): Likewise.
22575         (y0_test): Likewise.
22576         (y1_test): Likewise.
22577         (yn_test): Likewise.
22578         (significand_test): Likewise.
22580 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
22582         [BZ #15381]
22583         * libio/genops.c (_IO_no_init): Initialize wide struct info.
22585 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22587         [BZ #14894]
22588         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22589         __ppc_mdoio and __ppc_mdoom.
22590         * manual/platform.texi: Document new functions __ppc_yield,
22591         __ppc_mdoio and __ppc_mdoom.
22593 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
22595         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22596         (main): Mention "tls" pseudo-hwcap is legacy.
22597         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22599 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22601         * math/gen-libm-test.pl (parse_args): Output only string of
22602         arguments as text for test name, not full call or descriptions of
22603         tests for extra outputs.
22604         (generate_testfile): Do not pass function name to parse_args.
22605         Generate this_func variable from START.
22606         * math/libm-test.inc (struct test_f_f_data): Rename test_name
22607         field to arg_str.
22608         (struct test_ff_f_data): Likewise.
22609         (test_ff_f_data_nexttoward): Likewise.
22610         (struct test_fi_f_data): Likewise.
22611         (struct test_fl_f_data): Likewise.
22612         (struct test_if_f_data): Likewise.
22613         (struct test_fff_f_data): Likewise.
22614         (struct test_c_f_data): Likewise.
22615         (struct test_f_f1_data): Likewise.  Remove field extra_name.
22616         (struct test_fF_f1_data): Likewise.
22617         (struct test_ffI_f1_data): Likewise.
22618         (struct test_c_c_data): Rename test_name field to arg_str.
22619         (struct test_cc_c_data): Likewise.
22620         (struct test_f_i_data): Likewise.
22621         (struct test_ff_i_data): Likewise.
22622         (struct test_f_l_data): Likewise.
22623         (struct test_f_L_data): Likewise.
22624         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
22625         and extra2_name.
22626         (COMMON_TEST_SETUP): New macro.
22627         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22628         (COMMON_TEST_CLEANUP): Likewise.
22629         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22630         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
22631         macros.
22632         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22633         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
22634         macros.
22635         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22636         (RUN_TEST_fff_f): Take argument string.  Call new setup and
22637         cleanup macros.
22638         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22639         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
22640         macros.
22641         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22642         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
22643         macros.
22644         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22645         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
22646         cleanup macros.
22647         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22648         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
22649         cleanup macros.
22650         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22651         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
22652         cleanup macros.
22653         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22654         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
22655         macros.
22656         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22657         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
22658         macros.
22659         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22660         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
22661         macros.
22662         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22663         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
22664         cleanup macros.
22665         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22666         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
22667         cleanup macros.
22668         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22669         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
22670         macros.
22671         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22672         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
22673         cleanup macros.
22674         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22675         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
22676         macros.
22677         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22678         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
22679         macros.
22680         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22681         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
22682         cleanup macros.
22683         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22685 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
22687         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22688         to _sifields.sigfault.
22689         (si_addr_lsb): Define new macro.
22690         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22692         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22694 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
22696         [BZ #15441]
22697         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22698         returns -1.
22699         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22700         null return -1.
22701         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22702         loading the domain.
22704 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22706         * math/gen-libm-test.pl (parse_args): Do not include expected
22707         result in test name.
22708         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22709         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22710         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22711         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22712         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22715 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22717         * benchtests/Makefile: Sort function entries.
22719         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22720         tanh, asinh, acosh, atanh.
22721         * benchtests/acos-inputs: New file.
22722         * benchtests/acosh-inputs: New file.
22723         * benchtests/asin-inputs: New file.
22724         * benchtests/asinh-inputs: New file.
22725         * benchtests/atanh-inputs: New file.
22726         * benchtests/cosh-inputs: New file.
22727         * benchtests/log-inputs: New file.
22728         * benchtests/sinh-inputs: New file.
22729         * benchtests/tanh-inputs: New file.
22731 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
22733         [BZ #15339]
22734         * posix/tst-getaddrinfo4.c: New test.
22735         * posix/Makefile (tests): Add it.
22737 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22739         [BZ #15339]
22740         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22741         when no services were used.
22742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22743         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22745 2013-05-21  Andreas Schwab  <schwab@suse.de>
22747         [BZ #15014]
22748         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22749         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22750         successful.
22751         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22752         redundant variable declarations and reallocation of buffer when
22753         parsing as IPv6 address.  Always set NSS status when called from
22754         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
22755         buffer too small.  Correct computation of needed size.
22756         * nss/Makefile (tests): Add test-digits-dots.
22757         * nss/test-digits-dots.c: New test.
22759 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22761         * benchtests/Makefile: Remove instructions for adding
22762         benchmark tests.
22763         * benchtests/README: New file to explain how to execute and
22764         enhance the benchmark tests.
22766 2013-05-21  Andreas Schwab  <schwab@suse.de>
22768         [BZ #15493]
22769         * setjmp/Makefile (tests): Add tst-sigsetjmp.
22770         * setjmp/tst-sigsetjmp.c: New test.
22772 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22774         * sysdeps/x86_64/memset.S (memset): New implementation.
22775         (__bzero): Likewise.
22776         (__memset_tail): New function.
22778 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22780         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22781         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22782         __memcpy_sse2_unaligned ifunc selection.
22783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22784         Add memcpy-sse2-unaligned.S.
22785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22786         Add: __memcpy_sse2_unaligned.
22788 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
22790         [BZ #15490]
22791         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22792         math_force_eval before restoring floating-point envrionment.
22793         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22794         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22795         Likewise.
22796         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22797         <math_private.h>.
22798         (__nearbyintl): Use math_force_eval before restoring
22799         floating-point environment.
22800         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22802         * math/gen-libm-test.pl (special_functions): Remove.
22803         (parse_args): Don't handle TEST_extra.  Handle functions with no
22804         return value.
22805         * math/libm-test.inc (struct test_sincos_data): Replace with
22806         struct test_fFF_11_data.
22807         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22808         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22809         (sincos_test_data): Change element type to struct
22810         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22811         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22812         RUN_TEST_LOOP_sincos.
22813         * math/README.libm-test: Don't mention special handling of
22814         individual functions.
22815         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22816         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22817         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22818         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22819         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22822         * math/gen-libm-test.pl (get_variable): Remove function.
22823         (parse_args): Don't show pointer parameters to call in test
22824         names.  Use "extra output N" in test names for extra outputs
22825         rather than naming variables.
22827 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22829         [BZ #15488]
22830         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22831         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22832         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22833         double tests.
22834         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22835         disable.
22836         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22837         check_long_double.
22839         * math/gen-libm-test.pl (@tests): Remove variable.
22840         ($count): Likewise.
22841         (new_test): Remove function.
22842         (show_exceptions): New function.
22843         (special_functions): Use show_exceptions instead of new_test.
22844         (parse_args): Likewise.
22845         (generate_testfile): Pass only function name in generated call to
22846         print_max_error or print_complex_max_error.
22847         (get_ulps): Do not handle complex tests specially.
22848         (output_test): Rename to ...
22849         (get_all_ulps_for_test): ... this.  Return a string rather than
22850         printing to a file.  Require ulps to be present.
22851         (output_ulps): Generate arrays rather than #defines.
22852         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22853         (struct ulp_data): New type.
22854         (BUILD_COMPLEX_ULP): Remove macro.
22855         (compare_ulp_data): New function.
22856         (find_ulps): Likewise.
22857         (find_test_ulps): Likewise.
22858         (find_function_ulps): Likewise.
22859         (find_complex_function_ulps): Likewise.
22860         (print_max_error): Determine allowed ulps using
22861         find_function_ulps.
22862         (print_complex_max_error): Determine allowed ulps using
22863         find_complex_function_ulps.
22864         (check_float_internal): Determine max ulps using find_test_ulps.
22865         (check_float): Do not take max_ulp parameter.  Update call to
22866         check_float_internal.
22867         (check_complex): Likewise.
22868         (check_int): Do not take max_ulp parameter.
22869         (check_long): Likewise.
22870         (check_bool): Likewise.
22871         (check_longlong): Likewise.
22872         (struct test_f_f_data): Remove max_ulp field.
22873         (struct test_ff_f_data): Likewise.
22874         (struct test_ff_f_data_nexttoward): Likewise.
22875         (struct test_fi_f_data): Likewise.
22876         (struct test_fl_f_data): Likewise.
22877         (struct test_if_f_data): Likewise.
22878         (struct test_fff_f_data): Likewise.
22879         (struct test_c_f_data): Likewise.
22880         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22881         (struct test_fF_f1_data): Likewise.
22882         (struct test_ffI_f1_data): Likewise.
22883         (struct test_c_c_data): Remove max_ulp field.
22884         (struct test_cc_c_data): Likewise.
22885         (struct test_f_i_data): Likewise.
22886         (struct test_ff_i_data): Likewise.
22887         (struct test_f_l_data): Likewise.
22888         (struct test_f_L_data): Likewise.
22889         (struct test_sincos_data): Likewise.
22890         (RUN_TEST_f_f): Do not handle ulps.
22891         (RUN_TEST_LOOP_f_f): Likewise.
22892         (RUN_TEST_2_f): Likewise.
22893         (RUN_TEST_LOOP_2_f): Likewise.
22894         (RUN_TEST_fff_f): Likewise.
22895         (RUN_TEST_LOOP_fff_f): Likewise.
22896         (RUN_TEST_c_f): Likewise.
22897         (RUN_TEST_LOOP_c_f): Likewise.
22898         (RUN_TEST_f_f1): Likewise.
22899         (RUN_TEST_LOOP_f_f1): Likewise.
22900         (RUN_TEST_fF_f1): Likewise.
22901         (RUN_TEST_LOOP_fF_f1): Likewise.
22902         (RUN_TEST_fI_f1): Likewise.
22903         (RUN_TEST_LOOP_fI_f1): Likewise.
22904         (RUN_TEST_ffI_f1): Likewise.
22905         (RUN_TEST_LOOP_ffI_f1): Likewise.
22906         (RUN_TEST_c_c): Likewise.
22907         (RUN_TEST_LOOP_c_c): Likewise.
22908         (RUN_TEST_cc_c): Likewise.
22909         (RUN_TEST_LOOP_cc_c): Likewise.
22910         (RUN_TEST_f_i): Likewise.
22911         (RUN_TEST_LOOP_f_i): Likewise.
22912         (RUN_TEST_f_i_tg): Likewise.
22913         (RUN_TEST_LOOP_f_i_tg): Likewise.
22914         (RUN_TEST_ff_i_tg): Likewise.
22915         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22916         (RUN_TEST_f_b): Likewise.
22917         (RUN_TEST_LOOP_f_b): Likewise.
22918         (RUN_TEST_f_b_tg): Likewise.
22919         (RUN_TEST_LOOP_f_b_tg): Likewise.
22920         (RUN_TEST_f_l): Likewise.
22921         (RUN_TEST_LOOP_f_l): Likewise.
22922         (RUN_TEST_f_L): Likewise.
22923         (RUN_TEST_LOOP_f_L): Likewise.
22924         (RUN_TEST_sincos): Likewise.
22925         (RUN_TEST_LOOP_sincos): Likewise.
22927 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22929         [BZ #15480]
22930         [BZ #15485]
22931         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22932         main case of finite arguments, set rounding mode to FE_TONEAREST
22933         and discard exceptions.
22934         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22935         exceptions.
22936         (remainder_tonearest_test_data): New variable.
22937         (remainder_test_tonearest): New function.
22938         (remainder_towardzero_test_data): New variable.
22939         (remainder_test_towardzero): New function.
22940         (remainder_downward_test_data): New variable.
22941         (remainder_test_downward): New function.
22942         (remainder_upward_test_data): New variable.
22943         (remainder_test_upward): New function.
22944         (main): Call the new test functions.
22946         * math/libm-test.inc (struct test_f_f1_data): Remove field
22947         extra_init.
22948         (struct test_fF_f1_data): Likewise.
22949         (struct test_ffI_f1_data): Likewise.
22950         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22951         based on value of EXTRA_EXPECTED.
22952         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22953         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22954         EXTRA_VAR based on value of EXTRA_EXPECTED.
22955         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22956         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22957         EXTRA_VAR based on value of EXTRA_EXPECTED.
22958         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22959         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22960         EXTRA_VAR based on value of EXTRA_EXPECTED.
22961         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22962         * math/gen-libm-test.pl (parse_args): Don't output initializers
22963         for extra output values.
22965         * math/libm-test.inc (check_int): Expect result to be exactly
22966         equal to expected value and do not handle ulps.
22967         (check_long): Likewise.
22968         (check_longlong): Likewise.
22970         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22971         exceptions.
22972         (cimag_test_data): Likewise.
22973         (conj_test_data): Likewise.
22974         (copysign_test_data): Likewise.
22975         (cproj_test_data): Likewise.
22976         (creal_test_data): Likewise.
22977         (fabs_test_data): Likewise.
22978         (fdim_test_data): Likewise.
22979         (finite_test_data): Likewise.
22980         (floor_test_data): Likewise.
22981         (fmax_test_data): Likewise.
22982         (fmin_test_data): Likewise.
22983         (fmod_test_data): Likewise.
22984         (fpclassify_test_data): Likewise.
22985         (frexp_test_data): Likewise.
22986         (ilogb_test_data): Likewise.
22987         (isfinite_test_data): Likewise.
22988         (isgreater_test_data): Likewise.
22989         (isgreaterequal_test_data): Likewise.
22990         (isinf_test_data): Likewise.
22991         (isless_test_data): Likewise.
22992         (islessequal_test_data): Likewise.
22993         (islessgreater_test_data): Likewise.
22994         (isnan_test_data): Likewise.
22995         (isnormal_test_data): Likewise.
22996         (issignaling_test_data): Likewise.
22997         (isunordered_test_data): Likewise.
22998         (ldexp_test_data): Likewise.
22999         (lrint_test_data): Likewise.
23000         (lrint_test_data) [TEST_FLOAT]: Disable one test.
23001         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23002         (lrint_tonearest_test_data): Test for "inexact" exceptions.
23003         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23004         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23005         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23006         test input.
23007         (lrint_towardzero_test_data): Test for "inexact" exceptions.
23008         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23009         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23010         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23011         that test input.
23012         (lrint_downward_test_data): Test for "inexact" exceptions.
23013         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23014         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23015         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23016         test input.
23017         (lrint_upward_test_data): Test for "inexact" exceptions.
23018         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23019         test input.
23020         (llrint_test_data): Test for "inexact" exceptions.
23021         (llrint_test_data) [TEST_FLOAT]: Disable one test.
23022         (llrint_tonearest_test_data): Test for "inexact" exceptions.
23023         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23024         (llrint_towardzero_test_data): Test for "inexact" exceptions.
23025         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23026         (llrint_downward_test_data): Test for "inexact" exceptions.
23027         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23028         (llrint_upward_test_data): Test for "inexact" exceptions.
23029         (logb_test_data): Likewise.
23030         (logb_downward_test_data): Likewise.
23031         (nextafter_test_data): Likewise.
23032         (nexttoward_test_data): Likewise.
23033         (remainder_test_data): Likewise.
23034         (remquo_test_data): Likewise.
23035         (scalbn_test_data): Likewise.
23036         (scalbln_test_data): Likewise.
23037         (signbit_test_data): Likewise.
23038         (sqrt_test_data): Likewise.
23039         (significand_test_data): Likewise.
23041 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23043         [BZ #15424]
23044         * benchtests/bench-modf.c (struct args): Mark arg0 as
23045         volatile.
23046         * scripts/bench.pl: Mark members of struct args as volatile.
23048 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23050         [BZ # 15497]
23051         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23052         negative infinity on POWER6 or lower.
23053         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23055 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
23057         [BZ #15442]
23058         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23059         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23060         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23061         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23062         (_FP_SETQNAN): New macro.
23063         (_FP_SETQNAN_SEMIRAW): Likewise.
23064         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23065         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23066         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23067         (FP_EXTEND): Use _FP_FRAC_SNANP.
23068         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23069         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23070         into account.
23071         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23072         New macro.
23073         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23074         Likewise.
23076 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23078         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23079         with DIVIDE_BY_ZERO_EXCEPTION.
23080         (gamma_test_data): Likewise.
23081         (lgamma_test_data): Likewise.
23082         (log_test_data): Likewise.
23083         (log10_test_data): Likewise.
23084         (log2_test_data): Likewise.
23085         (tgamma_test_data): Likewise.
23087         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23088         (acos_test_tonearest): Likewise.
23089         (acos_test_towardzero): Likewise.
23090         (acos_test_downward): Likewise.
23091         (acos_test_upward): Likewise.
23092         (acosh_test): Likewise.
23093         (asin_test): Likewise.
23094         (asin_test_tonearest): Likewise.
23095         (asin_test_towardzero): Likewise.
23096         (asin_test_downward): Likewise.
23097         (asin_test_upward): Likewise.
23098         (asinh_test): Likewise.
23099         (atan_test): Likewise.
23100         (atanh_test): Likewise.
23101         (atan2_test): Likewise.
23102         (cabs_test): Likewise.
23103         (cacos_test): Likewise.
23104         (cacosh_test): Likewise.
23105         (casin_test): Likewise.
23106         (casinh_test): Likewise.
23107         (catan_test): Likewise.
23108         (catanh_test): Likewise.
23109         (cbrt_test): Likewise.
23110         (ccos_test): Likewise.
23111         (ccosh_test): Likewise.
23112         (cexp_test): Likewise.
23113         (clog_test): Likewise.
23114         (clog10_test): Likewise.
23115         (cos_test): Likewise.
23116         (cos_test_tonearest): Likewise.
23117         (cos_test_towardzero): Likewise.
23118         (cos_test_downward): Likewise.
23119         (cos_test_upward): Likewise.
23120         (cosh_test): Likewise.
23121         (cosh_test_tonearest): Likewise.
23122         (cosh_test_towardzero): Likewise.
23123         (cosh_test_downward): Likewise.
23124         (cosh_test_upward): Likewise.
23125         (cpow_test): Likewise.
23126         (csin_test): Likewise.
23127         (csinh_test): Likewise.
23128         (csqrt_test): Likewise.
23129         (ctan_test): Likewise.
23130         (ctan_test_tonearest): Likewise.
23131         (ctan_test_towardzero): Likewise.
23132         (ctan_test_downward): Likewise.
23133         (ctan_test_upward): Likewise.
23134         (ctanh_test): Likewise.
23135         (ctanh_test_tonearest): Likewise.
23136         (ctanh_test_towardzero): Likewise.
23137         (ctanh_test_downward): Likewise.
23138         (ctanh_test_upward): Likewise.
23139         (erf_test): Likewise.
23140         (erfc_test): Likewise.
23141         (exp_test): Likewise.
23142         (exp_test_tonearest): Likewise.
23143         (exp_test_towardzero): Likewise.
23144         (exp_test_downward): Likewise.
23145         (exp_test_upward): Likewise.
23146         (exp10_test): Likewise.
23147         (exp2_test): Likewise.
23148         (expm1_test): Likewise.
23149         (fmod_test): Likewise.
23150         (gamma_test): Likewise.
23151         (hypot_test): Likewise.
23152         (j0_test): Likewise.
23153         (j1_test): Likewise.
23154         (jn_test): Likewise.
23155         (lgamma_test): Likewise.
23156         (log_test): Likewise.
23157         (log10_test): Likewise.
23158         (log1p_test): Likewise.
23159         (log2_test): Likewise.
23160         (logb_test_downward): Likewise.
23161         (pow_test): Likewise.
23162         (pow_test_tonearest): Likewise.
23163         (pow_test_towardzero): Likewise.
23164         (pow_test_downward): Likewise.
23165         (pow_test_upward): Likewise.
23166         (remainder_test): Likewise.
23167         (remquo_test): Likewise.
23168         (sin_test): Likewise.
23169         (sin_test_tonearest): Likewise.
23170         (sin_test_towardzero): Likewise.
23171         (sin_test_downward): Likewise.
23172         (sin_test_upward): Likewise.
23173         (sincos_test): Likewise.
23174         (sinh_test): Likewise.
23175         (sinh_test_tonearest): Likewise.
23176         (sinh_test_towardzero): Likewise.
23177         (sinh_test_downward): Likewise.
23178         (sinh_test_upward): Likewise.
23179         (sqrt_test): Likewise.
23180         (tan_test): Likewise.
23181         (tan_test_tonearest): Likewise.
23182         (tan_test_towardzero): Likewise.
23183         (tan_test_downward): Likewise.
23184         (tan_test_upward): Likewise.
23185         (tanh_test): Likewise.
23186         (tgamma_test): Likewise.
23187         (y0_test): Likewise.
23188         (y1_test): Likewise.
23189         (yn_test): Likewise.
23191         * math/gen-libm-test.pl (adjust_arg): Remove function.
23192         (special_function): Remove argument $in_func.  Only handle
23193         generating output for tables of tests, not inside functions.
23194         (parse_args): Likewise.
23195         (generate_testfile): Remove variable $in_func.  Update call to
23196         parse_args.
23197         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23198         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23199         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23200         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23201         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23202         (MAX_VALUE_INIT): Rename macro to max_value.
23203         (MIN_VALUE_INIT): Rename macro to min_value.
23204         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23205         (plus_zero): Remove variable.
23206         (minus_zero): Likewise.
23207         (plus_infty): Likewise.
23208         (minus_infty): Likewise.
23209         (qnan_value): Likewise.
23210         (max_value): Likewise.
23211         (min_value): Likewise.
23212         (min_subnorm_value): Likewise.
23214 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23216         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23217         uint64_t or uint32_t usage.
23218         * crypt/sha256-block.c: Likewise.
23219         * crypt/sha256-crypt.c: Likewise.
23220         * crypt/sha256.c: Likewise.
23221         * crypt/sha512-block.c: Likewise.
23222         * crypt/sha512-crypt.c: Likewise.
23223         * crypt/sha512.c: Likewise.
23224         * debug/backtrace-tst.c: Likewise.
23225         * debug/pcprofiledump.c: Likewise.
23226         * elf/cache.c: Likewise.
23227         * elf/dl-cache.c: Likewise.
23228         * elf/dl-misc.c: Likewise.
23229         * elf/dl-profile.c: Likewise.
23230         * elf/dl-support.c: Likewise.
23231         * elf/ldconfig.c: Likewise.
23232         * elf/sprof.c: Likewise.
23233         * iconv/dummy-repertoire.c: Likewise.
23234         * iconv/iconv_charmap.c: Likewise.
23235         * iconv/skeleton.c: Likewise.
23236         * iconvdata/8bit-generic.c: Likewise.
23237         * iconvdata/cp737.h: Likewise.
23238         * iconvdata/cp775.h: Likewise.
23239         * iconvdata/ibm1008.h: Likewise.
23240         * iconvdata/ibm1025.h: Likewise.
23241         * iconvdata/ibm1046.h: Likewise.
23242         * iconvdata/ibm1097.h: Likewise.
23243         * iconvdata/ibm1112.h: Likewise.
23244         * iconvdata/ibm1122.h: Likewise.
23245         * iconvdata/ibm1123.h: Likewise.
23246         * iconvdata/ibm1124.h: Likewise.
23247         * iconvdata/ibm1129.h: Likewise.
23248         * iconvdata/ibm1130.h: Likewise.
23249         * iconvdata/ibm1132.h: Likewise.
23250         * iconvdata/ibm1133.h: Likewise.
23251         * iconvdata/ibm1137.h: Likewise.
23252         * iconvdata/ibm1140.h: Likewise.
23253         * iconvdata/ibm1141.h: Likewise.
23254         * iconvdata/ibm1142.h: Likewise.
23255         * iconvdata/ibm1143.h: Likewise.
23256         * iconvdata/ibm1144.h: Likewise.
23257         * iconvdata/ibm1145.h: Likewise.
23258         * iconvdata/ibm1146.h: Likewise.
23259         * iconvdata/ibm1147.h: Likewise.
23260         * iconvdata/ibm1148.h: Likewise.
23261         * iconvdata/ibm1149.h: Likewise.
23262         * iconvdata/ibm1153.h: Likewise.
23263         * iconvdata/ibm1154.h: Likewise.
23264         * iconvdata/ibm1155.h: Likewise.
23265         * iconvdata/ibm1156.h: Likewise.
23266         * iconvdata/ibm1157.h: Likewise.
23267         * iconvdata/ibm1158.h: Likewise.
23268         * iconvdata/ibm1160.h: Likewise.
23269         * iconvdata/ibm1161.h: Likewise.
23270         * iconvdata/ibm1162.h: Likewise.
23271         * iconvdata/ibm1163.h: Likewise.
23272         * iconvdata/ibm1164.h: Likewise.
23273         * iconvdata/ibm1166.h: Likewise.
23274         * iconvdata/ibm1167.h: Likewise.
23275         * iconvdata/ibm12712.h: Likewise.
23276         * iconvdata/ibm1390.h: Likewise.
23277         * iconvdata/ibm1399.h: Likewise.
23278         * iconvdata/ibm16804.h: Likewise.
23279         * iconvdata/ibm4517.h: Likewise.
23280         * iconvdata/ibm4899.h: Likewise.
23281         * iconvdata/ibm4909.h: Likewise.
23282         * iconvdata/ibm4971.h: Likewise.
23283         * iconvdata/ibm5347.h: Likewise.
23284         * iconvdata/ibm803.h: Likewise.
23285         * iconvdata/ibm856.h: Likewise.
23286         * iconvdata/ibm901.h: Likewise.
23287         * iconvdata/ibm902.h: Likewise.
23288         * iconvdata/ibm9030.h: Likewise.
23289         * iconvdata/ibm9066.h: Likewise.
23290         * iconvdata/ibm921.h: Likewise.
23291         * iconvdata/ibm922.h: Likewise.
23292         * iconvdata/ibm9448.h: Likewise.
23293         * iconvdata/isiri-3342.h: Likewise.
23294         * iconvdata/jis0201.h: Likewise.
23295         * include/link.h: Likewise.
23296         * include/netdb.h: Likewise.
23297         * inet/check_native.c: Likewise.
23298         * inet/check_pf.c: Likewise.
23299         * inet/getipv4sourcefilter.c: Likewise.
23300         * inet/getnameinfo.c: Likewise.
23301         * inet/getsourcefilter.c: Likewise.
23302         * inet/htonl.c: Likewise.
23303         * inet/setipv4sourcefilter.c: Likewise.
23304         * inet/setsourcefilter.c: Likewise.
23305         * inet/test-inet6_opt.c: Likewise.
23306         * inet/tst-network.c: Likewise.
23307         * locale/C-collate.c: Likewise.
23308         * locale/C-ctype.c: Likewise.
23309         * locale/C-time.c: Likewise.
23310         * locale/C-translit.h: Likewise.
23311         * locale/loadarchive.c: Likewise.
23312         * locale/programs/3level.h: Likewise.
23313         * locale/programs/charmap.c: Likewise.
23314         * locale/programs/charmap.h: Likewise.
23315         * locale/programs/ld-address.c: Likewise.
23316         * locale/programs/ld-collate.c: Likewise.
23317         * locale/programs/ld-ctype.c: Likewise.
23318         * locale/programs/ld-identification.c: Likewise.
23319         * locale/programs/ld-measurement.c: Likewise.
23320         * locale/programs/ld-messages.c: Likewise.
23321         * locale/programs/ld-monetary.c: Likewise.
23322         * locale/programs/ld-name.c: Likewise.
23323         * locale/programs/ld-numeric.c: Likewise.
23324         * locale/programs/ld-paper.c: Likewise.
23325         * locale/programs/ld-telephone.c: Likewise.
23326         * locale/programs/ld-time.c: Likewise.
23327         * locale/programs/linereader.c: Likewise.
23328         * locale/programs/locale.c: Likewise.
23329         * locale/programs/locarchive.c: Likewise.
23330         * locale/programs/locfile.h: Likewise.
23331         * locale/programs/repertoire.c: Likewise.
23332         * locale/programs/simple-hash.c: Likewise.
23333         * locale/programs/simple-hash.h: Likewise.
23334         * malloc/memusage.c: Likewise.
23335         * malloc/memusagestat.c: Likewise.
23336         * nis/nis_defaults.c: Likewise.
23337         * nis/nis_hash.c: Likewise.
23338         * nis/nis_print.c: Likewise.
23339         * nis/nis_xdr.c: Likewise.
23340         * nscd/connections.c: Likewise.
23341         * nscd/hstcache.c: Likewise.
23342         * nscd/nscd_gethst_r.c: Likewise.
23343         * nscd/nscd_getserv_r.c: Likewise.
23344         * nscd/nscd_helper.c: Likewise.
23345         * nscd/servicescache.c: Likewise.
23346         * nss/makedb.c: Likewise.
23347         * nss/nss_db/db-XXX.c: Likewise.
23348         * nss/nss_db/db-initgroups.c: Likewise.
23349         * nss/nss_db/db-netgrp.c: Likewise.
23350         * nss/nss_files/files-network.c: Likewise.
23351         * nss/nss_files/files-parse.c: Likewise.
23352         * posix/bug-regex5.c: Likewise.
23353         * posix/fnmatch_loop.c: Likewise.
23354         * posix/regcomp.c: Likewise.
23355         * posix/regexec.c: Likewise.
23356         * posix/tst-rfc3484-2.c: Likewise.
23357         * posix/tst-rfc3484-3.c: Likewise.
23358         * posix/tst-rfc3484.c: Likewise.
23359         * resolv/nss_dns/dns-canon.c: Likewise.
23360         * resolv/nss_dns/dns-network.c: Likewise.
23361         * resolv/res_init.c: Likewise.
23362         * resolv/res_mkquery.c: Likewise.
23363         * resolv/tst-aton.c: Likewise.
23364         * stdlib/cxa_atexit.c: Likewise.
23365         * stdlib/cxa_finalize.c: Likewise.
23366         * stdlib/gen-fpioconst.c: Likewise.
23367         * stdlib/strtol_l.c: Likewise.
23368         * string/tst-endian.c: Likewise.
23369         * sunrpc/auth_des.c: Likewise.
23370         * sunrpc/clnt_udp.c: Likewise.
23371         * sunrpc/rtime.c: Likewise.
23372         * sunrpc/svcauth_des.c: Likewise.
23373         * sunrpc/xdr.c: Likewise.
23374         * sunrpc/xdr_intXX_t.c: Likewise.
23375         * sunrpc/xdr_rec.c: Likewise.
23376         * sysdeps/generic/ldconfig.h: Likewise.
23377         * sysdeps/generic/ldsodefs.h: Likewise.
23378         * sysdeps/generic/memusage.h: Likewise.
23379         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23380         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23381         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23382         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23383         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23384         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23385         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23386         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23387         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23388         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23389         * sysdeps/posix/getaddrinfo.c: Likewise.
23390         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23391         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23392         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23393         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23394         * sysdeps/powerpc/test-gettimebase.c: Likewise.
23395         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23396         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23397         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23398         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23399         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23400         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23401         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23402         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23403         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23404         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23405         * sysdeps/x86_64/dl-tls.h: Likewise.
23406         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23407         * time/alt_digit.c: Likewise.
23408         * time/era.c: Likewise.
23409         * wcsmbs/tst-c16c32-1.c: Likewise.
23411 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23413         * math/libm-test.inc (struct test_sincos_data): New type.
23414         (RUN_TEST_LOOP_sincos): New macro.
23415         (sincos_test_data): New variable.
23416         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23418 2013-05-16  Richard Henderson  <rth@redhat.com>
23420         * math/atest-exp2.c (LIMB64): New macro.
23421         (CONSTSZ): New macro.
23422         (mp_exp1, mp_exp_m1, mp_log2): New variables.
23423         (hexdig): Move ...
23424         (print_mpn_fp): ... to function scope.
23425         (read_mpn_hex): Remove.
23426         (get_log2): Remove.
23427         (exp2_mpn): Use mp_log2.
23428         (main): Use mp_exp1.
23430 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23432         * math/libm-test.inc: Remove comment about not testing "inexact"
23433         exceptions.
23434         (INEXACT_EXCEPTION): New macro.
23435         (NO_INEXACT_EXCEPTION): Likewise.
23436         (INVALID_EXCEPTION_OK): Update value.
23437         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23438         (OVERFLOW_EXCEPTION_OK): Likewise.
23439         (UNDERFLOW_EXCEPTION_OK): Likewise.
23440         (IGNORE_ZERO_INF_SIGN): Likewise.
23441         (ERRNO_UNCHANGED): Likewise.
23442         (ERRNO_EDOM): Likewise.
23443         (ERRNO_ERANGE): Likewise.
23444         (test_exceptions): Handle testing "inexact" exceptions.
23445         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23446         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23447         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23448         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23449         INEXACT_EXCEPTION.
23450         (rint_towardzero_test_data): Likewise.
23451         (rint_downward_test_data): Likewise.
23452         (rint_upward_test_data): Likewise.
23454         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23455         with OVERFLOW_EXCEPTION.
23456         (exp10_test_data): Likewise.
23457         (exp2_test_data): Likewise.
23458         (expm1_test_data): Likewise.
23459         (lgamma_test_data): Likewise.
23460         (pow_test_data): Likewise.
23461         (tgamma_test_data): Likewise.
23462         (yn_test_data): Remove duplicate test of overflow.
23464         * math/libm-test.inc (struct test_cc_c_data): New type.
23465         (RUN_TEST_LOOP_cc_c): New macro.
23466         (cpow_test_data): New variable.
23467         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23469         * math/libm-test.inc (struct test_f_L_data): New type.
23470         (RUN_TEST_LOOP_f_L): New macro.
23471         (llrint_test_data): New variable.
23472         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23473         (llrint_tonearest_test_data): New variable.
23474         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23475         (llrint_towardzero_test_data): New variable.
23476         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23477         (llrint_downward_test_data): New variable.
23478         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23479         (llrint_upward_test_data): New variable.
23480         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23481         (llround_test_data): New variable.
23482         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23484 2013-05-13  Peter Collingbourne  <pcc@google.com>
23486         * math/atest-exp2.c (get_log2): Remove const attribute.
23488 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23490         * math/libm-test.inc (struct test_f_l_data): New type.
23491         (RUN_TEST_LOOP_f_l): New macro.
23492         (lrint_test_data): New variable.
23493         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23494         (lrint_tonearest_test_data): New variable.
23495         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23496         (lrint_towardzero_test_data): New variable.
23497         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23498         (lrint_downward_test_data): New variable.
23499         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23500         (lrint_upward_test_data): New variable.
23501         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23502         (lround_test_data): New variable.
23503         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23505 2013-05-15  Peter Collingbourne  <pcc@google.com>
23507         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23508         (EXTRACT_WORDS64) Use where appropriate.
23509         (INSERT_WORDS64) Likewise.
23511         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23512         constraints with x constraints.
23513         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23515         * malloc/obstack.c (_obstack_compat): Add initializer.
23517 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23519         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23520         si_trapno and add si_addr_lsb to _sifields.sigfault.
23521         (si_trapno): Remove macro.
23522         (si_addr_lsb): Define new macro.
23523         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23525 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23527         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23528         instead of TEST_f_l.
23529         (llrint_test_tonearest): Likewise.
23530         (llrint_test_towardzero): Likewise.
23531         (llrint_test_downward): Likewise.
23532         (llrint_test_upward): Likewise.
23533         (llround_test): Likewise.
23535         * math/libm-test.inc (struct test_f_i_data): Add comment.
23536         (RUN_TEST_LOOP_f_b): New macro.
23537         (RUN_TEST_LOOP_f_b_tg): Likewise.
23538         (finite_test_data): New variable.
23539         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23540         (isfinite_test_data): New variable.
23541         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23542         (isinf_test_data): New variable.
23543         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23544         (isnan_test_data): New variable.
23545         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23546         (isnormal_test_data): New variable.
23547         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23548         (issignaling_test_data): New variable.
23549         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23550         (signbit_test_data): New variable.
23551         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23553         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23554         with INVALID_EXCEPTION.
23555         (acosh_test_data): Likewise.
23556         (asin_test_data): Likewise.
23557         (atanh_test_data): Likewise.
23558         (fmod_test_data): Likewise.
23559         (log_test_data): Likewise.
23560         (log10_test_data): Likewise.
23561         (log2_test_data): Likewise.
23562         (pow_test_data): Likewise.
23563         (sqrt_test_data): Likewise.
23564         (y0_test_data): Likewise.
23565         (y1_test_data): Likewise.
23566         (yn_test_data): Likewise.
23568         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23569         function contents.
23571         * math/libm-test.inc (struct test_ff_i_data): New type.
23572         (RUN_TEST_LOOP_ff_i_tg): New macro.
23573         (isgreater_test_data): New variable.
23574         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23575         (isgreaterequal_test_data): New variable.
23576         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23577         (isless_test_data): New variable.
23578         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23579         (islessequal_test_data): New variable.
23580         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23581         (islessgreater_test_data): New variable.
23582         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23583         (isunordered_test_data): New variable.
23584         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23586 2013-05-14  David S. Miller  <davem@davemloft.net>
23588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23590 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
23592         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23594         * math/libm-test.inc (struct test_fF_f1_data): Change type of
23595         extra_test to int.
23596         (struct test_f_i_data): Change type of max_ulp to int.
23598         * math/libm-test.inc (test_ffI_f1_data): New type.
23599         (RUN_TEST_LOOP_ffI_f1): New macro.
23600         (remquo_test_data): New variable.
23601         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23603         * setjmp/tst-setjmp-fp.c: New file.
23604         * setjmp/Makefile (tests): Add tst-setjmp-fp.
23605         (link-libm): New variable.
23606         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23608         * math/libm-test.inc (struct test_f_i_data): New type.
23609         (RUN_TEST_LOOP_f_i): New macro.
23610         (RUN_TEST_LOOP_f_i_tg): Likewise.
23611         (fpclassify_test_data): New variable.
23612         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23613         (ilogb_test_data): New variable.
23614         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23616         * math/libm-test.inc (scalbln_test): Correct function name in END
23617         call.
23619         * math/libm-test.inc (struct test_f_f1_data): Add comment.
23620         (RUN_TEST_LOOP_fI_f1): New macro.
23621         (frexp_test_data): New variable.
23622         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23624         * math/libm-test.inc (struct test_fF_f1_data): New type.
23625         (RUN_TEST_LOOP_fF_f1): New macro.
23626         (modf_test_data): New variable.
23627         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23629         * math/libm-test.inc (struct test_f_f1_data): New type.
23630         (RUN_TEST_LOOP_f_f1): New macro.
23631         (gamma_test_data): New variable.
23632         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23633         (lgamma_test_data): New variable.
23634         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23636 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
23638         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23639         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23640         (main): Comment "tls" pseudo-hwcap.
23642 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
23644         * math/libm-test.inc (struct test_fl_f_data): New type.
23645         (RUN_TEST_LOOP_fl_f): New variable.
23646         (scalbln_test_data): New variable.
23647         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23649         * math/libm-test.inc (struct test_fi_f_data): New type.
23650         (RUN_TEST_LOOP_fi_f): New macro.
23651         (ldexp_test_data): New variable.
23652         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23653         (scalbn_test_data): New variable.
23654         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23656         * math/libm-test.inc (struct test_c_f_data): New type.
23657         (RUN_TEST_LOOP_c_f): New macro.
23658         (cabs_test_data): New variable.
23659         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23660         (carg_test_data): New variable.
23661         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23662         (cimag_test_data): New variable.
23663         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23664         (creal_test_data): New variable.
23665         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23667         * math/libm-test.inc (struct test_if_f_data): New type.
23668         (RUN_TEST_LOOP_if_f): New macro.
23669         (jn_test_data): New variable.
23670         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23671         (yn_test_data): New variable.
23672         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23674         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23676 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23678         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23679         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23681 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23683         * benchtests/Makefile (CPPFLAGS-nonlib): Add
23684         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23685         (bench-deps): Add bench-timing.h.
23686         * benchtests-bench-skeleton.c: Include bench-timing.h.
23687         (main): Use TIMING_* macros instead of clock_gettime.
23688         * benchtests/bench-timing.h: New file.
23690         [BZ #14582]
23691         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23692         Renamed from _LIB_VERSION.
23693         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23695 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
23697         * math/libm-test.inc (struct test_fff_f_data): New type.
23698         (RUN_TEST_LOOP_fff_f): New macro.
23699         (fma_test_data): New variable.
23700         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23701         (fma_towardzero_test_data): New variable.
23702         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23703         (fma_downward_test_data): New variable.
23704         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23705         (fma_upward_test_data): New variable.
23706         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23708         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23709         (struct test_c_c_data): New type.
23710         (RUN_TEST_LOOP_c_c): New macro.
23711         (cacos_test_data): New variable.
23712         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23713         (cacosh_test_data): New variable.
23714         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23715         (casin_test_data): New variable.
23716         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23717         (casinh_test_data): New variable.
23718         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23719         (catan_test_data): New variable.
23720         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23721         (catanh_test_data): New variable.
23722         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23723         (ccos_test_data): New variable.
23724         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23725         (ccosh_test_data): New variable.
23726         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23727         (cexp_test_data): New variable.
23728         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23729         (clog_test_data): New variable.
23730         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23731         (clog10_test_data): New variable.
23732         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23733         (conj_test_data): New variable.
23734         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23735         (cproj_test_data): New variable.
23736         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23737         (csin_test_data): New variable.
23738         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23739         (csinh_test_data): New variable.
23740         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23741         (csqrt_test_data): New variable.
23742         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23743         (ctan_test_data): New variable.
23744         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23745         (ctan_tonearest_test_data): New variable.
23746         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23747         (ctan_towardzero_test_data): New variable.
23748         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23749         (ctan_downward_test_data): New variable.
23750         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23751         (ctan_upward_test_data): New variable.
23752         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23753         (ctanh_test_data): New variable.
23754         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23755         (ctanh_tonearest_test_data): New variable.
23756         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23757         (ctanh_towardzero_test_data): New variable.
23758         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23759         (ctanh_downward_test_data): New variable.
23760         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23761         (ctanh_upward_test_data): New variable.
23762         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23763         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23764         of BUILD_COMPLEX.
23766         * math/libm-test.inc (struct test_ff_f_data): New type.
23767         (struct test_ff_f_data_nexttoward): Likewise.
23768         (RUN_TEST_LOOP_2_f): New macro.
23769         (RUN_TEST_LOOP_ff_f): Likewise.
23770         (atan2_test_data): New variable.
23771         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23772         (copysign_test_data): New variable.
23773         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23774         (fdim_test_data): New variable.
23775         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23776         (fmax_test_data): New variable.
23777         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23778         (fmin_test_data): New variable.
23779         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23780         (fmod_test_data): New variable.
23781         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23782         (hypot_test_data): New variable.
23783         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23784         (nextafter_test_data): New variable.
23785         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23786         (nexttoward_test_data): New variable.
23787         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23788         (pow_test_data): New variable.
23789         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23790         (pow_tonearest_test_data): New variable.
23791         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23792         (pow_towardzero_test_data): New variable.
23793         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23794         (pow_downward_test_data): New variable.
23795         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23796         (pow_upward_test_data): New variable.
23797         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23798         (remainder_test_data): New variable.
23799         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23800         (scalb_test_data): New variable.
23801         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23802         * sysdeps/i386/fpu/libm-test-ulps: Update.
23804 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23806         * math/libm-test.inc (fma_test): Use max_value instead of local
23807         variable fltmax.
23808         (nextafter_test): Likewise.
23810         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23811         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23812         (acos_downward_test_data): New variable.
23813         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23814         (acos_upward_test_data): New variable.
23815         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23816         (acosh_test_data): New variable.
23817         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23818         (asin_test_data): New variable.
23819         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23820         (asin_tonearest_test_data): New variable.
23821         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23822         (asin_towardzero_test_data): New variable.
23823         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23824         (asin_downward_test_data): New variable.
23825         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23826         (asin_upward_test_data): New variable.
23827         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23828         (asinh_test_data): New variable.
23829         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23830         (atan_test_data): New variable.
23831         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23832         (atanh_test_data): New variable.
23833         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23834         (cbrt_test_data): New variable.
23835         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23836         (ceil_test_data): New variable.
23837         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23838         (cos_test_data): New variable.
23839         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23840         (cos_tonearest_test_data): New variable.
23841         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23842         (cos_towardzero_test_data): New variable.
23843         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23844         (cos_downward_test_data): New variable.
23845         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23846         (cos_upward_test_data): New variable.
23847         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23848         (cosh_test_data): New variable.
23849         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23850         (cosh_tonearest_test_data): New variable.
23851         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23852         (cosh_towardzero_test_data): New variable.
23853         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23854         (cosh_downward_test_data): New variable.
23855         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23856         (cosh_upward_test_data): New variable.
23857         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23858         (erf_test_data): New variable.
23859         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23860         (erfc_test_data): New variable.
23861         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23862         (exp_test_data): New variable.
23863         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23864         (exp_tonearest_test_data): New variable.
23865         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23866         (exp_towardzero_test_data): New variable.
23867         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23868         (exp_downward_test_data): New variable.
23869         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23870         (exp_upward_test_data): New variable.
23871         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23872         (exp10_test_data): New variable.
23873         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23874         (exp2_test_data): New variable.
23875         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23876         (expm1_test_data): New variable.
23877         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23878         (fabs_test_data): New variable.
23879         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23880         (floor_test_data): New variable.
23881         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23882         (j0_test_data): New variable.
23883         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23884         (j1_test_data): New variable.
23885         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23886         (log_test_data): New variable.
23887         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23888         (log10_test_data): New variable.
23889         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23890         (log1p_test_data): New variable.
23891         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23892         (log2_test_data): New variable.
23893         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23894         (logb_test_data): New variable.
23895         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23896         (logb_downward_test_data): New variable.
23897         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23898         (nearbyint_test_data): New variable.
23899         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23900         (rint_test_data): New variable.
23901         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23902         (rint_tonearest_test_data): New variable.
23903         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23904         (rint_towardzero_test_data): New variable.
23905         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23906         (rint_downward_test_data): New variable.
23907         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23908         (rint_upward_test_data): New variable.
23909         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23910         (round_test_data): New variable.
23911         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23912         (sin_test_data): New variable.
23913         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23914         (sin_tonearest_test_data): New variable.
23915         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23916         (sin_towardzero_test_data): New variable.
23917         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23918         (sin_downward_test_data): New variable.
23919         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23920         (sin_upward_test_data): New variable.
23921         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23922         (sinh_test_data): New variable.
23923         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23924         (sinh_tonearest_test_data): New variable.
23925         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23926         (sinh_towardzero_test_data): New variable.
23927         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23928         (sinh_downward_test_data): New variable.
23929         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23930         (sinh_upward_test_data): New variable.
23931         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23932         (sqrt_test_data): New variable.
23933         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23934         (tan_test_data): New variable.
23935         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23936         (tan_tonearest_test_data): New variable.
23937         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23938         (tan_towardzero_test_data): New variable.
23939         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23940         (tan_downward_test_data): New variable.
23941         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23942         (tan_upward_test_data): New variable.
23943         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23944         (tanh_test_data): New variable.
23945         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23946         (tgamma_test_data): New variable.
23947         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23948         (trunc_test_data): New variable.
23949         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23950         (y0_test_data): New variable.
23951         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23952         (y1_test_data): New variable.
23953         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23954         (significand_test_data): New variable.
23955         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23957 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23959         [BZ #12387]
23960         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23962 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23964         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23966 2013-05-10  Andreas Jaeger  <aj@suse.de>
23968         [BZ #15448]
23969         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23970         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23972 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23974         * math/gen-libm-test.pl (adjust_arg): New function.
23975         (special_functions): Handle generating output in both functions
23976         and arrays.
23977         (parse_args): Likewise.
23978         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23979         $in_func argument to parse_args.
23980         * math/libm-test.inc (struct test_f_f_data): New type.
23981         (IF_ROUND_INIT_): New macro.
23982         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23983         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23984         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23985         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23986         (ROUND_RESTORE_): Likewise.
23987         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23988         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23989         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23990         (ROUND_RESTORE_FE_UPWARD): Likewise.
23991         (RUN_TEST_LOOP_f_f): New macro.
23992         (acos_test_data): New variable.
23993         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23994         (acos_tonearest_test_data): New variable.
23995         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23997 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23999         * benchtests/bench-skeleton.c (startup): Fix coding style.
24001 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24003         [BZ #6809]
24004         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24005         negative infinity argument.
24006         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24007         negative infinity argument.
24008         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24009         negative infinity argument.
24010         * math/libm-test.inc (tgamma_test): Expect errno to be set for
24011         domain errors.
24013 2013-05-10  Florian Weimer  <fweimer@redhat.com>
24015         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24016         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24017         * iconv/iconv_prog.c (main): Likewise.
24018         * locale/programs/charmap-dir.c (charmap_readdir)
24019         (fopen_uncompressed): Likewise.
24020         * locale/programs/locfile.c (siblings_uncached)
24021         (write_locale_data): Use lstat64 instead of lstat.
24022         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24023         stat.
24025 2013-05-10  Andreas Jaeger  <aj@suse.de>
24027         [BZ #15395]
24028         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24029         localization.
24030         Include <locale.h>.
24032 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
24034         * elf/dl-close.c (_dl_close_worker): Add comments.
24036 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
24038         [BZ #15359]
24039         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24040         high part of pi/2.
24041         (__ieee754_rem_pio2l): Update comments.
24043         [BZ #15429]
24044         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24045         high part of pi/2.
24046         (__ieee754_rem_pio2l): Update comments.
24048         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24049         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24051         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24052         M_PI_4l.
24054         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24055         (M_PI_34_LOG10El): Likewise.
24056         (M_PI2_LOG10El): Likewise.
24057         (M_PI4_LOG10El): Likewise.
24058         (M_PI_LOG10El): Likewise.
24060 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24064 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
24066         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24067         (MINUS_ZERO_INIT): Likewise.
24068         (PLUS_INFTY_INIT): Likewise.
24069         (MINUS_INFTY_INIT): Likewise.
24070         (QNAN_VALUE_INIT): Likewise.
24071         (MAX_VALUE_INIT): Likewise.
24072         (MIN_VALUE_INIT): Likewise.
24073         (MIN_SUBNORM_VALUE_INIT): Likewise.
24074         (plus_zero): Initialize with PLUS_ZERO_INIT.
24075         (minus_zero): Initialize with MINUS_ZERO_INIT.
24076         (plus_infty): Initialize with PLUS_INFTY_INIT.
24077         (minus_infty): Initialize with MINUS_INFTY_INIT.
24078         (qnan_value): Initialize with QNAN_VALUE_INIT.
24079         (max_value): Initialize with MAX_VALUE_INIT.
24080         (min_value): Initialize with MIN_VALUE_INIT.
24081         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24083         * math/libm-test.inc (RUN_TEST_if_f): New macro.
24084         (jn_test): Use TEST_if_f instead of TEST_ff_f.
24085         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24086         (yn_test): Use TEST_if_f instead of TEST_ff_f.
24088         * math/libm-test.inc (RUN_TEST_f_f): New macro.
24089         (RUN_TEST_2_f): Likewise.
24090         (RUN_TEST_ff_f): Likewise.
24091         (RUN_TEST_fi_f): Likewise.
24092         (RUN_TEST_fl_f): Likewise.
24093         (RUN_TEST_fff_f): Likewise.
24094         (RUN_TEST_c_f): Likewise.
24095         (RUN_TEST_f_f1): Likewise.
24096         (RUN_TEST_fF_f1): Likewise.
24097         (RUN_TEST_fI_f1): Likewise.
24098         (RUN_TEST_ffI_f1): Likewise.
24099         (RUN_TEST_c_c): Likewise.
24100         (RUN_TEST_cc_c): Likewise.
24101         (RUN_TEST_f_i): Likewise.
24102         (RUN_TEST_f_i_tg): Likewise.
24103         (RUN_TEST_ff_i_tg): Likewise.
24104         (RUN_TEST_f_b): Likewise.
24105         (RUN_TEST_f_b_tg): Likewise.
24106         (RUN_TEST_f_l): Likewise.
24107         (RUN_TEST_f_L): Likewise.
24108         (RUN_TEST_sincos): Likewise.
24109         * math/gen-libm-test.pl (new_test): Take new argument to indicate
24110         whether to show exceptions.  Do not include ");\n" in return
24111         value.
24112         (special_functions): Output call to RUN_TEST_sincos instead of
24113         check_float calls.  Update calls to new_test.
24114         (parse_args): Output call to single RUN_TEST_* macro instead of
24115         check_* calls and other assignments.  Update calls to new_test.
24117         [BZ #2546]
24118         [BZ #2560]
24119         [BZ #5159]
24120         [BZ #15426]
24121         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24122         input to result for tgamma overflow.
24123         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24124         (gamma_coeff): New variable.
24125         (NCOEFF): New macro.
24126         (gamma_positive): New function.
24127         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24128         underflow here.  Use gamma_positive instead of exp (lgamma) for
24129         other arguments.
24130         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24131         (gamma_coeff): New variable.
24132         (NCOEFF): New macro.
24133         (gammaf_positive): New function.
24134         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24135         underflow here.  Use gamma_positive instead of exp (lgamma) for
24136         other arguments.
24137         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24138         (gamma_coeff): New variable.
24139         (NCOEFF): New macro.
24140         (gammal_positive): New function.
24141         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24142         underflow here.  Use gamma_positive instead of exp (lgamma) for
24143         other arguments.
24144         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24145         (gamma_coeff): New variable.
24146         (NCOEFF): New macro.
24147         (gammal_positive): New function.
24148         (__ieee754_gammal_r): Handle positive infinity, overflow and
24149         underflow here.  Handle NaN the same as positive infinity.  Remove
24150         check x < 0xffffffff for negative integers.  Use gamma_positive
24151         instead of exp (lgamma) for other arguments.
24152         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24153         (gamma_coeff): New variable.
24154         (NCOEFF): New macro.
24155         (gammal_positive): New function.
24156         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24157         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24158         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24159         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24160         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24161         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24162         * sysdeps/generic/math_private.h (__gamma_productf): New
24163         prototype.
24164         (__gamma_product): Likewise.
24165         (__gamma_productl): Likewise.
24166         * math/Makefile (libm-calls): Add gamma_product.
24167         * math/libm-test.inc (tgamma_test): Add more tests.
24168         * sysdeps/i386/fpu/libm-test-ulps: Update.
24169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24171 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
24173         * benchtests/bench-skeleton.c (main): Preheat CPU.
24175 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
24177         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24179 2013-05-07  Roland McGrath  <roland@hack.frob.com>
24181         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24182         and _dl_skip_args_internal.
24184 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24186         * manual/message.texi (Message Translation): Talk about users.
24187         Message to key mapping impacts design.
24189 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24191         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24193         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24195         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24196         * sysdeps/wordsize-64/glob64.c: ... here.
24198         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24199         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24200         New macros.
24202         * debug/getlogin_r_chk.c: Moved to ...
24203         * login/getlogin_r_chk.c: ... here.
24204         * debug/Makefile (routines): Move getlogin_r_chk to ...
24205         * login/Makefile (routines): ... here.
24206         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24207         * login/Versions (libc: GLIBC_2.4): ... here.
24209         * io/poll.c (__poll): Renamed from poll.
24210         Add libc_hidden_def.
24211         (poll): Define as weak alias.
24213         * debug/ptsname_r_chk.c: Moved to ...
24214         * login/ptsname_r_chk.c: ... here.
24215         * debug/Makefile (routines): Move ptsname_r_chk to ...
24216         * login/Makefile (routines): ... here.
24217         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24218         * login/Versions (libc: GLIBC_2.4): ... here.
24220         * posix/getlogin.c: Moved to ...
24221         * login/getlogin.c: ... here.
24222         * posix/getlogin_r.c: Moved to ...
24223         * login/getlogin_r.c: ... here.
24224         * posix/getlogin_r.c: Moved to ...
24225         * login/getlogin_r.c: ... here.
24226         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24227         * login/Makefile (routines): ... here.
24228         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24229         * login/Versions (libc: GLIBC_2.0): ... here.
24231         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24232         (setrlimit): Define as weak alias.
24234         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24235         Call __ names for open, ftruncate, and close.
24236         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24237         (truncate): Define as weak alias.
24239 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24241         * math/gen-libm-test.pl (parse_args): Initialize x before each
24242         test of frexp, modf and remquo.
24244         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24245         test signgam value.
24247 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24249         [BZ #15418]
24250         [BZ #15419]
24251         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24252         internal tests.
24253         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24255 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24257         * elf/dl-writev.h: New file.
24258         * elf/dl-misc.c: Include it.
24259         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24260         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24262 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24264         * math/libm-test.inc (noXFails): Remove variable.
24265         (noXPasses): Likewise.
24266         (BUILD_COMPLEX_INT): Remove macro.
24267         (print_screen): Remove xfail argument.
24268         (print_screen_max_error): Likewise.
24269         (update_stats): Likewise.
24270         (print_max_error): Likewise.  Update calls to other affected
24271         functions.
24272         (print_complex_max_error): Likewise.
24273         (test_single_exception): Update calls to print_screen.
24274         (test_single_errno): Likewise.
24275         (check_float_internal): Remove xfail argument.  Update calls to
24276         other affected functions.
24277         (check_float): Likewise.
24278         (check_complex): Likewise.
24279         (check_int): Likewise.
24280         (check_long): Likewise.
24281         (check_bool): Likewise.
24282         (check_longlong): Likewise.
24283         (main): Don't print noXFails and noXPasses.
24284         * math/gen-libm-test.pl (top level): Don't mention expected
24285         failure handling in comment.
24286         (new_test): Don't handle expected failures.
24287         (parse_args): Don't mention expected failure handling in comment.
24288         (generate_testfile): Don't handle expected failures.
24289         (parse_ulps): Likewise.
24290         (print_ulps_file): Likewise.
24291         (get_failure): Remove function.
24292         (output_test): Don't handle expected failures.
24293         * make/README.libm-test: Don't mention expected failure handling.
24295         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24296         (minus_zero): Likewise.
24297         (plus_infty): Likewise.
24298         (minus_infty): Likewise.
24299         (qnan_value): Likewise.
24300         (max_value): Likewise.
24301         (min_value): Likewise.
24302         (min_subnorm_value): Likewise.
24303         (initialize): Do not initialize those variables dynamically.
24305 2013-05-03  Roland McGrath  <roland@hack.frob.com>
24307         * io/open.c (__open_2): Moved to ...
24308         * io/open_2.c: ... this new file.
24309         * io/open64.c (__open64_2): Moved to ...
24310         * io/open64_2.c: ... this new file.
24311         * io/openat.c (__openat_2): Moved to ...
24312         * io/openat_2.c: ... this new file.
24313         * io/openat64.c (__openat64_2): Moved to ...
24314         * io/openat64_2.c: ... this new file.
24315         * io/Makefile (routines): Add them.
24316         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24317         * sysdeps/unix/sysv/linux/open_2.c: File removed.
24318         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24319         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24320         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24321         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24322         (__openat64): Add hidden_ver.
24323         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24324         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24326         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24327         Separately conditionalize setting of GLRO(dl_sysinfo) so
24328         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24329         as well, but the actual setting is only under [NEED_DL_SYSINFO].
24331 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24333         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24334         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24335         definition.
24336         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24337         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24338         (_libc_vdso_platform_setup): Add __vdso_time initialization.
24339         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24340         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24342 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
24344         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24345         test signgam value.
24347         * math/libm-test.inc (hypot_test): Do not use
24348         IGNORE_ZERO_INF_SIGN.
24350 2013-05-03  Andreas Jaeger  <aj@suse.de>
24352         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24353         Linux 3.9.
24354         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24355         (PF_MAX): Adjust for VSOCK change.
24357 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24361 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
24363         [BZ #15264]
24364         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24365         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24366         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24368 2013-05-02  David S. Miller  <davem@davemloft.net>
24370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24372 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
24374         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24376 2013-05-01  Roland McGrath  <roland@hack.frob.com>
24378         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24380 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
24382         [BZ #14952]
24383         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24384         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24385         Use __attribute__ ((__gnu_inline__)).
24386         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24387         Don't use __attribute__ ((__gnu_inline__)).
24389 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
24391         [BZ #15423]
24392         * math/s_catan.c (__catan): Handle small real or imaginary part of
24393         input specially to avoid spurious underflow.
24394         * math/s_catanf.c (__catanf): Likewise.
24395         * math/s_catanh.c (__catanh): Likewise.
24396         * math/s_catanhf.c (__catanhf): Likewise.
24397         * math/s_catanhl.c (__catanhl): Likewise.
24398         * math/s_catanl.c (__catanl): Likewise.
24399         * math/libm-test.inc (catan_test): Add more tests.
24400         (catanh_test): Likewise.
24401         * sysdeps/i386/fpu/libm-test-ulps: Update.
24402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24404 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24408 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
24410         [BZ #15416]
24411         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24412         accurately for denominator in atan2.
24413         * math/s_catanf.c (__catanf): Likewise.
24414         * math/s_catanh.c (__catanh): Likewise.
24415         * math/s_catanhf.c (__catanhf): Likewise.
24416         * math/s_catanhl.c (__catanhl): Likewise.
24417         * math/s_catanl.c (__catanl): Likewise.
24418         * math/libm-test.inc (catan_test): Add more tests.
24419         (catanh_test): Likewise.
24420         * sysdeps/i386/fpu/libm-test-ulps: Update.
24421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24423 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24425         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24427         * benchtests/Makefile (bench): Remove slow benchmarks.
24428         * benchtests/atan-inputs: Add slow benchmark inputs.
24429         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24430         (BENCH_FUNC): Accept variant offset.
24431         (VARIANT): Define.
24432         * benchtests/bench-skeleton.c (main): Run benchmark for each
24433         variant.
24434         * benchtests/cos-inputs: Add slow benchmark inputs.
24435         * benchtests/exp-inputs: Likewise.
24436         * benchtests/pow-inputs: Likewise.
24437         * benchtests/sin-inputs: Likewise.
24438         * benchtests/slowatan-inputs: Remove.
24439         * benchtests/slowatan.c: Remove.
24440         * benchtests/slowcos-inputs: Remove.
24441         * benchtests/slowcos.c: Remove.
24442         * benchtests/slowexp-inputs: Remove.
24443         * benchtests/slowexp.c: Remove.
24444         * benchtests/slowpow-inputs: Remove.
24445         * benchtests/slowpow.c: Remove.
24446         * benchtests/slowsin-inputs: Remove.
24447         * benchtests/slowsin.c: Remove.
24448         * benchtests/slowtan-inputs: Remove.
24449         * benchtests/slowtan.c: Remove.
24450         * benchtests/tan-inputs: Add slow benchmark inputs.
24451         * scripts/bench.pl: Parse comments and directives.
24453         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
24454         in CPPFLAGS.
24455         ($(objpfx)bench-%.c): Remove *-ITER.
24456         * benchtests/bench-modf.c: Remove definition of ITER.
24457         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24458         (main): Loop for DURATION seconds instead of fixed number of
24459         iterations.
24460         * scripts/bench.pl: Don't expect iterations in parameters.
24462 2013-04-29  Roland McGrath  <roland@hack.frob.com>
24464         * io/fchdir.c (__fchdir): Renamed from fchdir.
24465         (fchdir): Define as weak alias.
24467 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24469         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24470         (ERRNO_EDOM): Likewise.
24471         (ERRNO_ERANGE): Likewise.
24472         (noErrnoTests): New variable.
24473         (init_max_error): Set errno to 0.
24474         (test_single_errno): New function.
24475         (test_errno): Likewise.
24476         (check_float_internal): Call test_errno.  Set errno to 0.
24477         (check_complex): Refer to errno tests in comment.
24478         (check_int): Call test_errno.  Set errno to 0.
24479         (check_long): Likewise.
24480         (check_bool): Likewise.
24481         (check_longlong): Likewise.
24482         (cos_test): Use ERRNO_* flags for errno tests instead of
24483         check_int.
24484         (expm1_test): Likewise.
24485         (fmod_test): Likewise.
24486         (ilogb_test): Likewise.
24487         (lgamma_test): Likewise.
24488         (pow_test): Likewise.
24489         (remainder_test): Likewise.
24490         (sin_test): Likewise.
24491         (tan_test): Likewise.
24492         (yn_test): Likewise.
24493         (initialize): Set errno to 0.
24494         (main): Print number of errno tests.
24495         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24497 2013-04-29  Andreas Jaeger  <aj@suse.de>
24499         [BZ #15084]
24500         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24501         and RES_USEVC.
24503         [BZ #15085]
24504         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24505         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24506         unimplemented.
24508         [BZ #15380]
24509         * stdlib/random.c (__initstate): Return NULL if
24510         __initstate fails.
24512         [BZ #15086]
24513         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24514         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24515         RES_SNGLKUPREOP.
24517 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24521 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24523         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24524         of individual tests.
24525         (casin_test): Likewise.
24526         (casinh_test): Likewise.
24528 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
24530         [BZ #15409]
24531         * math/s_catan.c (__catan): Handle arguments with large real or
24532         imaginary part separately without squaring.
24533         * math/s_catanf.c (__catanf): Likewise.
24534         * math/s_catanh.c (__catanh): Likewise.
24535         * math/s_catanhf.c (__catanhf): Likewise.
24536         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24537         and redefine.
24538         (__catanhl): Handle arguments with large real or imaginary part
24539         separately without squaring.
24540         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24541         and redefine.
24542         (__catanl): Handle arguments with large real or imaginary part
24543         separately without squaring.
24544         * math/libm-test.inc (catan_test): Add more tests.
24545         (catanh_test): Likewise.
24546         * sysdeps/i386/fpu/libm-test-ulps: Update.
24547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24549 2013-04-27  Andreas Jaeger  <aj@suse.de>
24551         [BZ #15007]
24552         * stdlib/stdlib.h: Update guards for qecvt.
24553         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24554         <stdlib.h>.
24556 2013-04-27  Allan McRae  <allan@archlinux.org>
24558         * sysdeps/i386/fpu/libm-test-ulps: Update.
24560 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
24562         [BZ #15406]
24563         * math/s_catan.c: Include <float.h>.
24564         (__catan): Ensure underflow exception occurs for underflowed
24565         result.
24566         * math/s_catanf.c: Include <float.h>.
24567         (__catanf): Ensure underflow exception occurs for underflowed
24568         result.
24569         * math/s_catanh.c: Include <float.h>.
24570         (__catanh): Ensure underflow exception occurs for underflowed
24571         result.
24572         * math/s_catanhf.c: Include <float.h>.
24573         (__catanhf): Ensure underflow exception occurs for underflowed
24574         result.
24575         * math/s_catanhl.c: Include <float.h>.
24576         (__catanhl): Ensure underflow exception occurs for underflowed
24577         result.
24578         * math/s_catanl.c: Include <float.h>.
24579         (__catanl): Ensure underflow exception occurs for underflowed
24580         result.
24581         * math/libm-test.inc (catan_test): Add more tests.
24582         (catanh_test): Likewise.
24584         [BZ #15405]
24585         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24586         underflowed result.
24587         * math/s_ccoshf.c (__ccoshf): Likewise.
24588         * math/s_ccoshl.c (__ccoshl): Likewise.
24589         * math/s_csin.c (__csin): Likewise.
24590         * math/s_csinf.c (__csinf): Likewise.
24591         * math/s_csinh.c (__csinh): Likewise.
24592         * math/s_csinhf.c (__csinhf): Likewise.
24593         * math/s_csinhl.c (__csinhl): Likewise.
24594         * math/s_csinl.c (__csinl): Likewise.
24595         * math/libm-test.inc (ccos_test): Add more tests.
24596         (ccosh_test): Likewise.
24597         (csin_test): Likewise.
24598         (csinh_test): Likewise.
24600 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24602         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24603         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24604         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24605         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24606         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24607         powerpc/power5+/fpu folders.
24608         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24611 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24615 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
24617         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24618         additions to variable.
24619         [$(config-machine) = x86_64] (modules-names): Likewise.
24620         ($(objpfx)tst-audit3): Remove dependency.
24621         ($(objpfx)tst-audit3.out): Likewise.
24622         ($(objpfx)tst-audit4): Likewise.
24623         ($(objpfx)tst-audit4.out): Likewise.
24624         ($(objpfx)tst-audit5): Likewise.
24625         ($(objpfx)tst-audit5.out): Likewise.
24626         ($(objpfx)tst-audit6): Likewise.
24627         ($(objpfx)tst-audit6.out): Likewise.
24628         ($(objpfx)tst-audit7): Likewise.
24629         ($(objpfx)tst-audit7.out): Likewise.
24630         (tst-audit3-ENV): Remove variable.
24631         (tst-audit4-ENV): Likewise.
24632         (tst-audit5-ENV): Likewise.
24633         (tst-audit6-ENV): Likewise.
24634         (tst-audit7-ENV): Likewise.
24635         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24636         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24637         addition to variable.
24638         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24639         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24640         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24641         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24642         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24643         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24644         tst-audit3, tst-audit4 and tst-audit5.
24645         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24646         tst-audit6 and tst-audit7.
24647         [$(subdir) = elf] (modules-names): Add audit modules for those
24648         tests.
24649         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24650         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24651         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24652         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24653         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24654         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24655         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24656         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24657         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24658         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24659         [$(subdir) = elf] (tst-audit3-ENV): New variable.
24660         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24661         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24662         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24663         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24664         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24665         Likewise.
24666         [$(subdir) = elf && $(config-cflags-avx) = yes]
24667         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24668         [$(subdir) = elf && $(config-cflags-avx) = yes]
24669         (CFLAGS-tst-auditmod4a.c): Likewise.
24670         [$(subdir) = elf && $(config-cflags-avx) = yes]
24671         (CFLAGS-tst-auditmod4b.c): Likewise.
24672         [$(subdir) = elf && $(config-cflags-avx) = yes]
24673         (CFLAGS-tst-auditmod6b.c): Likewise.
24674         [$(subdir) = elf && $(config-cflags-avx) = yes]
24675         (CFLAGS-tst-auditmod6c.c): Likewise.
24676         [$(subdir) = elf && $(config-cflags-avx) = yes]
24677         (CFLAGS-tst-auditmod7b.c): Likewise.
24678         * elf/tst-audit3.c: Move to ...
24679         * sysdeps/x86_64/tst-audit3.c: ... here.
24680         * elf/tst-audit4.c: Move to ...
24681         * sysdeps/x86_64/tst-audit4.c: ... here.
24682         * elf/tst-audit5.c: Move to ...
24683         * sysdeps/x86_64/tst-audit5.c: ... here.
24684         * elf/tst-audit6.c: Move to ...
24685         * sysdeps/x86_64/tst-audit6.c: ... here.
24686         * elf/tst-audit7.c: Move to ...
24687         * sysdeps/x86_64/tst-audit7.c: ... here.
24688         * elf/tst-auditmod3a.c: Move to ...
24689         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24690         * elf/tst-auditmod3b.c: Move to ...
24691         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24692         * elf/tst-auditmod4a.c: Move to ...
24693         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24694         * elf/tst-auditmod4b.c: Move to ...
24695         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24696         * elf/tst-auditmod5a.c: Move to ...
24697         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24698         * elf/tst-auditmod5b.c: Move to ...
24699         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24700         * elf/tst-auditmod6a.c: Move to ...
24701         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24702         * elf/tst-auditmod6b.c: Move to ...
24703         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24704         * elf/tst-auditmod6c.c: Move to ...
24705         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24706         * elf/tst-auditmod7a.c: Move to ...
24707         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24708         * elf/tst-auditmod7b.c: Move to ...
24709         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24711 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
24713         [BZ #15366]
24714         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24715         define unconditionally.
24716         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24717         define unconditionally.
24718         (INT8_C, INT16_C, etc.): Likewise.
24720 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
24722         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24723         __ehdr_start with hidden visibility.
24725         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24727 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
24729         * math/libm-test.inc (cos_test): Use accurate hex constants.
24730         (sincost_test): Likewise.
24732 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
24734         * math/libm-test.inc (catan_test): Add more tests.
24735         (catanh_test): Likewise.
24737         * math/s_catanf.c (__catanf): Use suffixed floating-point
24738         constants.
24739         * math/s_catanhf.c (__catanhf): Likewise.
24740         * math/s_catanhl.c (__catanhl): Likewise.
24741         * math/s_catanl.c (__catanl): Likewise.
24743         [BZ #15394]
24744         * math/s_catan.c (__catan): Calculate imaginary part of result
24745         with log1p not log unless computing log of number close to 0.
24746         * math/s_catanf.c (__catanf): Likewise.
24747         * math/s_catanl.c (__catanl): Likewise.
24748         * math/s_catanh.c (__catanh): Calculate real part of result with
24749         log1p not log unless computing log of number close to 0.
24750         * math/s_catanhf.c (__catanhf): Likewise.
24751         * math/s_catanhl.c (__catanhl): Likewise.
24752         * math/libm-test.inc (catan_test): Add more tests.
24753         (catanh_test): Likewise.
24754         * sysdeps/i386/fpu/libm-test-ulps: Update.
24755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24757 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24759         * benchtests/Makefile: Mention files in which fast and slow
24760         paths of math functions are implemented.
24762 2013-04-23  Roland McGrath  <roland@hack.frob.com>
24764         * sysdeps/posix/timespec_get.c: New file.
24766 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24768         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24769         POWER.
24770         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24771         for POWER.
24772         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24773         powerpc/power5/fpu folders.
24774         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24775         * benchtests/Makefile: Add modf testcase.
24776         * benchtests/bench-modf.c: New file: Benchmark test for mo
24778 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24780         [BZ #14888]
24781         * time/Makefile (tests): Add tst-strptime-whitespace.
24782         * time/strptime_l.c (get_number): Use ISSPACE.
24783         (__strptime_internal): Likewise.
24784         * time/tst-strptime-whitespace.c: New test case.
24786 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
24788         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24789         member.
24790         (_nss_files_init): Set it here.
24792 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
24794         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24795         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24796         unsigned.
24798 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24800         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24802 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24804         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24805         size just once.
24807 2013-04-21  David S. Miller  <davem@davemloft.net>
24809         * po/ru.po: Update Russion translation from translation project.
24811 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24813         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24814         and setfsgid.
24816 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24818         * configure.in: Remove i386 configure warning. Remove i386 case.
24819         * configure: Regenerate.
24820         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24821         Add example to error message.
24822         * sysdeps/i386/configure: Regenerate.
24824 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24826         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24827         slowtan.
24828         * benchtests/cos-inputs: New file.
24829         * benchtests/slowcos-inputs: New file.
24830         * benchtests/slowcos.c: New file.
24831         * benchtests/slowtan-inputs: New file.
24832         * benchtests/slowtan.c: New file.
24833         * benchtests/tan-inputs: New file.
24835 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24837         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24838         considered kosher.
24840 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24842         * benchtests/Makefile: Include cppflags-iterator.mk to add
24843         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24845         * Makefile.in (bench-clean): New target.
24846         * benchtests/Makefile (bench-clean): Likewise.
24848 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24850         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24852 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24854         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24856 2013-04-15  Andreas Schwab  <schwab@suse.de>
24858         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24859         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24860         * nscd/pwdcache.c (cache_addpw): Likewise.
24861         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24862         more than recsize.
24864 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24866         * benchtests/Makefile (bench): Write all output to
24867         bench-out.tmp together.
24869 2013-04-15  Andreas Schwab  <schwab@suse.de>
24871         * nscd/nscd.c (main): Don't fork again after closing files.
24873 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24875         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24877         * benchtests/Rules (bench-deps): Collect dependencies into a
24878         single variable.  Add Makefile to dependencies.
24879         ($(objpfx)bench-%.c): Depend on bench-deps.
24881 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24882             Xavier Roche  <roche+kml2@exalead.com>
24884         [BZ #15361]
24885         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24886         just that it's a file descriptor.
24887         * manual/llio.texi (Synchronizing AIO Operations): Update description
24888         for EBADF error from aio_fsync.
24890 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24892         * Rules (bench): Move target definition...
24893         * benchtests/Makefile: ... here.
24895 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24897         * math/libm-test.inc (cos_test): Fix PI/2 test.
24898         (sincos_test): Likewise.
24899         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24900         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24902 2013-04-11  Andreas Schwab  <schwab@suse.de>
24904         [BZ #13988]
24905         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24906         accept exponent character only when digits were seen.
24907         * stdio-common/Makefile (tests): Add bug26.
24908         * stdio-common/bug26.c: New file.
24910         [BZ #14293]
24911         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24912         non-freeable.
24914 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24916         * Makeconfig (rtld-prefix): Define built linker prefix.
24917         * Rules (run-bench): Use it.
24918         * math/Makefile (run-regen-ulps): Likewise.
24920         * Rules (bench): Remove eval.
24922 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24923             Roland McGrath  <roland@hack.frob.com>
24924             Ondrej Bilka  <neleai@seznam.cz>
24926         [BZ #15346]
24927         * time/getdate.c: Include ctype.h and alloca.h.
24928         (__getdate_r): Trim leading and trailing spaces of input.
24929         * time/tst-getdate.c (tests): Add tests with leading and
24930         trailing spaces.
24932 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24934         [BZ #14280]
24935         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24936         when computing value.
24938 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24940         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24941         Use testrun.sh to run libm tests.
24943         [BZ #15309]
24944         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24946 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24948         [BZ #15264]
24949         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24951 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24953         * Makefile.in (regen-ulps): New target.
24954         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24955         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24956         [ifneq (no,$(PERL)] (regen-ulps): New target.
24957         [ifeq (no,$(PERL)] (regen-ulps): New target.
24958         * math/libm-test.inc (ulps_file_name): Define.
24959         (output_dir): New variable.
24960         (options): Add "output-dir" option.
24961         (parse_opt): Handle 'o' case.
24962         (main): If output_dir is non-NULL use it as a prefix
24963         otherwise use "".
24964         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24966 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24968         [BZ #10060, #10062]
24969         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24970         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24971         fail configure if __sync_val_compare_and_swap is not inlined.
24972         * sysdeps/i386/configure: Regenerate.
24973         * configure.in: Build for i686 when configured for i386.
24974         * configure: Regenerate.
24975         * README: Remove i386 reference.
24977 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24979         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24980         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24982 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24984         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24985         (lmsnanval): New variables.
24986         (F): Add conversion tests.
24987         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24988         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24990         * stdio-common/tstdiomisc.c (F): Properly collect individual
24991         tests' results.
24993         [BZ #14686, #15336]
24994         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24995         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24996         Instead, use input NaN values or generate a qNaN by arithmetic
24997         operation.  Also fix bugs to comply with the standard.
24998         * math/libm-test.inc (remainder_test): Add more tests.
25000         [BZ #15335, #15342]
25001         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25002         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25003         input NaN values or generate a qNaN by arithmetic operation.
25005         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25006         unreachable code.
25008         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25009         definitions.
25011 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
25013         [BZ #14478]
25014         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25015         underflowed result.
25016         * math/s_cexpf.c (__cexpf): Likewise.
25017         * math/s_cexpl.c (__cexpl): Likewise.
25018         * math/libm-test.inc (cexp_test): Add more tests.
25020 2013-04-03  Andreas Schwab  <schwab@suse.de>
25022         [BZ #15330]
25023         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25024         order arrays from heap if bigger than alloca cutoff.
25026 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
25028         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25029         (SNAN_TESTS_double): Refer to GCC PR56831.
25030         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25031         GCC PR56828.
25033 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25035         * Rules (bench): Move bench.out after the run is complete.
25037         * Rules (bench): Echo currently running benchmark.
25039         * benchtests/Makefile (bench): Add atan and slowatan.
25040         * benchtests/atan-inputs: New file.
25041         * benchtests/slowatan-inputs: New file.
25042         * benchtests/slowatan.c: New file.
25044         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25045         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25046         its value.
25048         [BZ #15305]
25049         * sysdeps/unix/sysv/linux/kernel-features.h
25050         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25051         __ASSUME_XFS_RESTRICTED_CHOWN.
25052         * sysdeps/unix/sysv/linux/pathconf.c
25053         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25054         Save and restore errno.
25056 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
25058         [BZ #15327]
25059         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25060         arguments using __kernel_casinh.
25061         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25062         arguments using __kernel_casinhf.
25063         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25064         arguments using __kernel_casinhl.
25065         * math/libm-test.inc (cacosh_test): Add more tests.
25066         * sysdeps/i386/fpu/libm-test-ulps: Update.
25067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25069 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25071         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25072         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25074         * bench/Makefile (bench): Add sin and slowsin.
25075         * benchtests/sin-inputs: New file.
25076         * benchtests/slowsin-inputs: New file.
25077         * benchtests/slowsin.c: New file.
25079         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25080         (bench): Add slowexp and slowpow.
25081         (exp-ITER): Increase iterations.
25082         (pow-ITER): Likewise.
25083         * benchtests/exp-inputs: Change input.
25084         * benchtests/pow-inputs: Likewise.
25085         * benchtests/slowexp-inputs: New file.
25086         * benchtests/slowexp.c: New file.
25087         * benchtests/slowpow-inputs: New file.
25088         * benchtests/slowpow.c: New file.
25090 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25092         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25093         instructions.
25094         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25095         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25096         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25097         * benchtests/Makefile: Add rint benchtest.
25098         * benchtests/rint-inputs: Input for rint benchtest.
25100 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25102         * Versions.def (libm): Add GLIBC_2.18.
25103         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25104         hidden libm prototypes.
25105         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25106         * math/Makefile (libm-calls): Add s_issignaling.
25107         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25108         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
25109         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25110         declaration.
25111         * math/math.h [__USE_GNU] (issignaling): New macro.
25112         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25113         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25114         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25115         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25116         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25117         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25118         * manual/arith.texi (issignaling): New section.
25119         * manual/libm-err-tab.pl (@all_functions): Update comment.
25120         * math/gen-libm-test.pl (parse_args): Apply special handling for
25121         issignaling.
25122         * math/libm-test.inc (print_float, issignaling_test): New
25123         functions.
25124         (check_float_internal): Add issignaling checks.
25125         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25126         default definition.
25127         * sysdeps/powerpc/math-tests.h: New file.
25128         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25129         tests.
25130         * math/test-snan.c (TEST_FUNC): Likewise.
25132 2013-03-30  David S. Miller  <davem@davemloft.net>
25134         * po/de.po: Update from translation team.
25136 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
25138         [BZ #10357]
25139         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25140         imaginary part less than 1.0 and real part less than 0.5
25141         specially.
25142         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25143         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25144         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25145         (cacos_test): Add more tests.
25146         (casin_test): Likewise.
25147         (casinh_test): Likewise.
25148         * sysdeps/i386/fpu/libm-test-ulps: Update.
25149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25151 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25153         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25154         ONE with its value.
25156         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25157         (__pow_mp): Replace ONE and MONE with their values.
25158         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25159         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25160         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25161         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25162         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25163         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25165         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25167         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25168         (__pow_mp): Replace ZERO and MZERO with their values.
25169         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25170         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25171         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25172         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25173         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25174         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25175         (__sqr): Likewise.
25177         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25179         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25181 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25183         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25184         Declare with __attribute__ ((weak)).
25185         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25186         Call __call_tls_dtors only if it's not NULL.
25188 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25190         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25191         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25192         magic __ehdr_start linker symbol if it's defined.
25193         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25194         them up here if it was already done.
25196         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25197         (_dl_aux_init): Use const in cast when setting it.
25198         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25199         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25200         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25202         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25203         Declare them here.
25204         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25205         * csu/libc-tls.c: Nor here.
25206         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25208         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25209         (__libc_message): Never call vsyslog.
25211 2013-03-28  Alan Modra  <amodra@gmail.com>
25213         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25214         Define as empty.
25215         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25216         Likewise.
25218 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25220         [BZ #15214]
25221         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25222         underflow.
25223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25225 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25227         [BZ #15304]
25228         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25229         Don't add gid passed as argument.
25231         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25233 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25235         [BZ #15307]
25236         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25237         imaginary part between 1.0 and 1.5 and real part less than 0.5
25238         specially.
25239         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25240         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25241         * math/libm-test.inc (cacos_test): Add more tests.
25242         (casin_test): Likewise.
25243         (casinh_test): Likewise.
25244         * sysdeps/i386/fpu/libm-test-ulps: Update.
25245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25247 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25249         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25250         constants.
25251         (norm): Likewise.
25252         (denorm): Likewise.
25253         (__dbl_mp): Likewise.
25254         (add_magnitudes): Likewise.
25255         (sub_magnitudes): Likewise.
25256         (__add): Likewise.
25257         (__sub): Likewise.
25258         (__mul): Likewise.
25259         (__sqr): Likewise.
25260         (__inv): Likewise.
25261         (__dvd): Likewise.
25263         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25264         commented code.
25265         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25266         (__dubcos): Likewise.
25267         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25268         (__ieee754_acos): Likewise.
25269         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25270         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25271         (__exp1): Likewise.
25272         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25273         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25274         (log1): Likewise.
25275         (my_log2): Likewise.
25276         (checkint): Likewise.
25277         * sysdeps/ieee754/dbl-64/e_remainder.c
25278         (__ieee754_remainder): Likewise.
25279         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25281         (bsloww): Likewise.
25282         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25284         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25285         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25286         MANTISSA_STORE_T to store computations on mantissa.  Use
25287         macros for rounding and division.
25288         (denorm): Likewise.
25289         (__dbl_mp): Likewise.
25290         (add_magnitudes): Likewise.
25291         (sub_magnitudes): Likewise.
25292         (__mul): Likewise.
25293         (__sqr): Likewise.
25294         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25295         powers of two in terms of TWOPOW macro.
25296         (mp_no): Make type of mantissa as MANTISSA_T.
25297         [!RADIXI]: Define RADIXI.
25298         [!TWO52]: Define TWO52.
25299         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25301 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25303         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25304         llroundl symbol when building for PPC32.
25306 2013-03-24  Mark H Weaver  <mhw@netris.org>
25308         * manual/arith.texi (Normalization Functions): Fix prototypes for
25309         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25311 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25313         [BZ #13889]
25314         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25315         high value to check if expl overflow.
25316         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25317         to check for underflow and overflow.
25318         * math/libm-test.inc: Add exp test.
25320 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
25322         [BZ #11120]
25323         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25324         with NOT_IN_libc.
25326 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25328         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25329         symbol.
25331 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25333         * math/gen-libm-test.pl (parse_args, special_functions): Properly
25334         wrap blocks consisting of several statements.
25336         * sysdeps/generic/math-tests.h: New file.
25337         * sysdeps/i386/fpu/math-tests.h: Likewise.
25338         * math/test-snan.c: Include it.
25339         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25341 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25343         [BZ #15285]
25344         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25345         (__ieee754_j0l): Do not improve calculations using cos of twice
25346         input for inputs above LDBL_MAX / 2.0L.
25347         (__ieee754_y0l): Likewise.
25348         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25349         (__ieee754_j1l): Do not improve calculations using cos of twice
25350         input for inputs above LDBL_MAX / 2.0L.
25351         (__ieee754_y1l): Likewise.
25352         * math/libm-test.inc (j0_test): Add another test.
25353         (j1_test): Likewise.
25354         (y0_test): Likewise.
25355         (y1_test): Likewise.
25356         * sysdeps/i386/fpu/libm-test-ulps: Update.
25358 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25360         * Rules ($(objpfx)bench-%.c): Include code from a C source
25361         file.
25363 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25365         [BZ #15287]
25366         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25367         imaginary part 1.0 and real part less than 0.5 specially.
25368         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25369         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25370         * math/libm-test.inc (cacos_test): Add more tests.
25371         (casin_test): Likewise.
25372         (casinh_test): Likewise.
25373         * sysdeps/i386/fpu/libm-test-ulps: Update.
25374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25376 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25378         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25379         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25381 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
25383         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25384         * config.make.in (config-cflags-sse4): Remove variable.
25385         (config-cflags-avx): Likewise.
25386         (config-cflags-sse2avx): Likewise.
25387         (config-cflags-novzeroupper): Likewise.
25388         (config-asflags-i686): Likewise.
25389         (have-mfma4): Likewise.
25390         (have-as-vis3): Likewise.
25391         (MIG): Likewise.
25392         * configure.in (MIG): Do not AC_SUBST.
25393         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25394         (libc_cv_cc_sse4): Do not AC_SUBST.
25395         (libc_cv_cc_avx): Likewise.
25396         (libc_cv_cc_sse2avx): Likewise.
25397         (libc_cv_cc_novzeroupper): Likewise.
25398         (libc_cv_cc_fma4): Likewise.
25399         (libc_cv_as_i686): Likewise.
25400         (libc_cv_sparc_as_vis3): Likewise.
25401         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25402         LIBC_CONFIG_VAR.
25403         (config-asflags-i686): Likewise.
25404         (config-cflags-avx): Likewise.
25405         (config-cflags-sse2avx): Likewise.
25406         (have-mfma4): Likewise.
25407         (config-cflags-novzeroupper): Likewise.
25408         * sysdeps/mach/configure.in (MIG): Likewise.
25409         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25410         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25411         LIBC_CONFIG_VAR.
25412         (config-cflags-avx): Likewise.
25413         (config-cflags-sse2avx): Likewise.
25414         (have-mfma4): Likewise.
25415         (config-cflags-novzeroupper): Likewise.
25416         * configure: Regenerated.
25417         * sysdeps/i386/configure: Likewise.
25418         * sysdeps/mach/configure: Likewise.
25419         * sysdeps/sparc/configure: Likewise.
25420         * sysdeps/x86_64/configure: Likewise.
25422 2013-03-20  Roland McGrath  <roland@hack.frob.com>
25424         [BZ #14812]
25425         * locale/programs/localedef.c (options): Put N_ translation marker
25426         on argument names, not just descriptions.
25428 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25430         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25432 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
25434         [BZ #14176]
25435         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25437 2013-03-19  Roland McGrath  <roland@hack.frob.com>
25439         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25440         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25441         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25442         [!BEFORE_ABORT] (before_abort): New function.
25443         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25444         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25445         (writev_for_fatal): New function.
25446         (WRITEV_FOR_FATAL): New macro; call that.
25447         (backtrace_and_maps): New function.
25448         (BEFORE_ABORT): New macro; call that.
25449         (struct str_list): Type removed.
25450         (__libc_message, __libc_fatal): Functions removed.
25451         Include <sysdeps/posix/libc_fatal.c> instead.
25453 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
25455         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25456         constants.
25457         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25458         double constants.
25460 2013-03-19  Andreas Schwab  <schwab@suse.de>
25462         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25463         * sysdeps/gnu/configure: Regenerate.
25465         * configure.in: Substitute libc_cv_rtlddir.
25466         * configure: Regenerate.
25467         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25468         * Makeconfig (rtlddir, inst_rtlddir): New variables.
25469         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25470         * elf/Makefile (install-others, CFLAGS-interp.c)
25471         (ldso_install, common-ldd-rewrite): Likewise.
25472         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25473         $(inst_slibdir)/$(rtld-installed-name).
25474         * scripts/rellns-sh: Add -p option.
25475         * Makerules (make-shlib-link): Use rellns-sh to get relative name
25476         for source.
25478 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25480         * manual/nptl.texi: Renamed to ...
25481         * manual/threads.texi: ... this.
25482         * manual/Makefile (chapters): Update.
25484 2013-03-18  Roland McGrath  <roland@hack.frob.com>
25486         [BZ #14812]
25487         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25488         on argument names, not just descriptions.
25489         * malloc/memusagestat.c (options): Likewise.
25490         * nss/getent.c (options): Likewise.
25492 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
25494         [BZ #14812]
25495         * iconv/iconv_prog.c (options): Put N_ translation marker
25496         on argument names, not just descriptions.
25497         * iconv/iconvconfig.c (options): Likewise.
25499 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
25501         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25502         implementation which is faster on all x86_64 architectures.
25503         Tested on AMD, Intel Nehalem, SNB, IVB.
25504         * sysdeps/x86_64/strnlen.S: Likewise.
25506         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25507         Remove all multiarch strlen and strnlen versions.
25508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25509         Remove strlen and strnlen related parts.
25511         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25512         Inline strlen part.
25513         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25515         * sysdeps/x86_64/multiarch/strlen.S: Remove.
25516         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25517         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25518         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25519         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25520         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25522 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
25524         * manual/memory.texi (Malloc Tunable Parameters):
25525         Sort parameters alphabetically. Add comments for missing entries.
25527 2013-03-17  David S. Miller  <davem@davemloft.net>
25529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25531 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
25533         [BZ #15283]
25534         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25535         for arguments at most half maximum finite value.
25536         * math/libm-test.inc (j0_test): Add more tests.
25537         (j1_test): Likewise.
25538         (y0_test): Likewise.
25539         (y1_test): Likewise.
25540         * sysdeps/i386/fpu/libm-test-ulps: Update.
25541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25543         [BZ #14155]
25544         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25545         1 / x and functions P and Q for arguments above 0x1p256L.
25546         (__ieee754_y0l): Likewise.
25547         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25548         (__ieee754_y1l): Likewise.
25549         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25550         (j1_test): Likewise.
25551         (y0_test): Likewise.
25552         (y1_test): Likewise.
25554 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
25556         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25557         variable.
25559 2013-03-15  Roland McGrath  <roland@hack.frob.com>
25561         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25562         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25563         zero since it's initialized to EXEC_PAGESIZE.
25565         * sysdeps/unix/sysv/linux/ldsodefs.h
25566         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25567         * sysdeps/generic/ldsodefs.h: ... here.
25569 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
25571         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25573         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25574         math/test-snan.c.
25575         * math/test-snan.c: Renamed from
25576         sysdeps/powerpc/fpu/test-powerpc-snan.c.
25577         * math/Makefile (tests): Add test-snan.
25578         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25579         test-powerpc-snan.
25581         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25582         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
25583         functions.
25584         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
25585         __builtin_nan family of functions.
25586         * math/libm-test.inc (initialize): Initialize qnan_value with
25587         __builtin_nan family of functions.
25588         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25589         Remove variables.
25590         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25591         Remove functions.
25592         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
25593         storage class.  Initialize qNaN_var and sNaN_var with
25594         __builtin_nan and __builtin_nans families of functions,
25595         respectively.
25597         * math/libm-test.inc (acosh_test): Also test with qNaN input.
25598         (sqrt_test): Remove duplicate test with qNaN input.
25599         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25600         (round_test, signbit_test, significand_test): Note missing +/-Inf
25601         as well as qNaN tests.
25603         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25604         qNaN_var.  Fix a few strings, too.
25605         * math/libm-test.inc (nan_value): Rename to qnan_value.
25606         * math/gen-libm-test.pl (%beautify): Adjust to that.
25607         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25608         * math/test-misc.c (main): Likewise.
25609         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25610         to __qnan_bytes, and __qnan_union, respectively.
25611         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25612         Likewise.
25613         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25614         and lqnanval, respectively.
25615         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25616         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25617         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25618         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25620         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25621         * math/test-misc.c (main) [__x86_64__]: Enable test for long
25622         doubles.
25624         * math/test-misc.c (main): Fix copy'n'pastos.
25625         * misc/tst-efgcvt.c (special): Likewise.
25627         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25628         Remove declarations.
25630 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25632         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25633         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25634         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25635         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25637 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25639         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25640         macro to return vdso values correctly in IFUNC implementations.
25641         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25642         Optimization by using IFUNC.
25644 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25645             Richard Henderson  <rth@redhat.com>
25646             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25648         * Makefile.in (bench): New target.
25649         * NEWS: Mention the benchmark framework.
25650         * Rules (bench): Likewise.
25651         (binaries-bench): Generate binaries for functions to
25652         benchmark.
25653         * benchtests/Makefile: New makefile for benchmark tests.
25654         * benchtests/bench-skeleton.c: New skeleton file for benchmark
25655         programs.
25656         * benchtests/exp-inputs: New input file for EXP function.
25657         * benchtests/pow-inputs: New input file for POW function.
25658         * scripts/bench.pl: New script to generate source files for
25659         benchmark programs.
25661 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25663         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25664         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25665         computations on mantissa.  Use macros for rounding and
25666         division.
25667         (denorm): Likewise.
25668         (__dbl_mp): Likewise.
25669         (add_magnitudes): Likewise.
25670         (sub_magnitudes): Likewise.
25671         (__mul): Likewise.
25672         (__sqr): Likewise.
25673         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25674         powers of two in terms of TWOPOW macro.
25675         (mp_no): Make type of mantissa as MANTISSA_T.
25676         [!RADIXI]: Define RADIXI.
25677         [!TWO52]: Define TWO52.
25678         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25680         * manual/nptl.texi (cindex): Modify threads to pthreads.
25682 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
25684         * sysdeps/x86_64/preconfigure: Regenerated.
25686 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
25688         [BZ #14155]
25689         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25690         0x1p28 and above.
25691         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25692         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25693         0x1p28 and above.
25694         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25695         * math/libm-test.inc (j0_test): Do not allow one spurious
25696         underflow exception.
25697         (y1_test): Likewise.
25699 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25701         * manual/Makefile (chapters): Add nptl.
25702         * manual/debug.texi (Debugging Support): Add link to Threads
25703         chapter.
25704         * manual/nptl.texi: New file.
25706         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25708 2013-03-14  Petr Baudis  <pasky@ucw.cz>
25710         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25711         for non-NULL pointer before the memory validity test. Pointed
25712         out by Holger Brunck <holger.brunck@keymile.com>.
25714 2013-03-13  Andreas Schwab  <schwab@suse.de>
25716         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25717         instead of .os.
25719 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
25721         * timezone/zic.c: Update from tzcode 2013b.
25723 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
25725         * manual/install.texi (Configuring and compiling):
25726         Mention i686 and i586.
25727         * INSTALL: Regenerate.
25729 2013-03-12  Roland McGrath  <roland@hack.frob.com>
25731         * sysdeps/init_array/elf-init.c: New file.
25732         * csu/elf-init.c
25733         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25734         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25736         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25737         __gmon_start__ as global, but as static with a .preinit_array pointer.
25738         * sysdeps/init_array/gmon-start.c: New file.  Use that.
25739         * sysdeps/init_array/crti.S: New file, empty except for comments.
25740         * sysdeps/init_array/crtn.S: Likewise.
25742 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
25744         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25745         definining bcopy.
25746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25747         Remove Prefer_SSE_for_memop.
25748         * sysdeps/x86_64/multiarch/init-arch.h: Remove
25749         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25750         HAS_PREFER_SSE_FOR_MEMOP.
25751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25752         memset-x86-64.
25753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25754         Remove bzero, memset ifunc support.
25755         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25756         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25757         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25758         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25760 2013-03-11  Andreas Schwab  <schwab@suse.de>
25762         [BZ #15234]
25763         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25764         by SHLIB_COMPAT.
25765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25766         (GLIBC_2.16): Remove pthread_atfork.
25768 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25770         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25771         (ptestcases.h): Likewise.
25773 2013-03-08  Roland McGrath  <roland@hack.frob.com>
25775         * Makeconfig ($(common-objpfx)config.status): Depend on
25776         sysdeps/*/preconfigure{,.in} too.
25778 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
25780         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25781         (__free_hook): Use void * instead of __malloc_ptr_t.
25782         (__malloc_hook): Likewise.
25783         (__realloc_hook): Likewise.
25784         (__memalign_hook): Likewise.
25785         (__after_morecore_hook): Likewise.
25786         * malloc/arena.c (save_malloc_hook): Likewise.
25787         (save_free_hook): Likewise.
25788         * malloc/hooks.c (malloc_hook_ini): Likewise.
25789         (realloc_hook_ini): Likewise.
25790         (memalign_hook_ini): Likewise.
25791         * malloc/malloc.c (malloc_hook_ini): Likewise.
25792         (realloc_hook_ini): Likewise.
25793         (memalign_hook_ini): Likewise.
25794         (__free_hook): Likewise.
25795         (__malloc_hook): Likewise.
25796         (__realloc_hook): Likewise.
25797         (__memalign_hook): Likewise.
25798         (__libc_malloc): Likewise.
25799         (__libc_free): Likewise.
25800         (__libc_realloc): Likewise.
25801         (__libc_memalign): Likewise.
25802         (__libc_valloc): Likewise.
25803         (__libc_pvalloc): Likewise.
25804         (__libc_calloc): Likewise.
25805         (__posix_memalign): Likewise.
25806         * malloc/morecore.c (__sbrk): Likewise.
25807         (__default_morecore): Likewise.
25809         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25811         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25812         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25813         __malloc_ptrdiff_t.
25815         * malloc/malloc.h (__malloc_size_t): Remove macro.
25816         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25817         __malloc_size_t.
25818         (old_memalign_hook): Likewise.
25819         (old_realloc_hook): Likewise.
25820         (struct hdr): Likewise.
25821         (flood): Likewise.
25822         (mallochook): Likewise.
25823         (memalignhook): Likewise.
25824         (reallochook): Likewise.
25825         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25826         (tr_old_realloc_hook): Likewise.
25827         (tr_old_memalign_hook): Likewise.
25828         (tr_mallochook): Likewise.
25829         (tr_reallochook): Likewise.
25830         (tr_memalignhook): Likewise.
25832 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25834         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25835         default_ldbl_pack and using as default implementation.
25836         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25837         implementation.
25838         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25839         redundant definition.
25840         (ldbl_insert_mantissa): Likewise.
25841         (ldbl_canonicalize): Likewise.
25842         (ldbl_nearbyint): Likewise.
25843         (ldbl_pack): Rename to ldbl_pack_ppc.
25844         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25845         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25846         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25848 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25851         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25852         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25853         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25854         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25855         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25856         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25857         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25859 2013-03-07  Andreas Jaeger  <aj@suse.de>
25861         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25862         bits/mman-linux.h.
25864 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25866         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25867         Include mpa.h and declare __MPEXP.
25868         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25869         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25870         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25871         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25872         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25873         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25874         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25876         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25877         (__slowpow): Use long double EXPL and LOGL functions to
25878         compute POW.
25879         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25880         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25881         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25882         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25883         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25884         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25886         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25887         intermediate variable to calculate exponent.
25888         (__sqr): Likewise.
25889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25890         Likewise.
25891         (__sqr): Likewise.
25893         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25894         [!NO__SQR]: Define __sqr.
25895         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25896         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25897         sysdeps/ieee754/dbl-64/mpa.c.
25898         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25900         [BZ #12723]
25901         * posix/Makefile (tests): Add tst-pathconf.
25902         * posix/tst-pathconf.c: New test case.
25903         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25904         _PC_PIPE_BUF.
25905         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25907 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25909         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25911 2013-03-06  Andreas Jaeger  <aj@suse.de>
25913         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25914         definition via __MAP_ANONYMOUS.
25916         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25917         it's not part of Linux headers.
25919         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25920         (MAP_HUGE_MASK): Define.
25922         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25923         Define.
25924         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25925         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25926         Define.
25927         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25928         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25929         Define.
25930         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25931         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25932         Define.
25933         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25935         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25936         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25937         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25938         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25939         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25940         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25942         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25943         Handle f2fs.
25945         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25946         Handle f2fs and efivarfs.
25948         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25949         f2fs.
25951         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25952         (EFIVARFS_MAGIC): Add.
25953         (F2FS_LINK_MAX): Add.
25955 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25957         * stdio-common/vfprintf.c: Replace __builtin_expect with
25958         __glibc_unlikely.
25960 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25962         [BZ #13550]
25963         * sysdeps/generic/bp-sym.h: Remove file.
25964         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25965         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25966         <bp-sym.h> and <bp-asm.h>.
25967         (__longjmp): Don't use BP_SYM.
25968         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25969         and <bp-asm.h>.
25970         (memcpy): Don't use BP_SYM.
25971         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25972         <bp-sym.h> and <bp-asm.h>.
25973         (memcpy): Don't use BP_SYM.
25974         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25975         <bp-asm.h>.
25976         (memcpy): Don't use BP_SYM.
25977         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25978         <bp-asm.h>.
25979         (memset): Don't use BP_SYM.
25980         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25981         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25982         (__bzero): Don't use BP_SYM.
25983         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25984         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25985         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25986         <bp-sym.h> and <bp-asm.h>.
25987         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25988         pointers.
25989         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25990         <bp-sym.h> and <bp-asm.h>.
25991         (memcpy): Don't use BP_SYM.
25992         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25993         <bp-sym.h> and <bp-asm.h>.
25994         (memset): Don't use BP_SYM.
25995         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25996         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25997         (__bzero): Don't use BP_SYM.
25998         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25999         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26000         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26001         <bp-sym.h> and <bp-asm.h>.
26002         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26003         pointers.
26004         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26005         <bp-sym.h> and <bp-asm.h>.
26006         (memcpy): Don't use BP_SYM.
26007         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26008         <bp-sym.h> and <bp-asm.h>.
26009         (memset): Don't use BP_SYM.
26010         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26011         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26012         (__bzero): Don't use BP_SYM.
26013         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26014         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26015         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26016         <bp-sym.h> and <bp-asm.h>.
26017         (__memchr): Don't use BP_SYM.
26018         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26019         <bp-sym.h> and <bp-asm.h>.
26020         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26021         pointers.
26022         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26023         <bp-sym.h> and <bp-asm.h>.
26024         (memcpy): Don't use BP_SYM.
26025         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26026         <bp-sym.h> and <bp-asm.h>.
26027         (__mempcpy): Don't use BP_SYM.
26028         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26029         <bp-sym.h> and <bp-asm.h>.
26030         (__memrchr): Don't use BP_SYM.
26031         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26032         <bp-sym.h> and <bp-asm.h>.
26033         (memset): Don't use BP_SYM.
26034         (__bzero): Likewise.
26035         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26036         <bp-sym.h> and <bp-asm.h>.
26037         (__rawmemchr): Don't use BP_SYM.
26038         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26039         <bp-sym.h> and <bp-asm.h>.
26040         (__STRCMP): Don't use BP_SYM.
26041         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26042         <bp-sym.h> and <bp-asm.h>.
26043         (strchr): Don't use BP_SYM.
26044         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26045         <bp-sym.h> and <bp-asm.h>.
26046         (__strchrnul): Don't use BP_SYM.
26047         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26048         <bp-sym.h> and <bp-asm.h>.
26049         (strlen): Don't use BP_SYM.
26050         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26051         <bp-sym.h> and <bp-asm.h>.
26052         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26053         pointers.
26054         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26055         <bp-sym.h> and <bp-asm.h>.
26056         (__strnlen): Don't use BP_SYM.
26057         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26058         <bp-sym.h> and <bp-asm.h>.
26059         (__GI__setjmp): Don't use BP_SYM.
26060         (_setjmp): Likewise.
26061         (__sigsetjmp): Likewise.
26062         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26063         (L(start_addresses)): Don't use BP_SYM.
26064         (_start): Likewise.
26065         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26066         <bp-asm.h>.
26067         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26068         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26069         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26070         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26071         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26072         <bp-asm.h>.
26073         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26074         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
26075         about bounded pointers.
26076         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26077         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26078         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26079         <bp-asm.h>.
26080         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26081         about bounded pointers.  Remove GKM FIXME comments.
26082         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26083         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26084         <bp-asm.h>.
26085         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26086         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
26087         Remove GKM FIXME comments.
26088         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26089         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26090         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26091         <bp-asm.h>.
26092         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26093         about bounded pointers.  Remove GKM FIXME comment.
26094         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26095         and <bp-asm.h>.
26096         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26097         pointers.
26098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26099         <bp-sym.h> and <bp-asm.h>.
26100         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26102         <bp-sym.h> and <bp-asm.h>.
26103         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26104         comment.
26106 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26108         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26109         call free(NULL).
26111 2013-03-05  David S. Miller  <davem@davemloft.net>
26113         * po/es.po: Update from translation team.
26115 2013-03-05  Andreas Jaeger  <aj@suse.de>
26117         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26118         <bits/mman-linux.h>.
26119         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26120         is fine.
26121         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26122         <bits/mman-linux.h> to end of file.
26123         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26124         is fine.
26125         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26126         <bits/mman-linux.h> to end of file.
26127         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26128         is fine.
26129         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26130         <bits/mman-linux.h> to end of file.
26132         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26133         (MCL_CURRENT, MCL_FUTURE): Define here.
26135 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26137         [BZ #15232]
26138         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26139         attribute_hidden.
26140         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26142 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26144         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26145         fourth parameter needed for rt_sigprocmask syscall.
26146         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26147         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26148         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26149         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26150         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26151         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26153 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
26155         [BZ #13550]
26156         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26157         comment about bounded pointers.
26158         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26159         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26161 2013-03-04  Andreas Jaeger  <aj@suse.de>
26163         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26164         common definitions.
26166         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26167         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26168         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26169         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26170         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26171         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26173 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26175         [BZ #15055]
26176         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26177         __ieee754_sqrl instead of __sqrl.
26179 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
26181         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26182         * sysdeps/powerpc/fpu_control.h: ... here.
26183         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26184         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26185         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26186         * sysdeps/powerpc/bits/mathinline.h: ... here.
26188 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26190         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26191         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26192         to just [NEED_DL_SYSINFO_DSO].
26193         * elf/dl-support.c: Likewise.
26194         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26195         * elf/rtld.c (dl_main): Likewise.
26196         * elf/setup-vdso.h (setup_vdso): Likewise.
26197         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26198         * sysdeps/unix/sysv/linux/dl-sysdep.c
26199         (_dl_discover_osversion): Likewise.
26201 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26203         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26204         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26206 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26208         * NEWS: Mention libm performance improvements and non-x86 PI
26209         futex support.
26211         * csu/libc-start.c (__pthread_initialize_minimal): Change
26212         function arguments.
26213         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26215 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26217         [BZ #13550]
26218         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26219         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26220         <bp-sym.h> and <bp-asm.h>.
26221         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26222         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26223         and <bp-asm.h>.
26224         (memcpy): Don't use BP_SYM.
26225         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26226         <bp-asm.h>.
26227         (__mpn_add_n): Don't use BP_SYM.
26228         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26229         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26230         and <bp-asm.h>.
26231         (__mpn_addmul_1): Don't use BP_SYM.
26232         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26233         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26234         <bp-sym.h>.
26235         (_setjmp): Don't use BP_SYM.
26236         (__novmx_setjmp): Likewise.
26237         (__GI__setjmp): Likewise.
26238         (__vmx_setjmp): Likewise.
26239         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26240         <bp-sym.h>.
26241         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26242         (__bzero): Don't use BP_SYM.
26243         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26244         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26245         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26246         <bp-sym.h> and <bp-asm.h>.
26247         (memcpy): Don't use BP_SYM.
26248         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26249         <bp-sym.h> and <bp-asm.h>.
26250         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26251         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26252         <bp-sym.h> and <bp-asm.h>.
26253         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26254         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26255         <bp-asm.h>.
26256         (__mpn_lshift): Don't use BP_SYM.
26257         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26258         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26259         <bp-asm.h>.
26260         (memset): Don't use BP_SYM.
26261         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26262         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26263         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26264         <bp-asm.h>.
26265         (__mpn_mul_1): Don't use BP_SYM.
26266         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26267         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26268         <bp-sym.h> and <bp-asm.h>.
26269         (memcmp): Don't use BP_SYM.
26270         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26271         <bp-sym.h> and <bp-asm.h>.
26272         (memcpy): Don't use BP_SYM.
26273         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26274         <bp-sym.h> and <bp-asm.h>.
26275         (memset): Don't use BP_SYM.
26276         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26277         <bp-sym.h> and <bp-asm.h>.
26278         (strncmp): Don't use BP_SYM.
26279         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26280         <bp-sym.h> and <bp-asm.h>.
26281         (memcpy): Don't use BP_SYM.
26282         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26283         <bp-sym.h> and <bp-asm.h>.
26284         (memset): Don't use BP_SYM.
26285         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26286         <bp-sym.h> and <bp-asm.h>.
26287         (__memchr): Don't use BP_SYM.
26288         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26289         <bp-sym.h> and <bp-asm.h>.
26290         (memcmp): Don't use BP_SYM.
26291         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26292         <bp-sym.h> and <bp-asm.h>.
26293         (memcpy): Don't use BP_SYM.
26294         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26295         <bp-sym.h> and <bp-asm.h>.
26296         (__mempcpy): Don't use BP_SYM.
26297         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26298         <bp-sym.h> and <bp-asm.h>.
26299         (__memrchr): Don't use BP_SYM.
26300         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26301         <bp-sym.h> and <bp-asm.h>.
26302         (memset): Don't use BP_SYM.
26303         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26304         <bp-sym.h> and <bp-asm.h>.
26305         (__rawmemchr): Don't use BP_SYM.
26306         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26307         <bp-sym.h> and <bp-asm.h>.
26308         (__STRCMP): Don't use BP_SYM.
26309         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26310         <bp-sym.h> and <bp-asm.h>.
26311         (strchr): Don't use BP_SYM.
26312         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26313         <bp-sym.h> and <bp-asm.h>.
26314         (__strchrnul): Don't use BP_SYM.
26315         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26316         <bp-sym.h> and <bp-asm.h>.
26317         (strlen): Don't use BP_SYM.
26318         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26319         <bp-sym.h> and <bp-asm.h>.
26320         (strncmp): Don't use BP_SYM.
26321         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26322         <bp-sym.h> and <bp-asm.h>.
26323         (__strnlen): Don't use BP_SYM.
26324         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26325         <bp-asm.h>.
26326         (__mpn_rshift): Don't use BP_SYM.
26327         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26328         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26329         <bp-sym.h> and <bp-asm.h>.
26330         (__sigsetjmp): Don't use BP_SYM.
26331         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26332         (L(start_addresses)): Don't use BP_SYM.
26333         (_start): Likewise.
26334         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26335         <bp-asm.h>.
26336         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26337         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26338         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26339         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26340         <bp-asm.h>.
26341         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26342         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26343         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26344         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26345         <bp-asm.h>.
26346         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26347         comments.
26348         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26349         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26350         <bp-asm.h>.
26351         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
26352         FIXME comments.
26353         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26354         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26355         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26356         <bp-asm.h>.
26357         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26358         comment.
26359         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26360         and <bp-asm.h>.
26361         (strncmp): Don't use BP_SYM,
26362         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26363         <bp-asm.h>.
26364         (__mpn_sub_n): Don't use BP_SYM.
26365         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26366         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26367         and <bp-asm.h>.
26368         (__mpn_submul_1): Don't use BP_SYM.
26369         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26371         <bp-sym.h> and <bp-asm.h>.
26372         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26374         <bp-sym.h> and <bp-asm.h>.
26375         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26376         comment.
26378 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26381         Use ZK to minimize writes to Z.
26382         (sub_magnitudes): Simplify code a bit.
26383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26384         Use ZK to minimize writes to Z.
26385         (sub_magnitudes): Simplify code a bit.
26387 2013-02-27  Roland McGrath  <roland@hack.frob.com>
26389         * csu/gmon-start.c: Add special exception to license text.
26391 2013-02-27  Richard Henderson  <rth@redhat.com>
26393         * scripts/config.guess: Update from config.git.
26394         * scripts/config.sub: Likewise.
26396 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26398         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26400         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26402         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26404         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26406         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26408 2013-02-26  Roland McGrath  <roland@hack.frob.com>
26410         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26411         [$(build-shared = yes].
26413 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26415         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26416         (__mul): Reduce iterations for calculating mantissa.
26418         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26419         MPTWO.
26420         (__mpranred): Likewise.
26422         [BZ #15160]
26423         * malloc/memusagestat.c (main): Draw graphs for heap and stack
26424         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26426 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
26428         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26429         Define __attribute__.
26431 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26433         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26434         unused.
26435         * posix/regex_internal.h (__attribute): Remove.
26436         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26437         (re_string_context_at): Likewise.
26438         (bitset_not): Use __attribute__ and mark function as possibly
26439         unused.
26440         (bitset_merge): Likewise.
26441         (bitset_mask): Likewise.
26442         (re_string_char_size_at): Likewise.
26443         (re_string_wchar_at): Likewise.
26444         (re_string_elem_size_at): Likewise.
26446 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26448         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26449         code.
26450         (cc32): Likewise.
26452         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26453         (__acr): Likewise.
26454         (__cpy): Likewise.
26455         (norm): Likewise.
26456         (denorm): Likewise.
26457         (__dbl_mp): Likewise.
26458         (add_magnitudes): Likewise.
26459         (sub_magnitudes): Likewise.
26460         (__mul): Likewise.
26461         (__inv): Likewise.
26463         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26464         style.
26466         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26467         style.
26469         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26470         code.
26472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26473         up changes with default code.
26474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26475         Likewise.
26477 2013-02-24  Allan McRae  <allan@archlinux.org>
26479         * manual/socket.texi (The Internet Namespace): Order menu items
26480         to match that in the file.
26482         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26483         node listing of the info page menu.
26485 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
26487         [BZ #13550]
26488         * sysdeps/i386/bp-asm.h: Remove file.
26489         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26490         (PARMS): Do not use macros from bp-asm.h.
26491         (S1): Likewise.
26492         (S2): Likewise.
26493         (SIZE): Likewise.
26494         (__mpn_add_n): Do not use BP_SYM
26495         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26496         "bp-asm.h".
26497         (PARMS): Do not use macros from bp-asm.h.
26498         (S1): Likewise.
26499         (SIZE): Likewise.
26500         (__mpn_addmul_1): Do not use BP_SYM
26501         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26502         "bp-asm.h".
26503         (PARMS): Do not use macros from bp-asm.h.
26504         (SIGMSK): Likewise.
26505         (_setjmp): Likewise.  Do not use BP_SYM.
26506         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26507         "bp-asm.h".
26508         (PARMS): Do not use macros from bp-asm.h.
26509         (SIGMSK): Likewise.
26510         (setjmp): Likewise.  Do not use BP_SYM.
26511         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26512         "bp-asm.h".
26513         (PARMS): Do not use macros from bp-asm.h.
26514         (__frexp): Do not use BP_SYM.
26515         (frexp): Likewise.
26516         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26517         "bp-asm.h".
26518         (PARMS): Do not use macros from bp-asm.h.
26519         (__frexpf): Do not use BP_SYM.
26520         (frexpf): Likewise.
26521         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26522         "bp-asm.h".
26523         (PARMS): Do not use macros from bp-asm.h.
26524         (__frexpl): Do not use BP_SYM.
26525         (frexpl): Likewise.
26526         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26527         "bp-asm.h".
26528         (PARMS): Do not use macros from bp-asm.h.
26529         (__remquo): Do not use BP_SYM.
26530         (remquo): Likewise.
26531         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26532         "bp-asm.h".
26533         (PARMS): Do not use macros from bp-asm.h.
26534         (__remquof): Do not use BP_SYM.
26535         (remquof): Likewise.
26536         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26537         "bp-asm.h".
26538         (PARMS): Do not use macros from bp-asm.h.
26539         (__remquol): Do not use BP_SYM.
26540         (remquol): Likewise.
26541         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26542         "bp-asm.h".
26543         (PARMS): Do not use macros from bp-asm.h.
26544         (DEST): Likewise.
26545         (SRC): Likewise.
26546         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
26547         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26548         "bp-asm.h".
26549         (PARMS): Do not use macros from bp-asm.h.
26550         (strlen): Do not use BP_SYM.
26551         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26552         "bp-asm.h".
26553         (PARMS): Do not use macros from bp-asm.h.
26554         (S1): Likewise.
26555         (S2): Likewise.
26556         (SIZE): Likewise.
26557         (__mpn_add_n): Do not use BP_SYM.
26558         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26559         "bp-asm.h".
26560         (PARMS): Do not use macros from bp-asm.h.
26561         (S1): Likewise.
26562         (SIZE): Likewise.
26563         (__mpn_addmul_1): Do not use BP_SYM.
26564         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26565         weak_alias.
26566         (bzero): Likewise.
26567         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26568         "bp-asm.h".
26569         (PARMS): Do not use macros from bp-asm.h.
26570         (S): Likewise.
26571         (SIZE): Likewise.
26572         (__mpn_lshift): Do not use BP_SYM.
26573         * sysdeps/i386/i586/memcpy.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         (SRC): Likewise.
26578         (LEN): Likewise.
26579         (memcpy): Likewise.  Do not use BP_SYM.
26580         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26581         libc_hidden_def and weak_alias.
26582         (mempcpy): Do not use BP_SYM in weak_alias.
26583         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26584         "bp-asm.h".
26585         (PARMS): Do not use macros from bp-asm.h.
26586         (DEST): Likewise.
26587         (LEN): Likewise.
26588         [!BZERO_P] (CHR): Likewise.
26589         (memset): Likewise.  Do not use BP_SYM.
26590         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26591         "bp-asm.h".
26592         (PARMS): Do not use macros from bp-asm.h.
26593         (S1): Likewise.
26594         (SIZE): Likewise.
26595         (__mpn_mul_1): Do not use BP_SYM.
26596         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26597         "bp-asm.h".
26598         (PARMS): Do not use macros from bp-asm.h.
26599         (S): Likewise.
26600         (SIZE): Likewise.
26601         (__mpn_rshift): Do not use BP_SYM.
26602         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26603         "bp-asm.h".
26604         (PARMS): Do not use macros from bp-asm.h.
26605         (STR): Likewise.
26606         (CHR): Likewise.
26607         (strchr): Likewise.  Do not use BP_SYM.
26608         (index): Do not use BP_SYM in weak_alias.
26609         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26610         "bp-asm.h".
26611         (PARMS): Do not use macros from bp-asm.h.
26612         (DEST): Likewise.
26613         (SRC): Likewise.
26614         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
26615         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26616         "bp-asm.h".
26617         (PARMS): Do not use macros from bp-asm.h.
26618         (strlen): Do not use BP_SYM.
26619         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26620         "bp-asm.h".
26621         (PARMS): Do not use macros from bp-asm.h.
26622         (S1): Likewise.
26623         (S2): Likewise.
26624         (SIZE): Likewise.
26625         (__mpn_sub_n): Do not use BP_SYM.
26626         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26627         "bp-asm.h".
26628         (PARMS): Do not use macros from bp-asm.h.
26629         (S1): Likewise.
26630         (SIZE): Likewise.
26631         (__mpn_submul_1): Do not use BP_SYM.
26632         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26633         "bp-asm.h".
26634         (PARMS): Do not use macros from bp-asm.h.
26635         (S1): Likewise.
26636         (S2): Likewise.
26637         (SIZE): Likewise.
26638         (__mpn_add_n): Do not use BP_SYM.
26639         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26640         weak_alias.
26641         (bzero): Likewise.
26642         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26643         "bp-asm.h".
26644         (PARMS): Do not use macros from bp-asm.h.
26645         (BLK2): Likewise.
26646         (LEN): Likewise.
26647         (memcmp): Do not use BP_SYM.
26648         (bcmp): Do not use BP_SYM in weak_alias.
26649         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26650         "bp-asm.h".
26651         (PARMS): Do not use macros from bp-asm.h.
26652         (DEST): Likewise.
26653         (SRC): Likewise.
26654         (LEN): Likewise.
26655         (memcpy): Likewise.  Do not use BP_SYM.
26656         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26657         "bp-asm.h".
26658         (PARMS): Do not use macros from bp-asm.h.
26659         (DEST): Likewise.
26660         (SRC): Likewise.
26661         (LEN): Likewise.
26662         (memmove): Likewise.  Do not use BP_SYM.
26663         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26664         "bp-asm.h".
26665         (PARMS): Do not use macros from bp-asm.h.
26666         (DEST): Likewise.
26667         (SRC): Likewise.
26668         (LEN): Likewise.
26669         (__mempcpy): Likewise.  Do not use BP_SYM.
26670         (mempcpy): Do not use BP_SYM in weak_alias.
26671         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26672         "bp-asm.h".
26673         (PARMS): Do not use macros from bp-asm.h.
26674         (DEST): Likewise.
26675         (LEN): Likewise.
26676         [!BZERO_P] (CHR): Likewise.
26677         (memset): Likewise.  Do not use BP_SYM.
26678         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26679         "bp-asm.h".
26680         (PARMS): Do not use macros from bp-asm.h.
26681         (STR2): Likewise.
26682         (strcmp): Do not use BP_SYM.
26683         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26684         "bp-asm.h".
26685         (PARMS): Do not use macros from bp-asm.h.
26686         (STR): Likewise.
26687         (DELIM): Likewise.
26688         [USE_AS_STRTOK_R] (SAVE): Likewise.
26689         (FUNCTION): Likewise.  Do not use BP_SYM.
26690         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26691         aliases.
26692         (strtok_r): Likewise.
26693         (__GI___strtok_r): Likewise.
26694         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26695         (PARMS): Do not use macros from bp-asm.h.
26696         (S): Likewise.
26697         (SIZE): Likewise.
26698         (__mpn_lshift): Do not use BP_SYM.
26699         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26700         (PARMS): Do not use macros from bp-asm.h.
26701         (STR): Likewise.
26702         (CHR): Likewise.
26703         (__memchr): Do not use BP_SYM.
26704         (memchr): Do not use BP_SYM in weak_alias.
26705         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26706         (PARMS): Do not use macros from bp-asm.h.
26707         (BLK2): Likewise.
26708         (LEN): Likewise.
26709         (memcmp): Do not use BP_SYM.
26710         (bcmp): Do not use BP_SYM in weak_alias.
26711         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26712         (PARMS): Do not use macros from bp-asm.h.
26713         (S1): Likewise.
26714         (SIZE): Likewise.
26715         (__mpn_mul_1): Do not use BP_SYM.
26716         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26717         "bp-asm.h".
26718         (PARMS): Do not use macros from bp-asm.h.
26719         (STR): Likewise.
26720         (CHR): Likewise.
26721         (__rawmemchr): Do not use BP_SYM.
26722         (rawmemchr): Do not use BP_SYM in weak_alias.
26723         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26724         (PARMS): Do not use macros from bp-asm.h.
26725         (S): Likewise.
26726         (SIZE): Likewise.
26727         (__mpn_rshift): Do not use BP_SYM.
26728         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26729         (PARMS): Do not use macros from bp-asm.h.
26730         (SIGMSK): Likewise.
26731         (__sigsetjmp): Likewise.  Do not use BP_SYM.
26732         * sysdeps/i386/start.S: Do not include "bp-sym.h".
26733         (_start): Do not use BP_SYM.
26734         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26735         (PARMS): Do not use macros from bp-asm.h.
26736         (DEST): Likewise.
26737         (SRC): Likewise.
26738         (__stpcpy): Likewise.  Do not use BP_SYM.
26739         (stpcpy): Do not use BP_SYM in weak_alias.
26740         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26741         "bp-asm.h".
26742         (PARMS): Do not use macros from bp-asm.h.
26743         (DEST): Likewise.
26744         (SRC): Likewise.
26745         (LEN): Likewise.
26746         (__stpncpy): Likewise.  Do not use BP_SYM.
26747         (stpncpy): Do not use BP_SYM in weak_alias.
26748         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26749         (PARMS): Do not use macros from bp-asm.h.
26750         (STR): Likewise.
26751         (CHR): Likewise.
26752         (strchr): Likewise.  Do not use BP_SYM.
26753         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26754         "bp-asm.h".
26755         (PARMS): Do not use macros from bp-asm.h.
26756         (STR): Likewise.
26757         (CHR): Likewise.
26758         (__strchrnul): Likewise.  Do not use BP_SYM.
26759         (strchrnul): Do not use BP_SYM in weak_alias.
26760         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26761         "bp-asm.h".
26762         (PARMS): Do not use macros from bp-asm.h.
26763         (STOP): Likewise.
26764         (strcspn): Do not use BP_SYM.
26765         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26766         "bp-asm.h".
26767         (PARMS): Do not use macros from bp-asm.h.
26768         (STR): Likewise.
26769         (STOP): Likewise.
26770         (strpbrk): Likewise.  Do not use BP_SYM.
26771         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26772         "bp-asm.h".
26773         (PARMS): Do not use macros from bp-asm.h.
26774         (STR): Likewise.
26775         (CHR): Likewise.
26776         (strrchr): Likewise.  Do not use BP_SYM.
26777         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26778         (PARMS): Do not use macros from bp-asm.h.
26779         (SKIP): Likewise.
26780         (strspn): Do not use BP_SYM.
26781         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26782         (PARMS): Do not use macros from bp-asm.h.
26783         (STR): Likewise.
26784         (DELIM): Likewise.
26785         (SAVE): Likewise.
26786         (FUNCTION): Likewise.  Do not use BP_SYM.
26787         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26788         aliases.
26789         (strtok_r): Likewise.
26790         (__GI___strtok_r): Likewise.
26791         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26792         (PARMS): Do not use macros from bp-asm.h.
26793         (S1): Likewise.
26794         (S2): Likewise.
26795         (SIZE): Likewise.
26796         (__mpn_sub_n): Do not use BP_SYM.
26797         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26798         "bp-asm.h".
26799         (PARMS): Do not use macros from bp-asm.h.
26800         (S1): Likewise.
26801         (SIZE): Likewise.
26802         (__mpn_submul_1): Do not use BP_SYM.
26803         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26804         <bp-sym.h>.
26805         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26806         and <bp-asm.h>.
26807         (PARMS): Do not use macros from bp-asm.h.
26808         (FLAGS): Likewise.
26809         (PTID): Likewise.
26810         (TLS): Likewise.
26811         (CTID): Likewise.
26812         (__clone): Do not use BP_SYM.
26813         (clone): Do not use BP_SYM in weak_alias.
26814         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26815         and <bp-asm.h>.
26816         (PARMS): Do not use macros from bp-asm.h.
26817         (LEN): Likewise.
26818         (__mmap64): Do not use BP_SYM.
26819         (mmap64): Do not use BP_SYM in weak_alias.
26820         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26821         <bp-sym.h> and <bp-asm.h>.
26822         (PARMS): Do not use macros from bp-asm.h.
26823         (__posix_fadvise64_l64): Do not use BP_SYM.
26824         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26825         (PARMS): Do not use macros from bp-asm.h.
26826         (NSOPS): Likewise.
26827         (semtimedop): Do not use BP_SYM.
26828         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26829         and <bp-asm.h>.
26831 2013-02-21  Allan McRae  <allan@archlinux.org>
26833         * manual/message.texi (Charset conversion in gettext):
26834         Move @end statement to beginning of line.
26836 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26838         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26839         static.
26840         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26841         Likewise.
26843         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26844         (denorm): Likewise.
26845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26848 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26850         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26851         tail-call to the resolved function if pltexit isn't needed.
26853 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26856         or Y being zero as being unlikely.
26857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26858         Likewise.
26860 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26862         * manual/nss.texi (System Databases and Name Service Switch):
26863         Remove frobnicate @pxref.
26865 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26867         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26868         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26870 2013-02-20  Petr Machata  <pmachata@redhat.com>
26872         * elf/elf.h (R_ARM_TARGET1): New macro.
26873         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26874         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26875         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26876         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26877         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26878         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26879         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26880         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26881         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26882         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26883         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26884         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26885         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26886         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26887         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26888         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26889         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26890         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26891         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26892         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26893         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26894         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26895         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26896         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26897         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26898         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26899         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26900         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26901         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26902         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26903         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26904         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26905         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26906         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26907         (R_ARM_THM_GOT_BREL12): Likewise.
26908         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26909         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26910         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26911         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26912         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26913         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26914         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26915         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26916         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26918 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26920         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26921         __attribute_used__ to __attribute__ ((unused)).
26923 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26925         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26926         powerpc mpa.c.
26927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26928         comment formatting.
26929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26931 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26933         [BZ #13550]
26934         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26935         Remove macro.
26936         (ENTER): Remove both macro definitions.
26937         (LEAVE): Likewise.
26938         (CHECK_BOUNDS_LOW): Likewise.
26939         (CHECK_BOUNDS_HIGH): Likewise.
26940         (CHECK_BOUNDS_BOTH): Likewise.
26941         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26942         (RETURN_BOUNDED_POINTER): Likewise.
26943         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26944         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26945         (POP_ERRNO_LOCATION_RETURN): Likewise.
26946         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26947         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26948         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26949         macros.
26950         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26951         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26952         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26953         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26954         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26955         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26956         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26957         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26958         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26959         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26960         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26961         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26962         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26963         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26964         removed macros.
26965         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26966         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26967         macros.
26968         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26969         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26970         * sysdeps/i386/i586/memset.S (memset): Likewise.
26971         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26972         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26973         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26974         macros.
26975         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26976         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26977         Change uses of L(2) to L(out).
26978         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26979         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26980         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26981         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26982         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26983         removed macros.
26984         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26985         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26986         macros.
26987         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26988         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26989         (RETURN): Do not use macro LEAVE.
26990         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26991         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26992         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26993         * sysdeps/i386/i686/memset.S (memset): Likewise.
26994         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26995         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26996         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26997         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26998         Likewise.
26999         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27000         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
27001         L(1_2) and L(1_3) into L(1).
27002         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27003         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27004         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27005         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27006         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27007         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27008         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27009         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27010         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27011         macros.
27012         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27013         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27014         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27015         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27016         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27017         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27018         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27019         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27020         * sysdeps/i386/strcspn.S (strcspn): Likewise.
27021         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27022         * sysdeps/i386/strrchr.S (strrchr): Likewise.
27023         * sysdeps/i386/strspn.S (strspn): Likewise.
27024         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27025         conditional code.
27026         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27027         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27028         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27029         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
27030         L(1_3) into L(1_1).
27031         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27032         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27033         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27034         macros.
27035         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27037 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
27039         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27040         macro.
27042 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27044         * math/atest-exp.c (exp_mpn): Remove ROUND.
27045         * math/atest-exp2.c (exp_mpn): Likewise.
27046         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27048         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27049         * stdlib/tst-tls-atexit-lib.c: Likewise.
27050         * stdlib/tst-tls-atexit.c: Likewise.
27052 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27054         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27055         and __attribute_alloc_size__.
27057 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27059         * include/programs/xmalloc.h: Change __attribute_alloc_size to
27060         __attribute_alloc_size__.
27061         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27062         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27064 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27066         * include/programs/xmalloc.h: New file.
27067         * catgets/gencat.c: Include it.
27068         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27069         * elf/pldd.c: Likewise.
27070         * iconv/iconv_charmap.c: Likewise.
27071         * iconv/iconvconfig.c: Likewise.
27072         * iconv/strtab.c: Likewise.
27073         * locale/programs/locale.c: Likewise.
27074         * locale/programs/localedef.h: Likewise.
27075         * locale/programs/simple-hash.c: Likewise.
27076         * nscd/nscd.h: Likewise.
27077         * nss/makedb.c: Likewise.
27078         * sysdeps/generic/ldconfig.h: Likewise.
27080 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27082         * Versions.def: Add GLIBC_2.18.
27083         * include/link.h (struct link_map): New member l_tls_dtor_count.
27084         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27085         (__call_tls_dtors): Likewise.
27086         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27087         __cxa_thread_atexit_impl.
27088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27089         Likewise.
27090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27091         Likewise.
27092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27093         Likewise.
27094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27095         Likewise.
27096         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27098         Likewise.
27099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27100         Likewise.
27101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27103         Likewise.
27104         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27105         (tests): Add test case tst-tls-atexit.
27106         (modules-names): Add shared library for tst-tls-atexit.
27107         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27108         (GLIBC_PRIVATE): Add __call_tls_dtors.
27109         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27110         for libstdc++.
27111         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27112         * stdlib/tst-tls-atexit.c: New test case.
27113         * stdlib/tst-tls-atexit-lib.c: New test case.
27115         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27117         * elf/Versions (ld): Add _dl_find_dso_for_object.
27118         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27119         * elf/dl-open.c (_dl_find_dso_for_object): New function.
27120         (dl_open_worker): Use _dl_find_dso_for_object.
27121         * elf/dl-sym.c (do_sym): Likewise.
27122         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27124 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27126         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27127         Syntactic changes only.
27128         (_dl_runtime_profile): Do a tail-call to the resolved function.
27130 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
27132         [BZ #13550]
27133         * sysdeps/x86_64/bp-asm.h: Remove file.
27134         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27135         <bp-sym.h> and <bp-asm.h>.
27136         (__clone): Do not use BP_SYM.
27137         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27138         <bp-sym.h> and <bp-asm.h>.
27139         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27140         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27141         "bp-asm.h".
27142         (_setjmp): Do not use BP_SYM.
27143         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27144         "bp-asm.h".
27145         (setjmp): Do not use BP_SYM.
27146         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27147         libc_hidden_def.
27148         (mempcpy): Do not use BP_SYM in weak_alias.
27149         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27150         "bp-asm.h".
27151         (strchr): Do not use BP_SYM.
27152         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27153         "bp-asm.h".
27154         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27155         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27156         (_start): Do not use BP_SYM.
27157         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27158         "bp-asm.h".
27159         (strcat): Do not use BP_SYM.
27160         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27161         "bp-asm.h".
27162         (STRCMP): Do not use BP_SYM.
27163         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27164         "bp-asm.h".
27165         (STRCPY): Do not use BP_SYM.
27166         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27167         "bp-asm.h".
27168         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27169         "bp-asm.h".
27170         (FUNCTION): Do not use BP_SYM.
27171         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27172         weak_alias.
27173         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27175 2013-02-17  Andreas Jaeger  <aj@suse.de>
27177         * time/Versions: Sort entries.
27178         * string/Versions: Likewise.
27179         * resolv/Versions: Likewise.
27180         * posix/Versions: Likewise.
27181         * iconv/Versions: Likewise.
27182         * elf/Versions: Likewise.
27183         * wcsmbs/Versions: Likewise.
27185 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27187         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27188         loop termination condition.
27190         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27191         variable to calculate EZ.
27192         (__sqr): Likewise.
27194         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27195         the lower precision input.
27197 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27199         [BZ #13550]
27200         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27201         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27202         (run-via-rtld-prefix): Do not handle %-bp tests.
27203         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27204         (all-object-suffixes): Remove .ob.
27205         (bppfx): Remove variable.
27206         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27207         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27208         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27209         [$(build-bounded) = yes] (libtype.ob): Likewise.
27210         * Makerules (elide-routines.ob): Remove variable.
27211         (do-tests-clean): Do not handle *-bp.out.
27212         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27213         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27214         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27215         (tests): Do not include $(tests-bp.out).
27216         (xtests): Do not include $(xtests-bp.out).
27217         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27218         [$(build-bounded) = yes] ($(addprefix
27219         $(objpfx),$(binaries-bounded))): Remove rule.
27220         ($(objpfx)%-bp.out): Remove rule.
27221         * config.make.in (build-bounded): Remove variable.
27222         * crypt/Makefile [$(build-bounded) = yes]
27223         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27224         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27225         append to variable.
27226         [$(build-bounded) = yes] (install-lib): Likewise.
27227         [$(build-bounded) = yes] (generated): Likewise.
27228         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27229         Remove rule.
27230         * intl/Makefile [$(build-bounded) = yes]
27231         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27232         * math/Makefile [$(build-bounded) = yes]
27233         ($(tests:%=$(objpfx)%-bp): Likewise.
27234         * misc/Makefile [$(build-bounded) = yes]
27235         ($(objpfx)tst-tsearch-bp): Likewise.
27236         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27237         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27238         Remove dependency.
27239         * string/Makefile (o-objects.ob): Remove variable.
27240         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27241         (CFLAGS-.ob): Remove variable.
27242         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27243         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27244         both definitions of variable.
27245         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27246         (ASFLAGS-.ob): Remove variable.
27248 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27250         [BZ #13550]
27251         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27252         Remove __BOUNDED_POINTERS__ from condition.
27253         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27254         * string/bits/string2.h [!__NO_STRING_INLINES &&
27255         !__BOUNDED_POINTERS__]: Likewise.
27256         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27257         Likewise.
27258         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27259         Remove conditional code.
27260         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27261         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27262         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27263         condition.
27265         [BZ #13550]
27266         * csu/libc-start.c: Do not include <bp-sym.h>.
27267         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27268         * elf/dl-open.c: Do not include <bp-sym.h>.
27269         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27270         * math/fegetenv.c: Do not include <bp-sym.h>.
27271         (fegetenv): Do not use BP_SYM in versioned symbols.
27272         * nptl/sysdeps/pthread/bits/libc-lockP.h
27273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27274         <bp-sym.h>.
27275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27276         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27278         (__pthread_mutex_destroy): Likewise.
27279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27280         (__pthread_mutex_lock): Likewise.
27281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27282         (__pthread_mutex_trylock): Likewise.
27283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27284         (__pthread_mutex_unlock): Likewise.
27285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27286         (__pthread_mutexattr_init): Likewise.
27287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27288         (__pthread_mutexattr_destroy): Likewise.
27289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27290         (__pthread_mutexattr_settype): Likewise.
27291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27292         (__pthread_rwlock_init): Likewise.
27293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27294         (__pthread_rwlock_destroy): Likewise.
27295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27296         (__pthread_rwlock_rdlock): Likewise.
27297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27298         (__pthread_rwlock_tryrdlock): Likewise.
27299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27300         (__pthread_rwlock_wrlock): Likewise.
27301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27302         (__pthread_rwlock_trywrlock): Likewise.
27303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27304         (__pthread_rwlock_unlock): Likewise.
27305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27306         (__pthread_key_create): Likewise.
27307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27308         (__pthread_setspecific): Likewise.
27309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27310         (__pthread_getspecific): Likewise.
27311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27312         Likewise.
27313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27314         (_pthread_cleanup_push_defer): Likewise.
27315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27316         (_pthread_cleanup_pop_restore): Likewise.
27317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27318         (pthread_setcancelstate): Likewise.
27319         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27320         <bp-sym.h>.
27321         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27322         (memchr): Do not use BP_SYM in weak_alias.
27323         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27324         (fegetenv): Do not use BP_SYM in versioned symbols.
27325         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27326         (fesetenv): Do not use BP_SYM in versioned symbols.
27327         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27328         (feupdateenv): Do not use BP_SYM in versioned symbols.
27329         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27330         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27331         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27332         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27333         (open64): Do not use BP_SYM in weak_alias.
27334         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27335         (fegetenv): Do not use BP_SYM in versioned symbols.
27336         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27337         (fesetenv): Do not use BP_SYM in versioned symbols.
27338         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27339         (feupdateenv): Do not use BP_SYM in versioned symbols.
27340         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27341         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27342         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27343         (feraiseexcept): Do not use BP_SYM in versioned symbols.
27344         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27345         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27346         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27347         <bp-sym.h>.
27348         (__libc_start_main): Do not use BP_SYM.
27350 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27353         redundant return line.
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.
27363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27364         (norm): Likewise.
27365         (denorm): Likewise.
27366         (dbl_mp): Likewise.
27367         (sub_magnitudes): Likewise.
27368         (__add): Likewise.
27369         (__sub): Likewise.
27370         (__mul): Likewise.
27371         (__inv): Likewise.
27372         (__dvd): Likewise.
27374         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27375         instead of __mul.
27376         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27377         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27378         (cc32): Likewise.
27380         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27381         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27383         of __mul for squares.
27384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27385         function
27386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27387         Likewise.
27388         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27389         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27391 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
27393         [BZ #13550]
27394         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27395         code.
27396         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27397         prototype or function definition.  Rename ubp_* variables and
27398         parameters.  Remove argv definitions conditional on
27399         [__BOUNDED_POINTERS__].
27400         * debug/backtrace.c (__backtrace): Do not use __unbounded.
27401         * elf/dl-runtime.c (_dl_fixup): Likewise.
27402         * include/set-hooks.h (RUN_HOOK): Likewise.
27403         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27404         definition.
27405         * string/strcpy.c (strcpy): Do not use __unbounded.
27406         * sysdeps/generic/frame.h (struct layout): Likewise.
27407         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27408         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27409         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27410         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27411         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27412         (__backtrace): Likewise.
27413         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27414         use __ptrvalue.
27415         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27416         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27417         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27418         Likewise.
27419         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27420         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27421         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27422         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27423         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27424         Do not use __unbounded.
27425         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27426         Rename __unboundedrlimits parameter to rlimits in prototype.
27427         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27428         Do not use __unbounded.
27429         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27430         not use __ptrvalue.
27431         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27432         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27433         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27434         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27435         __ptrvalue or __unbounded.
27436         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27437         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27438         use __unbounded.
27439         (__new_msgctl): Do not use __ptrvalue.
27440         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27441         __unbounded.
27442         (__libc_msgrcv): Do not use __ptrvalue.
27443         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27444         startup_info): Do not use __unbounded.
27445         (__libc_start_main): Likewise.  Rename ubp_* variables and
27446         parameters.  Remove argv definitions conditional on
27447         [__BOUNDED_POINTERS__].
27448         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27449         __ptrvalue.
27450         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27451         use __unbounded.
27452         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27453         or __ptrvalue.
27454         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27455         use __unbounded.
27456         (__new_shmctl): Do not use __ptrvalue.
27457         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27458         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27459         Likewise.
27460         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27461         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27462         (__libc_sigaction): Likewise.
27463         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27464         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27465         Likewise.
27466         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27468 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
27470         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27472         * string/mempcpy.c: Implement by calling memcpy.
27474 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27476         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27478         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27479         evaluation.
27481         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27482         values in the mantissa.
27484         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27485         minimize writes to Z.
27486         (sub_magnitudes): Simplify code a bit.
27488 2013-02-12  Roland McGrath  <roland@hack.frob.com>
27490         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27491         from the message.  The linker prefixes all warnings with that already.
27493 2013-02-12  Andreas Schwab  <schwab@suse.de>
27495         [BZ #15078]
27496         * posix/regexec.c (extend_buffers): Add parameter min_len.
27497         (check_matching): Pass minimum needed length.
27498         (clean_state_log_if_needed): Likewise.
27499         (get_subexp): Likewise.
27500         * posix/Makefile (tests): Add bug-regex34.
27501         (bug-regex34-ENV): Define.
27502         * posix/bug-regex34.c: New file.
27504         [BZ #11561]
27505         * posix/regcomp.c (parse_bracket_exp): When looking up collating
27506         elements compare against the byte sequence of it, not its name.
27507         * posix/Makefile (tests): Add bug-regex35.
27508         (bug-regex35-ENV): Define.
27509         * posix/bug-regex35.c: New file.
27511 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27513         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
27514         comment.
27515         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27516         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27517         (CHECK_EOL): Add undef.
27519 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
27521         * bits/stdlib-bsearch.h: New file.
27522         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27523         * stdlib/stdlib.h: Likewise.
27525 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27527         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27528         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27529         declaration.
27530         * manual/search.texi (Array Search Function): Add missing const in
27531         lfind prototype.
27532         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27533         declaration to use rlim_t.
27534         (Basic Scheduling Functions): Remove erroneous const from
27535         sched_getparam prototype.  Remove erroneous * from
27536         sched_get_priority_max and sched_get_priority_min prototypes.
27537         (Resource Usage): Fix summary @comment on vtimes to refer to
27538         sys/vtimes.h rather than vtimes.h.
27539         Add missing *s in vtimes prototype.
27540         (Limits on Resources): Fix ulimit prototype to return long int.
27541         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27542         prototypes to use long int rather than double.
27543         (BSD Random): Fix initstate and setstate to use char *, not void *.
27544         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27545         prototype to make second argument 'struct aiocb64 *const[]'.
27546         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27547         (Status of AIO Operations): Remove erroneous const in aio_return and
27548         aio_return64 prototypes.
27549         (Synchronizing I/O): Fix sync prototype to return void.
27550         * manual/startup.texi (Suboptions): Remove an erroneous const in
27551         getsubopt prototype.
27552         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27553         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27554         use size_t rather than int.
27555         (Scanning All Users): Likewise for getpwent_r.
27556         (Setting Groups): Add missing const to setgroups prototype.
27557         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27558         * manual/socket.texi (Host Names): Fix gethostbyaddr and
27559         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27560         'const void *' rather than 'const char *'.
27561         (Host Address Functions): Likewise for inet_ntop.
27562         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27563         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27564         ssize_t for return value.
27565         (Sending Data): Likewise for send, sendto, sendmsg.
27566         (Socket Option Functions): Add a missing const in setsockopt prototype.
27567         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27568         use wchar_t for the argument.
27569         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27570         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27571         take no arguments.
27572         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27573         double/float/long double for second argument.
27574         Fix return types of significand, significandf, significandl.
27575         * manual/filesys.texi (Setting Permissions): Use mode_t for second
27576         argument in fchmod prototype.
27577         (File Owner): Use uid_t and gid_t in fchown prototype.
27578         (File Times): Add const to utimes, futimes, and lutimes prototypes.
27579         (Making Special Files): Use mode_t and dev_t in mknod prototype.
27580         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27581         use 'const struct dirent **' as argument types to CMP function pointer
27582         argument.
27583         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27584         (File Times): Fix summary magic @comment for struct utimbuf and utime
27585         to refer to utime.h, not time.h.
27586         * manual/string.texi (Argz Functions): Add missing const in
27587         argz_extract and argz_next prototypes.
27588         (Finding Tokens in a String): Likewise for basename.
27589         (String/Array Comparison): Fix typo in wcscasecmp prototype.
27590         (Copying and Concatenation): Fix typo in wmemmove prototype.
27591         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27592         (Signal Stack): Remove erroneous const in sigstack prototype.
27593         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27594         prototype.
27595         (Simple Calendar Time): Likewise for stime.
27596         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27597         prototype.
27598         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27599         say sys/sysctl.h instead.
27600         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27601         and vsyslog prototypes.
27603 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27605         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27606         Remove.
27608 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27610         * misc/sys/mman.h: Fix typo in mremap comment.
27612 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27614         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27615         the '\0' terminator.
27617 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27619         [BZ #13550]
27620         * debug/segfault.c: Don't include <bp-checks.h>.
27621         * sysdeps/generic/bp-checks.h: Remove file.
27622         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27623         (__GETDENTS): Don't use CHECK_N.
27624         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27625         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27626         (__getgroups): Don't use CHECK_N.
27627         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27628         (setgroups): Don't use CHECK_N.
27629         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27630         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27631         (__libc_msgrcv): Don't use CHECK_N.
27632         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27633         (__libc_msgsnd): Don't use CHECK_N.
27634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27635         <bp-checks.h>.
27636         (__libc_pread): Don't use CHECK_N.
27637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27638         include <bp-checks.h>.
27639         (__libc_pread64): Don't use CHECK_N.
27640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27641         include <bp-checks.h>.
27642         (__libc_pwrite): Don't use CHECK_N.
27643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27644         include <bp-checks.h>.
27645         (__libc_pwrite64): Don't use CHECK_N.
27646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27647         <bp-checks.h>.
27648         (__libc_pread): Don't use CHECK_N.
27649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27650         include <bp-checks.h>.
27651         (__libc_pread64): Don't use CHECK_N.
27652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27653         include <bp-checks.h>.
27654         (__libc_pwrite): Don't use CHECK_N.
27655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27656         include <bp-checks.h>.
27657         (__libc_pwrite64): Don't use CHECK_N.
27658         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27659         (do_pread): Don't use CHECK_N.
27660         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27661         (do_pread64): Don't use CHECK_N.
27662         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27663         (do_pwrite): Don't use CHECK_N.
27664         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27665         (do_pwrite64): Don't use CHECK_N.
27666         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27667         (__libc_readv): Don't use CHECK_N.
27668         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27669         (semop): Don't use CHECK_N.
27670         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27671         <bp-checks.h>.
27672         (semtimedop): Don't use CHECK_N.
27673         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27674         (__libc_pread): Don't use CHECK_N.
27675         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27676         <bp-checks.h>.
27677         (__libc_pread64): Don't use CHECK_N.
27678         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27679         <bp-checks.h>.
27680         (__libc_pwrite): Don't use CHECK_N.
27681         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27682         <bp-checks.h>.
27683         (__libc_pwrite64): Don't use CHECK_N.
27684         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27685         <bp-checks.h>.
27686         (__libc_msgrcv): Don't use CHECK_N.
27687         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27688         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
27689         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27690         (__libc_writev): Don't use CHECK_N.
27692 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27694         * string/strcpy.c: Removed unused variable.
27696         * Makeconfig (+sysdep-includes): Define with := rather than =.
27697         Use an existing include/ subdir of each sysdeps dir before it.
27699 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27701         * nscd/connection.c (register_traced_file): Comment function.
27702         [HAVE_INOTIFY] (union __inev): Define.
27703         [HAVE_INOTIFY] (inotify_check_files): New function.
27704         [HAVE_INOTIFY] (clear_db_cache): Likewise.
27705         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27706         clear_db_cache.
27707         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27709 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27711         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27712         loaded if not already and that a failure is permanent.
27714 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27716         [BZ #15006]
27717         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27718         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27720 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27722         [BZ #13550]
27723         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27724         (CHECK_1_NULL_OK): Likewise.
27725         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27726         (__fxstat): Do not use CHECK_1.
27727         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27728         <bp-checks.h>.
27729         (___fxstat64): Do not use CHECK_1.
27730         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27731         <bp-checks.h>.
27732         (__fxstatat): Do not use CHECK_1.
27733         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27734         <bp-checks.h>.
27735         (__fxstatat64): Do not use CHECK_1.
27736         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27737         <bp-checks.h>.
27738         (__fxstat): Do not use CHECK_1.
27739         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27740         <bp-checks.h>.
27741         (__fxstatat): Do not use CHECK_1.
27742         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27743         <bp-checks.h>.
27744         (__getresgid): Do not use CHECK_1.
27745         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27746         <bp-checks.h>.
27747         (__getresuid): Do not use CHECK_1.
27748         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27749         <bp-checks.h>.
27750         (__lxstat): Do not use CHECK_1.
27751         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27752         <bp-checks.h>.
27753         (__old_msgctl): Do not use CHECK_1.
27754         (__new_msgctl): Likewise.
27755         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27756         <bp-checks.h>.
27757         (__new_setrlimit): Do not use CHECK_1.
27758         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27759         <bp-checks.h>.
27760         (__old_shmctl): Do not use CHECK_1.
27761         (__new_shmctl): Likewise.
27762         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27763         <bp-checks.h>.
27764         (__xstat): Do not use CHECK_1.
27765         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27766         (__lxstat): Do not use CHECK_1.
27767         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27768         <bp-checks.h>.
27769         (___lxstat64): Do not use CHECK_1.
27770         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27771         (__old_msgctl): Do not use CHECK_1.
27772         (__new_msgctl): Likewise.
27773         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27774         <bp-checks.h>.
27775         (__gettimeofday): Do not use CHECK_1.
27776         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27777         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27778         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27779         <bp-checks.h>.
27780         (__gettimeofday): Do not use CHECK_1.
27781         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27782         (__old_shmctl): Do not use CHECK_1_NULL_OK.
27783         (__new_shmctl): Do not use CHECK_1.
27784         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27785         <bp-checks.h>.
27786         (do_sigtimedwait): Do not use CHECK_1.
27787         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27788         <bp-checks.h>.
27789         (do_sigwaitinfo): Do not use CHECK_1.
27790         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27791         <bp-checks.h>.
27792         (msgctl): Do not use CHECK_1.
27793         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27794         <bp-checks.h>.
27795         (shmctl): Do not use CHECK_1.
27796         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27797         (ustat): Do not use CHECK_1.
27798         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27799         <bp-checks.h>.
27800         (__fxstat): Do not use CHECK_1.
27801         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27802         <bp-checks.h>.
27803         (__fxstatat): Do not use CHECK_1.
27804         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27805         <bp-checks.h>.
27806         (__lxstat): Do not use CHECK_1.
27807         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27808         <bp-checks.h>.
27809         (__xstat): Do not use CHECK_1.
27810         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27811         (__xstat): Do not use CHECK_1.
27812         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27813         (___xstat64): Do not use CHECK_1.
27815         [BZ #13550]
27816         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27817         definitions.
27818         (CHECK_BOUNDS_HIGH): Likewise.
27819         * string/strcpy.c: Do not include <bp-checks.h>.
27820         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27822 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27824         * nscd/nscd-client.h (__nscd_drop_map_ref):
27825         Add __attribute__ ((unused)).
27826         * nis/nss-nisplus.h (niserr2nss): Likewise.
27828         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27829         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27831         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27832         Remove inline keyword.
27833         * include/rounding-mode.h (round_away): Likewise.
27834         * libio/wfileops.c (adjust_wide_data): Likewise.
27835         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27836         (__m128i_strloadu_tolower): Likewise.
27837         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27838         (__m128i_strloadu_tolower): Likewise.
27839         * time/mktime.c (ydhms_diff): Likewise.
27840         * locale/elem-hash.h (elem_hash): Likewise.
27841         * locale/setlocale.c (setdata): Likewise.
27842         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27843         (re_string_wchar_at): Likewise.
27844         (bitset_not, bitset_merge, bitset_mask): Likewise.
27845         [!(__GNUC__ > 3)] (inline): Remove macro.
27846         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27847         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27848         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27849         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27850         * string/memcmp.c (memcmp_bytes): Likewise.
27851         * locale/programs/locarchive.c (compute_hashval): Likewise.
27852         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27853         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27854         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27855         * nss/getent.c (print_rpc, print_protocols): Likewise.
27856         (print_passwd, print_group, print_aliases): Likewise.
27857         * nis/nss-nisplus.h (niserr2nss): Likewise.
27858         * nscd/connections.c (restart_p): Likewise.
27859         Change return type to bool.
27861 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27863         * Makeconfig (all-Depend-files): Add existing
27864         $(sorted-subdirs:=/Depend) files.
27865         (all-subdirs): Remove nss.
27866         * sysdeps/unix/inet/Subdirs: Add it here instead.
27867         * hesiod/Depend: New file.
27869         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27870         instead of calling alloca.
27872         * io/lseek.c (__lseek): Rename to __libc_lseek.
27873         Define __lseek as an alias.
27875         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27877 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27879         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27880         else clause and remove check for non-standard endianness.
27882 2013-02-04  David S. Miller  <davem@davemloft.net>
27884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27886 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27888         [BZ #13550]
27889         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27890         (__ubp_memchr): Remove prototype.
27891         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27892         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27893         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27894         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27895         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27896         Remove alias.
27897         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27898         (__ubp_memchr): Likewise.
27899         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27900         (__ubp_memchr): Likewise.
27901         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27902         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27903         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27904         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27905         CHECK_STRING.
27906         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27907         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27908         (__getcwd): Do not use CHECK_STRING.
27909         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27910         <bp-checks.h>.
27911         (__real_chown): Do not use CHECK_STRING.
27912         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27913         <bp-checks.h>.
27914         (fchownat): Do not use CHECK_STRING.
27915         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27916         CHECK_STRING.
27917         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27918         <bp-checks.h>.
27919         (__lchown): Do not use CHECK_STRING.
27920         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27921         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27922         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27923         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27925         include <bp-checks.h>.
27926         (truncate64): Do not use CHECK_STRING.
27927         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27928         <bp-checks.h>.
27929         (__real_chown): Do not use CHECK_STRING.
27930         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27931         <bp-checks.h>.
27932         (__lchown): Do not use CHECK_STRING.
27933         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27934         <bp-checks.h>.
27935         (__chown): Do not use CHECK_STRING.
27936         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27937         <bp-checks.h>.
27938         (truncate64): Do not use CHECK_STRING.
27939         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27940         Likewise.
27941         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27942         (__xmknod): Do not use CHECK_STRING.
27943         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27944         <bp-checks.h>.
27945         (__xmknodat): Do not use CHECK_STRING.
27946         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27947         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27949 2013-02-04  Andreas Schwab  <schwab@suse.de>
27951         [BZ #14142]
27952         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27953         * include/netdb.h: Likewise for h_errno.
27954         * elf/tst-stackguard1.c: Include <tls.h>.
27956 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27958         * elf/link.h (struct link_map): Extend the l_addr comment.
27959         * include/link.h (struct link_map): Likewise.
27961 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27963         [BZ #13550]
27964         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27965         (BOUNDED_1): Remove macro.
27966         * debug/backtrace.c: Don't include <bp-checks.h>.
27967         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27968         (__backtrace): Likewise.
27969         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27970         <bp-checks.h>.
27971         (__backtrace): Don't use BOUNDED_1.
27972         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27973         <bp-checks.h>.
27974         (__backtrace): Don't use BOUNDED_1.
27975         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27976         (__backtrace): Don't use BOUNDED_1.
27977         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27978         (shmat): Don't use BOUNDED_N.
27980 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27982         [BZ #13550]
27983         * sysdeps/generic/bp-start.h: Remove file.
27984         * csu/libc-start.c: Don't include <bp-start.h>.
27985         (LIBC_START_MAIN): Set up __environ directly instead of using
27986         INIT_ARGV_and_ENVIRON.
27987         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27988         <bp-start.h>.
27990         [BZ #13550]
27991         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27992         definitions.
27993         (CHECK_FCNTL): Likewise.
27994         (CHECK_N_PAGES): Likewise.
27996         [BZ #13550]
27997         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27998         definitions.
27999         (CHECK_SIGSET_NULL_OK): Likewise.
28000         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28001         <bp-checks.h>.
28002         (sigpending): Don't use CHECK_SIGSET.
28003         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28004         <bp-checks.h>.
28005         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28006         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28007         <bp-checks.h>.
28008         (do_sigsuspend): Don't use CHECK_SIGSET.
28009         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28010         use CHECK_SIGSET.
28011         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28012         (do_sigwait): Don't use CHECK_SIGSET.
28013         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28014         use CHECK_SIGSET.
28015         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28016         include <bp-checks.h>.
28017         (sigpending): Don't use CHECK_SIGSET.
28018         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28019         include <bp-checks.h>.
28020         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28021         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28022         <bp-checks.h>.
28023         (sigpending): Don't use CHECK_SIGSET.
28024         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28025         <bp-checks.h>.
28026         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28028         [BZ #13550]
28029         * sysdeps/generic/bp-semctl.h: Remove file.
28030         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28031         <bp-checks.h> and <bp-semctl.h>.
28032         (__old_semctl): Don't use CHECK_SEMCTL.
28033         (__new_semctl): Likewise.
28034         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28035         and <bp-semctl.h>.
28036         (__old_semctl): Don't use CHECK_SEMCTL.
28037         (__new_semctl): Likewise.
28038         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28039         <bp-checks.h> and <bp-semctl.h>.
28040         (__old_semctl): Don't use CHECK_SEMCTL.
28041         (__new_semctl): Likewise.
28042         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28043         <bp-checks.h> and <bp-semctl.h>.
28044         (semctl): Don't use CHECK_SEMCTL.
28046         [BZ #13550]
28047         * Makerules (elide-bp-thunks): Remove variable.
28048         (elide-routines.oS): Don't use $(elide-bp-thunks).
28049         (elide-routines.os): Likewise.
28050         (elide-routines.o): Likewise.
28051         (elide-routines.op): Likewise.
28052         (elide-routines.og): Likewise.
28053         (objects): Don't use $(bp-thunks).
28054         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28055         include.
28056         (common-generated): Do not add s-proto-bp.d.
28057         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28058         (int): Likewise.
28059         (typ): Likewise.
28060         Do not generate makefile rules for bounded-pointer thunks.
28061         * sysdeps/generic/bp-thunks.h: Remove file.
28062         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28063         * sysdeps/unix/s-proto-bp.S: Likewise.
28065         [BZ #15062]
28066         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28067         parts of result separately when argument is not close to line from
28068         -i to i and one part of argument is small.
28069         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28070         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28071         * math/libm-test.inc (cacos_test): Add more tests.
28072         (casin_test): Likewise.
28073         (casinh_test): Likewise.
28074         * sysdeps/i386/fpu/libm-test-ulps: Update.
28075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28077 2013-01-31  David S. Miller  <davem@davemloft.net>
28079         * po/de.po: Update from translation team.
28081 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
28083         * time/tzfile.c: Include stdint.h for SIZE_MAX.
28085 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
28087         * configure.in (_AC_PROG_CC_C89): New definition.
28088         * configure: Regenerate.
28090         * configure.in (AC_PROG_CPP): New definition.
28091         * configure: Regenerate.
28093 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28095         * debug/tst-backtrace.h: New file.
28096         * debug/tst-backtrace2.c: Include tst-backtrace.h.
28097         (ret): Remove variable.
28098         (x): Likewise.
28099         (FAIL): Remove macro.
28100         (NO_INLINE): Likewise.
28101         (fn1): Use match function instead of strstr.
28102         * debug/tst-backtrace3.c: Include tst-backtrace.h.
28103         (ret): Remove variable.
28104         (x): Likewise.
28105         (FAIL): Remove macro.
28106         (NO_INLINE): Likewise.
28107         (fn): Use match function instead of strstr.
28108         * debug/tst-backtrace4.c: Include tst-backtrace.h.
28109         (ret): Remove variable.
28110         (x): Likewise.
28111         (FAIL): Remove macro.
28112         (NO_INLINE): Likewise.
28113         (handle_signal): Use match function instead of strstr.
28114         * debug/tst-backtrace5.c: Include tst-backtrace.h.
28115         (ret): Remove variable.
28116         (x): Likewise.
28117         (FAIL): Remove macro.
28118         (NO_INLINE): Likewise.
28119         (handle_signal): Use match function instead of strstr.
28121 2013-01-23  Roland McGrath  <roland@hack.frob.com>
28123         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28125 2013-01-23  David S. Miller  <davem@davemloft.net>
28127         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28128         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28129         argument of CAS if possible.
28130         * sysdeps/sparc/sparc64/bits/atomic.h
28131         (__arch_compare_and_exchange_val_32_acq): Likewise.
28132         (__arch_compare_and_exchange_val_64_acq): Likewise.
28134 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
28136         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28137         * sysdeps/posix/ulimit.c: ... this.
28138         Include <limits.h>.
28139         * sysdeps/unix/bsd/ulimit.c: Remove file.
28141 2013-01-23  Adam Conrad  <adconrad@0c3.net>
28143         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28144         (LDFLAGS-tst-array5): Likewise.
28146 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28148         [BZ #15036]
28149         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28150         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28151         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28152         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28154 2013-01-21  David S. Miller  <davem@davemloft.net>
28156         * sysdeps/sparc/backtrace.c: New file.
28157         * sysdeps/sparc/sparc32/backtrace.h: New file.
28158         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28159         * sysdeps/sparc/sparc64/backtrace.h: New file.
28160         * sysdeps/sparc/sparc64/backtrace.c: Delete.
28161         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28162         -funwind-tables.
28164 2013-01-21  Andreas Schwab  <schwab@suse.de>
28166         [BZ #15020]
28167         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28168         closed its stdout.
28170 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
28172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28173         "mpa2.h".
28174         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28176 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
28177             Mark Mitchell  <mark@codesourcery.com>
28178             Tom de Vries  <tom@codesourcery.com>
28179             Paul Pluzhnikov  <ppluzhnikov@google.com>
28181         * debug/tst-backtrace2.c: New file.
28182         * debug/tst-backtrace3.c: Likewise.
28183         * debug/tst-backtrace4.c: Likewise.
28184         * debug/tst-backtrace5.c: Likewise.
28185         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28186         (CFLAGS-tst-backtrace3.c): Likewise.
28187         (CFLAGS-tst-backtrace4.c): Likewise.
28188         (CFLAGS-tst-backtrace5.c): Likewise.
28189         (LDFLAGS-tst-backtrace2): Likewise.
28190         (LDFLAGS-tst-backtrace3): Likewise.
28191         (LDFLAGS-tst-backtrace4): Likewise.
28192         (LDFLAGS-tst-backtrace5): Likewise.
28193         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28194         tst-backtrace4 and tst-backtrace5.
28196 2013-01-18  Anton Blanchard  <anton@samba.org>
28197             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28199         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28200         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28201         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28202         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28204         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28205         "+r" and remove output regs list as redundant.  Add explicit inline
28206         asm to specify register of return val to work around compiler codegen
28207         bug.  Remove (int) cast on return value.  Add return type parameter to
28208         use in macro so that this macro does not truncate return value for
28209         64-bit values.
28210         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28211         pass to INTERNAL_VSYSCALL_NCS.
28212         (INLINE_VSYSCALL): Add 'long int' as return type to
28213         INTERNAL_VSYSCALL_NCS macro invocation.
28214         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28215         INTERNAL_VSYSCALL_NCS macro invocation.
28216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28218 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28220         [BZ #14496]
28221         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28222         Fix application of SIMD FP exception mask.
28224         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28225         mp_no from a power of two.
28226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28227         __mpexp_twomm1.  Use __pow_mp.
28229         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28230         multiplication.
28232 2013-01-17  David S. Miller  <davem@davemloft.net>
28234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28236 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28238         [BZ #15023]
28239         * include/complex.h: Condition contents on [!_COMPLEX_H].
28240         (__kernel_casinhf): New prototype.
28241         (__kernel_casinh): Likewise.
28242         (__kernel_casinhl): Likewise.
28243         * math/Makefile (libm_calls): Add k_casinh.
28244         * math/k_casinh.c: New file.
28245         * math/k_casinhf.c: Likewise.
28246         * math/k_casinhl.c: Likewise.
28247         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28248         finite nonzero arguments.
28249         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28250         finite nonzero arguments.
28251         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28252         finite nonzero arguments.
28253         * math/s_casinh.c: Do not include <float.h>.
28254         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28255         * math/s_casinhf.c: Do not include <float.h>.
28256         (__casinhf): Move code for finite nonzero arguments to
28257         k_casinhf.c.
28258         * math/s_casinhl.c: Do not include <float.h>.
28259         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28260         redefine.
28261         (__casinhl): Move code for finite nonzero arguments to
28262         k_casinhl.c.
28263         * math/libm-test.inc (cacos_test): Add more tests.
28264         * sysdeps/i386/fpu/libm-test-ulps: Update.
28265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28267 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28269         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28270         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28271         [!HAVE_MREMAP]: Remove [defined linux] case.
28272         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28274 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28276         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28278 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28280         * elf/elf.h (R_386_SIZE32): New relocation.
28281         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28282         R_386_SIZE32.
28283         (elf_machine_rela): Likewise.
28284         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28285         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28287 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28289         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28290         (FP_FAST_FMA): Do not define.
28291         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28292         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28293         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28294         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28295         !_SOFT_FLOAT]: Likewise.
28296         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28297         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28298         value.
28299         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28300         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28301         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28302         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28303         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28304         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28305         file.
28307 2013-01-16  Andreas Schwab  <schwab@suse.de>
28309         [BZ #14327]
28310         * include/stdlib.h (__mktemp): Add declaration.
28311         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28312         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28314 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28316         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28317         definitions.
28318         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28319         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28320         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28321         definitions here.
28322         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28323         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28324         definitions.
28325         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28326         and ONE.
28327         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28328         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28329         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28330         definitions.
28331         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28332         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28333         definitions.
28334         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28336         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28338 2013-01-15  David S. Miller  <davem@davemloft.net>
28340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28341         trunc{,f} to libm-sysdep_routes.
28342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28344         file.
28345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28347         file.
28348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28349         file.
28350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28352         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28353         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28354         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28355         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28356         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28357         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28360         nearbyint{,f} to libm-sysdep_routes.
28361         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28363         New file.
28364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28365         file.
28366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28367         New file.
28368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28369         file.
28370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28372         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28373         file.
28374         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28375         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28376         file.
28377         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28378         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28379         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28381         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28382         libc_feholdexcept and libc_fesetenv.
28384 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
28386         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28388 2013-01-14  David S. Miller  <davem@davemloft.net>
28390         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28391         (SPARC_ASM_VIS2_IFUNC): Likewise.
28392         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28394         use of 'siam' instruction.
28395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28396         Likewise.
28397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28398         Likewise.
28399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28400         Likewise.
28401         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28403         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28406         file.
28407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28408         file.
28409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28410         file.
28411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28412         file.
28413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28418         new VIS2 routines.
28419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28422         Likewise.
28423         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28424         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28428         routines to libm-sysdep_routines.
28429         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28432         fdim/fdimf to libm-sysdep_routines.
28433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28434         file.
28435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28437         file.
28438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28441         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28442         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28443         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28444         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28446 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28448         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28449         to optimize copies.
28451         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28452         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28456         local variable MPTWO.
28457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28458         Likewise.
28460 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28462         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28463         GLOB_NOESCAPE.
28465 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28467         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28469 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28471         * manual/pattern.texi (glob_t): Document gl_flags.
28472         (glob64_t): Likewise.
28474 2013-01-11  David S. Miller  <davem@davemloft.net>
28476         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28477         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28478         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
28479         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28480         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28481         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28482         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28483         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28484         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28485         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28486         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28487         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28488         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28490         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28491         sparc V9 rather than using V8 code.
28492         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28493         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28495         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28496         Move to...
28497         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28498         Here.
28500 2013-01-11  Roland McGrath  <roland@hack.frob.com>
28502         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28503         not in the main loop.
28504         * configure: Regenerated.
28506 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
28508         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28509         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28510         to just #else.
28511         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
28512         [!__GLIBC_HAVE_LONG_LONG] case.
28513         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28514         condition to just #else.
28515         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28516         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28517         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28518         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28519         unconditional.
28520         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28521         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28522         #elif condition to just #else.
28523         * sysdeps/unix/sysv/linux/sys/sysmacros.h
28524         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28525         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28526         #elif condition to just #else.
28528 2013-01-11  Steve Ellcey  <sellcey@mips.com>
28530         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28531         (EF_MIPS_ARCH_64): Fix value.
28532         (EF_MIPS_ARCH_32R2): New.
28533         (EF_MIPS_ARCH_64R2): New.
28535 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
28537         * Makeconfig (+link-pie-before-libc): New.
28538         (+link-pie-after-libc): Likewise.
28539         (+link-pie-tests): Likewise.
28540         (+link-pie): Rewritten.
28541         (link-before-libc): Remove $(config-LDFLAGS).
28542         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28543         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28544         (config-LDFLAGS): Renamed to ...
28545         (rtld-LDFLAGS): This.
28546         (rtld-tests-LDFLAGS): New macro.
28547         (link-libc-rpath-link): Likewise.
28548         (link-libc-tests-rpath-link): Likewise.
28549         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28550         (link-libc): Prepand $(link-libc-rpath-link).
28551         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28552         (test-program-prefix): New macro.
28553         (test-via-rtld-prefix): Likewise.
28554         (test-program-cmd): Likewise.
28555         (host-test-program-cmd): Likewise.
28556         * Makefile ($(common-objpfx)testrun.sh): Replace
28557         $(run-program-prefix) with $(test-program-prefix).
28558         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28559         $(rtld-LDFLAGS).
28560         ($(common-objpfx)shlib.lds): Likewise.
28561         (build-module-helper): Likewise.
28562         ($(common-objpfx)format.lds): Likewise.
28563         * Rules (binaries-pie-tests): New.
28564         (binaries-pie-notests): Likewise.
28565         (binaries-pie): Rewritten.
28566         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28567         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28568         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28569         (make-test-out): Replace $(host-built-program-cmd) with
28570         $(host-test-program-cmd).
28571         * config.make.in (build-hardcoded-path-in-tests): New variable.
28572         * configure.in (--enable-hardcoded-path-in-tests): New configure
28573         option.
28574         (hardcoded_path_in_tests): New AC_SUBST.
28575         * configure: Regenerated.
28576         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28577         $(built-program-cmd) with $(test-program-cmd).
28578         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28579         (test_program_cmd): This.
28580         * elf/Makefile ($(objpfx)order.out): Run test with
28581         $(test-program-prefix).
28582         ($(objpfx)order2.out): Likewise.
28583         ($(objpfx)tst-initorder.out): Likewise.
28584         ($(objpfx)tst-initorder2.out): Likewise.
28585         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28586         $(test-program-cmd).
28587         ($(objpfx)tst-array1-static.out): Likewise.
28588         ($(objpfx)tst-array2.out): Likewise.
28589         ($(objpfx)tst-array3.out): Likewise.
28590         ($(objpfx)tst-array4.out): Likewise.
28591         ($(objpfx)tst-array5.out): Likewise.
28592         ($(objpfx)tst-array5-static.out): Likewise.
28593         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28594         $(test-program-cmd).
28595         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28596         $(run-program-prefix) with $(test-program-prefix).
28597         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28598         (test_program_prefix): This.
28599         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28600         $(run-program-prefix) with $(test-program-prefix).
28601         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28602         (test_program_prefix): This.
28603         * iconvdata/tst-tables.sh: Likewise.
28604         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28605         $(run-program-prefix) with $(test-program-prefix).
28606         ($(objpfx)tst-translit.out): Likewise.
28607         ($(objpfx)tst-gettext2.out): Likewise.
28608         ($(objpfx)tst-gettext4.out): Likewise.
28609         ($(objpfx)tst-gettext6.out): Likewise.
28610         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28611         (test_program_prefix): This.
28612         * intl/tst-gettext2.sh: Likewise.
28613         * intl/tst-gettext4.sh  Likewise.
28614         * intl/tst-gettext6.sh: Likewise.
28615         * intl/tst-translit.sh: Likewise.
28616         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28617         with $(test-program-cmd).
28618         * libio/Makefile ($(objpfx)test-freopen.out): Replace
28619         $(run-program-prefix) with $(test-program-prefix).
28620         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28621         (test_program_prefix): This.
28622         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28623         $(run-program-prefix) with $(test-program-prefix).
28624         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28625         (test_program_prefix): This.
28626         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28627         * posix/Makefile ($(objpfx)globtest.out): Replace
28628         $(run-via-rtld-prefix) and $(test-wrapper) with
28629         $(test-program-prefix) and $(test-via-rtld-prefix).
28630         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28631         $(test-program-prefix).
28632         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28633         $(host-test-program-cmd).
28634         (tst-spawn-ARGS): Likewise.
28635         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28636         $(test-program-prefix).
28637         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28638         (test_via_rtld_prefix): This.
28639         (test_wrapper): Renamed to ...
28640         (test_program_prefix): This.
28641         (run_program_prefix): Replaced by test_program_prefix.
28642         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28643         (test_program_prefix): This.
28644         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28645         with $(host-test-program-cmd).
28646         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28647         $(run-program-prefix) with $(test-program-prefix).
28648         ($(objpfx)tst-printf.out): Likewise.
28649         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28650         $(test-program-cmd).
28651         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28652         (test_program_prefix): This.
28653         * stdio-common/tst-unbputc.sh: Likewise.
28654         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28655         $(run-program-prefix) with $(test-program-prefix).
28656         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28657         (test_program_prefix): This.
28658         * string/Makefile ($(objpfx)tst-svc.out):  Replace
28659         $(built-program-cmd) with $(test-program-cmd).
28661 2013-01-11  Andreas Jaeger  <aj@suse.de>
28663         [BZ #15003]
28664         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28665         value. Sync with Linux 3.7.
28667 2013-01-10  David S. Miller  <davem@davemloft.net>
28669         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28670         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28671         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28673 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28675         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28676         never set.
28677         * configure: Regenerated.
28679 2013-01-10  David S. Miller  <davem@davemloft.net>
28681         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28682         sparc V9 rather than using V8 code.
28683         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28684         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28686 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28688         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28689         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28690         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28691         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28692         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28693         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28694         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28695         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28696         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28697         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28698         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28699         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28700         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28701         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28702         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28703         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28704         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28705         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28706         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28707         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28708         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28709         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28710         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28711         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28712         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28713         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28714         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28716 2013-01-10  David S. Miller  <davem@davemloft.net>
28718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28720 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28722         * posix/Makefile (tests-static): New variable.
28723         (tests): Add $(tests-static).
28724         (tst-exec-static-ARGS): New variable.
28725         (tst-spawn-static-ARGS): Likewise.
28726         * posix/tst-exec-static.c: New file.
28727         * posix/tst-spawn-static.c: Likewise.
28728         * posix/tst-exec.c: Support run directly.
28729         * posix/tst-spawn.c: Likewise.
28731 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
28733         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28734         long.
28735         * math/bits/mathcalls.h (llrint): Likewise.
28736         (llround): Likewise.
28737         * stdlib/stdlib.h (struct drand48_data): Likewise.
28738         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28739         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28740         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28741         Likewise.
28742         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28743         Likewise.
28744         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28745         (elf_greg_t): Likewise.
28746         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28747         (__jmp_buf): Likewise.
28748         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28749         definitions.
28750         (llrint): Likewise, for all definitions.
28751         (llrintl): Likewise.
28753         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28754         Remove [__GNUC__] condition.
28755         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28756         condition to just [__USE_ISOC99].
28757         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28759 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28761         [BZ #14200]
28762         * sysdeps/unix/sysv/linux/x86/bits/environments.h
28763         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28764         defined.
28765         (_POSIX_V6_ILP32_OFF32): Likewise.
28766         (_XBS5_ILP32_OFF32): Likewise.
28767         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28768         (__ILP32_OFFBIG_LDFLAGS): Likewise.
28770 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28772         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28775         doubles __mpexp_twomm1.  Adjust usage.
28776         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28777         Remove.
28779 2013-01-10  Andreas Schwab  <schwab@suse.de>
28781         [BZ #14964]
28782         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28783         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28785 2013-01-09  David S. Miller  <davem@davemloft.net>
28787         [BZ #15003]
28788         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28789         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28790         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28791         (TCP_FASTOPEN): Define.
28792         (tcp_repair_opt): New structure.
28793         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28794         enum values.
28795         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28796         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28797         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28798         (tcp_cookie_transactions): New structure.
28800 2013-01-09  Anton Blanchard  <anton@samba.org>
28802         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28803         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28804         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28805         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28807 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28809         * include/features.h (__USE_ANSI): Remove.
28811 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28813         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28815         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28817 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28819         * sysdeps/s390/fpu/libm-test-ulps: Update.
28821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28823         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28824         (__acr): Likewise.
28825         (__cpy): Likewise.
28826         (norm): Likewise.
28827         (denorm): Likewise.
28828         (__mp_dbl): Likewise.
28829         (__dbl_mp): Likewise.
28830         (add_magnitudes): Likewise.
28831         (sub_magnitudes): Likewise.
28832         (__add): Likewise.
28833         (__sub): Likewise.
28834         (__mul): Likewise.
28835         (__inv): Likewise.
28836         (__dvd): Likewise.
28837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28838         (__acr): Likewise.
28839         (__cpy): Likewise.
28840         (norm): Likewise.
28841         (denorm): Likewise.
28842         (__mp_dbl): Likewise.
28843         (__dbl_mp): Likewise.
28844         (add_magnitudes): Likewise.
28845         (sub_magnitudes): Likewise.
28846         (__add): Likewise.
28847         (__sub): Likewise.
28848         (__mul): Likewise.
28849         (__inv): Likewise.
28850         (__dvd): Likewise.
28851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28852         (__acr): Likewise.
28853         (__cpy): Likewise.
28854         (norm): Likewise.
28855         (denorm): Likewise.
28856         (__mp_dbl): Likewise.
28857         (__dbl_mp): Likewise.
28858         (add_magnitudes): Likewise.
28859         (sub_magnitudes): Likewise.
28860         (__add): Likewise.
28861         (__sub): Likewise.
28862         (__mul): Likewise.
28863         (__inv): Likewise.
28864         (__dvd): Likewise.
28866 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28868         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28869         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28870         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28871         2 && __USE_EXTERN_INLINES]: Likewise.
28873 2013-01-08  Andreas Jaeger  <aj@suse.de>
28875         [BZ# 14985]
28876         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28877         Remove.
28878         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28879         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28881 2013-01-07  Anton Blanchard  <anton@samba.org>
28883         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28884         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28885         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28886         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28887         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28888         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28889         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28890         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28892         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28893         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28894         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28895         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28896         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28897         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28898         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28899         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28900         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28901         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28902         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28903         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28904         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28905         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28906         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28907         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28908         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28909         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28910         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28912         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28913         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28915         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28916         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28917         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28918         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28919         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28920         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28921         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28922         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28923         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28924         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28925         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28927 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28929         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28930         (__MALLOC_PMT): Likewise.
28931         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28932         [__GNUC__], only on [_LIBC].
28933         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28934         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28935         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28936         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28937         forward declaration.
28938         (realloc_hook_ini): Likewise.
28939         (memalign_hook_ini): Likewise.
28940         (__libc_memalign): Do not use __MALLOC_PMT in variable
28941         declaration.
28942         (__libc_valloc): Likewise.
28943         (__libc_pvalloc): Likewise.
28944         (__libc_calloc): Likewise.
28945         (__posix_memalign): Likewise.
28947         [BZ #14996]
28948         * math/s_casinh.c: Include <float.h>.
28949         (__casinh): Do not do computation with squaring and square root
28950         for large arguments.
28951         * math/s_casinhf.c: Include <float.h>.
28952         (__casinhf): Do not do computation with squaring and square root
28953         for large arguments.
28954         * math/s_casinhl.c: Include <float.h>.
28955         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28956         (__casinhl): Do not do computation with squaring and square root
28957         for large arguments.
28958         * math/libm-test.inc (casin_test): Add more tests.
28959         (casinh_test): Likewise.
28960         * sysdeps/i386/fpu/libm-test-ulps: Update.
28961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28963 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28965         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28966         (__x86_64_raw_data_cache_size): Likewise.
28967         (__x86_64_data_cache_size_half): Likewise.
28968         (__x86_64_raw_data_cache_size_half): Likewise.
28969         (__x86_64_shared_cache_size): Likewise.
28970         (__x86_64_raw_shared_cache_size): Likewise.
28971         (__x86_64_shared_cache_size_half): Likewise.
28972         (__x86_64_raw_shared_cache_size_half): Likewise.
28973         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28974         to ...
28975         (__x86_data_cache_size): This.
28976         (__x86_64_raw_data_cache_size): Renamed to ...
28977         (__x86_raw_data_cache_size): This.
28978         (__x86_64_data_cache_size_half): Renamed to ...
28979         (__x86_data_cache_size_half): This.
28980         (__x86_64_raw_data_cache_size_half): Renamed to ...
28981         (__x86_raw_data_cache_size_half): This.
28982         (__x86_64_shared_cache_size): Renamed to ...
28983         (__x86_shared_cache_size): This.
28984         (__x86_64_raw_shared_cache_size): Renamed to ...
28985         (__x86_raw_shared_cache_size): This.
28986         (__x86_64_shared_cache_size_half): Renamed to ...
28987         (__x86_shared_cache_size_half): This.
28988         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28989         (__x86_raw_shared_cache_size_half): This.
28990         * sysdeps/x86_64/memcpy.S: Updated.
28991         * sysdeps/x86_64/memset.S: Likewise.
28992         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28993         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28994         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28996 2013-01-04  David S. Miller  <davem@davemloft.net>
28998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29000 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
29002         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29003         1 to avoid redefinition warning.
29004         (__USE_GNU): Don't define.
29005         (init_signaling_nan): Protoize.
29007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29009 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29011         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29013         (__cpymn): Likewise.
29014         (norm): Remove commented code.
29015         (denorm): Likewise.
29016         (__mp_dbl): Likewise.
29017         (__inv): Likewise.
29018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29019         (__cpymn): Likewise.
29020         (norm): Remove commented code.
29021         (denorm): Likewise.
29022         (__mp_dbl): Likewise.
29023         (__inv): Likewise.
29025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29026         mp_no value for 1.0 and 2.0.
29027         (norm): Use RADIXI instead of radixi.d.
29028         (denorm): Likewise.
29029         (__mul): Use 0.0 instead of zero.d.
29030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29031         mp_no value for 1.0 and 2.0.
29032         (norm): Use RADIXI instead of radixi.d.
29033         (denorm): Likewise.
29034         (__mul): Use 0.0 instead of zero.d.
29036 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
29038         [BZ #14994]
29039         * math/s_casinh.c (__casinh): Reduce finite argument to first
29040         quadrant then set signs of results at the end.
29041         * math/s_casinhf.c (__casinhf): Likewise.
29042         * math/s_casinhl.c (__casinhl): Likewise.
29043         * math/libm-test.inc (casin_test): Add more tests.
29044         (casinh_test): Likewise.
29045         * sysdeps/i386/fpu/libm-test-ulps: Update.
29046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29048 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29050         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29052         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29054         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29055         declarations.
29056         (denorm): Likewise.
29057         (__mp_dbl): Likewise.
29058         (__inv): Likewise.
29060         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29061         and adjust the header comment.
29063         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29064         variable name from declaration.
29066 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
29068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29069         Initialize COMMON_CPUID_INDEX_7 element.
29070         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29071         (CPUID_RTM): Likewise.
29072         (HAS_RTM): Likewise.
29073         (COMMON_CPUID_INDEX_7): New enum.
29075 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
29077         [BZ #14981]
29078         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29079         size is zero, record memory as freed.
29081 2013-01-03  Andreas Jaeger  <aj@suse.de>
29083         * po/ia.po: Add new Interlingua translation.
29085 2012-01-03  Allan McRae  <allan@archlinux.org>
29087         * locale/programs/localedef.c: Fix description of '--posix' flag.
29089 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
29091         * NEWS: Update dates in second copyright notice.
29092         * README: Update copyright dates in example.
29093         * manual/libc.texinfo: Update copyright dates.
29094         * scripts/test-installation.pl: Update copyright date in --version
29095         output.
29097         * hurd/ctty-input.c: Fix copyright notice formatting.
29098         * hurd/ctty-output.c: Likewise.
29099         * hurd/dtable.c: Likewise.
29100         * hurd/hurd-raise.c: Likewise.
29101         * hurd/hurdprio.c: Likewise.
29102         * hurd/msgportdemux.c: Likewise.
29103         * misc/sys/file.h: Likewise.
29104         * misc/sys/ioctl.h: Likewise.
29105         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29106         * sysdeps/mach/hurd/chdir.c: Likewise.
29107         * sysdeps/mach/hurd/fchdir.c: Likewise.
29108         * sysdeps/mach/hurd/rename.c: Likewise.
29109         * sysdeps/mach/hurd/rmdir.c: Likewise.
29110         * sysdeps/mach/hurd/seekdir.c: Likewise.
29111         * sysdeps/mach/hurd/setsid.c: Likewise.
29112         * sysdeps/posix/wait3.c: Likewise.
29114         * All files with FSF copyright notices: Update copyright dates
29115         using scripts/update-copyrights.
29116         * intl/plural.c: Regenerated.
29117         * locale/programs/charmap-kw.h: Likewise.
29118         * locale/programs/locfile-kw.h: Likewise.
29120 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29122         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29123         four values.
29125         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29126         calculation loop and add branch prediction.
29128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29129         check access beyond bounds of m1np.
29131         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29132         MPTWO.
29133         (__inv): Remove local variable MPTWO to use the global
29134         constant.
29135         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29136         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29137         variable MPTWO.
29138         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29139         MP3HALFS static const.
29141 2013-01-01  David S. Miller  <davem@davemloft.net>
29143         * po/ca.po: Update from translation team.
29145 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
29147         * scripts/update-copyrights: New file.
29148         * Makeconfig: Reformat copyright notice.
29149         * ctype/ctype.h: Likewise.
29150         * debug/swprintf_chk.c: Likewise.
29151         * elf/dl-cache.c: Likewise.
29152         * elf/dl-debug.c: Likewise.
29153         * elf/dl-object.c: Likewise.
29154         * grp/initgroups.c: Likewise.
29155         * hurd/Makefile: Likewise.
29156         * hurd/hurd/signal.h: Likewise.
29157         * hurd/hurdfault.c: Likewise.
29158         * hurd/hurdioctl.c: Likewise.
29159         * hurd/hurdlookup.c: Likewise.
29160         * hurd/intr-msg.c: Likewise.
29161         * iconv/gconv_open.c: Likewise.
29162         * libio/swprintf.c: Likewise.
29163         * locale/lc-ctype.c: Likewise.
29164         * locale/nl_langinfo.c: Likewise.
29165         * mach/Machrules: Likewise.
29166         * mach/Makefile: Likewise.
29167         * malloc/obstack.h: Likewise.
29168         * manual/Makefile: Likewise.
29169         * manual/tsort.awk: Likewise.
29170         * misc/bits/stab.def: Likewise.
29171         * nis/nis_print_group_entry.c: Likewise.
29172         * nis/nis_table.c: Likewise.
29173         * nis/nss_compat/compat-pwd.c: Likewise.
29174         * nis/nss_compat/compat-spwd.c: Likewise.
29175         * po/Makefile: Likewise.
29176         * posix/fnmatch.c: Likewise.
29177         * posix/regex.h: Likewise.
29178         * resolv/Makefile: Likewise.
29179         * resolv/nss_dns/dns-network.c: Likewise.
29180         * resolv/res_hconf.c: Likewise.
29181         * scripts/gen-sorted.awk: Likewise.
29182         * soft-fp/soft-fp.h: Likewise.
29183         * stdio-common/printf.h: Likewise.
29184         * stdlib/monetary.h: Likewise.
29185         * stdlib/random.c: Likewise.
29186         * stdlib/random_r.c: Likewise.
29187         * sysdeps/generic/Makefile: Likewise.
29188         * sysdeps/gnu/Makefile: Likewise.
29189         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29190         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29191         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29192         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29193         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29194         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29195         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29196         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29197         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29198         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29199         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29200         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29201         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29202         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29203         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29204         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29205         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29206         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29207         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29208         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29209         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29210         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29211         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29212         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29213         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29214         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29215         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29216         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29217         * sysdeps/mach/hurd/errnos.awk: Likewise.
29218         * sysdeps/mach/hurd/fork.c: Likewise.
29219         * sysdeps/mach/hurd/getcwd.c: Likewise.
29220         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29221         * sysdeps/mach/hurd/mmap.c: Likewise.
29222         * sysdeps/mach/hurd/utimes.c: Likewise.
29223         * sysdeps/mach/hurd/xmknod.c: Likewise.
29224         * sysdeps/posix/profil.c: Likewise.
29225         * sysdeps/posix/readdir_r.c: Likewise.
29226         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29227         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29228         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29229         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29231         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29232         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29233         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29235         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29236         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29237         * sysdeps/pthread/lio_listio.c: Likewise.
29238         * sysdeps/sparc/dl-procinfo.h: Likewise.
29239         * sysdeps/unix/i386/sysdep.S: Likewise.
29240         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29241         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29242         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29243         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29245         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29246         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29247         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29248         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29249         * sysdeps/wordsize-32/divdi3.c: Likewise.
29250         * time/sys/time.h: Likewise.
29251         * wcsmbs/Makefile: Likewise.
29253 2013-01-01  David S. Miller  <davem@davemloft.net>
29255         * po/fr.po: Update from translation team.
29257         * catgets/gencat.c: Update copyright year.
29258         * csu/version.c: Likewise.
29259         * debug/catchsegv.sh: Likewise.
29260         * debug/pcprofiledump.c: Likewise.
29261         * debug/xtrace.sh: Likewise.
29262         * elf/ldconfig.c: Likewise.
29263         * elf/ldd.bash.in: Likewise.
29264         * elf/pldd.c: Likewise.
29265         * elf/sotruss.ksh: Likewise.
29266         * elf/sprof.c: Likewise.
29267         * iconv/iconv_prog.c: Likewise.
29268         * iconv/iconvconfig.c: Likewise.
29269         * locale/programs/locale.c: Likewise.
29270         * locale/programs/localedef.c: Likewise.
29271         * login/programs/pt_chown.c: Likewise.
29272         * malloc/memusage.sh: Likewise.
29273         * malloc/memusagestat.c: Likewise.
29274         * malloc/mtrace.pl: Likewise.
29275         * nscd/nscd.c: Likewise.
29276         * nss/getent.c: Likewise.
29277         * nss/makedb.c: Likewise.
29278         * posix/getconf.c: Likewise.
29280 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29282         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29283         numbers.
29285 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29287         * math/bits/mathcalls.h (modf): Use __nonnull.
29289 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29291         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29292         (split): Use macro CN instead of the bare value.
29293         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29294         could be used.
29295         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29296         instead of the bare value.
29297         (power1): Likewise.
29299 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29301         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29302         __ATAN_TWOM.
29303         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29305         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29306         their values.
29307         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29308         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29309         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29310         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29312 2012-12-28  Andreas Jaeger  <aj@suse.de>
29314         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
29315         values are from Linux 3.7.
29317         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29318         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
29320 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29322         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29323         TRUE case.
29325         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29326         (norm): Likewise.
29327         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29328         variables with preprocessor constants.
29329         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29330         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29331         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29333 2012-12-27  Bruno Haible  <bruno@clisp.org>
29335         [BZ #14317]
29336         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29337         only if needed.
29339 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29341         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29342         and use variable directly.
29343         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29345         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29346         MPONE.
29347         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29348         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29349         variable MPONE.
29350         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29351         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29352         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29353         include directive.  Remove local variable MPONE.
29354         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29355         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29356         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29358 2012-12-25  David S. Miller  <davem@davemloft.net>
29360         * version.h (RELEASE): Set to "development".
29361         (VERSION): Set to "2.17.90".
29362         * NEWS: Add 2.18 section.
29364 2012-12-21  David S. Miller  <davem@davemloft.net>
29366         * po/hr.po: Update from translation team.
29368 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29370         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29372 2012-12-19  Steve Ellcey  <sellcey@mips.com>
29374         * NEWS:  Mention new memcpy for MIPS.
29376 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29378         * manual/contrib.texi (Contributors): Spelling correction.
29380 2012-12-15  David S. Miller  <davem@davemloft.net>
29382         * po/ru.po: Update from translation team.
29384 2012-12-13  David S. Miller  <davem@davemloft.net>
29386         * NEWS: Mention IFUNC testsuite enhancements.
29388         * po/pl.po: Update from translation team.
29389         * po/bg.po: Likewise.
29391         * manual/contrib.texi (Contributors): Update entries for Hongjiu
29392         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
29394 2012-12-11  David S. Miller  <davem@davemloft.net>
29396         * po/sv.po: Update from translation team.
29398         * po/vi.po: Update from translation team.
29400         * po/cs.po: Update from translation team.
29402         * po/de.po: Update from translation team.
29403         * po/eo.po: Likewise.
29404         * po/nl.po: Likewise.
29406 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29408         [BZ #14246]
29409         * manual/argp.texi (Argp Helper Functions): Move node to follow
29410         Argp Parsing State.
29412         [BZ #14872]
29413         * manual/conf.texi (Limits on File System Capacity): Mention if
29414         terminating null is included in the max size.
29416 2012-12-10  Andreas Jaeger  <aj@suse.de>
29418         * po/cs.po: Update from translation team.
29420 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29422         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29423         void pointer and cast to uintptr_t.
29424         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29425         path.
29426         * sysdeps/s390/s390-64/memcpy.S: Likewise.
29427         * sysdeps/s390/s390-64/memset.S: Likewise.
29429 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
29431         [BZ #14833]
29432         * menual/message.texi (Message Translation): Fix typos.
29433         (Helper programs for gettext): Likewise.
29435 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
29437         [BZ #14898]
29438         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29439         Change to -1.
29441 2012-12-07  David S. Miller  <davem@davemloft.net>
29443         * po/libc.pot: Update.
29445 2012-12-07  Richard Henderson  <rth@redhat.com>
29447         [BZ #10114]
29448         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29449         normal/normal case to before the switch.
29450         (_FP_DIV): Likewise.
29452 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
29453             Mike Frysinger  <vapier@gentoo.org>
29455         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29456         check for __NR_fadvise64_64.
29458 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
29460         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29461         0, not just to plain "0" as a statement.
29462         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29463         with cw.
29465 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
29467         * NEWS: Use sourceware.org in Bugzilla URL.
29469 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29472         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29474         * stdio-common/tst-put-error.c (do_test): Add newline to the
29475         padded test to ensure flush.
29477 2012-12-05  Jeff Law  <law@redhat.com>
29479         * sunrpc/etc.rpc (fedfs_admin): Add entry.
29481 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
29483         * README: Don't refer to ports add-on as distributed separately.
29484         Mention AArch64 in list of systems supported in the ports add-on.
29486         * LICENSES: Add more non-FSF copyright and license notices.
29488         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29489         ((unused)).
29491         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29493         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29494         10000 as width of padded output.
29496 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29498         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29500         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29501         variable LX with __attribute__ ((unused)).
29502         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29503         Likewise.
29504         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29505         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29506         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29507         with __attribute__ ((unused)).
29509 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
29511         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29513 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29515         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29516         (CFLAGS-nldbl-acos.c): New variable.
29517         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29518         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29519         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29520         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29521         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29522         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29523         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29524         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29525         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29526         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29527         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29528         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29529         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29530         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29531         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29532         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29533         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29534         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29535         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29536         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29537         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29538         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29539         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29540         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29541         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29542         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29543         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29544         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29545         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29546         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29547         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29548         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29549         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29550         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29551         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29552         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29553         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29554         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29555         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29556         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29557         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29558         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29559         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29560         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29561         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29562         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29563         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29564         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29565         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29566         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29567         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29568         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29569         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29570         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29571         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29572         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29573         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29574         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29575         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29576         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29577         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29578         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29579         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29580         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29581         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29582         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29583         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29584         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29585         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29586         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29587         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29588         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29589         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29590         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29591         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29592         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29593         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29594         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29595         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29596         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29597         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29598         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29599         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29600         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29601         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29602         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29603         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29604         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29605         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29606         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29607         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29608         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29609         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29610         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29611         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29612         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29613         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29616         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29618         [BZ #14914]
29619         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29620         whole low double instead of just low 47 bits when splitting values
29621         into two parts.
29623 2012-12-03  Allan McRae  <allan@archlinux.org>
29625         * manual/stdio.texi (Predefined Printf Handlers): Remove
29626         @hsep and @vsep usage.
29628 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
29630         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29631         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29633 2012-12-03  Jeff Law  <law@redhat.com>
29635         * time/sys/time.h (settimeofday): Do not mark TV argument
29636         as __nonnull.
29638 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
29640         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29641         when currently writing and seek to current position when not.
29642         * libio/Makefile (tests): Remove bug-fclose1.
29643         * libio/bug-fclose1.c: Delete.
29645 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
29647         * manual/arith.texi (feenableexcept): Fix typo.
29648         (fedisableexcept): Likewise.
29650 2012-11-30  Roland McGrath  <roland@hack.frob.com>
29652         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29653         second, differently-typed declaration, rather than a cast.
29655 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29657         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29658         * include/rpc/svc.h: ... here.
29660 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
29662         [BZ #13013]
29663         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29664         depending n and resplen2 to catch cases where answer
29665         equals answerp2.
29667 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
29669         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29670         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29672 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
29674         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29676 2012-11-29  Roland McGrath  <roland@hack.frob.com>
29678         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29680 2012-11-28  Jeff Law  <law@redhat.com>
29682         [BZ #13761]
29683         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29684         dataset_temporary.  Track alloca usage into alloca_used.
29685         If dataset is large allocate and release it via malloc/free.
29687 2012-06-04  Florian Weimer  <fweimer@redhat.com>
29689         [BZ #14197]
29690         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29692 2012-11-28  David S. Miller  <davem@davemloft.net>
29694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29696 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29698         [BZ #14803]
29699         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29700         of pi/2 rounded to nearest to 64 bits.
29701         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29702         nearest to 64 bits.
29703         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29704         bits.
29706 2012-11-28  Jeff Law <law@redhat.com>
29707             Martin Osvald <mosvald@redhat.com>
29709         [BZ #14889]
29710         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29711         * sunrpc/svc.c: Include time.h.
29712         (__svc_accept_failed): New function.
29713         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29714         any reason other than EINTR, call __svc_accept_failed.
29715         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29716         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29718 2012-11-28  Andreas Schwab  <schwab@suse.de>
29720         * scripts/abilist.awk: Also handle indirect functions in .opd
29721         section.
29723 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29725         [BZ #13881]
29726         * sysdeps/x86/fpu/powl_helper.c: New file.
29727         * sysdeps/x86/fpu/Makefile: Likewise.
29728         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29729         (p3): New object.
29730         (__ieee754_powl): Use __powl_helper for finite arguments except
29731         integer exponents below 8.
29732         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29733         (p3): New object.
29734         (__ieee754_powl): Use __powl_helper for finite arguments except
29735         integer exponents below 8.
29736         * math/libm-test.inc (pow_test): Add more tests and enable some
29737         previously disabled tests.
29738         * sysdeps/i386/fpu/libm-test-ulps: Update.
29739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29741 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29742             Carlos O'Donell  <carlos_odonell@mentor.com>
29744         * nss/makedb.c (is_prime): Assert that input is odd and greater
29745         than 4.  Note that fact in a comment too.
29746         (next_prime): Add 4 to input.
29748 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29750         [BZ #11741]
29751         * libio/Makefile (tests): Add test case tst-fwrite-error.
29752         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29753         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29754         * libio/tst-fwrite-error.c: New test case.
29756 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
29758         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29759         before casting to void *.
29760         * include/libc-internal.h (__pointer_type): New macro.
29761         (__integer_if_pointer_type_sub): Likewise.
29762         (__integer_if_pointer_type): Likewise.
29763         (cast_to_integer): Likewise.
29764         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29765         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29766         before casting to atomic64_t.
29767         (atomic_exchange_acq): Likewise.
29768         (__arch_exchange_and_add_body): Likewise.
29769         (__arch_add_body): Likewise.
29770         (atomic_add_negative): Likewise.
29771         (atomic_add_zero): Likewise.
29773 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
29775         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29776         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29777         (add_fdes): Likewise.
29778         (linear_search_fdes): Likewise.
29779         (binary_search_unencoded_fdes): Likewise.
29781 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
29783         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29785 2012-11-24  Adam Conrad  <adconrad@0c3.net>
29787         * configure.in: Autodetect C++ header directories.
29788         * configure: Regenerated.
29790 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
29792         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29794 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
29796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29798 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29800         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29801         LDBL_MANT_DIG == 106]: Disable some tests.
29802         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29803         Likewise.
29804         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29805         Likewise.
29807         [BZ #14871]
29808         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29809         input for small inputs.  Return +/- pi/2 for large inputs.
29810         * math/libm-test.inc (atan_test): Add more tests.
29812         * sysdeps/generic/unwind-dw2-fde-glibc.c
29813         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29814         __attribute__ ((unused)).
29816         [BZ #14645]
29817         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29818         x * y if x and y are nonzero and z is zero.
29820         [BZ #14811]
29821         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29822         nonzero exponents with absolute value below 0x1p-117 to +/-
29823         0x1p-117.
29825         [BZ #14869]
29826         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29827         up arguments below 2**-450, not just those below 2**-500.
29828         * math/libm-test.inc (hypot_test): Add another test.
29830         [BZ #14868]
29831         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29832         Return a+b for ratio over 2**120, not 2**60.
29833         * math/libm-test.inc (hypot_test): Add another test.
29835         * math/libm-test.inc (clog_test): Use
29836         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29837         (clog10_test): Likewise.
29839         [BZ #6778]
29840         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29842 2012-11-22  Andreas Schwab  <schwab@suse.de>
29844         * sysdeps/i386/fpu/libm-test-ulps: Update.
29846 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29848         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29849         printf output with newline.
29851 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29853         [BZ #14865]
29854         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29855         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29856         -z nodlopen, -z initfirst and -z execstack support.
29857         * configure: Regenerated.
29859         * elf/elf.h (DF_1_NODIRECT): New macro.
29860         (DF_1_IGNMULDEF): Likewise.
29861         (DF_1_NOKSYMS): Likewise.
29862         (DF_1_NOHDR): Likewise.
29863         (DF_1_EDITED): Likewise.
29864         (DF_1_NORELOC): Likewise.
29865         (DF_1_SYMINTPOSE): Likewise.
29866         (DF_1_GLOBAUDIT): Likewise.
29867         (DF_1_SINGLETON): Likewise.
29868         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29869         DT_1_SUPPORTED_MASK bits.
29870         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29872 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29874         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29876 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29878         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29879         macro.
29881         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29882         (sendmmsg): Move declarations...
29883         * socket/sys/socket.h: ... here.
29884         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29885         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29886         include it from...
29887         * socket/recvmmsg.c: ... this new file.
29888         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29889         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29890         definition of __sendmmsg hidden.
29891         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29892         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29893         Move ENOSYS stub into and include it from...
29894         * socket/sendmmsg.c: ... this new file.
29895         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29896         (sysdep_routines): Move recvmmsg and sendmmsg...
29897         * socket/Makefile (routines): ... here.
29898         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29899         (GLIBC_PRIVATE): Add __sendmmsg.
29900         * include/sys/socket.h (__sendmmsg): Add declarations.
29901         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29902         sendmmsg.
29904 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29906         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29907         variable I1 with __attribute__ ((unused)).
29908         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29910 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29912         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29913         DUMMY variables with __attribute__ ((unused)).
29915         * bits/byteswap.h: Include <bits/types.h>.
29916         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29918 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29920         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29921         string_t.  Do not manually set errno.
29922         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29923         length with __strnlen.  Make sure to both set errno and return it on
29924         failure.
29926 2012-11-19  David S. Miller  <davem@davemloft.net>
29928         With help from Joseph Myers.
29929         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29930         very large arguments properly.
29931         * math/libm-test.inc (atan_test): New tests.
29932         (atan2_test): New tests.
29933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29936 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29938         [BZ #14856]
29939         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29940         Define to 3.
29942         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29943         [POSIX] (EADDRNOTAVAIL): Likewise.
29944         [POSIX] (EAFNOSUPPORT): Likewise.
29945         [POSIX] (EALREADY): Likewise.
29946         [POSIX] (ECONNABORTED): Likewise.
29947         [POSIX] (ECONNREFUSED): Likewise.
29948         [POSIX] (ECONNRESET): Likewise.
29949         [POSIX] (EDESTADDRREQ): Likewise.
29950         [POSIX] (EDQUOT): Likewise.
29951         [POSIX] (EHOSTUNREACH): Likewise.
29952         [POSIX] (EIDRM): Likewise.
29953         [POSIX] (EISCONN): Likewise.
29954         [POSIX] (ELOOP): Likewise.
29955         [POSIX] (EMULTIHOP): Likewise.
29956         [POSIX] (ENETDOWN): Likewise.
29957         [POSIX] (ENETUNREACH): Likewise.
29958         [POSIX] (ENOBUFS): Likewise.
29959         [POSIX] (ENODATA): Likewise.
29960         [POSIX] (ENOLINK): Likewise.
29961         [POSIX] (ENOMSG): Likewise.
29962         [POSIX] (ENOPROTOOPT): Likewise.
29963         [POSIX] (ENOSR): Likewise.
29964         [POSIX] (ENOSTR): Likewise.
29965         [POSIX] (ENOTCONN): Likewise.
29966         [POSIX] (ENOTSOCK): Likewise.
29967         [POSIX] (EOPNOTSUPP): Likewise.
29968         [POSIX] (EOVERFLOW): Likewise.
29969         [POSIX] (EPROTO): Likewise.
29970         [POSIX] (EPROTONOSUPPORT): Likewise.
29971         [POSIX] (EPROTOTYPE): Likewise.
29972         [POSIX] (ESTALE): Likewise.
29973         [POSIX] (ETIME): Likewise.
29974         [POSIX] (ETXTBSY): Likewise.
29975         [POSIX] (EWOULDBLOCK): Likewise.
29976         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29977         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29978         [POSIX] (SEEK_CUR): Likewise.
29979         [POSIX] (SEEK_END): Likewise.
29980         [POSIX || UNIX98] (mode_t): Do not require.
29981         [POSIX] (off_t): Likewise.
29982         [POSIX] (pid_t): Likewise.
29983         [POSIX] (sys/stat.h): Do not allow header.
29984         [POSIX] (unistd.h): Likewise.
29985         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29986         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29987         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29988         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29989         require.
29990         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29991         sigevent): Specify elements.
29992         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29993         entry.
29994         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29995         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29997         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29998         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29999         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30000         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30001         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30002         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30003         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30004         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30005         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30006         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30007         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30008         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30009         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30010         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30011         Likewise.
30012         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30013         Likewise.
30014         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30015         Likewise.
30016         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30017         Likewise.
30018         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30019         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30020         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30021         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30022         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30023         Specify lower bound on value.
30024         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30025         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30026         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30027         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30028         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30029         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30030         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30031         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30032         value.
30033         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30034         as optional.
30035         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30036         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30037         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30038         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30039         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30040         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30041         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30042         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30043         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30044         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30045         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30046         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30047         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30048         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30049         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30050         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30051         entry.
30052         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30053         optional.
30054         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30055         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30056         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30057         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30058         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30059         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30060         Likewise.
30061         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30062         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30063         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30064         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30065         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
30066         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30067         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30068         as optional.
30069         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30070         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30071         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30072         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30073         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30074         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30075         specify as optional.
30076         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30077         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30078         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30079         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30080         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30081         [XPG3] (NL_LANGMAX): Likewise.
30082         [POSIX || XPG3] (NL_MSGMAX): Likewise.
30083         [POSIX || XPG3] (NL_NMAX): Likewise.
30084         [POSIX || XPG3] (NL_SETMAX): Likewise.
30085         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30086         [XPG3] (NZERO): Likewise.
30087         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30088         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30089         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30090         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30091         (REG_ERANGE): Expect.
30092         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30093         optional-constant.
30094         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30095         Use (void) in prototype.
30096         [POSIX] (*_t): Allow.
30097         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30098         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30099         (WRDE_BADVAL): Expect.
30101         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30102         expect.
30103         [XPG3 || XPG4] (O_RSYNC): Likewise.
30104         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30105         Likewise.
30106         [XPG3 || XPG4] (pthread_sigmask): Likewise.
30107         [XPG3 || XPG4] (sigqueue): Likewise.
30108         [XPG3 || XPG4] (sigtimedwait): Likewise.
30109         [XPG3 || XPG4] (sigwaitinfo): Likewise.
30110         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30111         [XPG3 || XPG4] (vsnprintf): Likewise.
30112         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30113         Likewise.
30114         [XPG3 || XPG4] (blksize_t): Likewise.
30115         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30116         Likewise.
30117         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30118         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30119         [XPG3 || XPG4] (struct itimerspec): Likewise.
30120         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30121         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30122         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30123         [XPG3 || XPG4] (clockid_t): Likewise.
30124         [XPG3 || XPG4] (timer_t): Likewise.
30125         [XPG3 || XPG4] (clock_getres): Likewise.
30126         [XPG3 || XPG4] (clock_gettime): Likewise.
30127         [XPG3 || XPG4] (clock_settime): Likewise.
30128         [XPG3 || XPG4] (nanosleep): Likewise.
30129         [XPG3 || XPG4] (timer_create): Likewise.
30130         [XPG3 || XPG4] (timer_delete): Likewise.
30131         [XPG3 || XPG4] (timer_gettime): Likewise.
30132         [XPG3 || XPG4] (timer_getoverrun): Likewise.
30133         [XPG3 || XPG4] (timer_settime): Likewise.
30134         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30135         [XPG3 || XPG4] (getlogin_r): Likewise.
30136         [XPG3 || XPG4] (pread): Likewise.
30137         [XPG3 || XPG4] (pthread_atfork): Likewise.
30138         [XPG3 || XPG4] (pwrite): Likewise.
30140         [BZ #14835]
30141         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30142         <bits/siginfo.h>.
30144 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30146         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30147         finalizing MALLSTREAM.
30149         * sysdeps/mach/hurd/syncfs.c: New file.
30151 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30153         [BZ #14719]
30154         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30155         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30156         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30157         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30158         (_nss_dns_gethostbyname4_r): Likewise.
30159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30160         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30162 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
30164         [BZ #13763]
30165         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30167 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
30169         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30170         * elf/cache.c (print_entry): Print ",AArch64" for
30171         FLAG_AARCH64_LIB64
30173         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30174         * elf/cache.c (print_entry): Print ",hard-float" for
30175         FLAG_ARM_LIBHF.
30177 2012-11-18  David S. Miller  <davem@davemloft.net>
30179         With help from Joseph Myers.
30180         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30181         cutoff to 2**-13.
30182         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30183         cutoff to 2**-25.
30184         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30185         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30186         small.
30187         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30188         * math/libm-test.inc (y0_test): New tests.
30189         (y1_test): New tests.
30190         * sysdeps/i386/fpu/libm-test-ulps: Update.
30191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30194 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30196         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30197         64-bit targets.
30198         * configure: Regenerated.
30200 2012-11-17  David S. Miller  <davem@davemloft.net>
30202         [BZ #14811]
30203         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30204         nonzero exponents with absolute value below 0x1p-128 to +/-
30205         0x1p-128.
30207 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30209         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30211         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30213         * posix/getconf-speclist.c: New file.
30214         * posix/posix-envs.def: Likewise.
30215         * posix/confstr.c (START_ENV_GROUP): New macro.
30216         (END_ENV_GROUP): Likewise.
30217         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30218         (KNOWN_PRESENT_ENV_STRING): Likewise.
30219         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30220         (UNKNOWN_ENVIRONMENT): Likewise.
30221         (confstr): Include posix-envs.def instead of handling
30222         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30223         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30224         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30225         (END_ENV_GROUP): Likewise.
30226         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30227         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30228         (UNKNOWN_ENVIRONMENT): Likewise.
30229         (__sysconf): Include posix-envs.def instead of handling associated
30230         cases directly here.
30231         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30232         preprocessing getconf-speclist.c rather than running getconf or
30233         generating empty file.
30235 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30237         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30239 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30241         [BZ #14672]
30242         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30244 2012-11-16  David S. Miller  <davem@davemloft.net>
30246         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30247         smaller than LDBL_EPSILON/2.0L, just return xm1.
30249 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30251         * elf/tst-array1.c (init): Set constructor priority to 1000.
30252         (fini): Set destructor priority to 1000.
30253         * elf/tst-array2dep.c: Likewise.
30255 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30257         [BZ #11741]
30258         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30259         (_IO_new_file_xsputn): Also return EOF if none of the input
30260         data was written when overflow failed.
30261         * libio/iopadn.c (_IO_padn): Likewise.
30262         * libio/iowpadn.c (_IO_wpadn): Likewise.
30263         * stdio-common/tst-put-error.c: Add copyright notice.
30264         (do_test): Add case for printing padded string.
30265         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30266         _IO_padn returned error.
30267         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30268         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30269         return EOF.
30271 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30273         * libio/libioP.h: Add comment note that the references to C++
30274         bits are now obsolete.
30276 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30278         * math/libm-test.inc (check_complex): Use asprintf.
30280 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30282         * debug/pcprofiledump.c (print_version): Update copyright year.
30283         * malloc/memusagestat.c (print_version): Likewise.
30285 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30287         [BZ #14831]
30288         * elf/Makefile (tests): Add tst-audit8.
30289         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30290         ($(objpfx)tst-audit8.out): New target.
30291         (tst-audit8-ENV): New variable.
30292         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30293         audit if l_reloc_result is NULL.
30294         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30295         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30296         * elf/tst-audit8.c: New file.
30298 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30300         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30301         * misc/Makefile (CFLAGS-select.c): Define.
30302         * posix/Makefile (CFLAGS-pause.c): Define.
30304 2012-11-13  David S. Miller  <davem@davemloft.net>
30306         * crypt/Makefile: Move test targets after toplevel Rules
30307         inclusion.  Grab any necessary sysdep routines when linking.
30308         * crypt/md5.c (md5_process_block): Remove define, we will always
30309         name it __md5_process_block.
30310         (md5_finish_ctx): Update md5_process_block call.
30311         (md5_stream): Likewise.
30312         (md5_process_bytes): Likewise.
30313         (md5_process_block): Rename to __md5_process_block and move to ...
30314         * crypt/md5-block.c: ... here.
30315         * crypt/sha256.c (sha256_process_block): Move to ...
30316         * crypt/sha256-block.c: ... here.
30317         * crypt/sha512.c (sha512_process_block): Move to ...
30318         * crypt/sha512-block.c: ... here.
30319         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30320         path.
30321         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30322         * sysdeps/sparc/sparc64/multiarch/Makefile
30323         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30324         crypt subdir.
30325         (localedef-aux): Add md5 crypto assembler when in locale subdir.
30326         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30327         multiarch changes.
30328         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30329         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30330         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30331         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30332         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30333         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30334         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30335         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30336         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30337         file.
30338         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30339         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30340         file.
30341         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30343 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
30345         * timezone/tzselect.ksh: Update from tzcode git revision
30346         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30347         * timezone/zdump.c: Likewise.
30348         * timezone/zic.c: Likewise.
30349         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30350         in TZVERSION setting, not $(PKGVERSION).
30351         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
30352         REPORT_BUGS_TO settings.
30354         [BZ #14838]
30355         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30356         macro.
30358 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30360         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30361         detection to immediately after _FP_ROUND().
30362         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30363         bits are 0.
30365 2012-11-11  David S. Miller  <davem@davemloft.net>
30367         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30368         inttypes.h
30369         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30370         __close rather than their public counterparts.
30372 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
30374         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30375         file.
30376         [UNIX98] (sem_timedwait): Do not expect.
30377         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30378         [XPG4 || UNIX98] (sockatmark): Do not expect.
30379         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30380         (clock_getcpuclockid): Do not expect.
30381         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30382         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30383         Do not expect.
30384         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30385         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30386         [UNIX98] (vwscanf): Likewise.
30387         [UNIX98] (vswscanf): Likewise.
30389 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
30391         * timezone/version.h: Remove file.
30392         * timezone/README: Do not refer to version.h.
30393         * timezone/Makefile ($(objpfx)zic.o): New dependency on
30394         $(objpfx)version.h.
30395         ($(objpfx)zdump.o): Likewise.
30396         ($(objpfx)version.h): New target.
30398         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30399         2012i.
30400         * timezone/README: Don't mention modification to tzselect.ksh.
30401         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30402         work on unmodified tzselect.ksh.  Substitute version numbers in
30403         tzselect.ksh.
30405         * Makefile (format-me): Remove.
30406         (INSTALL): Adjust indentation.  Use commands directly instead of
30407         using $(format-me).
30409         * aclocal.m4 (ACX_PKGVERSION): New macro.
30410         (ACX_BUGURL): Likewise.
30411         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30412         (PKGVERSION): New AC_DEFINE_UNQUOTED.
30413         (REPORT_BUGS_TO): Likewise.
30414         * configure: Regenerated.
30415         * config.h.in (PKGVERSION): New macro.
30416         (REPORT_BUGS_TO): Likewise.
30417         * config.make.in (PKGVERSION): New variable.
30418         (PKGVERSION_TEXI): Likewise.
30419         (REPORT_BUGS_TO): Likewise.
30420         (REPORT_BUGS_TEXI): Likewise.
30421         * Makefile (format-me): Use -I$(common-objpfx)manual.
30422         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30423         ($(common-objpfx)manual/%): New target.
30424         (manual/%): Remove target.
30425         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30426         (print_version): Use PKGVERSION.
30427         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30428         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30429         and REPORT_BUGS_TO.
30430         ($(objpfx)xtrace): Likewise.
30431         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30432         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30433         (print_version): Use PKGVERSION.
30434         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30435         (do_version): Use PKGVERSION.
30436         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30437         REPORT_BUGS_TO.
30438         (common-ldd-rewrite): Likewise.
30439         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30440         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30441         (print_version): Use PKGVERSION.
30442         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30443         * elf/pldd.c (argp_program_bug_address): Remove variable.
30444         (more_help): New function.
30445         (argp): Use more_help.
30446         (print_version): Use PKGVERSION.
30447         * elf/sln.c (main): Use PKGVERSION.
30448         (usage): Use REPORT_BUGS_TO.
30449         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30450         (top level): Use PKGVERSION.
30451         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30452         (print_version): Use PKGVERSION.
30453         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30454         (print_version): Use PKGVERSION.
30455         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30456         (print_version): Use PKGVERSION.
30457         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30458         (print_version): Use PKGVERSION.
30459         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30460         (print_version): Use PKGVERSION.
30461         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30462         (print_version): Use PKGVERSION.
30463         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30464         and BUGURL.
30465         ($(objpfx)memusage): Likewise.
30466         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30467         (do_version): Use PKGVERSION.
30468         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30469         (print_version): Use PKGVERSION.
30470         * malloc/mtrace.pl ($PACKAGE): Remove variable.
30471         ($PKGVERSION): New variable.
30472         ($REPORT_BUGS_TO): Likewise.
30473         (usage): Use $REPORT_BUGS_TO.
30474         (top level): Use $PKGVERSION.
30475         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30476         ($(objpfx)pkgvers.texi): New rule.
30477         ($(objpfx)stamp-pkgvers): Likewise.
30478         * manual/install.texi: Include pkgvers.texi.
30479         (--with-pkgversion): Document new configure option.
30480         (--with-bugurl): Likewise.
30481         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30482         than necessarily for this particular distribution.  Use
30483         REPORT_BUGS_TO for where to report bugs.
30484         * INSTALL: Regenerated.
30485         * manual/libc.texinfo: Include pkgvers.texi.
30486         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30487         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30488         (print_version): Use PKGVERSION.
30489         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30490         (print_version): Use PKGVERSION.
30491         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30492         (print_version): Use PKGVERSION.
30493         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30494         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30495         macro.
30496         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30497         (print_version): Use PKGVERSION.
30498         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30499         (print_version): Use PKGVERSION.
30500         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30501         and PKGVERSION.
30503         * timezone/checktab.awk: Update from tzcode 2012i.
30504         * timezone/ialloc.c: Likewise.
30505         * timezone/private.h: Likewise.
30506         * timezone/scheck.c: Likewise.
30507         * timezone/tzfile.h: Likewise.
30508         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30509         (TZVERSION): Hardcode tzcode version number.
30510         * timezone/zdump.c: Update from tzcode 2012i.
30511         * timezone/zic.c: Likewise.
30512         * timezone/version.h: New file.
30513         * timezone/README: Describe version.h.  Update upstream location.
30515         [BZ #14824]
30516         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30517         (mktemp): Enable declaration.
30518         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30519         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30520         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30521         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30522         Likewise.
30523         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30524         Likewise.
30525         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30526         Likewise.
30527         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30528         Likewise.
30529         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30530         Likewise.
30531         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30532         Likewise.
30534         [BZ #14821]
30535         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30536         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
30537         for copies of such integer values.
30538         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30539         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30541 2012-11-09  Andreas Jaeger  <aj@suse.de>
30543         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30544         definitions and declarations that are provided by
30545         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30547 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30549         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30550         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30551         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30552         definition.
30554 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30556         * elf/elf.h: Update comment before AArch64 relocations.
30558 2012-11-07  David S. Miller  <davem@davemloft.net>
30560         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30561         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30562         (__start_context): Declare.
30563         (__makecontext_ret): Delete.
30564         (__makecontext): Hook up __start_context instead of
30565         __makecontext_ret.
30566         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30567         (sysdep_routines): Add __start_context when in stdlib.
30569 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30571         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30572         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30573         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
30574         hardcoded "nm".
30575         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
30576         (READELF): New variable.  Use it instead of hardcoded "readelf".
30578 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30580         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30581         * sysdeps/x86/Makefile: Here.
30582         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30583         * sysdeps/x86/tst-xmmymm.sh: This.
30585 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30587         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30588         expectations.
30589         [UNIX98] (pthread_barrier_t): Do not expect.
30590         [UNIX98] (pthread_barrierattr_t): Likewise.
30591         [UNIX98] (pthread_spinlock_t): Likewise.
30592         [UNIX98] (pthread_barrier_destroy): Likewise.
30593         [UNIX98] (pthread_barrier_init): Likewise.
30594         [UNIX98] (pthread_barrier_wait): Likewise.
30595         [UNIX98] (pthread_barrierattr_destroy): Likewise.
30596         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30597         [UNIX98] (pthread_barrierattr_init): Likewise.
30598         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30599         [UNIX98] (pthread_getcpuclockid): Likewise.
30600         [UNIX98] (pthread_mutex_timedlock): Likewise.
30601         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30602         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30603         [UNIX98] (pthread_sigmask): Likewise.
30604         [UNIX98] (pthread_spin_destroy): Likewise.
30605         [UNIX98] (pthread_spin_init): Likewise.
30606         [UNIX98] (pthread_spin_lock): Likewise.
30607         [UNIX98] (pthread_spin_trylock): Likewise.
30608         [UNIX98] (pthread_spin_unlock): Likewise.
30609         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30610         Do not expect.
30611         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30612         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30613         [XPG3 || XPG4] (pthread_cond_t): Likewise.
30614         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30615         [XPG3 || XPG4] (pthread_key_t): Likewise.
30616         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30617         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30618         [XPG3 || XPG4] (pthread_once_t): Likewise.
30619         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30620         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30621         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30622         [XPG3 || XPG4] (pthread_t): Likewise.
30624         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30625         not expect.
30626         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30628         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30629         Change function return type to int.
30631         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30632         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30633         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30634         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30635         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30636         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30637         [!POSIX] (posix_madvise): Likewise.
30638         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30639         && !UNIX98].
30640         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30641         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30642         (mode_t): Likewise.
30643         (posix_mem_offset): Likewise.
30644         (posix_typed_mem_get_info): Likewise.
30645         (posix_typed_mem_open): Likewise.
30647         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30648         Change condition to [XOPEN2K8].
30650         * conform/conformtest.pl: Preprocess allow-header data with -x c
30651         instead of from stdin.
30652         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30653         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30654         [C99-based standards] (cerfc): Likewise.
30655         [C99-based standards] (cexp2): Likewise.
30656         [C99-based standards] (cexpm1): Likewise.
30657         [C99-based standards] (clog10): Likewise.
30658         [C99-based standards] (clog1p): Likewise.
30659         [C99-based standards] (clog2): Likewise.
30660         [C99-based standards] (clgamma): Likewise.
30661         [C99-based standards] (ctgamma): Likewise.
30662         [C99-based standards] (cerff): Likewise.
30663         [C99-based standards] (cerfcf): Likewise.
30664         [C99-based standards] (cexp2f): Likewise.
30665         [C99-based standards] (cexpm1f): Likewise.
30666         [C99-based standards] (clog10f): Likewise.
30667         [C99-based standards] (clog1pf): Likewise.
30668         [C99-based standards] (clog2f): Likewise.
30669         [C99-based standards] (clgammaf): Likewise.
30670         [C99-based standards] (ctgammaf): Likewise.
30671         [C99-based standards] (cerfl): Likewise.
30672         [C99-based standards] (cerfcl): Likewise.
30673         [C99-based standards] (cexp2l): Likewise.
30674         [C99-based standards] (cexpm1l): Likewise.
30675         [C99-based standards] (clog10l): Likewise.
30676         [C99-based standards] (clog1pl): Likewise.
30677         [C99-based standards] (clog2l): Likewise.
30678         [C99-based standards] (clgammal): Likewise.
30679         [C99-based standards] (ctgammal): Likewise.
30680         * conform/data/inttypes.h-data [C99-based standards]: Include
30681         stdint.h-data.  Remove all expectations for stdint.h contents.
30682         [C99-based standards] (PRI*): Do not allow.
30683         [C99-based standards] (SCN*): Likewise.
30684         [C99-based standards] (*_t): Likewise.
30685         [C99-based-standards] (PRId8): Expect macro.
30686         [C99-based-standards] (PRIi8): Likewise.
30687         [C99-based-standards] (PRIo8): Likewise.
30688         [C99-based-standards] (PRIu8): Likewise.
30689         [C99-based-standards] (PRIx8): Likewise.
30690         [C99-based-standards] (PRIX8): Likewise.
30691         [C99-based-standards] (SCNd8): Likewise.
30692         [C99-based-standards] (SCNi8): Likewise.
30693         [C99-based-standards] (SCNo8): Likewise.
30694         [C99-based-standards] (SCNu8): Likewise.
30695         [C99-based-standards] (SCNx8): Likewise.
30696         [C99-based-standards] (PRIdLEAST8): Likewise.
30697         [C99-based-standards] (PRIiLEAST8): Likewise.
30698         [C99-based-standards] (PRIoLEAST8): Likewise.
30699         [C99-based-standards] (PRIuLEAST8): Likewise.
30700         [C99-based-standards] (PRIxLEAST8): Likewise.
30701         [C99-based-standards] (PRIXLEAST8): Likewise.
30702         [C99-based-standards] (SCNdLEAST8): Likewise.
30703         [C99-based-standards] (SCNiLEAST8): Likewise.
30704         [C99-based-standards] (SCNoLEAST8): Likewise.
30705         [C99-based-standards] (SCNuLEAST8): Likewise.
30706         [C99-based-standards] (SCNxLEAST8): Likewise.
30707         [C99-based-standards] (PRIdFAST8): Likewise.
30708         [C99-based-standards] (PRIiFAST8): Likewise.
30709         [C99-based-standards] (PRIoFAST8): Likewise.
30710         [C99-based-standards] (PRIuFAST8): Likewise.
30711         [C99-based-standards] (PRIxFAST8): Likewise.
30712         [C99-based-standards] (PRIXFAST8): Likewise.
30713         [C99-based-standards] (SCNdFAST8): Likewise.
30714         [C99-based-standards] (SCNiFAST8): Likewise.
30715         [C99-based-standards] (SCNoFAST8): Likewise.
30716         [C99-based-standards] (SCNuFAST8): Likewise.
30717         [C99-based-standards] (SCNxFAST8): Likewise.
30718         [C99-based-standards] (PRId16): Likewise.
30719         [C99-based-standards] (PRIi16): Likewise.
30720         [C99-based-standards] (PRIo16): Likewise.
30721         [C99-based-standards] (PRIu16): Likewise.
30722         [C99-based-standards] (PRIx16): Likewise.
30723         [C99-based-standards] (PRIX16): Likewise.
30724         [C99-based-standards] (SCNd16): Likewise.
30725         [C99-based-standards] (SCNi16): Likewise.
30726         [C99-based-standards] (SCNo16): Likewise.
30727         [C99-based-standards] (SCNu16): Likewise.
30728         [C99-based-standards] (SCNx16): Likewise.
30729         [C99-based-standards] (PRIdLEAST16): Likewise.
30730         [C99-based-standards] (PRIiLEAST16): Likewise.
30731         [C99-based-standards] (PRIoLEAST16): Likewise.
30732         [C99-based-standards] (PRIuLEAST16): Likewise.
30733         [C99-based-standards] (PRIxLEAST16): Likewise.
30734         [C99-based-standards] (PRIXLEAST16): Likewise.
30735         [C99-based-standards] (SCNdLEAST16): Likewise.
30736         [C99-based-standards] (SCNiLEAST16): Likewise.
30737         [C99-based-standards] (SCNoLEAST16): Likewise.
30738         [C99-based-standards] (SCNuLEAST16): Likewise.
30739         [C99-based-standards] (SCNxLEAST16): Likewise.
30740         [C99-based-standards] (PRIdFAST16): Likewise.
30741         [C99-based-standards] (PRIiFAST16): Likewise.
30742         [C99-based-standards] (PRIoFAST16): Likewise.
30743         [C99-based-standards] (PRIuFAST16): Likewise.
30744         [C99-based-standards] (PRIxFAST16): Likewise.
30745         [C99-based-standards] (PRIXFAST16): Likewise.
30746         [C99-based-standards] (SCNdFAST16): Likewise.
30747         [C99-based-standards] (SCNiFAST16): Likewise.
30748         [C99-based-standards] (SCNoFAST16): Likewise.
30749         [C99-based-standards] (SCNuFAST16): Likewise.
30750         [C99-based-standards] (SCNxFAST16): Likewise.
30751         [C99-based-standards] (PRId32): Likewise.
30752         [C99-based-standards] (PRIi32): Likewise.
30753         [C99-based-standards] (PRIo32): Likewise.
30754         [C99-based-standards] (PRIu32): Likewise.
30755         [C99-based-standards] (PRIx32): Likewise.
30756         [C99-based-standards] (PRIX32): Likewise.
30757         [C99-based-standards] (SCNd32): Likewise.
30758         [C99-based-standards] (SCNi32): Likewise.
30759         [C99-based-standards] (SCNo32): Likewise.
30760         [C99-based-standards] (SCNu32): Likewise.
30761         [C99-based-standards] (SCNx32): Likewise.
30762         [C99-based-standards] (PRIdLEAST32): Likewise.
30763         [C99-based-standards] (PRIiLEAST32): Likewise.
30764         [C99-based-standards] (PRIoLEAST32): Likewise.
30765         [C99-based-standards] (PRIuLEAST32): Likewise.
30766         [C99-based-standards] (PRIxLEAST32): Likewise.
30767         [C99-based-standards] (PRIXLEAST32): Likewise.
30768         [C99-based-standards] (SCNdLEAST32): Likewise.
30769         [C99-based-standards] (SCNiLEAST32): Likewise.
30770         [C99-based-standards] (SCNoLEAST32): Likewise.
30771         [C99-based-standards] (SCNuLEAST32): Likewise.
30772         [C99-based-standards] (SCNxLEAST32): Likewise.
30773         [C99-based-standards] (PRIdFAST32): Likewise.
30774         [C99-based-standards] (PRIiFAST32): Likewise.
30775         [C99-based-standards] (PRIoFAST32): Likewise.
30776         [C99-based-standards] (PRIuFAST32): Likewise.
30777         [C99-based-standards] (PRIxFAST32): Likewise.
30778         [C99-based-standards] (PRIXFAST32): Likewise.
30779         [C99-based-standards] (SCNdFAST32): Likewise.
30780         [C99-based-standards] (SCNiFAST32): Likewise.
30781         [C99-based-standards] (SCNoFAST32): Likewise.
30782         [C99-based-standards] (SCNuFAST32): Likewise.
30783         [C99-based-standards] (SCNxFAST32): Likewise.
30784         [C99-based-standards] (PRId64): Likewise.
30785         [C99-based-standards] (PRIi64): Likewise.
30786         [C99-based-standards] (PRIo64): Likewise.
30787         [C99-based-standards] (PRIu64): Likewise.
30788         [C99-based-standards] (PRIx64): Likewise.
30789         [C99-based-standards] (PRIX64): Likewise.
30790         [C99-based-standards] (SCNd64): Likewise.
30791         [C99-based-standards] (SCNi64): Likewise.
30792         [C99-based-standards] (SCNo64): Likewise.
30793         [C99-based-standards] (SCNu64): Likewise.
30794         [C99-based-standards] (SCNx64): Likewise.
30795         [C99-based-standards] (PRIdLEAST64): Likewise.
30796         [C99-based-standards] (PRIiLEAST64): Likewise.
30797         [C99-based-standards] (PRIoLEAST64): Likewise.
30798         [C99-based-standards] (PRIuLEAST64): Likewise.
30799         [C99-based-standards] (PRIxLEAST64): Likewise.
30800         [C99-based-standards] (PRIXLEAST64): Likewise.
30801         [C99-based-standards] (SCNdLEAST64): Likewise.
30802         [C99-based-standards] (SCNiLEAST64): Likewise.
30803         [C99-based-standards] (SCNoLEAST64): Likewise.
30804         [C99-based-standards] (SCNuLEAST64): Likewise.
30805         [C99-based-standards] (SCNxLEAST64): Likewise.
30806         [C99-based-standards] (PRIdFAST64): Likewise.
30807         [C99-based-standards] (PRIiFAST64): Likewise.
30808         [C99-based-standards] (PRIoFAST64): Likewise.
30809         [C99-based-standards] (PRIuFAST64): Likewise.
30810         [C99-based-standards] (PRIxFAST64): Likewise.
30811         [C99-based-standards] (PRIXFAST64): Likewise.
30812         [C99-based-standards] (SCNdFAST64): Likewise.
30813         [C99-based-standards] (SCNiFAST64): Likewise.
30814         [C99-based-standards] (SCNoFAST64): Likewise.
30815         [C99-based-standards] (SCNuFAST64): Likewise.
30816         [C99-based-standards] (SCNxFAST64): Likewise.
30817         [C99-based-standards] (PRIdMAX): Likewise.
30818         [C99-based-standards] (PRIiMAX): Likewise.
30819         [C99-based-standards] (PRIoMAX): Likewise.
30820         [C99-based-standards] (PRIuMAX): Likewise.
30821         [C99-based-standards] (PRIxMAX): Likewise.
30822         [C99-based-standards] (PRIXMAX): Likewise.
30823         [C99-based-standards] (SCNdMAX): Likewise.
30824         [C99-based-standards] (SCNiMAX): Likewise.
30825         [C99-based-standards] (SCNoMAX): Likewise.
30826         [C99-based-standards] (SCNuMAX): Likewise.
30827         [C99-based-standards] (SCNxMAX): Likewise.
30828         [C99-based-standards] (PRIdPTR): Likewise.
30829         [C99-based-standards] (PRIiPTR): Likewise.
30830         [C99-based-standards] (PRIoPTR): Likewise.
30831         [C99-based-standards] (PRIuPTR): Likewise.
30832         [C99-based-standards] (PRIxPTR): Likewise.
30833         [C99-based-standards] (PRIXPTR): Likewise.
30834         [C99-based-standards] (SCNdPTR): Likewise.
30835         [C99-based-standards] (SCNiPTR): Likewise.
30836         [C99-based-standards] (SCNoPTR): Likewise.
30837         [C99-based-standards] (SCNuPTR): Likewise.
30838         [C99-based-standards] (SCNxPTR): Likewise.
30839         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30840         allow.
30841         * conform/data/stdint.h-data: Update comments to clarify
30842         requirements.
30843         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30844         type.
30845         [C99-based standards] (INT8_MAX): Likewise.
30846         [C99-based standards] (INT16_MIN): Likewise.
30847         [C99-based standards] (INT16_MAX): Likewise.
30848         [C99-based standards] (INT32_MIN): Likewise.
30849         [C99-based standards] (INT32_MAX): Likewise.
30850         [C99-based standards] (INT64_MIN): Likewise.
30851         [C99-based standards] (INT64_MAX): Likewise.
30852         [C99-based standards] (UINT8_MAX): Likewise.
30853         [C99-based standards] (UINT16_MAX): Likewise.
30854         [C99-based standards] (UINT32_MAX): Likewise.
30855         [C99-based standards] (UINT64_MAX): Likewise.
30856         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30857         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30858         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30859         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30860         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30861         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30862         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30863         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30864         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30865         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30866         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30867         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30868         [C99-based standards] (INT_FAST8_MIN): Likewise.
30869         [C99-based standards] (INT_FAST8_MAX): Likewise.
30870         [C99-based standards] (INT_FAST16_MIN): Likewise.
30871         [C99-based standards] (INT_FAST16_MAX): Likewise.
30872         [C99-based standards] (INT_FAST32_MIN): Likewise.
30873         [C99-based standards] (INT_FAST32_MAX): Likewise.
30874         [C99-based standards] (INT_FAST64_MIN): Likewise.
30875         [C99-based standards] (INT_FAST64_MAX): Likewise.
30876         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30877         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30878         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30879         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30880         [C99-based standards] (INTPTR_MIN): Likewise.
30881         [C99-based standards] (INTPTR_MAX): Likewise.
30882         [C99-based standards] (UINTPTR_MAX): Likewise.
30883         [C99-based standards] (INTMAX_MIN): Likewise.
30884         [C99-based standards] (INTMAX_MAX): Likewise.
30885         [C99-based standards] (UINTMAX_MAX): Likewise.
30886         [C99-based standards] (PTRDIFF_MIN): Likewise.
30887         [C99-based standards] (PTRDIFF_MAX): Likewise.
30888         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30889         [C99-based standards] (SIZE_MAX): Likewise.
30890         [C99-based standards] (WCHAR_MAX): Likewise.
30891         [C99-based standards] (WINT_MAX): Likewise.
30892         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30893         constraint on value.
30894         [C99-based standards] (WCHAR_MIN): Likewise.
30895         [C99-based standards] (WINT_MIN): Likewise.
30896         [C99-based standards] (*_t): Allow.
30897         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30898         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30899         Include math.h-data and complex.h-data.  Remove all expectations
30900         of math.h and complex.h contents.
30901         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30902         at end of line.
30903         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30904         (struct tm): Expect tag.
30905         [C99-based-standards] (wcstof): Expect function.
30906         [C99-based-standards] (wcstold): Likewise.
30907         [C99-based-standards] (wcstoll): Likewise.
30908         [C99-based-standards] (wcstoull): Likewise.
30909         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30910         macro-int-constant.  Specify type.
30911         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30912         constraint on value.
30913         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30914         Specify type.
30915         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30916         Specify value.
30917         [ISO C standards]: Do not allow headers.
30918         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30919         wcs[abcdefghijklmnopqrstuvwxyz]*.
30920         [ISO C standards] (*_t): Do not allow.
30921         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30922         Expect function.
30923         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30924         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30925         Specify type.
30926         [ISO C standards]: Do not allow headers.
30927         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30928         is[abcdefghijklmnopqrstuvwxyz]*.
30929         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30930         to[abcdefghijklmnopqrstuvwxyz]*.
30931         [ISO C standards] (*_t): Do not allow.
30932         * conform/data/stdalign.h-data: New file.
30933         * conform/data/stdbool.h-data: Likewise.
30934         * conform/data/stdnoreturn.h-data: Likewise.
30936 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30938         [BZ #14815]
30939         * manual/filesys.texi (Directory Entries): Typo fix.
30940         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30942 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30944         * elf/elf.h (EM_AARCH64): New macro.
30945         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30946         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30947         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30948         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30949         (R_AARCH64_TLSDESC): Likewise.
30950         (NT_ARM_TLS): Likewise.
30951         (NT_ARM_HW_BREAK): Likewise.
30952         (NT_ARM_HW_WATCH): Likewise.
30954 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30956         [BZ #14811]
30957         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30958         (__ieee754_powl): Saturate nonzero exponents with absolute value
30959         below 0x1p-79 to +/- 0x1p-79.
30960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30961         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30962         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30963         nonzero exponents with absolute value below 0x1p-32 to +/-
30964         0x1p-32.
30965         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30966         (__ieee754_powl): Saturate nonzero exponents with absolute value
30967         below 0x1p-79 to +/- 0x1p-79.
30968         * math/libm-test.inc (pow_test): Add more tests.
30970 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30972         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30973         _dl_s390_cap_flags with kernel. Increase string length.
30974         (_dl_s390_platforms): Add z196 and zEC12.
30976 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30978         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30979         Change XOPEN21K to XOPEN2K.
30981 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30983         * string/memmove.c: Use memcpy when possible.
30985 2012-11-06  Andreas Jaeger  <aj@suse.de>
30987         * po/eo.po: Update from translation team.
30989 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30991         [BZ #14793]
30992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30993         exponent and small x and y exponents, scale x or y up.  Increase
30994         by 2 the exponent used in scaling up.
30995         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30996         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30997         * math/libm-test.inc (fma_test): Add more tests.
30998         (fma_test_towardzero): Likewise.
30999         (fma_test_downward): Likewise.
31000         (fma_test_upward): Likewise.
31002 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
31004         [BZ #14805]
31005         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31006         fenv_t *.
31008         [BZ #14801]
31009         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31010         namespace for names of struct fields.
31011         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31012         fenv_t fields.
31013         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31014         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31016 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31018         [BZ #3665]
31019         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31021 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31023         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31024         PTR_DEMANGLE.
31026         [BZ #5246]
31027         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31028         PTR_DEMANGLE.
31030 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
31032         [BZ #14797]
31033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31034         definitely overflow as x * y not x * y + z.
31035         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31036         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31037         * math/libm-test.inc (fma_test): Add more tests.
31038         (fma_test_towardzero): Likewise.
31039         (fma_test_downward): Likewise.
31040         (fma_test_upward): Likewise.
31042 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31044         [BZ #157]
31046         * include/stub-tag.h: Remove file.
31047         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31048         '#include' of it.
31049         * manual/maint.texi (Porting): Don't reference it.
31050         * Makerules ($(objpfx)stubs): Likewise.
31051         * dirent/closedir.c: Don't include <stub-tag.h>.
31052         * dirent/dirfd.c: Likewise.
31053         * dirent/fdopendir.c: Likewise.
31054         * dirent/getdents.c: Likewise.
31055         * dirent/getdents64.c: Likewise.
31056         * dirent/opendir.c: Likewise.
31057         * dirent/readdir.c: Likewise.
31058         * dirent/readdir64.c: Likewise.
31059         * dirent/readdir64_r.c: Likewise.
31060         * dirent/readdir_r.c: Likewise.
31061         * dirent/rewinddir.c: Likewise.
31062         * dirent/seekdir.c: Likewise.
31063         * dirent/telldir.c: Likewise.
31064         * gmon/profil.c: Likewise.
31065         * grp/setgroups.c: Likewise.
31066         * inet/if_index.c: Likewise.
31067         * io/access.c: Likewise.
31068         * io/chdir.c: Likewise.
31069         * io/chmod.c: Likewise.
31070         * io/chown.c: Likewise.
31071         * io/close.c: Likewise.
31072         * io/dup.c: Likewise.
31073         * io/dup2.c: Likewise.
31074         * io/dup3.c: Likewise.
31075         * io/euidaccess.c: Likewise.
31076         * io/faccessat.c: Likewise.
31077         * io/fchdir.c: Likewise.
31078         * io/fchmod.c: Likewise.
31079         * io/fchmodat.c: Likewise.
31080         * io/fchown.c: Likewise.
31081         * io/fchownat.c: Likewise.
31082         * io/fcntl.c: Likewise.
31083         * io/flock.c: Likewise.
31084         * io/fstatfs.c: Likewise.
31085         * io/fstatfs64.c: Likewise.
31086         * io/fstatvfs.c: Likewise.
31087         * io/fstatvfs64.c: Likewise.
31088         * io/futimens.c: Likewise.
31089         * io/fxstat.c: Likewise.
31090         * io/fxstat64.c: Likewise.
31091         * io/fxstatat.c: Likewise.
31092         * io/fxstatat64.c: Likewise.
31093         * io/getcwd.c: Likewise.
31094         * io/isatty.c: Likewise.
31095         * io/lchmod.c: Likewise.
31096         * io/lchown.c: Likewise.
31097         * io/link.c: Likewise.
31098         * io/linkat.c: Likewise.
31099         * io/lseek.c: Likewise.
31100         * io/lseek64.c: Likewise.
31101         * io/lxstat64.c: Likewise.
31102         * io/mkdir.c: Likewise.
31103         * io/mkdirat.c: Likewise.
31104         * io/mkfifo.c: Likewise.
31105         * io/mkfifoat.c: Likewise.
31106         * io/open.c: Likewise.
31107         * io/open64.c: Likewise.
31108         * io/openat.c: Likewise.
31109         * io/openat64.c: Likewise.
31110         * io/pipe.c: Likewise.
31111         * io/pipe2.c: Likewise.
31112         * io/poll.c: Likewise.
31113         * io/posix_fadvise.c: Likewise.
31114         * io/posix_fadvise64.c: Likewise.
31115         * io/posix_fallocate.c: Likewise.
31116         * io/posix_fallocate64.c: Likewise.
31117         * io/read.c: Likewise.
31118         * io/readlink.c: Likewise.
31119         * io/readlinkat.c: Likewise.
31120         * io/rmdir.c: Likewise.
31121         * io/sendfile.c: Likewise.
31122         * io/sendfile64.c: Likewise.
31123         * io/statfs.c: Likewise.
31124         * io/statfs64.c: Likewise.
31125         * io/statvfs.c: Likewise.
31126         * io/statvfs64.c: Likewise.
31127         * io/symlink.c: Likewise.
31128         * io/symlinkat.c: Likewise.
31129         * io/ttyname.c: Likewise.
31130         * io/ttyname_r.c: Likewise.
31131         * io/umask.c: Likewise.
31132         * io/unlink.c: Likewise.
31133         * io/unlinkat.c: Likewise.
31134         * io/utime.c: Likewise.
31135         * io/utimensat.c: Likewise.
31136         * io/write.c: Likewise.
31137         * io/xmknod.c: Likewise.
31138         * io/xmknodat.c: Likewise.
31139         * io/xstat.c: Likewise.
31140         * io/xstat64.c: Likewise.
31141         * login/getpt.c: Likewise.
31142         * login/grantpt.c: Likewise.
31143         * login/unlockpt.c: Likewise.
31144         * math/e_acoshl.c: Likewise.
31145         * math/e_acosl.c: Likewise.
31146         * math/e_asinl.c: Likewise.
31147         * math/e_atan2l.c: Likewise.
31148         * math/e_atanhl.c: Likewise.
31149         * math/e_coshl.c: Likewise.
31150         * math/e_expl.c: Likewise.
31151         * math/e_fmodl.c: Likewise.
31152         * math/e_gammal_r.c: Likewise.
31153         * math/e_hypotl.c: Likewise.
31154         * math/e_j0l.c: Likewise.
31155         * math/e_j1l.c: Likewise.
31156         * math/e_jnl.c: Likewise.
31157         * math/e_lgammal_r.c: Likewise.
31158         * math/e_log10l.c: Likewise.
31159         * math/e_log2l.c: Likewise.
31160         * math/e_logl.c: Likewise.
31161         * math/e_powl.c: Likewise.
31162         * math/e_rem_pio2l.c: Likewise.
31163         * math/e_sinhl.c: Likewise.
31164         * math/e_sqrtl.c: Likewise.
31165         * math/fclrexcpt.c: Likewise.
31166         * math/fedisblxcpt.c: Likewise.
31167         * math/feenablxcpt.c: Likewise.
31168         * math/fegetenv.c: Likewise.
31169         * math/fegetexcept.c: Likewise.
31170         * math/fegetround.c: Likewise.
31171         * math/feholdexcpt.c: Likewise.
31172         * math/fesetenv.c: Likewise.
31173         * math/fesetround.c: Likewise.
31174         * math/feupdateenv.c: Likewise.
31175         * math/fgetexcptflg.c: Likewise.
31176         * math/fraiseexcpt.c: Likewise.
31177         * math/fsetexcptflg.c: Likewise.
31178         * math/ftestexcept.c: Likewise.
31179         * math/k_cosl.c: Likewise.
31180         * math/k_rem_pio2l.c: Likewise.
31181         * math/k_sinl.c: Likewise.
31182         * math/k_tanl.c: Likewise.
31183         * math/s_asinhl.c: Likewise.
31184         * math/s_atanl.c: Likewise.
31185         * math/s_cbrtl.c: Likewise.
31186         * math/s_erfl.c: Likewise.
31187         * math/s_expm1l.c: Likewise.
31188         * math/s_log1pl.c: Likewise.
31189         * math/s_tanhl.c: Likewise.
31190         * misc/acct.c: Likewise.
31191         * misc/brk.c: Likewise.
31192         * misc/chflags.c: Likewise.
31193         * misc/chroot.c: Likewise.
31194         * misc/fchflags.c: Likewise.
31195         * misc/fgetxattr.c: Likewise.
31196         * misc/flistxattr.c: Likewise.
31197         * misc/fremovexattr.c: Likewise.
31198         * misc/fsetxattr.c: Likewise.
31199         * misc/fsync.c: Likewise.
31200         * misc/ftruncate.c: Likewise.
31201         * misc/futimes.c: Likewise.
31202         * misc/futimesat.c: Likewise.
31203         * misc/getdomain.c: Likewise.
31204         * misc/getdtsz.c: Likewise.
31205         * misc/gethostid.c: Likewise.
31206         * misc/gethostname.c: Likewise.
31207         * misc/getloadavg.c: Likewise.
31208         * misc/getpagesize.c: Likewise.
31209         * misc/getsysstats.c: Likewise.
31210         * misc/getxattr.c: Likewise.
31211         * misc/gtty.c: Likewise.
31212         * misc/ioctl.c: Likewise.
31213         * misc/lgetxattr.c: Likewise.
31214         * misc/listxattr.c: Likewise.
31215         * misc/llistxattr.c: Likewise.
31216         * misc/lremovexattr.c: Likewise.
31217         * misc/lsetxattr.c: Likewise.
31218         * misc/lutimes.c: Likewise.
31219         * misc/madvise.c: Likewise.
31220         * misc/mincore.c: Likewise.
31221         * misc/mlock.c: Likewise.
31222         * misc/mlockall.c: Likewise.
31223         * misc/mmap.c: Likewise.
31224         * misc/mprotect.c: Likewise.
31225         * misc/msync.c: Likewise.
31226         * misc/munlock.c: Likewise.
31227         * misc/munlockall.c: Likewise.
31228         * misc/munmap.c: Likewise.
31229         * misc/preadv.c: Likewise.
31230         * misc/preadv64.c: Likewise.
31231         * misc/ptrace.c: Likewise.
31232         * misc/pwritev.c: Likewise.
31233         * misc/pwritev64.c: Likewise.
31234         * misc/readv.c: Likewise.
31235         * misc/reboot.c: Likewise.
31236         * misc/remap_file_pages.c: Likewise.
31237         * misc/removexattr.c: Likewise.
31238         * misc/revoke.c: Likewise.
31239         * misc/select.c: Likewise.
31240         * misc/setdomain.c: Likewise.
31241         * misc/setegid.c: Likewise.
31242         * misc/seteuid.c: Likewise.
31243         * misc/sethostid.c: Likewise.
31244         * misc/sethostname.c: Likewise.
31245         * misc/setregid.c: Likewise.
31246         * misc/setreuid.c: Likewise.
31247         * misc/setxattr.c: Likewise.
31248         * misc/sstk.c: Likewise.
31249         * misc/stty.c: Likewise.
31250         * misc/swapoff.c: Likewise.
31251         * misc/swapon.c: Likewise.
31252         * misc/sync.c: Likewise.
31253         * misc/syncfs.c: Likewise.
31254         * misc/syscall.c: Likewise.
31255         * misc/truncate.c: Likewise.
31256         * misc/ualarm.c: Likewise.
31257         * misc/usleep.c: Likewise.
31258         * misc/ustat.c: Likewise.
31259         * misc/utimes.c: Likewise.
31260         * misc/vhangup.c: Likewise.
31261         * misc/writev.c: Likewise.
31262         * posix/_exit.c: Likewise.
31263         * posix/alarm.c: Likewise.
31264         * posix/execve.c: Likewise.
31265         * posix/fexecve.c: Likewise.
31266         * posix/fork.c: Likewise.
31267         * posix/fpathconf.c: Likewise.
31268         * posix/getaddrinfo.c: Likewise.
31269         * posix/getegid.c: Likewise.
31270         * posix/geteuid.c: Likewise.
31271         * posix/getgid.c: Likewise.
31272         * posix/getgroups.c: Likewise.
31273         * posix/getlogin.c: Likewise.
31274         * posix/getlogin_r.c: Likewise.
31275         * posix/getpgid.c: Likewise.
31276         * posix/getpid.c: Likewise.
31277         * posix/getppid.c: Likewise.
31278         * posix/getresgid.c: Likewise.
31279         * posix/getresuid.c: Likewise.
31280         * posix/getsid.c: Likewise.
31281         * posix/getuid.c: Likewise.
31282         * posix/glob64.c: Likewise.
31283         * posix/nanosleep.c: Likewise.
31284         * posix/pathconf.c: Likewise.
31285         * posix/pause.c: Likewise.
31286         * posix/posix_madvise.c: Likewise.
31287         * posix/pread.c: Likewise.
31288         * posix/pread64.c: Likewise.
31289         * posix/pwrite.c: Likewise.
31290         * posix/pwrite64.c: Likewise.
31291         * posix/sched_getaffinity.c: Likewise.
31292         * posix/sched_getp.c: Likewise.
31293         * posix/sched_gets.c: Likewise.
31294         * posix/sched_primax.c: Likewise.
31295         * posix/sched_primin.c: Likewise.
31296         * posix/sched_rr_gi.c: Likewise.
31297         * posix/sched_setaffinity.c: Likewise.
31298         * posix/sched_setp.c: Likewise.
31299         * posix/sched_sets.c: Likewise.
31300         * posix/sched_yield.c: Likewise.
31301         * posix/setgid.c: Likewise.
31302         * posix/setlogin.c: Likewise.
31303         * posix/setpgid.c: Likewise.
31304         * posix/setresgid.c: Likewise.
31305         * posix/setresuid.c: Likewise.
31306         * posix/setsid.c: Likewise.
31307         * posix/setuid.c: Likewise.
31308         * posix/sleep.c: Likewise.
31309         * posix/spawni.c: Likewise.
31310         * posix/sysconf.c: Likewise.
31311         * posix/times.c: Likewise.
31312         * posix/wait.c: Likewise.
31313         * posix/wait3.c: Likewise.
31314         * posix/wait4.c: Likewise.
31315         * posix/waitpid.c: Likewise.
31316         * resolv/gai_sigqueue.c: Likewise.
31317         * resource/getpriority.c: Likewise.
31318         * resource/getrlimit.c: Likewise.
31319         * resource/getrusage.c: Likewise.
31320         * resource/nice.c: Likewise.
31321         * resource/setpriority.c: Likewise.
31322         * resource/setrlimit.c: Likewise.
31323         * resource/ulimit.c: Likewise.
31324         * rt/aio_cancel.c: Likewise.
31325         * rt/aio_fsync.c: Likewise.
31326         * rt/aio_read.c: Likewise.
31327         * rt/aio_sigqueue.c: Likewise.
31328         * rt/aio_suspend.c: Likewise.
31329         * rt/aio_write.c: Likewise.
31330         * rt/clock_getres.c: Likewise.
31331         * rt/clock_gettime.c: Likewise.
31332         * rt/clock_nanosleep.c: Likewise.
31333         * rt/clock_settime.c: Likewise.
31334         * rt/lio_listio.c: Likewise.
31335         * rt/mq_close.c: Likewise.
31336         * rt/mq_getattr.c: Likewise.
31337         * rt/mq_notify.c: Likewise.
31338         * rt/mq_open.c: Likewise.
31339         * rt/mq_receive.c: Likewise.
31340         * rt/mq_send.c: Likewise.
31341         * rt/mq_setattr.c: Likewise.
31342         * rt/mq_timedreceive.c: Likewise.
31343         * rt/mq_timedsend.c: Likewise.
31344         * rt/mq_unlink.c: Likewise.
31345         * rt/shm_open.c: Likewise.
31346         * rt/shm_unlink.c: Likewise.
31347         * rt/timer_create.c: Likewise.
31348         * rt/timer_delete.c: Likewise.
31349         * rt/timer_getoverr.c: Likewise.
31350         * rt/timer_gettime.c: Likewise.
31351         * rt/timer_settime.c: Likewise.
31352         * setjmp/__longjmp.c: Likewise.
31353         * setjmp/setjmp.c: Likewise.
31354         * signal/kill.c: Likewise.
31355         * signal/killpg.c: Likewise.
31356         * signal/raise.c: Likewise.
31357         * signal/sigaction.c: Likewise.
31358         * signal/sigaltstack.c: Likewise.
31359         * signal/sigblock.c: Likewise.
31360         * signal/sigignore.c: Likewise.
31361         * signal/sigintr.c: Likewise.
31362         * signal/signal.c: Likewise.
31363         * signal/sigpause.c: Likewise.
31364         * signal/sigpending.c: Likewise.
31365         * signal/sigqueue.c: Likewise.
31366         * signal/sigreturn.c: Likewise.
31367         * signal/sigset.c: Likewise.
31368         * signal/sigsetmask.c: Likewise.
31369         * signal/sigstack.c: Likewise.
31370         * signal/sigsuspend.c: Likewise.
31371         * signal/sigtimedwait.c: Likewise.
31372         * signal/sigvec.c: Likewise.
31373         * signal/sigwait.c: Likewise.
31374         * signal/sigwaitinfo.c: Likewise.
31375         * signal/sysv_signal.c: Likewise.
31376         * socket/accept.c: Likewise.
31377         * socket/accept4.c: Likewise.
31378         * socket/bind.c: Likewise.
31379         * socket/connect.c: Likewise.
31380         * socket/getpeername.c: Likewise.
31381         * socket/getsockname.c: Likewise.
31382         * socket/getsockopt.c: Likewise.
31383         * socket/isfdtype.c: Likewise.
31384         * socket/listen.c: Likewise.
31385         * socket/recv.c: Likewise.
31386         * socket/recvfrom.c: Likewise.
31387         * socket/recvmsg.c: Likewise.
31388         * socket/send.c: Likewise.
31389         * socket/sendmsg.c: Likewise.
31390         * socket/sendto.c: Likewise.
31391         * socket/setsockopt.c: Likewise.
31392         * socket/shutdown.c: Likewise.
31393         * socket/sockatmark.c: Likewise.
31394         * socket/socket.c: Likewise.
31395         * socket/socketpair.c: Likewise.
31396         * stdio-common/ctermid.c: Likewise.
31397         * stdio-common/cuserid.c: Likewise.
31398         * stdio-common/remove.c: Likewise.
31399         * stdio-common/rename.c: Likewise.
31400         * stdio-common/renameat.c: Likewise.
31401         * stdio-common/tempname.c: Likewise.
31402         * stdlib/getcontext.c: Likewise.
31403         * stdlib/makecontext.c: Likewise.
31404         * stdlib/setcontext.c: Likewise.
31405         * stdlib/swapcontext.c: Likewise.
31406         * stdlib/system.c: Likewise.
31407         * streams/fattach.c: Likewise.
31408         * streams/fdetach.c: Likewise.
31409         * streams/getmsg.c: Likewise.
31410         * streams/getpmsg.c: Likewise.
31411         * streams/putmsg.c: Likewise.
31412         * streams/putpmsg.c: Likewise.
31413         * sysdeps/unix/bsd/getpt.c: Likewise.
31414         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31415         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31416         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31418         Likewise.
31419         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31420         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31421         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31422         * sysvipc/msgctl.c: Likewise.
31423         * sysvipc/msgget.c: Likewise.
31424         * sysvipc/msgrcv.c: Likewise.
31425         * sysvipc/msgsnd.c: Likewise.
31426         * sysvipc/semctl.c: Likewise.
31427         * sysvipc/semget.c: Likewise.
31428         * sysvipc/semop.c: Likewise.
31429         * sysvipc/semtimedop.c: Likewise.
31430         * sysvipc/shmat.c: Likewise.
31431         * sysvipc/shmctl.c: Likewise.
31432         * sysvipc/shmdt.c: Likewise.
31433         * sysvipc/shmget.c: Likewise.
31434         * termios/tcdrain.c: Likewise.
31435         * termios/tcflow.c: Likewise.
31436         * termios/tcflush.c: Likewise.
31437         * termios/tcgetattr.c: Likewise.
31438         * termios/tcgetpgrp.c: Likewise.
31439         * termios/tcsendbrk.c: Likewise.
31440         * termios/tcsetattr.c: Likewise.
31441         * termios/tcsetpgrp.c: Likewise.
31442         * time/adjtime.c: Likewise.
31443         * time/clock.c: Likewise.
31444         * time/getitimer.c: Likewise.
31445         * time/gettimeofday.c: Likewise.
31446         * time/setitimer.c: Likewise.
31447         * time/settimeofday.c: Likewise.
31448         * time/stime.c: Likewise.
31449         * time/time.c: Likewise.
31451 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
31453         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31454         /usr/old/bin.
31456         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31457         instead of spaces.
31458         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31460 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
31462         [BZ #14796]
31463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31464         FE_TONEAREST before applying Dekker multiplication and Knuth
31465         addition.  Clear inexact exceptions and check for exact zero
31466         results afterwards.
31467         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31468         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31469         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31470         * math/libm-test.inc (fma_test): Add more tests.
31471         (fma_test_towardzero): Likewise.
31472         (fma_test_downward): Likewise.
31473         (fma_test_upward): Likewise.
31474         * sysdeps/generic/math_private.h (default_libc_fesetround): New
31475         function.
31476         (libc_fesetround): New macro.
31477         (libc_fesetroundf): Likewise.
31478         (libc_fesetroundl): Likewise.
31479         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31480         function.
31481         (libc_fesetround_387): Likewise.
31482         (libc_fesetroundf): New macro.
31483         (libc_fesetround): Likewise.
31484         (libc_fesetroundl): Likewise.
31485         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31486         function.
31487         (libc_fesetroundf): New macro.
31488         (libc_fesetround): Likewise.
31489         (libc_fesetroundl): Likewise.
31490         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31491         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31492         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31493         libm_hidden_ver.
31494         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31495         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31496         libm_hidden_def.
31497         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31498         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31499         libm_hidden_ver.
31500         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31501         libm_hidden_def.
31503         [BZ #3439]
31504         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31505         integer constant usable in #if and use that to give value to enum
31506         constant.
31507         (FE_DIVBYZERO): Likewise.
31508         (FE_UNDERFLOW): Likewise.
31509         (FE_OVERFLOW): Likewise.
31510         (FE_INVALID): Likewise.
31511         (FE_INVALID_SNAN): Likewise.
31512         (FE_INVALID_ISI): Likewise.
31513         (FE_INVALID_IDI): Likewise.
31514         (FE_INVALID_ZDZ): Likewise.
31515         (FE_INVALID_IMZ): Likewise.
31516         (FE_INVALID_COMPARE): Likewise.
31517         (FE_INVALID_SOFTWARE): Likewise.
31518         (FE_INVALID_SQRT): Likewise.
31519         (FE_INVALID_INTEGER_CONVERSION): Likewise.
31520         (FE_TONEAREST): Likewise.
31521         (FE_TOWARDZERO): Likewise.
31522         (FE_UPWARD): Likewise.
31523         (FE_DOWNWARD): Likewise.
31524         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31525         (FE_DIVBYZERO): Likewise.
31526         (FE_OVERFLOW): Likewise.
31527         (FE_UNDERFLOW): Likewise.
31528         (FE_INEXACT): Likewise.
31529         (FE_TONEAREST): Likewise.
31530         (FE_DOWNWARD): Likewise.
31531         (FE_UPWARD): Likewise.
31532         (FE_TOWARDZERO): Likewise.
31533         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31534         (FE_UNDERFLOW): Likewise.
31535         (FE_OVERFLOW): Likewise.
31536         (FE_DIVBYZERO): Likewise.
31537         (FE_INVALID): Likewise.
31538         (FE_TONEAREST): Likewise.
31539         (FE_TOWARDZERO): Likewise.
31540         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31541         (FE_OVERFLOW): Likewise.
31542         (FE_UNDERFLOW): Likewise.
31543         (FE_DIVBYZERO): Likewise.
31544         (FE_INEXACT): Likewise.
31545         (FE_TONEAREST): Likewise.
31546         (FE_TOWARDZERO): Likewise.
31547         (FE_UPWARD): Likewise.
31548         (FE_DOWNWARD): Likewise.
31549         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31550         (FE_DIVBYZERO): Likewise.
31551         (FE_OVERFLOW): Likewise.
31552         (FE_UNDERFLOW): Likewise.
31553         (FE_INEXACT): Likewise.
31554         (FE_TONEAREST): Likewise.
31555         (FE_DOWNWARD): Likewise.
31556         (FE_UPWARD): Likewise.
31557         (FE_TOWARDZERO): Likewise.
31559 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
31561         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31563 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
31565         * scripts/cross-test-ssh.sh (command): Use newlines to separate
31566         commands.  Quote $PWD.
31567         (blacklist_exports): Don't use remove_newlines.  Replace "declare
31568         -x" by "export".
31569         (remove_newlines): Remove.
31571 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
31573         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31574         * stdlib/stdlib.h (atof): Moved to ...
31575         * include/bits/stdlib-float.h: Here.  New file.
31576         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31577         * stdlib/bits/stdlib-float.h: New file.
31578         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31579         -mno-sse -mno-mmx.
31580         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31581         <xmmintrin.h>.
31583 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31585         * conform/conformtest.pl (@headers): Add fenv.h.
31586         * conform/data/fenv.h-data: New file.
31587         * include/fenv.h [_ISOMAC]: Disable all contents of file except
31588         include of <math/fenv.h>.
31590         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31591         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31592         && !UNIX98].  Enables tests for XOPEN2K8.
31593         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31594         POSIX2008]: Likewise.
31596         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31597         (struct rusage): Do not expect type or its members.
31599         [BZ #3439]
31600         * math/math.h (FP_NAN): Define macro to integer constant usable in
31601         #if and use that to give value to enum constant.
31602         (FP_INFINITE): Likewise.
31603         (FP_ZERO): Likewise.
31604         (FP_SUBNORMAL): Likewise.
31605         (FP_NORMAL): Likewise.
31607 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
31609         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31610         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31611         arguments.
31613 2012-11-02  Roland McGrath  <roland@hack.frob.com>
31615         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31616         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31617         autoconf-time if not.
31618         * configure.in: Remove AC_PREREQ.
31620 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31622         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31623         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31624         of the internal implementation.
31626 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31628         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31629         except include of <misc/sys/syslog.h>.
31631 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31634         function returns with a NULL context exit with zero.
31636 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31638         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31640 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
31642         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31643         (run_program_cmd): This.
31644         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31645         (tst_langinfo): New variable.  Use it.
31647 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
31649         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31650         floating point opcodes.
31652 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31654         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31655         variable.
31657         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31659         * sysdeps/mach/hurd/powerpc: Remove directory.
31660         * sysdeps/mach/powerpc: Likewise.
31662 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31664         * scripts/check-local-headers.sh: Ignore c++ headers.
31666 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31668         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31669         __libc_cleanup_region_start argument.
31671 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
31673         [BZ #14784]
31674         [BZ #14785]
31675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31676         x * y using scaling, not as x * y + z.
31677         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31678         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31679         * math/libm-test.inc (fma_test): Add more tests.
31680         (fma_test_towardzero): Likewise.
31681         (fma_test_downward): Likewise.
31682         (fma_test_upward): Likewise.
31684 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31686         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31688 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31690         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31691         New variable.
31693 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
31695         * rt/tst-shm.c (worker): Correct checking for mmap failure.
31697 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31700         Fix sort order.
31701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31702         Likewise.
31704 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31707         Fix the order of the list for glibc 2.17.
31708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31709         Likewise.
31711 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31715 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31717         [BZ #14610]
31718         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31719         for low part of x being zero before using __atanl (y).
31720         * math/libm-test.inc (atan2_test): Add another test.
31722         * manual/install.texi (Configuring and compiling): Document
31723         general use of test-wrapper and test-wrapper-env.
31724         * INSTALL: Regenerated.
31726         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31727         (__fma): Do not extract and scale down low bits on after-rounding
31728         systems when result rounded to normal precision would have normal
31729         exponent.
31730         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31731         (__fmal): Do not extract and scale down low bits on after-rounding
31732         systems when result rounded to normal precision would have normal
31733         exponent.
31734         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31735         (__fmal): Do not extract and scale down low bits on after-rounding
31736         systems when result rounded to normal precision would have normal
31737         exponent.
31738         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31739         macro.
31740         (fma_test): Add more tests.
31741         (fma_test_towardzero): Likewise.
31742         (fma_test_downward): Likewise.
31743         (fma_test_upward): Likewise.
31745 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
31747         * sysdeps/i386/tininess.h: Renamed to ...
31748         * sysdeps/x86/tininess.h: This.
31749         * sysdeps/x86_64/tininess.h: Removed.
31751 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31753         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31754         input.  Use $(build-program-cmd).
31755         ($(objpfx)tst-array1-static.out): Likewise.
31756         ($(objpfx)tst-array2.out): Likewise.
31757         ($(objpfx)tst-array3.out): Likewise.
31758         ($(objpfx)tst-array4.out): Likewise.
31759         ($(objpfx)tst-array5.out): Likewise.
31760         ($(objpfx)tst-array5-static.out): Likewise.
31762 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
31764         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31765         if defined.
31767         * nss/nsswitch.h (nss_interface_function): Provide new
31768         macro for use with NSS functions.
31769         * grp/initgroups.c: Use new macro.
31770         * nss/getXXbyYY.c: Likewise.
31771         * nss/getXXbyYY_r.c: Likewise.
31772         * nss/getXXent.c: Likewise.
31773         * nss/getXXent_r.c: Likewise.
31774         * sysdeps/posix/getaddrinfo.c: Likewise.
31776 2012-10-30  Andreas Jaeger  <aj@suse.de>
31778         * po/ru.po: Update Russion translation from translation project.
31780 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31782         [BZ #14152]
31783         [BZ #14783]
31784         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31785         result and shift together with sticky bit instead of replicating
31786         round-to-nearest rounding.
31787         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31788         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31789         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
31790         missing underflow exceptions.
31791         (fma_test_towardzero): Add more tests.
31792         (fma_test_downward): Likewise.
31793         (fma_test_upward): Likewise.
31795         [BZ #14047]
31796         * sysdeps/generic/tininess.h: New file.
31797         * sysdeps/i386/tininess.h: Likewise.
31798         * sysdeps/sh/tininess.h: Likewise.
31799         * sysdeps/x86_64/tininess.h: Likewise.
31800         * stdlib/tst-strtod-underflow.c: Likewise.
31801         * stdlib/tst-tininess.c: Likewise.
31802         * stdlib/strtod_l.c: Include <tininess.h>.
31803         (round_and_return): Do not set errno for exact underflow cases.
31804         Force an underflow exception when setting errno for underflow.
31805         Determine underflow based on rounding to normal precision if
31806         TININESS_AFTER_ROUNDING.
31807         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31808         ERANGE for exact underflow cases.
31809         * stdlib/Makefile (tests): Add tst-tininess and
31810         tst-strtod-underflow.
31811         ($(objpfx)tst-tininess): Use $(link-libm).
31812         ($(objpfx)tst-strtod-underflow): Likewise.
31814 2012-10-30  Andreas Jaeger  <aj@suse.de>
31816         [BZ#14767]
31817         * elf/Makefile (tests): Remove conditional for have-initfini-array
31818         since this is now always required and the variable does not exist
31819         anymore.
31820         (tests-static): Likewise.
31821         (modules-names): Likewise.
31823         * po/eo.po: Add Esperanto translation from translation project.
31825         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31826         merged with constructor/destructor.
31827         (init_array): Likewise.
31828         * elf/tst-array2dep.c (fini_array): Likewise.
31829         (init_array): Likewise.
31831 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31833         * manual/message.texi: Delete @cartouche tags.
31835 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31837         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31838         EOPNOTSUPP.
31839         * sysdeps/mach/hurd/fsync.c: Likewise.
31841         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31842         [_POSIX_REALTIME_SIGNALS]: Change condition to
31843         [_POSIX_REALTIME_SIGNALS > 0].
31845 2012-10-27  Andreas Jaeger  <aj@suse.de>
31847         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31848         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31849         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31850         [__WORDSIZE != 64]: Likewise.
31852 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31854         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31855         *  iconvdata/tst-tables.sh: Likewise.
31857 2012-10-25  David S. Miller  <davem@davemloft.net>
31859         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31860         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31861         of strtoull.
31863         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31864         ifunc-impl-list.c
31865         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31866         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31867         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31868         file.
31870 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31872         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31873         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31874         __getdirentries.
31876 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31877             Jim Blandy  <jimb@codesourcery.com>
31879         * scripts/cross-test-ssh.sh: New file.
31880         * manual/install.texi (Configuring and compiling): Document use of
31881         cross-test-ssh.sh.
31882         * INSTALL: Regenerated.
31884 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31886         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31887         EOPNOTSUPP.
31889 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31891         * Makeconfig (run-program-prefix): Fix comment.
31893 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31894             Jim Blandy  <jimb@codesourcery.com>
31896         * Makeconfig (test-wrapper): New variable,
31897         (test-wrapper-env): Likewise.
31898         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31899         (run-built-tests): Define to yes.
31900         (run-program-prefix): Use $(test-wrapper).
31901         (built-program-cmd): Likewise.
31902         * Rules (make-test-out): Use $(test-wrapper-env) and
31903         $(host-built-program-cmd).
31904         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31905         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31906         tst-pathopt.sh.
31907         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31908         $(test-wrapper-env) to tst-rtld-load-self.sh.
31909         ($(objpfx)order2.out): Use $(test-wrapper).
31910         ($(objpfx)tst-initorder.out): Likewise.
31911         ($(objpfx)tst-initorder2.out): Likewise.
31912         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31913         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31914         (test_wrapper_env): New variable.  Use it to run ld.so.
31915         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31916         Use it to run ld.so.
31917         (test_wrapper_env): Likewise.
31918         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31919         $(test-wrapper) to run-iconv-test.sh.
31920         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31921         (ICONV): Use $test_wrapper.
31922         * posix/Makefile ($(objpfx)globtest.out): Pass
31923         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31924         globtest.sh, not $(run-program-prefix).
31925         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31926         (test_wrapper): Likewise.
31927         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31928         set together with run_via_rtld_prefix.
31929         (run_program_prefix): Define in terms of test_wrapper and
31930         run_via_rtld_prefix.
31932 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31934         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31935         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31936         Targets removed.
31938         [BZ #14743]
31939         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31940         Declare __clock_getres, __clock_gettime, __clock_settime,
31941         __clock_nanosleep, and __clock_getcpuclockid.
31942         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31943         Remove librt_hidden_def (clock_gettime).
31944         * sysdeps/unix/clock_gettime.c: Likewise.
31945         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31946         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31947         * rt/clock_getres.c: Define __clock_getres as an alias.
31948         * sysdeps/posix/clock_getres.c: Likewise.
31949         * rt/clock_settime.c: Define __clock_settime as an alias.
31950         * sysdeps/unix/clock_settime.c: Likewise.
31951         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31952         * sysdeps/unix/clock_nanosleep.c: Likewise.
31953         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31954         * rt/clock-compat.c: New file.
31955         * rt/Makefile (librt-routines): Add clock-compat and move
31956         $(clock-routines) to ...
31957         (routines): ... here, new variable.
31958         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31959         Don't add get_clockfreq here.
31960         * rt/Versions (libc: GLIBC_2.17): New version set.
31961         Add clock_* symbols here.
31962         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31963         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31964         (GLIBC_2.17): Add clock_* symbols.
31965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31967         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31969         Likewise.
31970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31971         Likewise.
31972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31976         * NEWS: Mention the move.
31978         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31979         Use __open, __read, __close rather than their public counterparts.
31980         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31981         (__get_clockfreq_via_cpuinfo): Likewise.
31982         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31983         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31985         * config.h.in (HAVE_IFUNC): New #undef.
31986         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31987         was successful.
31988         * configure: Regenerated.
31990 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31992         * configure.in: Move READELF check to start of file.
31993         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31994         libc_cv_asm_gnu_indirect_function in the process.
31995         * configure: Regenerated.
31997 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31999         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32000         send the output to /dev/null.
32001         (libc_cv_cc_with_libunwind): Likewise.
32002         (libc_cv_as_noexecstack): Likewise.
32003         * configure: Regenerate.
32005 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32007         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32009         * posix/globtest.sh (TMPDIR): Do not set.
32010         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32011         (testout): Likewise.
32013 2012-10-24  Andreas Jaeger  <aj@suse.de>
32015         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32016         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32017         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32018         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32019         posix_fadvise64, posix_fallocate64.
32021         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32022         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32023         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32024         Likewise.
32025         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32026         Likewise.
32027         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32030         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32031         <bits/fcntl-linux.h>.
32032         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32034         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32035         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32036         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32037         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32038         [__WORDSIZE != 64]: Likewise.
32040 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32042         * Makeconfig (run-built-tests): New variable.
32043         * Rules [$(cross-compiling) = yes]: Change condition to
32044         [$(run-built-tests) = no].
32045         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32046         to [$(run-built-tests) = yes].
32047         * elf/Makefile [$(cross-compiling) = no]: Likewise
32048         * grp/Makefile [$(cross-compiling) = no]: Likewise.
32049         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32050         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32051         * intl/Makefile [$(cross-compiling) = no]: Likewise.
32052         * io/Makefile [$(cross-compiling) = no]: Likewise.
32053         * libio/Makefile [$(cross-compiling) = no]: Likewise.
32054         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32055         * misc/Makefile [$(cross-compiling) = no]: Likewise.
32056         * posix/Makefile [$(cross-compiling) = no]: Likewise.
32057         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32058         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32059         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32060         * string/Makefile [$(cross-compiling) = no]: Likewise.
32062         * posix/Makefile ($(objpfx)globtest.out): Pass
32063         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32064         $(rtld-installed-name).
32065         * posix/globtest.sh (elf_objpfx): Remove variable.
32066         (rtld_installed_name): Likewise.
32067         (library_path): Likewise.
32068         (run_program_prefix): New variable.  Use for running globtest
32069         binary.
32071 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
32072             Joseph Myers  <joseph@codesourcery.com>
32074         * Makeconfig (host-built-program-cmd): New variable.
32075         * elf/Makefile (tst-stackguard1-ARGS): Use
32076         $(host-built-program-cmd).
32077         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32078         (tst-spawn-ARGS): Likewise.
32079         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32081 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32082             Jim Blandy  <jimb@codesourcery.com>
32084         * Makeconfig (run-via-rtld-prefix): New variable.
32085         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32086         (built-program-cmd): Likewise.
32088 2012-10-22  Andreas Jaeger  <aj@suse.de>
32090         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32091         __O_RSYNC if it exists, otherwise to O_SYNC.
32093 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
32094             Joseph Myers  <joseph@codesourcery.com>
32096         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32097         /dev/null.
32098         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32099         from /dev/null
32100         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32101         /dev/null.
32103 2012-10-22  Andreas Jaeger  <aj@suse.de>
32105         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32106         Define always.
32107         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32110         bits/fcntl-linux.h.
32112         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32113         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32115         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32116         to __O_LARGEFILE.
32117         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32118         to __O_LARGEFILE.
32120 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
32121             Joseph Myers  <joseph@codesourcery.com>
32123         * config.make.in (NM): New variable.
32125 2012-10-21  Andreas Jaeger  <aj@suse.de>
32127         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32128         definitions and declarations that are provided by
32129         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32131 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32133         [BZ #14683]
32134         * elf/Makefile (tests-static): Add tst-leaks1-static.
32135         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32136         ($(objpfx)tst-leaks1-static): New rule.
32137         ($(objpfx)tst-leaks1-static-mem): Likewise.
32138         (tst-leaks1-static-ENV): New macro.
32139         * elf/dl-open.c (dl_open_worker): Check the main application
32140         only if SHARED is defined.
32141         * elf/tst-leaks1-static.c: New file.
32143 2012-10-20  Andreas Jaeger  <aj@suse.de>
32145         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32146         generic values for Linux.
32147         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32148         and declarations that are provided by <bits/fcntl-linux.h> and
32149         include <bits/fcntl-linux.h>.
32150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32151         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32153 2012-10-20  Roland McGrath  <roland@hack.frob.com>
32155         * io/fcntl.h: Move include of <bits/types.h> to the top and
32156         include it unconditionally.
32158 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32160         * wcsmbs/Makefile (tests-ifunc): New variable.
32161         (tests): Add $(tests-ifunc).
32162         * wcsmbs/test-wcschr-ifunc.c: New file.
32163         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32164         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32165         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32166         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32167         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32169         * string/Makefile (tests-ifunc): New variable.
32170         (tests): Add $(tests-ifunc).
32171         * string/test-memccpy.c (TEST_NAME): New macro.
32172         * string/test-memchr.c (TEST_NAME): Likewise.
32173         * string/test-memcmp.c (TEST_NAME): Likewise.
32174         * string/test-memcpy.c (TEST_NAME): Likewise.
32175         * string/test-memmem.c (TEST_NAME): Likewise.
32176         * string/test-memmove.c (TEST_NAME): Likewise.
32177         * string/test-memset.c (TEST_NAME): Likewise.
32178         * string/test-rawmemchr.c (TEST_NAME): Likewise.
32179         * string/test-stpcpy.c (TEST_NAME): Likewise.
32180         * string/test-stpncpy.c (TEST_NAME): Likewise.
32181         * string/test-strcasecmp.c (TEST_NAME): Likewise.
32182         * string/test-strcasestr.c (TEST_NAME): Likewise.
32183         * string/test-strcat.c (TEST_NAME): Likewise.
32184         * string/test-strchr.c (TEST_NAME): Likewise.
32185         * string/test-strcmp.c(TEST_NAME): Likewise.
32186         * string/test-strcpy.c (TEST_NAME): Likewise.
32187         * string/test-strcspn.c (TEST_NAME): Likewise.
32188         * string/test-strlen.c (TEST_NAME): Likewise.
32189         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32190         * string/test-strncmp.c (TEST_NAME): Likewise.
32191         * string/test-strncpy.c (TEST_NAME): Likewise.
32192         * string/test-strnlen.c (TEST_NAME): Likewise.
32193         * string/test-strpbrk.c (TEST_NAME): Likewise.
32194         * string/test-strrchr.c (TEST_NAME): Likewise.
32195         * string/test-strspn.c (TEST_NAME): Likewise.
32196         * string/test-strstr.c (TEST_NAME): Likewise.
32197         * string/test-bcopy-ifunc.c: New file.
32198         * string/test-bzero-ifunc.c: Likewise.
32199         * string/test-memccpy-ifunc.c: Likewise.
32200         * string/test-memchr-ifunc.c: Likewise.
32201         * string/test-memcmp-ifunc.c: Likewise.
32202         * string/test-memcpy-ifunc.c: Likewise.
32203         * string/test-memmem-ifunc.c: Likewise.
32204         * string/test-memmove-ifunc.c: Likewise.
32205         * string/test-mempcpy-ifunc.c: Likewise.
32206         * string/test-memset-ifunc.c: Likewise.
32207         * string/test-rawmemchr-ifunc.c: Likewise.
32208         * string/test-stpcpy-ifunc.c: Likewise.
32209         * string/test-stpncpy-ifunc.c: Likewise.
32210         * string/test-strcasecmp-ifunc.c: Likewise.
32211         * string/test-strcasestr-ifunc.c: Likewise.
32212         * string/test-strcat-ifunc.c: Likewise.
32213         * string/test-strchr-ifunc.c: Likewise.
32214         * string/test-strchrnul-ifunc.c: Likewise.
32215         * string/test-strcmp-ifunc.c: Likewise.
32216         * string/test-strcpy-ifunc.c: Likewise.
32217         * string/test-strcspn-ifunc.c: Likewise.
32218         * string/test-strlen-ifunc.c: Likewise.
32219         * string/test-strncasecmp-ifunc.c: Likewise.
32220         * string/test-strncat-ifunc.c: Likewise.
32221         * string/test-strncmp-ifunc.c: Likewise.
32222         * string/test-strncpy-ifunc.c: Likewise.
32223         * string/test-strnlen-ifunc.c: Likewise.
32224         * string/test-strpbrk-ifunc.c: Likewise.
32225         * string/test-strrchr-ifunc.c: Likewise.
32226         * string/test-strspn-ifunc.c: Likewise.
32227         * string/test-strstr-ifunc.c: Likewise.
32229         * debug/Makefile (tests-ifunc): New variable.
32230         (tests): Add $(tests-ifunc).
32231         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32232         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32233         * debug/test-stpcpy_chk-ifunc.c: New file.
32234         * debug/test-strcpy_chk-ifunc.c: Likewise.
32236 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32238         [BZ #13601]
32239         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32240         header is not read in.
32242 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32244         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32245         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32246         directly.  Pass built executable to script as
32247         $(built-program-cmd).
32248         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32249         $testprogram without using LD_LIBRARY_PATH and $ldso.
32251         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32252         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32253         $(rtld-installed-name).
32254         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32255         (rtld_installed_name): Likewise.
32256         (library_path): Likewise.
32257         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32258         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32259         $(run-program-prefix) to tst-tables.sh.
32260         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32261         it to run tst-table-from and tst-table-to.
32262         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32263         Pass it to tst-table.sh.
32264         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32265         $(run-program-prefix) to tst-gettext.sh.
32266         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32267         tst-translit.sh.
32268         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32269         tst-gettext2.sh.
32270         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32271         to run tst-gettext.
32272         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32273         to run tst-gettext2.
32274         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32275         to run tst-translit.
32276         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32277         $(run-program-prefix) to tst-mtrace.sh.
32278         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32279         to run tst-mtrace.
32280         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32281         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32282         $(rtld-installed-name).
32283         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32284         (rtld_installed_name): Likewise.
32285         (run_program_prefix): New variable.  Use it to run wordexp-test.
32287         * Makeconfig (ARCH): Remove all definitions.
32288         (machine): Likewise.
32289         [ARCH]: Remove conditional code.
32290         [!objdir]: Give error.
32291         [!objdir] (objpfx): Remove.
32292         [!objdir] (common-objpfx): Likewise.
32293         [!objdir] (common-objdir): Likewise.
32294         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32295         AC_CONFIG_FILES call.
32296         * configure: Regenerated.
32298         [BZ #13888]
32299         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32300         or TMPDIR.
32301         (testout): Likewise.
32303         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32304         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32305         $(rtld-installed-name).
32306         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32307         (rtld_installed_name): Likwise.
32308         (runit): Remove function.
32309         (run_getconf): New variable,  Use it for running getconf binary.
32311 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
32313         [BZ #14716]
32314         * string/test-memmem.c (check_result): New function.
32315         (do_one_test): Use it.
32316         (check1): New function.
32317         (test_main): Use it.
32319 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
32321         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32323 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
32325         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32326         (_G_LSEEK64): Likewise.
32327         (_G_MMAP64): Likewise.
32328         (_G_FSTAT64): Likewise.
32329         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32330         (_G_LSEEK64): Likewise.
32331         (_G_MMAP64): Likewise.
32332         (_G_FSTAT64): Likewise.
32333         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32334         unconditional.  Call __mmap64 directly.
32335         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32336         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
32337         __lseek64 directly.
32338         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32339         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
32340         __mmap64 directly.
32341         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32342         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32343         __lseek64 directly.
32344         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32345         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32346         __lseek64 directly.
32347         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32348         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
32349         __lseek64 directly.
32350         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32351         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
32352         __fxstat64 directly.
32353         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32354         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32355         unconditional.
32356         (freopen64) [!_G_OPEN64]: Remove conditional code.
32357         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32358         unconditional.
32359         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32360         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32361         unconditional.
32362         (ftello64) [!_G_LSEEK64]: Remove conditional code.
32363         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32364         unconditional.
32365         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32366         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32367         unconditional.
32368         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32369         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32370         unconditional.
32371         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32372         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32373         unconditional.
32374         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32375         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32376         unconditional.
32377         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32379 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32381         [BZ #12140]
32382         * manual/memory.texi (Malloc Tunable Parameters): Add note
32383         about free list pointers overwriting some perturb bytes.
32384         Wording suggested by Roland McGrath.
32386 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
32388         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32389         (lgamma_test): Likewise.
32390         (tgamma_test): Likewise.
32392 2012-10-16  Florian Weimer  <fweimer@redhat.com>
32394         [BZ #14700]
32395         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32396         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32398 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
32400         * NEWS: Mention BZ #14716.
32401         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32402         when removing AVAILABLE1_USES_J macro.
32404 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
32406         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32407         (__bswap_64): __uint64_t for unsigned 64-bit int.
32409 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
32411         * include/string.h (memmem): Declare libc hidden alias.
32412         * string/memmem.c (memmem): Define libc hidden alias.
32413         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32414         __read, __close instead of open, read, close.
32416 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
32418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32419         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32420         global and hidden.
32421         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32422         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32423         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32424         Likewise.
32425         (__rawmemchr_sse2): Likewise.
32426         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32427         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32428         (__strchr_sse2): Likewise.
32429         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32430         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32431         (__strcasecmp_sse2): Likewise.
32432         (__strncasecmp_sse2): Likewise.
32433         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32434         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32435         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32436         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32437         (__strrchr_sse2): Likewise.
32438         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32439         ifunc-impl-list.c.
32440         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32441         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32442         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32443         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32444         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32445         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32446         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32447         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32448         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32449         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32450         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32451         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32452         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32453         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32454         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32455         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32456         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32457         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32458         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32459         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32460         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32461         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32462         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32463         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32464         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32465         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32466         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32467         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32468         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32469         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32471         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32472         global and hidden.
32473         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32474         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32475         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32476         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32477         Likewise.
32478         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32479         Likewise.
32480         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32481         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32482         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32483         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32484         ifunc-impl-list.c.
32485         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32486         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32487         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32488         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32489         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32490         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32491         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32492         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32493         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32494         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32495         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32496         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32497         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32498         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32499         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32500         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32501         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32502         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32503         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32504         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32505         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32506         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32507         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32508         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32509         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32510         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32511         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32512         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32513         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32514         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32515         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32516         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32517         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32518         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32519         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32520         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32521         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32522         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32523         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32524         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32525         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32527         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32528         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32529         * include/ifunc-impl-list.h: New file.
32530         * misc/ifunc-impl-list.c: Likewise.
32531         * misc/Makefile (routines): Add ifunc-impl-list.
32532         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32533         * string/test-string.h: Include <ifunc-impl-list.h>.
32534         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32535         TEST_NAME]: New variables.
32536         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32537         are defined.
32538         (test_init): Call __libc_ifunc_impl_list to initialize
32539         func_list if TEST_IFUNC and TEST_NAME are defined.
32541         * string/Makefile (strop-tests): Add bcopy and bzero.
32542         * string/test-bcopy.c: New file.
32543         * string/test-bzero.c: Likewise.
32544         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32545         defined.
32546         * string/test-memset.c: Support bzero test if TEST_BZERO is
32547         defined.
32548         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32549         __libc_memmove.
32550         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32551         __libc_memset.
32552         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32553         of memset.
32555 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
32557         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32558         * configure: Regenerated.
32560         * Makeconfig (+link-static-before-libc): Don't include
32561         $(link-static-libc).
32563         * libio/libio.h (_IO_pos_t): Remove.
32565 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32567         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
32568         McGrath.
32570 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32572         * crypt/crypt-entry.c: Include fips-private.h.
32573         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32574         * crypt/md5c-test.c (main): Tolerate disabled MD5.
32575         * sysdeps/unix/sysv/linux/fips-private.h: New file.
32576         * sysdeps/generic/fips-private.h: New file, dummy fallback.
32578 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32580         * crypt/crypt-private.h: Include stdbool.h.
32581         (_ufc_setup_salt_r): Return bool.
32582         * crypt/crypt-entry.c: Include errno.h.
32583         (__crypt_r): Return NULL with EINVAL for bad salt.
32584         * crypt/crypt_util.c (bad_for_salt): New.
32585         (_ufc_setup_salt_r): Check that salt is long enough and within
32586         the specified alphabet.
32587         * crypt/badsalttest.c: New file.
32588         * crypt/Makefile (tests): Add it.
32589         ($(objpfx)badsalttest): New.
32591 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
32593         * NEWS: Add entry for BZ #14602.
32595 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32597         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32598         type-generic.
32599         * math/libm-test.inc: Update comment listing what functions and
32600         macros are tested.
32601         (isgreater_test): New function.
32602         (isgreaterequal_test): Likewise.
32603         (isless_test): Likewise.
32604         (islessequal_test): Likewise.
32605         (islessgreater_test): Likewise.
32606         (isunordered_test): Likewise.
32607         (main): Call the new functions.
32609 2012-10-09  Roland McGrath  <roland@hack.frob.com>
32611         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32612         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32613         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32614         * sysdeps/i386/configure: Regenerated.
32615         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32616         * sysdeps/mach/configure: Regenerated.
32617         * sysdeps/mach/hurd/configure: Regenerated.
32618         * sysdeps/powerpc/configure: Regenerated.
32619         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32620         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32621         * sysdeps/s390/s390-32/configure: Regenerated.
32622         * sysdeps/s390/s390-64/configure: Regenerated.
32623         * sysdeps/sh/configure: Regenerated.
32624         * sysdeps/sparc/configure: Regenerated.
32625         * sysdeps/unix/sysv/linux/configure: Regenerated.
32626         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32627         * sysdeps/x86_64/configure: Regenerated.
32629         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32630         defined.  Don't check if MAP is NULL.
32632 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32634         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32635         (_G_stat64): Likewise.
32636         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32637         (_G_stat64): Likewise.
32638         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32639         instead of struct _G_stat64.
32640         * libio/fileops.c (mmap_remap_check): Likewise.
32641         (decide_maybe_mmap): Likewise.
32642         (_IO_new_file_seekoff): Likewise.
32643         (_IO_file_stat): Likewise.
32644         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32645         _G_off64_t.
32646         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32647         instead of struct _G_stat64.
32648         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32650 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
32652         [BZ #14602]
32653         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32654         Replace with ...
32655         (CHECK_EOL): New macro.
32656         (two_way_short_needle): Check beginning of haystack for EOL.  Use
32657         CHECK_EOL.
32658         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32659         Replace with CHECK_EOL.
32660         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32661         Replace with CHECK_EOL.
32663 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
32665         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32666         type-generic.
32667         * math/libm-test.inc: Update comment listing what functions and
32668         macros are tested.
32669         (finite_test): New function.
32670         (isinf_test): Likewise.
32671         (isnan_test): Likewise.
32672         (fpclassify_test): Test subnormal input.
32673         (isfinite_test): Likewise.
32674         (isnormal_test): Likewise.
32675         (main): Call the new functions.
32677 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
32679         [BZ #14660]
32680         * Makerules (%.dynsym): Force C locale when running
32681         $(OBJDUMP) --dynamic-syms.
32683 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
32685         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32686         <stdint.h>.
32688 2012-10-06  David S. Miller  <davem@davemloft.net>
32690         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32691         upper 32-bits of the length value in %o2 since we use branch-on-register
32692         tests which consider the entire 64-bit register.
32694 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
32696         * string/test-strstr.c (check2): Add a test for page boundary.
32698 2012-10-05  David S. Miller  <davem@davemloft.net>
32700         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32701         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32702         file.
32703         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32704         sysdep_routines.
32705         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32706         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32707         and bzero when HWCAP_SPARC_CRYPTO is present.
32709 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
32711         [BZ #14602]
32712         * string/test-strstr.c (check2): New function.
32713         (test_main): Call check2.
32715         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32716         and bug-strchr1.
32717         * string/bug-strcasestr1.c (do_test): Moved to ...
32718         * string/test-strcasestr.c (check1): Here.  New function.
32719         (do_one_test): Break out result checking code into ...
32720         (check_result): This.  New function.
32721         (do_one_test): Call check_result.
32722         (test_main): Call check1.
32723         * string/bug-strchr1.c (do_test): Moved to ...
32724         * string/test-strchr.c (check1): Here.  New function.
32725         (do_one_test): Break out result checking code into ...
32726         (check_result): This.  New function.
32727         (do_one_test): Call check_result.
32728         (test_main): Call check1.
32729         * string/bug-strstr1.c (main): Moved to ...
32730         * string/test-strstr.c (check1): Here.  New function.
32731         (do_one_test): Break out result checking code into ...
32732         (check_result): This.  New function.
32733         (do_one_test): Call check_result.
32734         (test_main): Call check1.
32735         * string/bug-strcasestr1.c: Removed.
32736         * string/bug-strchr1.c: Likewise.
32737         * string/bug-strstr1.c: Likewise.
32739         * elf/Makefile (dl-routines): Add hwcaps.
32740         * elf/dl-support.c (_dl_important_hwcaps): Removed.
32741         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32742         (_dl_important_hwcaps): Moved to ...
32743         * elf/dl-hwcaps.c: Here.  New file.
32744         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32746         [BZ #14557]
32747         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32748         if IS_IN_rtld isn't defined.
32750         * elf/dl-support.c (_dl_sysinfo_map): New.
32751         Include "get-dynamic-info.h" and "setup-vdso.h".
32752         (_dl_non_dynamic_init): Call setup_vdso.
32753         * elf/dynamic-link.h: Don't include <assert.h>.
32754         (elf_get_dynamic_info): Moved to ...
32755         * elf/get-dynamic-info.h: Here.  New file.
32756         * elf/dynamic-link.h: Include "get-dynamic-info.h".
32757         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32758         * elf/setup-vdso.h: Here.  New file.
32759         * elf/rtld.c: Include "setup-vdso.h".
32760         (dl_main): Call setup_vdso.
32762 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
32764         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32765         creal in comment listing functions tested.  List finite, isinf,
32766         isnan, isless, islessequal, isgreater, isgreaterequal,
32767         islessgreater, isunordered, lgamma_r and pow10 as functions and
32768         macros not tested.  Mention which functions not tested are aliases
32769         for other functions.  Fix typo.  Note that signs of NaNs are not
32770         tested.
32772         * scripts/config.guess: Update from config.git.
32773         * scripts/config.sub: Likewise.
32775 2012-10-04  Roland McGrath  <roland@hack.frob.com>
32777         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32778         * misc/madvise.c (madvise): Renamed to __madvise.
32779         Make madvise a weak alias.
32780         * include/sys/mman.h: Declare __madvise.
32781         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32782         * sysdeps/unix/syscalls.list
32783         (madvise): Make __madvise the strong name, and madvise a weak alias.
32784         * sysdeps/unix/sysv/linux/syscalls.list
32785         (madvise, mmap): Remove redundant entries.
32786         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32787         * malloc/malloc.c (mtrim): Likewise.
32788         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32790 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32792         * sysdeps/mach/hurd/dl-cache.c: File removed.
32793         * config.h.in (USE_LDCONFIG): New #undef.
32794         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32795         * configure: Regenerated.
32796         * elf/Makefile (dl-routines): Add dl-cache only under
32797         [$(use-ldconfig) = yes].
32798         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32799         cache on [USE_LDCONFIG].
32800         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32801         [USE_LDCONFIG].
32802         * elf/rtld.c (dl_main): Likewise.
32804 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32806         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32807         _SC_LEVEL4_CACHE_LINESIZE.
32809 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32811         * sysdeps/unix/bsd/confstr.h: File removed.
32813 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32815         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32816         sys/sdt-config.h.
32818 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32820         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32821         Make 'mapoff' field ElfW(Off) rather than off_t.
32823 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32825         * nscd/Makefile: Remove nscd-cflags and all its users.
32826         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32827         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32829         [BZ #10631]
32830         * malloc.c (malloc_printerr): Clarify error message.
32832 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32834         [BZ #14648]
32835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32836         Set bit_FMA_Usable if FMA is supported.
32837         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32838         macro.
32839         (bit_FMA4_Usable): Updated.
32840         (index_FMA_Usable): New macro.
32841         (CPUID_FMA): Likewise
32842         (HAS_FMA): Defined with bit_FMA_Usable.
32844 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32846         * bits/types.h (__swblk_t): Type removed.
32847         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32848         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32849         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32850         (__SWBLK_T_TYPE): Likewise.
32851         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32852         (__SWBLK_T_TYPE): Likewise.
32853         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32854         (__SWBLK_T_TYPE): Likewise.
32855         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32856         (__SWBLK_T_TYPE): Likewise.
32858 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32859             Honza Horak <hhorak@redhat.com>
32861         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32862         (xdr_mapname): Use YPMAXMAP as maxsize.
32863         (xdr_peername): Use YPMAXPEER as maxsize.
32864         (xdr_keydat): Use YPAXRECORD as maxsize.
32865         (xdr_valdat): Use YPMAXRECORD as maxsize.
32867 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32869         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32871         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32872         * csu/init-first.c: ... here.
32873         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32874         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32875         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32876         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32877         * sysdeps/i386/init-first.c: File removed.
32878         * sysdeps/sh/init-first.c: File removed.
32880 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32882         [BZ #14645]
32883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32884         if x * y might underflow to zero and z is zero.
32885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32887         * math/libm-test.inc (min_subnorm_value): New variable.
32888         (fma_test): Add more tests.
32889         (fma_test_towardzero): Likewise.
32890         (fma_test_downward): Likewise
32891         (fma_test_upward): Likewise.
32892         (initialize): Set min_subnorm_value.
32894 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32896         [BZ #14638]
32897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32898         0 + 0.
32899         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32900         mode for addition resulting in exact zero.
32901         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32903         exact 0 + 0.
32904         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32905         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32906         * math/libm-test.inc (fma_test): Add more tests.
32907         (fma_test_towardzero): New function.
32908         (fma_test_downward): Likewise.
32909         (fma_test_upward): Likewise.
32910         (main): Call the new functions.
32912 2012-09-28  David S. Miller  <davem@davemloft.net>
32914         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32916 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32918         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32919         instead of SIGALRM.
32921         * sysdeps/gnu/_G_config.h: Moved to ...
32922         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32923         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32924         * sysdeps/generic/_G_config.h: ... here.
32926         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32928         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32930         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32931         Conditionalize target on [libnss_test1.so-version].
32933         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32935         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32936         (elfobjdir): Move out of conditionals.
32938         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32939         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32940         (__nss_lookup_function): Conditionalize label remove_from_tree on
32941         [!DO_STATIC_NSS || SHARED], matching its only use.
32943 2012-09-28  David S. Miller  <davem@davemloft.net>
32945         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32946         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32947         file.
32948         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32949         sysdep_routines.
32950         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32951         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32952         when HWCAP_SPARC_CRYPTO is present.
32954 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32956         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32958 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32960         [BZ #6530]
32961         * stdio-common/vfprintf.c (process_string_arg): Revert
32962         2000-07-22 change.
32964 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32966         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32967         for testcase.
32968         * stdio-common/tst-sprintf.c: Include <locale.h>
32969         (main): Test sprintf's handling of incomplete multibyte
32970         characters.
32972 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32974         * elf/dl-runtime.c (VERSYMIDX): Removed.
32975         * elf/dl-version.c (VERSYMIDX): Likewise.
32976         * elf/do-rel.h (VERSYMIDX): Likewise.
32977         (VALIDX): Likewise.
32978         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32979         * elf/rtld.c (VALIDX): Likewise.
32980         (ADDRIDX): Likewise.
32981         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32982         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32983         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32984         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32985         (VALIDX): Likewise.
32986         (ADDRIDX): Likewise.
32988 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32990         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32992 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32994         [BZ #11438]
32995         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32996         to global scope.
32997         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32998         addresses are in the same scope as 192.0.2/24.
32999         * posix/gai.conf: Document new scope table defaults.
33001 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33003         [BZ #5298]
33004         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33005         for ftell.  Compute offsets from write pointers instead.
33006         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33008 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33010         [BZ #14543]
33011         * libio/Makefile (tests): New test case tst-fseek.
33012         * libio/tst-fseek.c: New test case to verify that fseek/ftell
33013         combination works in wide mode.
33014         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33015         state when the external buffer state changes.
33017 2012-09-27  David S. Miller  <davem@davemloft.net>
33019         [BZ #14376]
33020         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33021         pass reloc->r_addend in as the 'high' argument to
33022         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33026 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33028         * rt/tst-aio2.c: Include <pthread.h>.
33029         * rt/tst-aio3.c: Likewise.
33031 2012-09-27  Steve Ellcey  <sellcey@mips.com>
33033         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33035 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
33037         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33038         contents on [SHARED].
33040 2012-09-26  Marek Polacek  <polacek@redhat.com>
33042         [BZ #14530]
33043         [BZ #13741]
33044         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33045         for C++ and GCC <4.3 as well as for non GCC compilers.
33047 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33051 2012-09-25  Roland McGrath  <roland@hack.frob.com>
33053         * Makefile.in (all, install): Declare with .PHONY.
33054         Reported by Michael Hope <michael.hope@linaro.org>.
33056 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33058         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33059         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33060         system header.
33061         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33062         Likewise.
33063         (sydep_routines): Add the new and the internal functions.
33064         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33065         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33067         (GLIBC_2.17): Add the new function.
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33069         (GLIBC_2.17): Likewise.
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33071         (GLIBC_2.17): Likewise.
33072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33073         (GLIBC_2.17): Likewise.
33074         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33076 2012-09-25  Alan Modra  <amodra@gmail.com>
33078         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33079         Add release barrier before setting once_control to say
33080         initialisation is done.  Add hints on lwarx.  Use macro in
33081         place of isync.
33082         (clear_once_control): Add release barrier.
33084 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33086         [BZ #13629]
33087         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33088         specially.
33089         * math/s_clog10.c (__clog10): Likewise.
33090         * math/s_clog10f.c (__clog10f): Likewise.
33091         * math/s_clog10l.c (__clog10l): Likewise.
33092         * math/s_clogf.c (__clogf): Likewise.
33093         * math/s_clogl.c (__clogl): Likewise.
33094         * math/Makefile (libm-calls): Add x2y2m1.
33095         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33096         (__x2y2m1): Likewise.
33097         (__x2y2m1l): Likewise.
33098         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33099         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33100         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33101         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33102         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33103         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33104         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33105         * sysdeps/i386/fpu/libm-test-ulps: Update.
33106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33108         [BZ #14621]
33109         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33110         int as type of variable DEPTH.
33111         (glob): Use size_t instead of int as type of variables NEWCOUNT
33112         and OLD_PATHC.
33114 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33116         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33117         Add s_sincosf-sse2.
33118         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33119         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33120         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33121         macros for using routine as __sincosf_ia32.
33122         Use macro for function declaration and weak_alias.
33123         * sysdeps/i386/fpu/libm-test-ulps: Update.
33125         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33128         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33129         subnormal argument.
33130         * math/s_cexpf.c (__cexpf): Likewise.
33131         * math/s_csinf.c (__csinf): Likewise.
33132         * math/s_csinhf.c (__csinhf): Likewise.
33133         * math/s_ctanf.c (__ctanf): Likewise.
33134         * math/s_ctanhf.c (__ctanhf): Likewise.
33135         * math/s_ccosh.c (__ccoshf): Likewise.
33136         * math/s_cexp.c (__cexpl): Likewise.
33137         * math/s_csin.c (__csin): Likewise.
33138         * math/s_csinh.c (__csinh): Likewise.
33139         * math/s_ctan.c (__ctan): Likewise.
33140         * math/s_ctanh.c (ctanh): Likewise.
33141         * math/s_ccoshl.c (__ccoshl): Likewise.
33142         * math/s_cexpl.c (__cexpl): Likewise.
33143         * math/s_csinl.c (__csinl): Likewise.
33144         * math/s_csinhl.c (__csinhl): Likewise.
33145         * math/s_ctanl.c (__ctanl): Likewise.
33146         * math/s_ctanhl.c (__ctanhl): Likewise.
33148 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33150         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33151         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33152         (_IO_off_t): Define to __off_t, not _G_off_t.
33153         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33154         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33155         (_IO_wint_t): Define to wint_t, not _G_wint_t.
33156         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33157         type of __dummy and __dummy2 fields.
33158         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33159         (_G_ssize_t): Likewise.
33160         (_G_off_t): Likewise.
33161         (_G_pid_t): Likewise.
33162         (_G_uid_t): Likewise.
33163         (_G_wchar_t): Likewise.
33164         (_G_wint_t): Likewise.
33165         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33166         (_G_ssize_t): Likewise.
33167         (_G_off_t): Likewise.
33168         (_G_pid_t): Likewise.
33169         (_G_uid_t): Likewise.
33170         (_G_wchar_t): Likewise.
33171         (_G_wint_t): Likewise.
33172         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33173         (_G_ssize_t): Likewise.
33174         (_G_off_t): Likewise.
33175         (_G_pid_t): Likewise.
33176         (_G_uid_t): Likewise.
33177         (_G_wchar_t): Likewise.
33178         (_G_wint_t): Likewise.
33180 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33182         * malloc/arena.c: Include malloc-sysdep.h.
33183         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33184         is sufficient to shrink the heap or an unmap is needed.
33185         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33186         new function check_may_shrink_heap.
33187         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33188         new function check_may_shrink_heap.
33190 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33192         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33193         comments.
33195 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33197         * catgets/test-gencat.sh: Add "set -e".
33198         * elf/tst-pathopt.sh: Likewise.
33199         * grp/tst_fgetgrent.sh: Likewise.
33200         * iconvdata/run-iconv-test.sh: Likewise.
33201         * intl/tst-gettext.sh: Likewise.
33202         * intl/tst-gettext2.sh: Likewise.
33203         * intl/tst-gettext4.sh: Likewise.
33204         * intl/tst-gettext6.sh: Likewise.
33205         * intl/tst-translit.sh: Likewise.
33206         * io/ftwtest-sh: Likewise.
33207         * libio/test-freopen.sh: Likewise.
33208         * malloc/tst-mtrace.sh: Likewise.
33209         * posix/globtest.sh: Likewise.
33210         * posix/tst-getconf.sh: Likewise.
33211         * posix/wordexp-tst.sh: Likewise.
33212         * stdio-common/tst-printf.sh: Likewise.
33213         * stdio-common/tst-unbputc.sh: Likewise.
33214         * stdlib/tst-fmtmsg.sh: Likewise.
33215         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33216         * catgets/Makefile: Do not specify -e option when running
33217         testsuite shell scripts.
33218         * elf/Makefile: Likewise.
33219         * grp/Makefile: Likewise.
33220         * iconvdata/Makefile: Likewise.
33221         * intl/Makefile: Likewise.
33222         * io/Makefile: Likewise.
33223         * libio/Makefile: Likewise.
33224         * malloc/Makefile: Likewise.
33225         * posix/Makefile: Likewise.
33226         * stdio-common/Makefile: Likewise.
33227         * stdlib/Makefile: Likewise.
33228         * sysdeps/x86_64/Makefile: Likewise.
33230         * io/ftwtest-sh: Add copyright header.
33231         * posix/globtest.sh: Likewise.
33232         * posix/tst-getconf.sh: Likewise.
33233         * posix/wordexp-tst.sh: Likewise.
33234         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33236 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33238         [BZ #13679]
33239         * Makeconfig (+link): Defined as $(+link-static) if
33240         $(build-shared) isn't yes.
33241         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33242         isn't yes.
33243         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33245         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33247         [BZ #14562]
33248         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33249         new chunk size with MALLOC_ALIGN_MASK.
33251 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33253         [BZ #5044]
33254         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33255         <rounding-mode.h>.
33256         (__printf_fphex): Determine rounding using get_rounding_mode and
33257         round_away.
33258         * stdio-common/tst-printf-round.c (struct hex_test): New
33259         structure.
33260         (hex_tests): New variable.
33261         (test_hex_in_one_mode): New function.
33262         (do_test): Also run tests for hex float output.
33264 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33266         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33267         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33268         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33269         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33270         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33271         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33272         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33273         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33275 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33277         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33278         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33279         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33280         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33282 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33284         [BZ #14579]
33285         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33286         mode only.
33287         * elf/tst-rtld-load-self.sh: New test.
33288         * elf/Makefile: Run it.
33290 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33292         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33293         (tst-writev-ENV): Remove.
33294         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33296 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33298         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33300 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33302         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33303         unconditional.
33304         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33305         Likewise.
33306         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33307         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33308         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33309         Likewise.
33311 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
33313         [BZ #14587]
33314         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33315         * config.make.in (have-cpp-asm-debuginfo): Removed.
33316         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33317         * configure: Regenerated.
33319 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
33321         [BZ #5044]
33322         * stdio-common/printf_fp.c: Include <stdbool.h> and
33323         <rounding-mode.h>.
33324         (___printf_fp): Determine rounding using get_rounding_mode and
33325         round_away.
33326         * stdio-common/tst-printf-round.c: New file.
33327         * stdio-common/Makefile (tests): Add tst-printf-round.
33328         (link-libm): New variable.
33329         ($(objpfx)tst-printf-round): Depend in $(link-libm).
33331 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
33333         [BZ #14576]
33334         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33335         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33336         Likewise.
33337         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33338         Likewise.
33340 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
33342         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33343         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33344         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33345         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33347 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
33349         [BZ #14518]
33350         * include/rounding-mode.h: New file.
33351         * sysdeps/generic/get-rounding-mode.h: Likewise.
33352         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33353         * stdlib/strtod_l.c: Include <rounding-mode.h>.
33354         (MAX_VALUE): New macro.
33355         (MIN_VALUE): Likewise.
33356         (overflow_value): New function.
33357         (underflow_value): Likewise.
33358         (round_and_return): Use overflow_value and underflow_value to
33359         determine return values in overflow and underflow cases.  Use
33360         round_away to determine rounding depending on rounding mode.
33361         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33362         determine return values in overflow and underflow cases.
33363         * stdlib/tst-strtod-round.c: Include <fenv.h>.
33364         (struct test_results): New structure.
33365         (struct test): Use struct test_results to store expected results
33366         for all rounding modes.
33367         (TEST): Include expected results for all rounding modes.
33368         (test_in_one_mode): New function.
33369         (do_test): Use test_in_one_mode to compute and check results.
33370         Check results for all rounding modes.
33371         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33372         $(link-libm).
33374 2012-12-09  Allan McRae  <allan@archlinux.org>
33376         * sysdeps/i386/fpu/libm-test-ulps: Update
33378 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
33380         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33381         (_G_int32_t): Likewise.
33382         (_G_uint16_t): Likewise.
33383         (_G_uint32_t): Likewise.
33384         (_G_HAVE_BOOL): Likewise.
33385         (_G_HAVE_ATEXIT): Likewise.
33386         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33387         (_G_HAVE_IO_FILE_OPEN): Likewise.
33388         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33389         (_G_int32_t): Likewise.
33390         (_G_uint16_t): Likewise.
33391         (_G_uint32_t): Likewise.
33392         (_G_HAVE_BOOL): Likewise.
33393         (_G_HAVE_ATEXIT): Likewise.
33394         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33395         (_G_HAVE_IO_FILE_OPEN): Likewise.
33396         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33397         (_G_int32_t): Likewise.
33398         (_G_uint16_t): Likewise.
33399         (_G_uint32_t): Likewise.
33400         (_G_HAVE_BOOL): Likewise.
33401         (_G_HAVE_ATEXIT): Likewise.
33402         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33403         (_G_HAVE_IO_FILE_OPEN): Likewise.
33405 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
33407         * csu/libc-tls.c: Update copyright years.
33409 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
33411         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33412         [!_G_USING_THUNKS]: Remove conditional code.
33413         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33414         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33416         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33417         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33418         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33419         (_G_VTABLE_LABEL_PREFIX): Likewise.
33420         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33421         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33422         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33423         (_G_VTABLE_LABEL_PREFIX): Likewise.
33424         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33425         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33426         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33427         (_G_VTABLE_LABEL_PREFIX): Likewise.
33428         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33430 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
33432         * libio/Makefile: Include ../Makeconfig before tests.
33433         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33434         only if $(build-shared) is yes.
33436         * iconv/gconv_db.c: Update copyright years.
33438 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33440         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33441         unwind info if defined PIC. Fix special cases description.
33442         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33444         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33445         DP_HI_MASK entry.
33446         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33448 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
33450         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33452         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33453         is NULL.
33455         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33456         (LDLIBS-tst-chk4): This.
33457         (LDFLAGS-tst-chk5): Renamed to ...
33458         (LDLIBS-tst-chk5): This.
33459         (LDFLAGS-tst-chk6): Renamed to ...
33460         (LDLIBS-tst-chk6): This.
33461         (LDFLAGS-tst-lfschk4): Renamed to ...
33462         (LDLIBS-tst-lfschk4): This.
33463         (LDFLAGS-tst-lfschk5): Renamed to ...
33464         (LDLIBS-tst-lfschk5): This.
33465         (LDFLAGS-tst-lfschk6): Renamed to ...
33466         (LDLIBS-tst-lfschk6): This.
33468         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33469         on $(common-objpfx)soversions.mk.
33471 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
33473         [BZ #10014]
33474         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33475         example host name.
33477 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33479         * malloc/arena.c (arena_get_retry): New function that gets
33480         another arena for the caller to try its request on.
33481         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33482         current arena cannot fulfill the request.
33483         (__libc_memalign): Likewise.
33484         (__libc_memalign): Likewise.
33485         (__libc_pvalloc): Likewise.
33486         (__libc_calloc): Likewise.
33488 2012-09-05  John Tobey  <john.tobey@gmail.com>
33490         [BZ #13542]
33491         * manual/arith.texi (Operations on Complex): Fix description
33492         of carg branch cut.
33494 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33496         [BZ #10014]
33497         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33498         host name.
33500         [BZ #10038]
33501         * manual/memory.texi (Memory): Make order of menu items match
33502         order of sections.
33504 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33506         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33507         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
33508         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33510 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33512         * csu/libc-tls.c (static_dtv): Renamed to ...
33513         (_dl_static_dtv): This.  Make it global.
33514         (_dl_initial_dtv): Removed.
33515         (__libc_setup_tls): Updated.
33516         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33517         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33518         DL_INITIAL_DTV.
33520 2012-09-06  Petr Machata  <pmachata@redhat.com>
33522         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33523         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33524         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33525         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33527 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33529         [BZ #14545]
33530         * csu/libc-tls.c (_dl_initial_dtv): New variable.
33531         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33532         freeing dtv[-1].
33534 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33536         [BZ #14544]
33537         * Makeconfig (link-static-before-libc): Replace $(+prector)
33538         with $(+prectorT).
33539         (link-static-after-libc): Replace $(+postctor) with
33540         $(+postctorT).
33541         (link-bounded): Replace $(+prector)/$(+postctor) with
33542         $(+prectorT)/$(+postctorT).
33543         (+prectorT): New macro.
33544         (+postctorT): Likewise.
33546 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33548         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33549         (round_str): Handle values above the maximum for IBM long double
33550         as inexact.
33551         * stdlib/tst-strtod-round.c (tests): Regenerated.
33553 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33555         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33556         assembler flag.
33557         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33558         zarch_nohighgprs around the zarch optimized routines.
33559         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33560         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33561         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33562         for zarch.
33564 2012-09-05  David S. Miller  <davem@davemloft.net>
33566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33568         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33569         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33570         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33571         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33572         entries.
33574 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33576         * malloc/arena.c: Fold copyright years.
33577         * malloc/mcheck.c, malloc/memusage.c: Likewise.
33579 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33581         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33583 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33585         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
33587 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33589         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33590         change internal state upon failure.
33592 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33594         * malloc/mcheck.c (mcheck_check_all): Fix typo.
33595         * malloc/memusage.c (mmap): Likewise.
33596         (mmap64, mremap): Likewise.  Adjust name in comment.
33598 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33600         * libio/fileops.c: Fix typos in comments.
33601         * libio/oldfileops.c: Likewise.
33602         * libio/wfileops.c: Likewise.
33604 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33606         [BZ #1349]
33607         * malloc/Makefile (tests): Add tst-malloc-usable test case.
33608         (tst-malloc-usable-ENV): Set environment for test case.
33609         * malloc/hooks.c (malloc_check_get_size): New function to get
33610         requested size.
33611         * malloc/malloc.c (musable): Use malloc_check_get_size.
33612         * malloc/tst-malloc-usable.c: New test case.
33614 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33616         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33618 2012-09-05  Allan McRae  <allan@archlinux.org>
33620         [BZ #13966]
33621         * configure.in (CXX_SYSINCLUDES): Use compiler output to
33622         determine header location.
33623         * configure: Regenerated.
33625 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33627         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33628         float format.
33629         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33630         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33631         format.
33632         (test): Regenerate.
33634 2012-09-04  David S. Miller  <davem@davemloft.net>
33636         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33637         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33638         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33640 2012-09-04  Florian Weimer  <fweimer@redhat.com>
33642         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33643         failures.
33645         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33647 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
33649         [BZ #9914]
33650         * libio/iogetdelim.c: Include <limits.h>.
33651         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33652         + len + 1 would overflow.
33654 2012-09-03  Andreas Jaeger  <aj@suse.de>
33656         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33657         * sysdeps/i386/fpu/libm-test-ulps: Update.
33659 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33661         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33662         Add s_sinf-sse2, s_conf-sse2.
33664         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33665         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33666         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33667         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33669         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33670         for using routine as __sinf_ia32.
33671         Use macro for function declaration and weak_alias.
33672         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33673         for using routine as __cosf_ia32.
33674         Use macro for function declaration and weak_alias.
33676         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33677         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33679         * sysdeps/x86_64/fpu/s_sinf.S: New file.
33680         * sysdeps/x86_64/fpu/s_cosf.S: New file.
33681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33683         * math/libm-test.inc (cos_test): Add more test cases.
33684         (sin_test): Likewise.
33685         (sincos_test): Likewise.
33687 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33689         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33690         (IFUNC_RESOLVE): Make pointers to the specialized implementations
33691         hidden.
33692         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33694 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
33696         [BZ #14538]
33697         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33698         first element of the GOT.
33699         (elf_machine_load_address): Return the difference between
33700         the runtime address of _DYNAMIC and elf_machine_dynamic ().
33702 2012-09-01  Allan McRae  <allan@archlinux.org>
33704         [BZ #13412]
33705         * configure.in (AWK): Require gawk version 3.0 or later.
33706         * configure: Regenerated.
33708 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
33710         * sysdeps/unix/sysv/linux/kernel-features.h
33711         (__ASSUME_POSIX_CPU_TIMERS): Remove.
33712         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33713         [__NR_clock_getres]: Make code unconditional.
33714         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33715         (clock_getcpuclockid): Remove code left unreachable by removal of
33716         conditionals.
33717         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33718         code unconditional.
33719         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33720         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33721         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33722         Make code unconditional.
33723         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33724         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33725         * sysdeps/unix/sysv/linux/clock_settime.c
33726         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33727         conditional code.
33728         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33729         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33731 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
33733         [BZ #14476]
33734         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33735         scripts/test-installation.pl.
33737         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33738         and $ld_so_version if it is set.
33740 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33742         [BZ #14516]
33743         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33744         failure if reading from procfs failed.
33745         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33747 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33749         * sysdeps/unix/sysv/linux/kernel-features.h
33750         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33751         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33752         Remove conditional code.
33753         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33754         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33755         Remove conditional code.
33756         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33757         * sysdeps/unix/sysv/linux/i386/fxstat.c
33758         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33759         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33760         * sysdeps/unix/sysv/linux/i386/fxstatat.c
33761         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33762         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33763         * sysdeps/unix/sysv/linux/i386/lxstat.c
33764         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33765         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33766         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33767         Remove conditional code.
33768         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33769         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33770         Remove conditional code.
33771         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33772         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33773         <kernel-features.h>.
33774         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33775         Remove.
33776         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33777         Remove conditional code.
33778         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33779         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33780         Remove conditional.
33782 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
33784         [BZ #5400]
33785         * NEWS: Add fixed bug number.
33787 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33789         [BZ #14519]
33790         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33791         underflowing exponent in case of negative sign.
33792         * stdlib/tst-strtod-round-data: Add more tests.
33793         * stdlib/tst-strtod-round.c (tests): Regenerated.
33795         [BZ #3479]
33796         * stdlib/strtod_l.c (NDIG): Remove.
33797         (HEXNDIG): Likewise.
33798         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33799         smallest representable value.
33800         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33801         lie within an exact representation of 1/2 ulp of the result.
33802         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33803         unconditionally.
33804         (TENS_P9_IDX): Define unconditionally.
33805         (TENS_P9_SIZE): Likewise.
33806         (TENS_P10_IDX): Likewise.
33807         (TENS_P10_SIZE): Likewise.
33808         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33809         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33810         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33811         entries for 10^2^13 and 10^2^14.
33812         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33813         (TENS_P13_IDX): Define.
33814         (TENS_P13_SIZE): Likewise.
33815         (TENS_P14_IDX): Likewise.
33816         (TENS_P14_SIZE): Likewise.
33817         (_fpioconst_pow10): Change array size to
33818         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33819         unconditional.
33820         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33821         1024]: Add entries for 10^2^13 and 10^2^14.
33822         [LAST_POW10 > _LAST_POW10]: Remove #error.
33823         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33824         (_fpioconst_pow10): Change array size to
33825         FPIOCONST_POW10_ARRAY_SIZE.
33826         * stdlib/gen-fpioconst.c: New file.
33827         * stdlib/gen-tst-strtod-round.c: Likewise.
33828         * stdlib/tst-strtod-round-data: Likewise.
33829         * stdlib/tst-strtod-round.c: Likewise.
33830         * stdlib/Makefile (tests): Add tst-strtod-round.
33832         [BZ #14459]
33833         * stdlib/strtod_l.c: Include <stdint.h>.
33834         (NDEBUG): Do not define.
33835         (round_and_return): Change EXPONENT parameter to type intmax_t.
33836         Rearrange calculations to avoid internal overflow possibilities.
33837         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33838         Rearrange calculations to avoid internal overflow possibilities.
33839         Assert that number fits inside MPNSIZE limbs.
33840         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33841         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33842         calculations and add assertions to avoid internal overflow
33843         possibilities.  Add casts to avoid signed/unsigned operations.
33844         * stdlib/tst-strtod-overflow.c: New file.
33845         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33847 2012-08-25  Marek Polacek  <polacek@redhat.com>
33849         * time/time.h: Fix some typos in comments.
33851 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33853         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33854         * posix/tst-rfc3484-2.c: Likewise.
33855         * posix/tst-rfc3484-3.c: Likewise.
33857 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33859         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33860         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33862 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33864         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33865         #include of fxstatat64.c.
33867 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33869         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33870         * shadow/getspent_r.c: Likewise.
33871         * shadow/getspnam.c: Likewise.
33872         * shadow/getspnam_r.c: Likewise.
33873         * gshadow/getsgent.c: Likewise.
33874         * gshadow/getsgent_r.c: Likewise.
33875         * gshadow/getsgnam.c: Likewise.
33876         * gshadow/getsgnam_r.c: Likewise.
33877         * inet/getnetbyad.c: Likewise.
33878         * inet/getnetbyad_r.c: Likewise.
33879         * inet/getnetbynm.c: Likewise.
33880         * inet/getnetbynm_r.c: Likewise.
33881         * inet/getnetent.c: Likewise.
33882         * inet/getnetent_r.c: Likewise.
33883         * inet/getproto.c: Likewise.
33884         * inet/getproto_r.c: Likewise.
33885         * inet/getprtent.c: Likewise.
33886         * inet/getprtent_r.c: Likewise.
33887         * inet/getprtname.c: Likewise.
33888         * inet/getprtname_r.c: Likewise.
33889         * inet/getrpcbyname.c: Likewise.
33890         * inet/getrpcbyname_r.c: Likewise.
33891         * inet/getrpcbynumber.c: Likewise.
33892         * inet/getrpcbynumber_r.c: Likewise.
33893         * inet/getrpcent.c: Likewise.
33894         * inet/getrpcent_r.c: Likewise.
33895         * inet/getaliasent.c: Likewise.
33896         * inet/getaliasent_r.c: Likewise.
33897         * inet/getaliasname.c: Likewise.
33898         * inet/getaliasname_r.c: Likewise.
33899         * nscd/getgrgid_r.c: Likewise.
33900         * nscd/getgrnam_r.c: Likewise.
33901         * nscd/gethstbyad_r.c: Likewise.
33902         * nscd/gethstbynm3_r.c: Likewise.
33903         * nscd/getpwnam_r.c: Likewise.
33904         * nscd/getpwuid_r.c: Likewise.
33905         * nscd/getsrvbynm_r.c: Likewise.
33906         * nscd/getsrvbypt_r.c: Likewise.
33907         * nscd/gai.c: Likewise.
33909         * configure.in (build_nscd): New substituted variable, set
33910         by --disable-build-nscd and defaults to $use_nscd.
33911         * configure: Regenerated.
33912         * config.make.in (build-nscd): New substituted variable.
33913         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33914         Change conditional to require [$(build-nscd) = yes] as well.
33915         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33917         [BZ# 13696]
33918         * configure.in (use_nscd): New substituted variable, set by
33919         --disable-nscd.  If enabled, define USE_NSCD.
33920         * configure: Regenerated.
33921         * config.h.in: Add USE_NSCD.
33922         * config.make.in (use-nscd): New substituted variable.
33923         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33924         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33925         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33926         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33927         (CFLAGS-getgrnam_r.c): Likewise.
33928         (CFLAGS-initgroups.c): Likewise.
33929         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33930         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33931         Variables removed.
33932         * inet/getnetgrent_r.c
33933         (nscd_setnetgrent): New function, broken out of ...
33934         (setnetgrent): ... here.  Call it.
33935         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33936         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33937         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33938         * nscd/Makefile (routines, aux): Move definitions after include of
33939         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33940         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33941         Conditionalize on [USE_NSCD].
33942         (is_nscd, nscd_init_cb): Likewise.
33943         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33944         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33945         * nss/nss_db/db-init.c: Likewise.
33946         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33947         [USE_NSCD].
33948         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33949         (make_request): Use it.
33950         (cache_valid_p): New function.
33951         (__check_pf): Use it.
33952         * NEWS: Add item for --disable-nscd.
33954 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33956         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33957         to support sed >= 4.2.1-20-ga9bf076.
33958         * configure: Regenerated.
33960 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33962         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33963         Conditionalize whole body on [IREL].
33965 2012-08-22  Jeff Law <law@redhat.com>
33967         [BZ #14505]
33968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33969         if the family is PF_UNSPEC.
33971 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33973         * Makerules (lib-version): Rename from V.
33974         (install-lib-nosubdir): Change V to lib-version.
33976 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33978         [BZ #14252]
33979         * powerpc32/power6/wcschr.c: New file.
33980         * powerpc32/power6/wcscpy.c: New file.
33981         * powerpc32/power6/wcsrchr.c: New file.
33982         * powerpc64/power6/wcschr.c: New file.
33983         * powerpc64/power6/wcscpy.c: New file.
33984         * powerpc64/power6/wcsrchr.c: New file.
33986 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33988         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33989         (two_way_short_needle): Use it.
33990         * string/strstr.c (AVAILABLE1_USES_J): Define.
33991         * string/strcasestr.c: Likewise.
33993         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33994         array references.
33995         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33997         [BZ #11607]
33998         * NEWS: Add an entry.
33999         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34000         define their defaults.
34001         (two_way_short_needle): Detect end-of-string on-the-fly.
34002         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34003         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34004         * string/bug-strcasestr1.c: New test.
34005         * string/Makefile: Run it.
34007 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34009         [BZ #11607]
34010         * string/str-two-way.h (two_way_short_needle): Optimize matching of
34011         the first character.
34013 2012-08-21  Roland McGrath  <roland@hack.frob.com>
34015         * csu/elf-init.c (__libc_csu_irel): Function removed.
34016         * csu/libc-start.c (apply_irel): New function.
34017         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34019 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
34021         * sysdeps/unix/sysv/linux/kernel-features.h
34022         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34023         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34024         <kernel-features.h>.
34025         [__NR_fadvise64_64]: Make code unconditional.
34026         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34027         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34028         !__NR_fadvise64_64)]: Likewise.
34029         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34030         !__NR_fadvise64_64))]: Likewise.
34031         [__NR_fadvise64]: Make code unconditional.
34032         [!__NR_fadvise64]: Remove conditional code.
34033         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34034         <kernel-features.h>.
34035         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34036         unconditional.
34037         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34038         conditional code.
34039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34040         not include <kernel-features.h>.
34041         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34042         unconditional.
34043         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34044         conditional code.
34045         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34046         include <kernel-features.h>.
34047         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34048         unconditional.
34049         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34050         conditional code.
34052 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34054         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34055         slight instruction rearrangements per scrollpipe analysis.
34056         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34058 2012-08-20  Roland McGrath  <roland@hack.frob.com>
34060         * manual/syslog.texi (syslog; vsyslog, closelog):
34061         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34062         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34064         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34065         DSOCAPS to match condition on defining it.
34067 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
34069         * sysdeps/unix/sysv/linux/kernel-features.h
34070         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34072         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34073         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34075         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34076         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34078         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34079         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34081         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34082         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34084         * sysdeps/unix/sysv/linux/kernel-features.h
34085         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34086         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34087         unconditional.
34088         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34089         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34090         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34091         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34092         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34093         Make code unconditional.
34094         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34095         (__mmap64) [!__NR_mmap2]: Likewise.
34096         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34097         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34098         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34099         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34100         [__NR_mmap2]: Make code unconditional.
34101         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34102         (__mmap64) [!__NR_mmap2]: Likewise.
34104 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34106         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34108 2012-08-18  Andreas Jaeger  <aj@suse.de>
34110         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34112 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34114         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34115         * include/unistd.h (__have_sock_cloexec): Likewise.
34116         (__have_pipe2): Likewise.
34117         (__have_dup3): Likewise.
34119 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34121         [BZ #9685]
34122         * include/unistd.h (__have_pipe2): Change define into an extern int.
34123         (__have_dup3): Likewise.
34124         * socket/have_sock_cloexec.c: Include fcntl.h.
34125         (__have_pipe2): New variable.
34126         (__have_dup3): Likewise.
34128 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
34130         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34132 2012-08-17  Marek Polacek  <polacek@redhat.com>
34134         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34135         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34137 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34139         * configure.in: Add AC_SUBST for sysheaders.
34140         * configure: Regenerated.
34141         * config.make.in (sysheaders): New substituted variable.
34143         * sysdeps/unix/mkfifo.c: Moved ...
34144         * sysdeps/posix/mkfifo.c: ... here.
34145         * sysdeps/unix/mkfifoat.c: Moved ...
34146         * sysdeps/posix/mkfifoat.c: ... here.
34148         * sysdeps/unix/utime.c: Moved ...
34149         * sysdeps/posix/utime.c: ... here.
34151         * sysdeps/unix/time.c: Moved ...
34152         * sysdeps/posix/time.c: ... here.
34153         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34154         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34156         * sysdeps/unix/nice.c: Moved ...
34157         * sysdeps/posix/nice.c: ... here.
34159         * sysdeps/unix/alarm.c: Moved ...
34160         * sysdeps/posix/alarm.c: ... here.
34162         * intl/Makefile ($(codeset_mo)): Depend on the input file.
34164 2012-08-17  Jeff Law <law@redhat.com>
34166         * intl/Makefile (codeset_mo): New variable.
34167         ($(codeset_mo)): New target.
34168         (tst-codeset.out): Depend on that.  Remove explicit rule.
34169         (tst-gettext3.out, tst-gettext5.out): Likewise.
34170         (LOCPATH-ENV, tst-codeset-ENV): New variables.
34171         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34172         * intl/tst-codeset.sh: Remove.
34173         * intl/tst-gettext3.sh: Likewise.
34174         * intl/tst-gettext5.sh: Likewise.
34176 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34178         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
34179         * sysdeps/unix/syscalls.list: ... here.
34181         * sysdeps/posix/getaddrinfo.c
34182         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34183         (gaiconf_init, gaiconf_reload): Use them.
34184         [!_STATBUF_ST_NSEC]
34185         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34186         Define using time_t rather than struct timespec.
34188         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34189         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34190         Macros removed.
34191         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34192         [!NO_THREADS].
34193         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34194         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34195         Likewise.
34197         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34198         __libc_cleanup_push argument.
34200         * bits/param.h: New file.
34201         * misc/sys/param.h: New file.
34202         * include/sys/param.h: New file.
34203         * misc/Makefile (headers): Add bits/param.h.
34204         * sysdeps/generic/sys/param.h: File removed.
34205         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34206         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34207         * sysdeps/mach/hurd/bits/param.h: New file.
34208         * sysdeps/mach/hurd/sys/param.h: File removed.
34210         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34211         last change.
34213         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34214         [_IO_MTSAFE_IO].
34215         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34216         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34217         New macros.
34219         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34220         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34221         rather than -D_IO_MTSAFE_IO conditionally.
34222         * stdio-common/Makefile (CPPFLAGS): Likewise.
34223         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34224         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34225         Use $(libio-mtsafe).
34226         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34227         of -D_IO_MTSAFE_IO.
34228         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34229         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34230         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34231         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34232         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34233         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34234         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34235         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34236         (CFLAGS-fread_u_chk.c): Likewise.
34237         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34238         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34239         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34240         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34241         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34242         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34243         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34244         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34245         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34247         * libio/Makefile: Test [$(libc-reentrant) = yes]
34248         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34250         * Makeconfig
34251         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34252         * sysdeps/pthread/configure: File removed.
34253         * sysdeps/pthread/Makeconfig: New file.
34254         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34255         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34257 2012-08-16  Gary Benson  <gbenson@redhat.com>
34259         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34260         unmapping the first object in a namespace.
34262 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34264         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34265         (__internal_setnetgrent): ... this.  Add internal_function to
34266         definition.  Add libc_hidden_def.
34267         (setnetgrent): Update caller.
34268         (internal_endnetgrent): Renamed to ...
34269         (__internal_endnetgrent): ... this.  Add internal_function to
34270         definition.  Add libc_hidden_def.
34271         (endnetgrent): Update caller.
34272         (internal_getnetgrent_r): Renamed to ...
34273         (__internal_getnetgrent_r): ... this.  Add internal_function to
34274         definition.  Add libc_hidden_def.
34275         (__getnetgrent_r): Update caller.
34276         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34278 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34280         * stdlib/longlong.h: Update from GCC.
34282 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34284         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34285         on _QL, which is set by umul_ppmm but never used.
34286         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34287         variables, which are set by GMP macros but never used.
34288         * stdio-common/_itowa.c (_itowa): Likewise.
34289         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34290         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34292 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34294         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34295         struct La_sh_regs is not constant.
34296         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34297         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34298         and struct La_sparc64_regs are not constant.
34300 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34302         * sysdeps/unix/sysv/linux/kernel-features.h
34303         (__ASSUME_POSIX_TIMERS): Remove.
34304         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34305         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34306         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34307         Make code unconditional.
34308         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34309         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34310         Make code unconditional.
34311         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34312         * sysdeps/unix/sysv/linux/clock_nanosleep.c
34313         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34314         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34315         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34316         Make code unconditional.
34317         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34318         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34319         (__libc_missing_posix_timers): Remove.
34321 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34323         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34324         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34326         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34328         * elf/dl-sym.c: Include <stdlib.h>.
34330         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34331         constants, which avoids warnings in 32-bit builds.
34333         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34334         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34336         * misc/lseek.c: File moved to ...
34337         * io/lseek.c: ... here.
34339         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34341         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34342         shifting LEN more than 31 bits at once.
34344 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34346         [BZ #14195]
34347         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34348         segmentation fault for a case of two empty input strings.
34349         * string/test-strncasecmp.c (check1): Renamed to...
34350         (bz12205): ...this.
34351         (bz14195): Add new testcase for two empty input strings and N > 0.
34352         (test_main): Call new testcase, adapt for renamed function.
34354 2012-08-15  Andreas Jaeger  <aj@suse.de>
34356         [BZ #14090]
34357         * crypt/md5test2.c: New test, based on test supplied by Serge
34358         Belyshev <belyshev@depni.sinp.msu.ru>.
34359         * crypt/Makefile (xtests): Add md5test-giant..
34360         * crypt/Makefile ($(objpfx)md5test-giant): Add.
34362 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
34364         [BZ #14090]
34365         * crypt/md5.c (md5_process_block): Don't assume the buffer
34366         length is less than 2**32.
34367         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34368         length is less than 2**64.
34370 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34372         * string/str-two-way.h: Include <sys/param.h>.
34373         (MAX): Macro removed.
34375         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34376         Move #define and #undef of memmove to just before and after
34377         including <string.h>.
34379         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34380         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34381         and after including <string.h>.  Move declarations of
34382         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34383         to before #include "string/memmove.c".
34385         * include/dirent.h: Declare __getdirentries.
34387         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34388         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34390 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
34392         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34393         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34394         * sysdeps/i386/configure: Regenerated.
34395         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34396         STABS_CURRENT_FILE, and STABS_FUN.
34397         (END): Remove call to STABS_FUN_END.
34398         (STABS_CURRENT_FILE1): Delete.
34399         (STABS_CURRENT_FILE): Likewise.
34400         (STABS_FUN): Likewise.
34401         (STABS_FUN_END): Likewise.
34402         (STABS_FUN2): Likewise.
34403         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34404         * sysdeps/x86_64/configure: Regenerated.
34406 2012-08-14  Roland McGrath  <roland@hack.frob.com>
34408         * elf/dl-open.c: Include <atomic.h>.
34409         * elf/dl-lookup.c: Likewise.
34411 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
34413         * sysdeps/unix/sysv/linux/kernel-features.h
34414         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34415         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34416         unconditionally.
34417         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34418         unconditionally.
34419         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34420         condition on __ASSUME_CLONE_THREAD_FLAGS.
34422 2012-08-14  Andreas Jaeger  <aj@suse.de>
34424         * sysdeps/i386/fpu/libm-test-ulps: Update.
34426 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
34428         * include/atomic.h (atomic_exchange_and_add): Split into ...
34429         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34430         New atomic macros.
34432 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
34434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34436 2012-08-13  Jeff Law <law@redhat.com>
34438         * manual/stdio.texi (snprintf): Clarify handling of the trailing
34439         null byte in the output string.
34441 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
34443         * sysdeps/unix/sysv/linux/kernel-features.h
34444         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34445         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34446         (__ASSUME_ARG_MAX_STACK_BASED): Define.
34447         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34448         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34449         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
34450         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34452 2012-08-09  Jeff Law <law@redhat.com>
34454         [BZ #13939]
34455         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34456         When avoid_arena is set, don't retry in the that arena.  Pick the
34457         next one, whatever it might be.
34458         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34459         (arena_lock): Pass in new parameter to arena_get2.
34460         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34461         arena_get2.
34462         (__libc_malloc): Unify retrying after main arena failure with
34463         __libc_memalign version.
34464         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34466 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
34468         [BZ #14166]
34469         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34470         to __redirect_strstr.
34471         (__strstr_sse42): Use typeof __redirect_strstr.
34472         (__strstr_ia32): Likewise.
34473         (__libc_strstr): New prototype.
34474         (strstr): Renamed to ...
34475         (__libc_strstr): This.
34476         (strstr): New strong alias of __libc_strstr.
34477         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34478         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34479         __redirect_time.
34480         Include <time.h>.
34481         (__libc_time): New prototype.
34482         (time_ifunc): Replace time with __libc_time.
34483         (time): New strong alias and hidden definition of __libc_time.
34484         (__GI_time): Remove strong alias.
34485         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34486         Include <stddef.h>.
34487         (memmove): Redefined to __redirect_memmove.
34488         (__memmove_sse2): Use typeof __redirect_memmove.
34489         (__memmove_ssse3): Likewise.
34490         (__memmove_ssse3_back): Likewise.
34491         (__libc_memmove): New prototype.
34492         (memmove): Renamed to ...
34493         (__libc_memmove): This.
34494         (memmove): New strong alias of __libc_memmove.
34496 2012-08-08  Mark Salter  <msalter@redhat.com>
34498         * elf/elf.h
34499         (R_MN10300_TLS_GD): Define.
34500         (R_MN10300_TLS_LD): Likewise.
34501         (R_MN10300_TLS_LDO): Likewise.
34502         (R_MN10300_TLS_GOTIE): Likewise.
34503         (R_MN10300_TLS_IE): Likewise.
34504         (R_MN10300_TLS_LE): Likewise.
34505         (R_MN10300_TLS_DTPMOD): Likewise.
34506         (R_MN10300_TLS_DTPOFF): Likewise.
34507         (R_MN10300_TLS_TPOFF): Likewise.
34508         (R_MN10300_SYM_DIFF): Likewise.
34509         (R_MN10300_ALIGN): Likewise.
34510         (R_MN10300_NUM): Update.
34512 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
34514         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34515         Remove.
34517 2012-08-08  Roland McGrath  <roland@hack.frob.com>
34519         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34521         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34522         sysdeps/unix -> sysdeps/posix move.
34523         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34525 2012-08-07      Allan McRae     <allan@archlinux.org>
34527         [BZ #14303]
34528         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34529         (SUNOS_CPP): Likewise.
34530         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34531         not found.
34532         (open_input): Call CPP using execvp.
34534 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34536         * sysdeps/unix/sysv/linux/kernel-features.h
34537         (__ASSUME_PROT_GROWSUPDOWN): Remove.
34538         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34539         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34540         (__ASSUME_WAITID_SYSCALL): Likewise.
34541         * sysdeps/unix/sysv/linux/dl-execstack.c
34542         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34543         code unconditional.
34544         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34545         conditional code.
34546         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34547         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34548         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34549         code.
34550         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34551         unconditional.
34552         [__ASSUME_WAITID_SYSCALL]: Likewise.
34553         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34555 2012-08-07  Roland McGrath  <roland@hack.frob.com>
34557         * sysdeps/unix/closedir.c: Renamed to ...
34558         * sysdeps/posix/closedir.c: ... here.
34559         * sysdeps/unix/dirfd.c: Renamed to ...
34560         * sysdeps/posix/dirfd.c: ... here.
34561         * sysdeps/unix/dirstream.h: Renamed to ...
34562         * sysdeps/posix/dirstream.h: ... here.
34563         * sysdeps/unix/fdopendir.c: Renamed to ...
34564         * sysdeps/posix/fdopendir.c: ... here.
34565         * sysdeps/unix/opendir.c: Renamed to ...
34566         * sysdeps/posix/opendir.c: ... here.
34567         * sysdeps/unix/readdir.c: Renamed to ...
34568         * sysdeps/posix/readdir.c: ... here.
34569         * sysdeps/unix/readdir_r.c: Renamed to ...
34570         * sysdeps/posix/readdir_r.c: ... here.
34571         * sysdeps/unix/rewinddir.c: Renamed to ...
34572         * sysdeps/posix/rewinddir.c: ... here.
34573         * sysdeps/unix/seekdir.c: Renamed to ...
34574         * sysdeps/posix/seekdir.c: ... here.
34575         * sysdeps/unix/telldir.c: Renamed to ...
34576         * sysdeps/posix/telldir.c: ... here.
34577         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34578         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34579         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34580         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34582         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34583         * bits/fcntl.h: ... here.
34585         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34586         not 0.
34587         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34588         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34589         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34590         (struct flock): Move l_start, l_len to the beginning.
34591         Use __pid_t for l_pid.
34592         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34593         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34594         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34595         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34596         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34597         [__USE_LARGEFILE64] (struct flock64): New type.
34598         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34600         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34601         * bits/dirent.h: ... here.
34603         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34604         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34606 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34608         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34609         Change from 2.6.0 to 2.6.16.
34610         * sysdeps/unix/sysv/linux/configure: Regenerated.
34611         * sysdeps/unix/sysv/linux/kernel-features.h
34612         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34613         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34614         version.
34615         (__ASSUME_UTIMES): Likewise.
34616         (__ASSUME_CLONE_STOPPED): Remove.
34617         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34618         architectures, not kernel version.
34619         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34620         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34621         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34622         (__ASSUME_WAITID_SYSCALL): Likewise.
34623         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34624         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34625         * README: State 2.6.16 as minimum Linux kernel version.  Do not
34626         refer to older versions.
34628 2012-08-06  Roland McGrath  <roland@hack.frob.com>
34630         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34631         Define alphasort64 as an alias.
34632         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34633         Define versionsort64 as an alias.
34634         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34635         Define scandir64 as an alias.
34636         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34637         Define scandirat64 as an alias.
34638         * dirent/alphasort64.c (alphasort64):
34639         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34640         * dirent/versionsort64.c: Likewise.
34641         * dirent/scandir64.c: Likewise.
34642         * dirent/scandirat64.c: Likewise.
34643         * sysdeps/wordsize-64/alphasort.c: File removed.
34644         * sysdeps/wordsize-64/alphasort64.c: File removed.
34645         * sysdeps/wordsize-64/scandir.c: File removed.
34646         * sysdeps/wordsize-64/scandir64.c: File removed.
34647         * sysdeps/wordsize-64/scandirat.c: File removed.
34648         * sysdeps/wordsize-64/scandirat64.c: File removed.
34649         * sysdeps/wordsize-64/versionsort.c: File removed.
34650         * sysdeps/wordsize-64/versionsort64.c: File removed.
34651         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34652         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34653         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34654         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34655         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34656         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34657         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34658         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34660         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34662         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34663         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34664         [defined __arch64__ || defined __sparcv9]
34665         (__INO_T_MATCHES_INO64_T): New macro.
34666         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34667         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34668         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34669         * sysdeps/unix/sysv/linux/bits/dirent.h
34670         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34671         (_DIRENT_MATCHES_DIRENT64): New macro.
34673         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34674         Define lockf64 as an alias.
34675         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34676         Define fseeko64 as an alias.
34677         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34678         Define ftello64 as an alias.
34679         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34680         Define _IO_fgetpos64 and fgetpos64 as aliases.
34681         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34682         Define _IO_fsetpos64 and fsetpos64 as aliases.
34683         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34684         Conditionalize body on this.
34685         * libio/fseeko64.c: Likewise.
34686         * libio/ftello64.c: Likewise.
34687         * libio/iofgetpos64.c: Likewise.
34688         * libio/iofsetpos64.c: Likewise.
34689         * sysdeps/wordsize-64/lockf.c: File removed.
34690         * sysdeps/wordsize-64/lockf64.c: File removed.
34691         * sysdeps/wordsize-64/fseeko.c: File removed.
34692         * sysdeps/wordsize-64/fseeko64.c: File removed.
34693         * sysdeps/wordsize-64/ftello.c: File removed.
34694         * sysdeps/wordsize-64/ftello64.c: File removed.
34695         * sysdeps/wordsize-64/iofgetpos.c: File removed.
34696         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34697         * sysdeps/wordsize-64/iofsetpos.c: File removed.
34698         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34699         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34700         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34701         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34702         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34703         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34704         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34705         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34706         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34707         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34708         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34710         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34711         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34712         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34713         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34714         [defined __arch64__ || defined __sparcv9]
34715         (__OFF_T_MATCHES_OFF64_T): New macro.
34716         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34717         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34718         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34719         (__OFF_T_MATCHES_OFF64_T): New macro.
34721 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34723         * stdlib/secure-getenv.c (__secure_getenv): Replace
34724         GLIBC_2_16 with GLIBC_2_17.
34726 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34728         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34729         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34731 2012-08-03  David S. Miller  <davem@davemloft.net>
34733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34735 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34737         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34738         Remove.
34739         (__ASSUME_CORRECT_SI_PID): Likewise.
34740         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34741         (__ASSUME_TMPFS_NAME): Likewise.
34742         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34743         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34744         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34745         (HAVE_AUX_SECURE): Make definition unconditional.
34746         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34747         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34749 2012-08-03  Roland McGrath  <roland@hack.frob.com>
34751         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34752         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34753         * sysdeps/mach/hurd/eloop-threshold.h: New file.
34754         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34755         __eloop_threshold instead of SYMLOOP_MAX.
34757         * sysdeps/generic/eloop-threshold.h: New file.
34758         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34759         of MAXSYMLINKS.
34760         * elf/chroot_canon.c (chroot_canon): Likewise.
34762 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34764         [BZ #13717]
34765         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34766         Change to 2.6.0 everywhere.
34767         * sysdeps/unix/sysv/linux/configure: Regenerated.
34768         * sysdeps/unix/sysv/linux/kernel-features.h
34769         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34770         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34771         kernel versions.
34772         (__ASSUME_POSIX_TIMERS): Define unconditionally.
34773         (__ASSUME_FUTEX_REQUEUE): Remove.
34774         (__ASSUME_STATFS64): Define unconditionally.
34775         (__ASSUME_AT_SECURE): Likewise.
34776         (__ASSUME_CORRECT_SI_PID): Likewise.
34777         (__ASSUME_TGKILL): Define without depending on kernel version for
34778         i386.
34779         (__ASSUME_UTIMES): Likewise.
34780         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34781         kernel version.
34782         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34783         (__ASSUME_TMPFS_NAME): Likewise.
34784         * README: Update reference to Linux kernel versions.
34786 2012-08-02  Marek Polacek  <polacek@redhat.com>
34788         [BZ# 14150]
34789         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
34790         libc_cv_asm_type_prefix with %.
34791         * configure: Regenerated.
34792         * include/libc-symbols.h: Remove comment about
34793         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34794         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34795         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34796         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34797         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34798         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34799         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34800         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34801         * elf/tst-unique2mod1.c: Likewise.
34802         * elf/tst-unique1mod2.c: Likewise.
34803         * elf/tst-unique1mod1.c: Likewise.
34804         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34805         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34806         Replace ASM_TYPE_DIRECTIVE with .type.
34807         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34808         * sysdeps/i386/sysdep.h: Likewise.
34809         * sysdeps/x86_64/sysdep.h: Likewise.
34810         * sysdeps/sh/sysdep.h: Likewise.
34811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34812         Do not define ASM_TYPE_DIRECTIVE.
34813         * sysdeps/powerpc/sysdep.h: Likewise.
34814         * sysdeps/powerpc/powerpc32/sysdep.h:
34815         Replace ASM_TYPE_DIRECTIVE with .type.
34816         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34817         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34818         * sysdeps/i386/fpu/e_powf.S: Likewise.
34819         * sysdeps/i386/fpu/e_expl.S: Likewise.
34820         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34821         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34822         * sysdeps/i386/fpu/e_pow.S: Likewise.
34823         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34824         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34825         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34826         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34827         * sysdeps/i386/fpu/e_log2.S: Likewise.
34828         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34829         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34830         * sysdeps/i386/fpu/e_powl.S: Likewise.
34831         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34832         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34833         * sysdeps/i386/fpu/e_logl.S: Likewise.
34834         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34835         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34836         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34837         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34838         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34839         * sysdeps/i386/fpu/e_log.S: Likewise.
34840         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34841         * sysdeps/i386/fpu/e_logf.S: Likewise.
34842         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34843         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34844         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34845         * sysdeps/i386/fpu/e_log10.S: Likewise.
34846         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34847         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34848         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34849         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34850         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34851         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34852         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34853         * sysdeps/i386/i686/strtok.S: Likewise.
34854         * sysdeps/i386/i386-mcount.S: Likewise.
34855         * sysdeps/i386/strtok.S: Likewise.
34856         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34857         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34858         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34859         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34860         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34861         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34862         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34863         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34864         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34865         * sysdeps/x86_64/_mcount.S: Likewise.
34866         * sysdeps/x86_64/strtok.S: Likewise.
34867         * sysdeps/sh/_mcount.S: Likewise.
34869 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34871         * libio/iofopen.c: Include <fcntl.h>.
34872         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34873         (_IO_fopen64, fopen64): Define as aliases.
34874         * libio/iofopen64.c: Include <fcntl.h>.
34875         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34876         Conditionalize body on this.
34877         * sysdeps/wordsize-64/iofopen.c: File removed.
34878         * sysdeps/wordsize-64/iofopen64.c: File removed.
34880 2012-08-01  Marek Polacek  <polacek@redhat.com>
34882         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34883         Use dlfcn directly instead of a variable.
34884         (binfmt-subdir): Do not define.
34885         (dlfcn): Likewise.
34887 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34889         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34890         Remove all definitions.
34891         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34892         <kernel-features.h>.
34893         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34894         (miss_F_GETOWN_EX): Remove all definitions.
34895         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34896         macro definition.
34897         [!__ASSUME_FCNTL64]: Remove conditional code.
34898         [__ASSUME_FCNTL64]: Make code unconditional.
34899         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34900         <kernel-features.h>.
34901         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34902         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34903         (lockf64) [__NR_fcntl64]: Make code unconditional.
34904         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34906         * sysdeps/unix/sysv/linux/kernel-features.h
34907         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34908         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34909         Make code unconditional.
34910         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34911         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34913         [__NR_vfork]: Make code unconditional.
34914         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34915         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34917         [__NR_vfork]: Make code unconditional.
34918         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34919         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34921 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34923         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34924         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34926         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34927         Define mkstemp64 as an alias.
34928         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34929         Define mkstemps64 as an alias.
34930         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34931         Define mkostemp64 as an alias.
34932         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34933         Define mkostemps64 as an alias.
34934         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34935         Conditionalize body on this.
34936         * misc/mkostemp64.c: Likewise.
34937         * misc/mkostemps64.c: Likewise.
34938         * misc/mkstemps64.c: Likewise.
34939         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34940         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34941         * sysdeps/wordsize-64/mkostemp.c: File removed.
34942         * sysdeps/wordsize-64/mkstemp.c: File removed.
34943         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34944         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34945         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34946         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34948         [BZ #14138]
34949         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34950         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34951         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34952         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34954         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34955         compat_symbol macros from <shlib-compat.h> rather than the underlying
34956         default_symbol_version and symbol_version macros, so that DEFAULT
34957         lines in shlib-versions are respected.
34958         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34960 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34962         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34963         Declare with warn_unused_result.
34964         (setgid, setregid, setegid, setresgid): Likewise.
34965         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34966         Likewise.
34967         * WUR-REPORT: Remove set*id functions.
34969 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34971         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34973 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34975         [BZ #10191]
34976         * include/sys/socket.h (__libc_accept, __libc_accept4):
34977         Add attribute_hidden.
34978         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34980         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34981         use of PTR_MANGLE.
34982         * inet/getnetgrent_r.c (setup): Likewise.
34984         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34986 2012-07-31  David S. Miller  <davem@davemloft.net>
34988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34990 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34992         [BZ #13629]
34993         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34994         value between 1.0 and 2.0 and smaller part has absolute value less
34995         than 1.0.
34996         * math/s_clog10.c (__clog10): Likewise.
34997         * math/s_clog10f.c (__clog10f): Likewise.
34998         * math/s_clog10l.c (__clog10l): Likewise.
34999         * math/s_clogf.c (__clogf): Likewise.
35000         * math/s_clogl.c (__clogl): Likewise.
35001         * math/libm-test.inc (clog_test): Add more tests.
35002         (clog10_test): Likewise.
35003         * sysdeps/i386/fpu/libm-test-ulps: Update.
35004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35006 2012-07-31  Florian Weimer  <fweimer@redhat.com>
35008         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35009         Exit with zero in case no suitable GID is found, and write a
35010         message to standard error.
35012 2012-07-30  Roland McGrath  <roland@hack.frob.com>
35014         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35015         rather than to 1.
35016         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35017         (MAXPATHLEN): Removed.
35018         (NOGROUP, NODEV): New macros.
35019         (setbit, clrbit, isset, isclr): New macros.
35020         (howmany, roundup, powerof2): New macros.
35021         (DEV_BSIZE): New macro.
35023         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35024         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35026         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35027         definition on [!__NO_LONG_DOUBLE_MATH].
35029         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35030         PTR_MANGLE and PTR_DEMANGLE.
35032         * socket/accept4.c (accept4): Rename to __libc_accept4.
35033         Define accept4 as a weak alias.
35035         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35036         on [_DIRENT_HAVE_D_TYPE].
35037         * io/ftw.c (ftw_dir): Likewise.
35039         * io/xmknod.c (__xmknod): Don't check PATH for being null.
35041         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35043         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35044         Use the BSD numbers rather than the arbitrary ones we had.
35045         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35046         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35047         (SIGXCPU, SIGXFSZ): New macros.
35048         (_NSIG): Now 32.
35050         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35051         initializer on [_LIBC_REENTRANT].
35053         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35054         definitions inside [_POSIX_MAPPED_FILES].
35056         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35058         * dirent/opendir.c: Include <fcntl.h>.
35060         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35061         (__libc_getspecific): Likewise.
35062         (__libc_key_create): Likewise.
35064         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35065         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35066         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35067         (tmpfile64): Define as alias.
35068         * sysdeps/wordsize-64/tmpfile.c: File removed.
35069         * sysdeps/wordsize-64/tmpfile64.c: File removed.
35070         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35071         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35073         * stdio-common/vfscanf.c: Include <stdbool.h>.
35074         * nss/makedb.c: Likewise.
35075         * stdio-common/_i18n_number.h: Likewise.
35076         * argp/argp-help.c: Likewise.
35077         * posix/wordexp.c: Likewise.
35078         * sysdeps/posix/spawni.c: Likewise.
35079         * nss/nss_files/files-initgroups.c: Likewise.
35080         * stdio-common/reg-modifier.c: Include <stdlib.h>.
35081         * nss/nss_files/files-initgroups.c: Likewise.
35082         * nss/nss_db/db-netgrp.c: Likewise.
35083         * nss/nss_db/db-initgroups.c: Likewise.
35084         * io/fchmodat.c: Include <sys/stat.h>.
35086         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35087         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35089         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35090         [HAVE_MMAP].
35092         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35093         Add multiple inclusion protection.
35095 2012-07-27  David S. Miller  <davem@davemloft.net>
35097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35099 2012-07-27  Gary Benson  <gbenson@redhat.com>
35101         [BZ #14298]
35102         * elf/rtld.c: Include <stap-probe.h>.
35103         (dl_main): Added static probes "init_start" and "init_complete".
35104         * elf/dl-load.c: Include <stap-probe.h>.
35105         (lose): Take new parameter "nsid".
35106         Added static probe "map_failed".
35107         (_dl_map_object_from_fd): Pass namespace id to lose.
35108         Added static probe "map_start".
35109         (open_verify): Pass namespace id to lose.
35110         * elf/dl-open.c: Include <stap-probe.h>.
35111         (dl_open_worker) Added static probes "map_complete", "reloc_start"
35112         and "reloc_complete".
35113         * elf/dl-close.c: Include <stap-probe.h>.
35114         (_dl_close_worker): Added static probes "unmap_start" and
35115         "unmap_complete".
35116         * elf/rtld-debugger-interface.txt: New file documenting the above.
35118 2012-07-26  Roland McGrath  <roland@hack.frob.com>
35120         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35121         rather than a string variable.
35122         * sunrpc/rpc_main.c (h_output): Likewise.
35123         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35125 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
35127         * inet/check_native.c: New file.
35129 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
35131         [BZ #13629]
35132         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35133         if larger part has absolute value 1.0.
35134         * math/s_clog10.c (__clog10): Likewise.
35135         * math/s_clog10f.c (__clog10f): Likewise.
35136         * math/s_clog10l.c (__clog10l): Likewise.
35137         * math/s_clogf.c (__clogf): Likewise.
35138         * math/s_clogl.c (__clogl): Likewise.
35139         * math/libm-test.inc (clog_test): Add more tests.
35140         (clog10_test): Likewise.
35141         * sysdeps/i386/fpu/libm-test-ulps: Update.
35142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35144         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35145         (pltexit): Likewise.
35146         (La_regs): Likewise.
35147         (La_retval): Likewise.
35148         (int_retval): Likewise.
35149         Update #error for removed macros to refer only to definitions in
35150         tst-audit.h.
35151         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35152         macro.
35153         (pltexit): Likewise.
35154         (La_regs): Likewise.
35155         (La_retval): Likewise.
35156         (int_retval): Likewise.
35157         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35158         macro.
35159         (pltexit): Likewise.
35160         (La_regs): Likewise.
35161         (La_retval): Likewise.
35162         (int_retval): Likewise.
35163         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35164         macro.
35165         (pltexit): Likewise.
35166         (La_regs): Likewise.
35167         (La_retval): Likewise.
35168         (int_retval): Likewise.
35169         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35170         macro.
35171         (pltexit): Likewise.
35172         (La_regs): Likewise.
35173         (La_retval): Likewise.
35174         (int_retval): Likewise.
35175         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35176         macro.
35177         (pltexit): Likewise.
35178         (La_regs): Likewise.
35179         (La_retval): Likewise.
35180         (int_retval): Likewise.
35181         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35182         macro.
35183         (pltexit): Likewise.
35184         (La_regs): Likewise.
35185         (La_retval): Likewise.
35186         (int_retval): Likewise.
35187         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35188         macro definitions in tst-audit.h.
35189         * sysdeps/i386/tst-audit.h: New file.
35190         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35191         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35192         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35193         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35194         * sysdeps/sh/tst-audit.h: Likewise.
35195         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35196         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35197         * sysdeps/x86_64/tst-audit.h: Likewise.
35199 2012-07-26  Andreas Jaeger  <aj@suse.de>
35201         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35202         ptrace.
35204         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35205         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35206         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35207         PTRACE_O_MASK.
35208         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35209         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35210         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35212         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35213         value.
35215         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35216         _sigsys.
35217         (si_call_addr, si_syscall, si_arch): Define new macro.
35218         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35219         _sigsys.
35220         (si_call_addr, si_syscall, si_arch): Define new marcro.
35221         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35222         _sigsys.
35223         (si_call_addr, si_syscall, si_arch): Define new macro.
35224         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35225         _sigsys.
35226         (si_call_addr, si_syscall, si_arch): Define new macro.
35228 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35230         [BZ #13717]
35231         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35232         Change to 2.4.21 where previously 2.4.1.
35233         * sysdeps/unix/sysv/linux/configure: Regenerated.
35234         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35235         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35236         Linux kernel version.
35237         (__ASSUME_STD_AUXV): Remove.
35238         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35239         kernel version.
35240         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35241         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35242         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35243         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35244         (__ASSUME_NETLINK_SUPPORT): Likewise.
35245         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35246         (__no_netlink_support): Remove conditional definition.
35247         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35248         Remove.
35249         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35250         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35251         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35252         (if_nameindex_ioctl): Remove.
35253         (if_nameindex_netlink): Do not handle __no_netlink_support.
35254         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35255         code.
35256         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35257         Remove conditional code.
35258         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35259         code.
35260         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35261         unconditional.
35262         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35263         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35264         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35265         Remove.
35266         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35267         [!__ASSUME_STD_AUXV]: Remove conditional code.
35268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35269         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35270         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35272         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35273         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35274         code.
35275         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35277         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35278         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35279         conditional code.
35280         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35282         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35283         code.
35284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35285         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35286         conditional code.
35287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35288         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35289         code unconditional.
35290         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35291         conditional code.
35292         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35293         unconditional.
35294         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35295         conditional code.
35296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35297         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35298         unconditional.
35299         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35300         conditional code.
35301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35302         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35303         code unconditional.
35304         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35305         conditional code.
35306         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35307         unconditional.
35308         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35309         conditional code.
35310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35311         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35312         code unconditional.
35313         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35314         conditional code.
35315         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35316         unconditional.
35317         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35318         conditional code.
35320 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
35322         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35323         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35324         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35325         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35326         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35327         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35328         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35329         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35330         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35331         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35332         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35333         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35334         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35335         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35336         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35337         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35338         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35339         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35340         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35342         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35343         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35344         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35346 2012-07-25  Florian Weimer  <fweimer@redhat.com>
35348         * Versions.def: Add GLIBC_2.17.
35349         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35350         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35351         Introduce __libc_secure_getenv.
35352         * stdlib/Versions (2.17): Add secure_getenv
35353         (GLIBC_PRIVATE): Add __libc_secure_getenv.
35354         * stdlib/secure-getenv.c: Rename __secure_getenv to
35355         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
35356         symbol __secure_getenv for GLIBC_2.0.
35357         * stdlib/tst-secure-getenv.c: New.
35358         * stdlib/Makefile (tests): Add testcase.
35359         * manual/startup.texi (Environment Access): Document
35360         secure_getenv.
35361         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35362         __libc_secure_getenv.
35363         * inet/ruserpass.c (ruserpass): Likewise.
35364         * malloc/mtrace.c (mtrace): Likewise.
35365         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35366         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35367         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35368         * sysdeps/posix/tempname.c: Likewise.  Evaluate
35369         HAVE_SECURE_GETENV.
35370         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35371         __secure_getenv to __libc_secure_getenv.
35372         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35374         Likewise.
35375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35376         Likewise.
35377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35379         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35385 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35387         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35388         (struct La_i86_retval): Likewise.
35389         (struct La_x86_64_regs): Likewise.
35390         (struct La_x86_64_retval): Likewise.
35391         (struct La_x32_regs): Likewise.
35392         (struct La_x32_retval): Likewise.
35393         (struct La_ppc32_regs): Likewise.
35394         (struct La_ppc32_retval): Likewise.
35395         (struct La_ppc64_regs): Likewise.
35396         (struct La_ppc64_retval): Likewise.
35397         (struct La_sh_regs): Likewise.
35398         (struct La_sh_retval): Likewise.
35399         (struct La_s390_32_regs): Likewise.
35400         (struct La_s390_32_retval): Likewise.
35401         (struct La_s390_64_regs): Likewise.
35402         (struct La_s390_64_retval): Likewise.
35403         (struct La_sparc32_regs): Likewise.
35404         (struct La_sparc32_retval): Likewise.
35405         (struct La_sparc64_regs): Likewise.
35406         (struct La_sparc64_retval): Likewise.
35407         (struct audit_ifaces): Remove architecture-specific pltenter and
35408         pltexit members.
35409         * sysdeps/i386/ldsodefs.h: New file.
35410         * sysdeps/powerpc/ldsodefs.h: Likewise.
35411         * sysdeps/s390/ldsodefs.h: Likewise.
35412         * sysdeps/sh/ldsodefs.h: Likewise.
35413         * sysdeps/sparc/ldsodefs.h: Likewise.
35414         * sysdeps/x86_64/ldsodefs.h: Likewise.
35416 2012-07-25  Marek Polacek  <polacek@redhat.com>
35418         [BZ #6808]
35419         * math/libm-test.inc (yn_test): Add another test.
35420         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35421         to ERANGE when the result is +-Inf.
35422         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35423         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35424         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35425         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35427 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
35429         * conform/data/time.h-data (NULL): Use macro-constant.  Require
35430         equal to 0.
35431         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
35432         clock_t.
35433         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
35435 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
35437         * configure.in <sysdeps resolving>: Correct printing
35438         Implies_before.
35439         * configure: Regenerate.
35441 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
35443         * math/w_ilogb.c: Include <limits.h>.
35444         * math/w_ilogbl.c: Likewise.
35446 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35448         * manual/lang.texi (__va_copy): Document primarily as ISO C99
35449         va_copy.  Document allowing for unavailable va_copy only as
35450         pre-C99 compatibility.
35451         * manual/string.texi (Copying and Concatenation): Use va_copy
35452         instead of __va_copy in concat example.
35454 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
35456         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35457         (__sendto): Use create_address_port.  Initialize APORT and deallocate
35458         it if not null.
35460         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35461         with O_NOLINK passed to __file_name_lookup.
35463         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35464         with O_NOLINK passed to __file_name_lookup.
35466         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35467         negative N or less than NGIDS.
35469         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35470         type to string_t.  Set ERANGE as errno and return it if NAME is not big
35471         enough.  Use memcpy instead of strncpy.
35473 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35475         * elf/Makefile (check-data): Remove.
35476         (localplt.data): New vpath directive.
35477         ($(objpfx)check-localplt.out): Use localplt.data from vpath
35478         instead of $(check-data).
35479         * scripts/data/localplt-generic.data: Move to ...
35480         * sysdeps/generic/localplt.data: ... here.
35481         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35482         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35483         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35485         ... here.
35486         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35488         ... here.
35489         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35491         ... here.
35492         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35494         ... here.
35495         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35497         ... here.
35498         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35500         ... here.
35502 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35504         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35505         PPC32 and PPC64 files.
35506         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35507         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35509 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35511         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35512         __makecontext_ret to ...
35513         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35514         ... here and call exit if uc_link is NULL.  New file.
35515         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35516         __makecontext_ret.S.
35517         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35518         __makecontext_ret to ...
35519         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35520         ... here and call exit if uc_link is NULL.  New file.
35521         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35522         __makecontext_ret.S.
35524 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35526         * elf/elf.h (R_390_IRELATIVE): New definition.
35527         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35528         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
35529         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35530         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35531         (elf_machine_lazy_rel): Likewise.
35532         * sysdeps/s390/dl-irel.h: New file.
35533         * sysdeps/s390/s390-64/memcpy.S: New asm code.
35534         * sysdeps/s390/s390-64/memset.S: New asm code.
35535         * sysdeps/s390/s390-64/memcmp.S: New asm code.
35536         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35537         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35538         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35539         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35540         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35541         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35542         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35543         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35544         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35545         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35546         * sysdeps/s390/s390-32/memcpy.S: New asm code.
35547         * sysdeps/s390/s390-32/memset.S: New asm code.
35548         * sysdeps/s390/s390-32/memcmp.S: New asm code.
35550 2012-07-17  Marek Polacek  <polacek@redhat.com>
35552         [BZ #14349]
35553         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35554         * sysdeps/s390/s390-64/configure.in: Likewise.
35555         * sysdeps/sparc/configure.in: Likewise.
35556         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35557         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35558         * sysdeps/i386/configure.in: Likewise.
35559         * sysdeps/x86_64/configure.in: Likewise.
35560         * sysdeps/sh/configure.in: Likewise.
35561         * sysdeps/s390/s390-32/configure: Regenerated.
35562         * sysdeps/s390/s390-64/configure: Likewise.
35563         * sysdeps/x86_64/configure: Likewise.
35564         * sysdeps/sh/configure: Likewise.
35565         * sysdeps/powerpc/powerpc64/configure: Likewise.
35566         * sysdeps/powerpc/powerpc32/configure: Likewise.
35567         * sysdeps/sparc/configure: Likwise.
35568         * sysdeps/i386/configure: Likewise.
35570         * elf/dl-open.c: Comment fixes.
35572 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
35574         * Makefile [CXX] (check-data): Remove.
35575         [CXX] (c++-types.data): New vpath directive.
35576         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35577         vpath.  Do not allow for C++ type data being missing.
35578         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35579         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35580         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35581         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35582         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35583         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35584         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35586         ... here.
35587         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35589         ... here.
35590         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35592         ... here.
35593         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35595         ... here.
35596         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35598         ... here.
35599         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35601         ... here.
35602         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35604         ... here.
35605         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35608         * elf/tls-macros.h (TLS_LE): Move architecture-specific
35609         definitions to architecture-specific files.
35610         (TLS_IE): Likewise.
35611         (TLS_LD): Likewise.
35612         (TLS_GD): Likewise.
35613         * sysdeps/i386/tls-macros.h: New file.
35614         * sysdeps/powerpc/tls-macros.h: Likewise.
35615         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35616         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35617         * sysdeps/sh/tls-macros.h: Likewise.
35618         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35619         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35620         * sysdeps/x86_64/tls-macros.h: Likewise.
35622 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35624         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35625         zero value for regular exit case.
35627         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35628         (__start_context): Preserve zero value for regular exit case.
35630 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35631             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35633         * manual/setjmp.texi (setcontext): Clarify normal process
35634         termination when uc_link is the null pointer.
35635         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35636         exit call.
35638 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
35640         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35641         preprocessor.  Test for each exception mask separately.
35643 2012-07-16  Andreas Jaeger  <aj@suse.de>
35645         * po/ru.po: Update from translation team.
35647 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
35649         * conform/data/string.h-data (NULL): Use macro-constant.  Require
35650         equal to 0.
35651         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35652         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35653         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35654         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35655         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35657 2012-07-13  Andreas Jaeger  <aj@suse.de>
35659         * po/fr.po: Update from translation team.
35661 2012-07-12  Marek Polacek  <polacek@redhat.com>
35663         [BZ #14173]
35664         * math/libm-test.inc (yn_test): Add test for BZ #14173.
35665         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35666         loop condition.
35668 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
35670         [BZ #13717]
35671         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35672         Change to 2.4.1 where previously 2.4.0.
35673         * sysdeps/unix/sysv/linux/configure: Regenerated.
35674         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35675         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35676         version.
35677         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35678         (__ASSUME_AT_CLKTCK): Remove.
35679         (__ASSUME_AT_PAGESIZE): Likewise.
35680         (__ASSUME_AT_XID): Likewise.
35681         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35682         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35683         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35684         unconditionally.
35685         (HAVE_AUX_PAGESIZE): Likewise.
35686         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35687         [__ASSUME_AT_CLKTCK]: Make code unconditional.
35688         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35690 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
35692         [BZ #14307]
35693         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35694         the temporary buffer used to invoke __gethostbyname2_r,
35695         __gethostbyaddr_r and gethostbyname4_r to make room for struct
35696         host_data / struct gaih_addrtuple.
35697         * resolv/nss_dns/dns-host.c (global scope): Move definition of
35698         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35699         header file nss/nsswitch.h.
35700         * nss/nsswitch.h (global scope): Add definition of implementation
35701         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35702         resolv/nss_dns/dns-host.c).
35704 2012-07-11  Andreas Jaeger  <aj@suse.de>
35706         * po/fr.po: Update from translation team.
35708         * po/sv.po: Update from translation team
35709         * po/fr.po: Another update from translation team.
35711 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35713         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35714         for subnormals or multiply small sinh result by itself.
35715         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35718 2012-07-11  David S. Miller  <davem@davemloft.net>
35720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35722 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
35724         [BZ #14347]
35725         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35726         (INTERNAL_MARK): Shift it here.
35728 2012-07-10  Marek Polacek  <polacek@redhat.com>
35730         [BZ #14151]
35731         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
35732         libc_cv_asm_global_directive with .globl.
35733         * configure: Regenerated.
35734         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35735         with .globl.
35736         * sysdeps/i386/configure: Regenerated.
35737         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35738         with .globl.
35739         * sysdeps/x86_64/configure: Regenerated.
35740         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35741         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35742         * elf/tst-unique2mod2.c: Likewise.
35743         * elf/tst-unique2mod1.c: Likewise.
35744         * elf/tst-unique1mod2.c: Likewise.
35745         * elf/tst-unique1mod1.c: Likewise.
35746         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35747         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35748         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35749         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35750         * sysdeps/mach/sysdep.h: Likewise.
35751         * sysdeps/i386/sysdep.h: Likewise.
35752         * sysdeps/i386/i386-mcount.S: Likewise.
35753         * sysdeps/x86_64/_mcount.S: Likewise.
35754         * sysdeps/x86_64/sysdep.h: Likewise.
35755         * sysdeps/sh/_mcount.S: Likewise.
35756         * sysdeps/sh/sysdep.h: Likewise.
35757         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35758         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35759         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35760         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35761         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35762         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35763         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35764         * locale/localeinfo.h: Likewise.
35765         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35766         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35768 2012-07-09  Roland McGrath  <roland@hack.frob.com>
35770         [BZ #14336]
35771         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35772         system".
35773         * manual/message.texi (The Uniforum approach): Likewise.
35774         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35775         (glibc iconv Implementation): Likewise.
35777 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
35779         [BZ #14337]
35780         * math/s_clog.c (__clog): Avoid scaling a value down where that
35781         could result in underflow.
35782         * math/s_clog10.c (__clog10): Likewise.
35783         * math/s_clog10f.c (__clog10f): Likewise.
35784         * math/s_clog10l.c (__clog10l): Likewise.
35785         * math/s_clogf.c (__clogf): Likewise.
35786         * math/s_clogl.c (__clogl): Likewise.
35787         * math/libm-test.inc (clog_test): Add more tests.
35788         (clog10_test): Likewise.
35789         * sysdeps/i386/fpu/libm-test-ulps: Update.
35790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35792 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
35794         [BZ #14283]
35795         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35796         by 7 not 8 to examine high bit of fractional part.
35798         [BZ #14042]
35799         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35800         for call to __mcount_internal.
35801         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35802         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35803         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35805 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35807         [BZ #14154]
35808         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35809         approximation for values within 0x1p-13f of an odd multiple of
35810         pi/4.
35811         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35812         exception.  Add more tests.
35813         * sysdeps/i386/fpu/libm-test-ulps: Update.
35815         [BZ #6778]
35816         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35817         inputs and return -1 for them.  Do not check for +Inf in case not
35818         reachable for +Inf.
35819         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35820         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35821         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35822         and return -1 for them.  Do not check for +Inf in case not
35823         reachable for +Inf.
35824         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35825         define.
35826         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35827         and return -1 for them.  Do not check for +Inf in case not
35828         reachable for +Inf.
35829         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35830         spurious underflow.
35831         * sysdeps/i386/fpu/libm-test-ulps: Update.
35832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35834 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35836         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35838 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35840         [BZ #14157]
35841         [BZ #14331]
35842         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35843         could result in spurious underflow.  Scale down values above
35844         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35845         * math/s_csqrtf.c (__csqrtf): Likewise.
35846         * math/s_csqrtl.c (__csqrtl): Likewise.
35847         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35848         spurious underflow.
35849         * sysdeps/i386/fpu/libm-test-ulps: Update.
35850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35852 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35854         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35855         xopen-msg.sed.
35856         * catgets/xopen-msg.awk: New file.
35857         * catgets/xopen-msg.sed: Removed.
35859         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35860         po2text.sed.
35861         * intl/po2test.awk: New file.
35862         * intl/po2test.sed: Removed.
35864 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35866         [BZ #14328]
35867         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35868         or multiply small sinh result by itself.
35869         * math/s_ctanf.c (__ctanf): Likewise.
35870         * math/s_ctanh.c (__ctanh): Likewise.
35871         * math/s_ctanhf.c (__ctanhf): Likewise.
35872         * math/s_ctanhl.c (__ctanhl): Likewise.
35873         * math/s_ctanl.c (__ctanl): Likewise.
35874         * math/libm-test.inc (ctan_test_tonearest): New function.
35875         (ctan_test_towardzero): Likewise.
35876         (ctan_test_downward): Likewise.
35877         (ctan_test_upward): Likewise.
35878         (ctanh_test_tonearest): Likewise.
35879         (ctanh_test_towardzero): Likewise.
35880         (ctanh_test_downward): Likewise.
35881         (ctanh_test_upward): Likewise.
35882         (main): Call these new functions.
35883         * sysdeps/i386/fpu/libm-test-ulps: Update.
35884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35886 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35888         * .gitignore: Delete /ports entry.
35890 2012-07-03  Andreas Jaeger  <aj@suse.de>
35892         * po/bg.po: Update from translation team.
35893         * po/cs.po: Likewise.
35894         * po/de.po: Likewise.
35895         * po/hr.po: Likewise.
35896         * po/nl.pl: Likewise.
35897         * po/pl.po: Likewise.
35898         * po/vi.po: Likewise.
35900 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35902         * Makeconfig [!+link] (+link-before-libc): New variable.
35903         [!+link] (+link-after-libc): Likewise.
35904         [!+link] (+link-tests): Likewise.
35905         [!+link] (+link): Define in terms of $(+link-before-libc) and
35906         $(+link-after-libc).
35907         [!+link-static] (+link-static-before-libc): New variable.
35908         [!+link-static] (+link-static-after-libc): Likewise.
35909         [!+link-static] (+link-static-tests): Likewise.
35910         [!+link-static] (+link-static): Define in terms of
35911         $(+link-static-before-libc) and $(+link-static-after-libc).
35912         [build-shared] (link-libc-before-gnulib): New variable.
35913         [build-shared] (link-libc-tests): Likewise.
35914         [build-shared] (link-libc): Define in terms of
35915         $(link-libc-before-gnulib).
35916         [!build-shared] (link-libc-tests): New variable.
35917         (link-libc-static-tests): New variable.
35918         [!gnulib] (gnulib-arch): New variable.
35919         [!gnulib] (gnulib-tests): Likewise.
35920         [!gnulib] (static-gnulib-arch): Likewise.
35921         [!gnulib] (static-gnulib-tests): Likewise.
35922         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35923         Define with "=" instead of ":=".
35924         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35925         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35926         * Rules (binaries-all-notests): New variable.
35927         (binaries-all-tests): Likewise.
35928         (binaries-static-notests): Likewise.
35929         (binaries-static-tests): Likewise.
35930         (binaries-all): Define using $(binaries-all-notests) and
35931         $(binaries-all-tests).
35932         (binaries-static): Define using $(binaries-static-notests) and
35933         $(binaries-static-tests).
35934         (binaries-shared-tests): New variable.
35935         (binaries-shared-notests): Likewise.
35936         (binaries-shared): Remove variable.
35937         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35938         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35939         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35940         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35941         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35942         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35943         * elf/Makefile (sln-modules): New variable.
35944         (extra-objs): Add $(sln-modules:=.o).
35945         (ldconfig-modules): Add static-stubs.
35946         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35947         * elf/static-stubs.c: New file.
35949         [BZ #14283]
35950         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35951         by 7 not 8 to examine high bit of fractional part.  Use volatile
35952         variables when splitting into final array of floats if
35953         __FLT_EVAL_METHOD__ != 0.
35954         * math/libm-test.inc (cos_test): Add another test.
35955         (sin_test): Likewise.
35956         * sysdeps/i386/fpu/libm-test-ulps: Update.
35958         [BZ #14273]
35959         * math/libm-test.inc (cosh_test): Add more tests.
35961         * version.h (RELEASE): Set to "development".
35962         (VERSION): Set to "2.16.90".
35964 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35966         * NEWS: Update copyright. Remove last-updated date.
35967         Mention math library bug fixes and timezone data changes.
35968         * README: Mention GNU/Hurd, x32, and HPPA support status.
35970 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35972         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35974 2012-06-27  Andreas Jaeger  <aj@suse.de>
35976         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35978 2012-06-25  Andreas Jaeger  <aj@suse.de>
35980         * sysdeps/s390/fpu/libm-test-ulps: Update.
35982 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35983             Thomas Schwinge  <thomas@codesourcery.com>
35985         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35986         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35987         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35988         fanotify_mark.
35990 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35992         * sysdeps/mach/start.c: Remove file.
35993         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35994         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35995         * sysdeps/sh/init-first.c: Likewise.
35997         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35998         registers for frame unwinding purposes, add CFI directives.
35999         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36000         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36001         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36002         Likewise.
36004         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36005         __fortify_fail returning.
36006         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36008         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36009         sysdeps/sh/____longjmp_chk.S.
36010         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36011         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36012         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36013         (gen-as-const-headers): Append sigaltstack-offsets.sym.
36015         * sysdeps/sh/abort-instr.h: New file.
36016         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36017         process in case exit returns.
36019         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36020         initialize the GOT register before use.
36022         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36023         calculation of ARGC > 4.
36025         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36026         meaningful names to some local labels.
36028 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36029             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36031         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36032         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36033         (__arch_compare_and_exchange_val_16_acq): Likewise.
36034         (__arch_compare_and_exchange_val_32_acq): Likewise.
36035         (atomic_exchange_and_add): Fix gUSA sequence.
36036         (atomic_add): Likewise.
36037         (atomic_add_negative): Likewise.
36038         (atomic_add_zero): Likewise.
36039         (atomic_bit_test_set): Likewise.
36041 2012-06-22  Andreas Schwab  <schwab@redhat.com>
36043         [BZ #13579]
36044         * include/link.h (struct link_map): Add l_free_initfini.
36045         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36046         l_initfini.
36047         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36048         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36049         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36050         set.
36052 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
36054         * configure.in: Use AC_LANG_SOURCE.
36055         * configure: Regenerate.
36057 2012-06-22  Roland McGrath  <roland@hack.frob.com>
36059         * configure.in (libc_cv_localstatedir): New substituted variable.
36060         * configure: Regenerated.
36061         * config.make.in (localstatedir): New variable, substituted from
36062         libc_cv_localstatedir.
36063         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36064         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36065         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36066         * sysdeps/gnu/configure: Regenerated.
36068 2012-06-21  Jeff Law  <law@redhat.com>
36070         [BZ #14277]
36071         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36072         free.  Simplify list management for _LIBC case.
36074 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
36076         [BZ #14273]
36077         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36078         Clear sign bit of 64-bit integer value before comparing against
36079         overflow value.
36081         * sysdeps/mach/configure: Regenerated.
36083 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
36085         [BZ #14278]
36086         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36088 2012-06-21  Jeff Law  <law@redhat.com>
36090         [BZ #13882]
36091         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36092         uint16_t for elements in the "seen" array to avoid char overflows.
36093         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36094         * elf/dl-open.c (dl_open_worker): Likewise.
36096 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
36098         * scripts/list-sources.sh: Scan PORTS for translations.
36099         * po/libc.pot: Regenerated.
36101 2012-06-21  Andreas Jaeger  <aj@suse.de>
36103         [BZ #12194]
36104         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36105         warning.
36106         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36107         * bits/byteswap-16.h (__bswap_16): Likewise.
36108         * bits/byteswap.h (__bswap_constant_16): Likewise.
36110 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
36112         [BZ #14117]
36113         * sysdeps/i386/fpu_control.h: Removed.
36114         * sysdeps/x86_64/fpu_control.h: Moved to ...
36115         * sysdeps/x86/fpu_control.h: Here.
36117         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36118         (_FPU_SETCW): Likewise.
36120 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
36122         [BZ #14117]
36123         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36124         * sysdeps/x86/fpu/bits/mathinline.h: This.
36125         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36127         [BZ #14050]
36128         [BZ #14117]
36129         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36130         functions if __x86_64__ is defined.
36132 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
36134         * string/endian.h: Add !__ASSEMBLER__ condition for including
36135         conversion interfaces.
36137 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
36139         [BZ #14241]
36140         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36141         of ABS(x) in calculating zero to negative powers other than odd
36142         integers.
36143         * math/libm-test.inc (pow_test): Add more tests.
36145 2012-06-15  Andreas Jaeger  <aj@suse.de>
36147         * manual/contrib.texi (Contributors): Update entry of Liubov
36148         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36149         Machado Filho.
36151 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
36153         * string/string.h: Add __wur to GNU version of strerror_r.
36155 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
36157         [BZ #14229]
36158         * string/Makefile (tests): Add tst-strtok_r.
36159         * string/tst-strtok_r.c: New file.
36160         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36161         RAX_LP/RDX_LP on SAVE_PTR.
36163 2012-06-14  Roland McGrath  <roland@hack.frob.com>
36165         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36167 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
36169         * libm_test.inc (csqrt_test): Allow more spurious underflow
36170         exceptions.
36171         (j0_test): Likewise.
36172         (j1_test): Likewise.
36173         (y0_test): Likewise.
36174         (y1_test): Likewise.
36176 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
36178         * po/Makefile (libc.pot): Use UTF-8 charset.
36180 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
36182         [BZ #14210]
36183         Suppress sign-conversion warning from FD_SET.
36184         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36185         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36186         not unsigned long int.
36187         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36189 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36191         [BZ #14050]
36192         [BZ #14117]
36193         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36194         __extern_always_inline instead of __extern_inline.
36195         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36196         (__signbit): Likewise.
36197         (__signbitl): Support C++ namespace.
36198         (lrintf): New inline function.
36199         (lrint): Likewise.
36200         (llrintf): Likewise.
36201         (llrint): Likewise.
36202         (fmaxf): Likewise.
36203         (fmax): Likewise.
36204         (fminf): Likewise.
36205         (fmin): Likewise.
36206         (rint): Likewise.
36207         (rintf): Likewise.
36208         (ceil): Likewise.
36209         (ceilf): Likewise.
36210         (floor): Likewise.
36211         (floorf): Likewise.
36212         (nearbyint): Likewise.
36213         (nearbyintf): Likewise.
36215 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36217         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36218         non-default versions.
36220 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36222         [BZ #14218]
36223         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36225 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36227         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36228         (FE_UPWARD, FE_DOWNWARD): Don't define.
36229         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36230         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36232         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36233         reading it.
36234         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36235         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36237 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36239         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36240         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36241         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36242         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36244 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36246         [BZ #14117]
36247         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36248         * sysdeps/i386/fpu/Implies: New file.
36249         * sysdeps/x86_64/fpu/Implies: Likewise.
36250         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36251         * sysdeps/x86/fpu/bits/fenv.h: This.
36253         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36254         __SSE_MATH__.
36256 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36258         [BZ #14134]
36259         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36260         character 0xffff that matches the last element of the
36261         conversion table.
36263 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36265         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36266         fmodl commit.
36268 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36270         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36271         values higher than 25.6283.
36273 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36275         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36276         subnormal exponent extraction and add some __builtin_expect.
36277         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36278         Fix for subnormal mantissa calculation.
36280 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36282         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36283         cpu2 is -1 and errno is not ENOSYS.
36285 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36287         [BZ #14117]
36288         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36289         * sysdeps/x86/bits/string.h: This.
36290         * sysdeps/x86_64/bits/string.h: Removed.
36292         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36293         if not compiling for x86-64, but compiling for >= i486.
36295         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36296         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36298         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36299         New macro from Linux kernel 3.4.0.
36300         (FP_XSTATE_MAGIC2): Likewise.
36301         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36302         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36303         (struct _fpx_sw_bytes): New struct.
36304         (struct _xsave_hdr): Likewise.
36305         (struct _ymmh_state): Likewise.
36306         (struct _xstate): Likewise.
36308         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36309         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36310         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36311         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36312         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36313         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36315         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36316         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36317         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36318         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36319         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36320         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36322 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36324         [BZ #13743]
36325         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36326         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36327         (sysdep_headers): Include sys/platform/ppc.h.
36328         * sysdeps/powerpc/test-gettimebase.c: Test for
36329         __ppc_get_timebase() to catch future ISA opcode/insn changes.
36330         * manual/Makefile (appendices): Include platform.texi.
36331         * manual/contrib.texi (Contributors): Update @node pointers.
36332         * manual/maint.texi (Maintenance): Likewise.
36333         (Platform): New node.
36334         * manual/platform.texi: New file.  Document the new features.
36336 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36337             Jakub Jelinek  <jakub@redhat.com>
36339         [BZ #14188]
36340         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36341         where __builtin_expect is unavailable.
36343 2012-06-03  David S. Miller  <davem@davemloft.net>
36345         * stdlib/longlong.h: Updated from GCC.
36347 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
36349         [BZ #14042]
36350         * sysdeps/powerpc/powerpc32/mcount.c: New file.
36351         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36352         __mcount_internal.
36353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36354         (GLIBC_2.16): Likewise.
36356 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36358         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36360 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36363         (default-abi): New variable.
36364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36365         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36366         variable.
36367         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36368         Likewise.
36369         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36370         Likewise.
36371         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36372         Likewise.
36374         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36375         definition.  Document in comment.
36377 2012-06-01  David S. Miller  <davem@davemloft.net>
36379         * stdlib/longlong.h: Updated from GCC.
36381 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36383         [BZ #14117]
36384         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36385         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36386         sys/debugreg.h sys/io.h here.
36387         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36388         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36389         sys/io.h.
36390         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36391         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36392         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36393         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36394         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36395         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36397         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36398         Define only if __x86_64__ is defined.
36400 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36402         [BZ #14048]
36403         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36404         Use int64_t for variable i.
36405         * math/libm-test.inc (fmod_test): Add more tests.
36407         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36408         z computation is not scheduled after fetestexcept.
36409         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36410         Use math_force_eval instead of asm to ensure calculation scheduled
36411         before exception test.
36412         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36413         Ensure a1 + u.d computation is not scheduled after fetestexcept.
36415 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
36417         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36418         computation is not scheduled after fetestexcept.
36420 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36422         [BZ #14117]
36423         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36424         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36426 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36428         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36429         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36431 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36433         [BZ #14117]
36434         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36435         <bits/wordsize.h>.
36436         (__WCHAR_MIN): Support __WORDSIZE == 64.
36437         (__WCHAR_MAX): Likewise.
36439         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36440         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36442         [BZ #14183]
36443         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36444         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36446         [BZ #14117]
36447         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36448         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36450         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36451         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36453         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36454         Defined to 1 if __x86_64__ isn't defined.
36455         (_STAT_VER_LINUX_OLD): New.
36456         (st_atime): Remove duplicate.
36457         (st_mtime): Likewise.
36458         (st_ctime): Likewise.
36460 2012-05-31  David S. Miller  <davem@davemloft.net>
36462         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36463         entries.
36465 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
36467         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36468         gen-libm-test.pl.
36470         [BZ #14132]
36471         * elf/dl-reloc.c: Include <_itoa.h>.
36472         (_dl_reloc_bad_type): Remove use of INTUSE.
36473         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36474         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36475         * stdio-common/psiginfo.c (psiginfo): Likewise.
36476         * stdio-common/psignal.c (psignal): Likewise.
36477         * string/strsignal.c (strsignal): Likewise.
36478         * include/signal.h (_sys_siglist): Declare hidden proto.
36479         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
36480         INTVARDEF with libc_hidden_data_def.
36481         * stdio-common/itoa-udigits.c: Likewise.
36482         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36483         (_itoa_lower_digits_internal): Remove declaration.
36484         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36485         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36486         (_sys_sigabbrev_internal): Remove aliases.
36487         (_sys_siglist): Define hidden alias.
36489 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
36491         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36492         bits/sysctl.h.
36494 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36496         [BZ #14117]
36497         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36498         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36500         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36501         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36502         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36503         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36504         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36505         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36507         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36508         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36509         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36511         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36512         with __addr.
36513         (insw): Likewise.
36514         (insl): Likewise.
36515         (outsb): Likewise.
36516         (outsw): Likewise.
36517         (outsl): Likewise.
36519         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36520         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36521         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36523         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36524         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36525         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36526         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36527         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36528         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36530         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36531         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36533         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36534         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36536         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36537         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36538         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36540         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36541         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36542         to ...
36543         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36545         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36546         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36547         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36549         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36550         for x86-64.
36551         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36553 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
36555         * math/math.h (M_El): Use two more decimal places.
36556         (M_LOG2El): Likewise.
36557         (M_LOG10El): Likewise.
36558         (M_LN2l): Likewise.
36559         (M_LN10l): Likewise.
36560         (M_PIl): Likewise.
36561         (M_PI_2l): Likewise.
36562         (M_PI_4l): Likewise.
36563         (M_1_PIl): Likewise.
36564         (M_2_PIl): Likewise.
36565         (M_2_SQRTPIl): Likewise.
36566         (M_SQRT2l): Likewise.
36567         (M_SQRT1_2l): Likewise.
36569 2012-05-31  David S. Miller  <davem@davemloft.net>
36571         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36572         values between float registers.
36573         * sysdeps/sparc/sparc64/memset.S: Likewise.
36574         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36576 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
36578         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36579         -D_FORTIFY_SOURCE=1.
36580         (CPPFLAGS-tst-longjmp_chk.c): Define.
36581         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36582         (CPPFLAGS-tst-longjmp_chk2.c): Define.
36583         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36584         CFLAGS-tst-wchar-h.c.
36586 2012-05-31  Marek Polacek  <polacek@redhat.com>
36588         [BZ #14132]
36589         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36590         __endmntent_internal): Remove declaration.
36591         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36592         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36593         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36595 2012-05-30  David S. Miller  <davem@davemloft.net>
36597         * sysdeps/sparc/sparc32/soft-fp/q_util.c
36598         (___Q_simulate_exceptions): Use real FP ops rather than writing
36599         into the %fsr.
36600         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36601         Likewise.
36603 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36605         [BZ #14117]
36606         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36607         * sysdeps/x86/bits/xtitypes.h: This.
36609         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36610         * sysdeps/x86/bits/wordsize.h: This.
36612         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36613         * sysdeps/x86/bits/huge_vall.h: This.
36615         * sysdeps/i386/bits/select.h: Removed.
36616         * sysdeps/x86_64/bits/select.h: Renamed to ...
36617         * sysdeps/x86/bits/select.h: This.
36619         * sysdeps/i386/bits/setjmp.h: Removed.
36620         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36621         * sysdeps/x86/bits/setjmp.h: This.
36623         * sysdeps/i386/bits/mathdef.h: Removed.
36624         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36625         * sysdeps/x86/bits/mathdef.h: This.
36627 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
36629         [BZ #14132]
36630         * include/sys/socket.h (__connect_internal)
36631         (__libc_sa_len_internal): Remove declaration.
36632         (__connect, __libc_sa_len): Declare hidden_proto.
36633         (SA_LEN): Remove use of INTUSE.
36634         * socket/connect.c: Add libc_hidden_def.
36635         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36636         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36637         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36638         alias.
36639         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36640         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36641         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36642         of adding _internal alias.
36644 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36646         [BZ #14117]
36647         * sysdeps/i386/bits/link.h: Removed.
36648         * sysdeps/i386/bits/linkmap.h: Likewise.
36649         * sysdeps/x86_64/bits/link.h: Renamed to ...
36650         * sysdeps/x86/bits/link.h: This.
36651         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36652         * sysdeps/x86/bits/linkmap.h: This.
36654         * sysdeps/i386/bits/endian.h: Removed.
36655         * sysdeps/x86_64/bits/endian.h: Renamed to ...
36656         * sysdeps/x86/bits/endian.h: This.
36658         * sysdeps/i386/bits/byteswap.h: Removed.
36659         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36660         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36661         * sysdeps/x86/bits/byteswap.h: This.
36662         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36663         * sysdeps/x86/bits/byteswap-16.h: This.
36664         * sysdeps/i386/Implies: Add x86.
36665         * sysdeps/x86_64/Implies: Likewise.
36667 2012-05-30  David S. Miller  <davem@davemloft.net>
36669         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36670         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36671         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36672         (FP_TRAPPING_EXCEPTIONS): Define.
36673         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36674         (FP_TRAPPING_EXCEPTIONS): Define.
36675         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36676         subnormals only when inexact has been signalled or underflow
36677         exceptions are enabled.
36678         (_FP_PACK_CANONICAL): Likewise.
36680 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36682         [BZ #14183]
36683         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36684         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36686 2012-05-30  Richard Henderson  <rth@twiddle.net>
36688         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36689         with #ifndef NOT_IN_libc.
36691         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
36692         marked to avoid plt entry.
36694 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36696         [BZ #14112]
36697         * Makeconfig (default-abi): New macro.
36698         (abi-includes): Likewise.
36699         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
36700         $(abi-$(default-abi)-lib-soname) for soname if defined.
36701         ($(common-objpfx)gnu/lib-names.stmp): Generate from
36702         abi-variants.
36703         * Makefile (installed-stubs): Likewise.
36704         * include/stubs-biarch.h: Removed.
36705         * scripts/lib-names.awk: Only handle one library at a time.
36706         * scripts/soversions.awk: Remove WORDSIZE support.
36707         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36708         entries.
36709         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36710         Removed.
36711         (syscall-list-default-condition): Likewise.
36712         (syscall-list-default-condition): Likewise.
36713         (syscall-list-includes): Likewise.
36714         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36715         syscall-list-* with abi-*.  Handle undefined abi-variants.
36716         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36717         * sysdeps/unix/sysv/linux/i386/Implies: New file.
36718         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36719         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36720         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36721         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36722         Removed.
36723         (syscall-list-32-options): Likewise.
36724         (syscall-list-32-condition): Likewise.
36725         (syscall-list-64-options): Likewise.
36726         (syscall-list-64-condition): Likewise.
36727         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36728         macro.
36729         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36730         Renamed to ...
36731         (abi-*): This.
36732         (abi-64-ld-soname): New macro.
36733         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36734         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36735         Renamed to ...
36736         (abi-*): This.
36737         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36738         * sysdeps/x86_64/x32/shlib-versions: Likewise.
36740 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
36742         * sysdeps/unix/sysv/linux/kernel-features.h
36743         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36744         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36745         include <kernel-features.h>.
36746         [!__NR_ftruncate64]: Remove conditional code.
36747         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36748         [__NR_ftruncate64]: Make code unconditional.
36749         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36750         * sysdeps/unix/sysv/linux/truncate64.c: Do not
36751         include <kernel-features.h>.
36752         [!__NR_ftruncate64]: Remove conditional code.
36753         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36754         [__NR_ftruncate64]: Make code unconditional.
36755         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36757         include <kernel-features.h>.
36758         [!__NR_ftruncate64]: Remove conditional code.
36759         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36760         [__NR_ftruncate64]: Make code unconditional.
36761         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36763         include <kernel-features.h>.
36764         [!__NR_ftruncate64]: Remove conditional code.
36765         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36766         [__NR_ftruncate64]: Make code unconditional.
36767         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36769         * configure.in (libc_cv_fpie): Weaken to a compile test using
36770         LIBC_TRY_CC_OPTION.
36771         * configure: Regenerated.
36773 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36779         Refreshed.
36780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36786         Refreshed.
36788 2012-05-27  David S. Miller  <davem@davemloft.net>
36790         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36791         (___Q_zero): New.
36792         (__Q_simulate_exceptions): Return void.  Change to simulate
36793         exceptions by writing into the %fsr.
36794         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36795         (__Qp_handle_exceptions): Likewise.
36796         (numbers): Delete.
36797         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36798         __Qp_handle_exceptions.
36799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36800         __Qp_handle_exceptions.
36801         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36802         as unused and give dummy FP_RND_NEAREST initializer.
36803         (FP_INHIBIT_RESULTS): Define.
36804         (___Q_simulate_exceptions): Update declaration.
36805         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36806         formatting.
36807         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36808         as unused and give dummy FP_RND_NEAREST initializer.
36809         (__Qp_handle_exceptions): Update declaration.
36810         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36811         formatting.
36813 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36815         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36816         the temporary FPU control word.
36817         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36818         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36819         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36820         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36821         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36822         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36823         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36824         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36825         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36826         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36827         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36829 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36831         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36832         fields.
36834 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36836         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36837         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36838         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36839         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36840         Likewise.
36841         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36842         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36843         Likewise.
36845 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36847         * po/h.po: Update from translation team.
36849 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36851         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36853         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36854         handling of denormals.
36855         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36856         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36857         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36858         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36859         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36860         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36861         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36862         Likewise.
36864 2012-05-26  Marek Polacek  <polacek@redhat.com>
36866         [BZ #14152]
36867         * math/libm-test.inc (fma_test): Don't always expect underflow
36868         exception.
36870 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36872         [BZ #12416]
36873         * elf/tst-execstack.c: Include stackinfo.h.
36874         (do_test): Adjust test case to ensure that pthread_getattr_np
36875         behaviour remains the same after marking stack executable.
36877 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36879         * sysdeps/unix/sysv/linux/kernel-features.h
36880         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36881         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36882         kernel-features.h.
36883         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36884         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36885         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36886         kernel-features.h.
36887         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36888         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36890 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36892         * configure.in: Define the default includes to being none.
36893         * configure: Regenerated.
36895 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36897         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36898         * sysdeps/x86_64/setjmp.S: Likewise.
36899         * sysdeps/i386/bsd-setjmp.S: Likewise.
36900         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36901         * sysdeps/i386/setjmp.S: Likewise.
36902         * sysdeps/i386/__longjmp.S: Likewise.
36903         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36904         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36906         * include/stap-probe.h: New file.
36907         * configure.in: Handle --enable-systemtap.
36908         * configure: Regenerated.
36909         * config.h.in (USE_STAP_PROBE): New #undef.
36910         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36911         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36912         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36914 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36916         [BZ #13717]
36917         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36918         to 2.4.0 where earlier.
36919         * sysdeps/unix/sysv/linux/configure: Regenerated.
36920         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36921         <kernel-features.h>.
36922         [__ASSUME_32BITUIDS]: Make code unconditional.
36923         [!__ASSUME_32BITUIDS]: Remove conditional code.
36924         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36925         <kernel-features.h>.
36926         [__ASSUME_32BITUIDS]: Make code unconditional.
36927         [!__ASSUME_32BITUIDS]: Remove conditional code.
36928         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36929         [__ASSUME_32BITUIDS]: Make code unconditional.
36930         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36931         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36932         <kernel-features.h>.
36933         [__ASSUME_32BITUIDS]: Make code unconditional.
36934         [!__ASSUME_32BITUIDS]: Remove conditional code.
36935         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36936         <kernel-features.h>.
36937         [__ASSUME_32BITUIDS]: Make code unconditional.
36938         [!__ASSUME_32BITUIDS]: Remove conditional code.
36939         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36940         <kernel-features.h>.
36941         [__ASSUME_32BITUIDS]: Make code unconditional.
36942         [!__ASSUME_32BITUIDS]: Remove conditional code.
36943         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36944         <kernel-features.h>.
36945         [__ASSUME_32BITUIDS]: Make code unconditional.
36946         [!__ASSUME_32BITUIDS]: Remove conditional code.
36947         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36948         <kernel-features.h>.
36949         [__ASSUME_32BITUIDS]: Make code unconditional.
36950         [!__ASSUME_32BITUIDS]: Remove conditional code.
36951         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36952         <kernel-features.h>.
36953         [__ASSUME_32BITUIDS]: Make code unconditional.
36954         [!__ASSUME_32BITUIDS]: Remove conditional code.
36955         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36956         <kernel-features.h>.
36957         [__ASSUME_32BITUIDS]: Make code unconditional.
36958         [!__ASSUME_32BITUIDS]: Remove conditional code.
36959         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36960         <kernel-features.h>.
36961         [__ASSUME_32BITUIDS]: Make code unconditional.
36962         [!__ASSUME_32BITUIDS]: Remove conditional code.
36963         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36964         <kernel-features.h>.
36965         [__ASSUME_32BITUIDS]: Make code unconditional.
36966         [!__ASSUME_32BITUIDS]: Remove conditional code.
36967         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36968         <kernel-features.h>.
36969         [__ASSUME_32BITUIDS]: Make code unconditional.
36970         [!__ASSUME_32BITUIDS]: Remove conditional code.
36971         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36972         <kernel-features.h>.
36973         [__NR_setresgid] (__setresgid): Do not declare.
36974         [__ASSUME_32BITUIDS]: Make code unconditional.
36975         [!__ASSUME_32BITUIDS]: Remove conditional code.
36976         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36977         <kernel-features.h>.
36978         [__NR_setresuid] (__setresuid): Do not declare.
36979         [__ASSUME_32BITUIDS]: Make code unconditional.
36980         [!__ASSUME_32BITUIDS]: Remove conditional code.
36981         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36982         <kernel-features.h>.
36983         [__ASSUME_32BITUIDS]: Make code unconditional.
36984         [!__ASSUME_32BITUIDS]: Remove conditional code.
36985         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36986         <kernel-features.h>.
36987         [__ASSUME_32BITUIDS]: Make code unconditional.
36988         [!__ASSUME_32BITUIDS]: Remove conditional code.
36989         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36990         <kernel-features.h>.
36991         [__ASSUME_32BITUIDS]: Make code unconditional.
36992         [!__ASSUME_32BITUIDS]: Remove conditional code.
36993         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36994         <kernel-features.h>.
36995         [__ASSUME_32BITUIDS]: Make code unconditional.
36996         [!__ASSUME_32BITUIDS]: Remove conditional code.
36997         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36998         <kernel-features.h>.
36999         [__ASSUME_32BITUIDS]: Make code unconditional.
37000         [!__ASSUME_32BITUIDS]: Remove conditional code.
37001         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37002         <kernel-features.h>.
37003         [__ASSUME_32BITUIDS]: Make code unconditional.
37004         [!__ASSUME_32BITUIDS]: Remove conditional code.
37005         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37006         <kernel-features.h>.
37007         [__ASSUME_32BITUIDS]: Make code unconditional.
37008         [!__ASSUME_32BITUIDS]: Remove conditional code.
37009         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37010         <kernel-features.h>.
37011         [__ASSUME_32BITUIDS]: Make code unconditional.
37012         [!__ASSUME_32BITUIDS]: Remove conditional code.
37013         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37014         <kernel-features.h>.
37015         [__ASSUME_32BITUIDS]: Make code unconditional.
37016         [!__ASSUME_32BITUIDS]: Remove conditional code.
37017         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37018         <kernel-features.h>.
37019         [__ASSUME_32BITUIDS]: Make code unconditional.
37020         [!__ASSUME_32BITUIDS]: Remove conditional code.
37021         * sysdeps/unix/sysv/linux/kernel-features.h
37022         (__ASSUME_SETRESUID_SYSCALL): Remove.
37023         (__ASSUME_SETRESGID_SYSCALL): Likewise.
37024         (__ASSUME_32BITUIDS): Likewise.
37025         (__ASSUME_LDT_WORKS): Likewise.
37026         (__ASSUME_O_DIRECTORY): Likewise.
37027         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37028         architecture but not kernel version.
37029         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37030         (__ASSUME_MMAP2_SYSCALL): Likewise.
37031         (__ASSUME_STAT64_SYSCALL): Likewise.
37032         (__ASSUME_IPC64): Likewise.
37033         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37034         <kernel-features.h>.
37035         [__ASSUME_32BITUIDS]: Make code unconditional.
37036         [!__ASSUME_32BITUIDS]: Remove conditional code.
37037         * sysdeps/unix/sysv/linux/opendir.c: Do not include
37038         <kernel-features.h>.
37039         [__ASSUME_O_DIRECTORY]: Make code unconditional.
37040         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37041         132096]: Remove conditional code.
37042         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37043         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37044         <kernel-features.h>.
37045         [__ASSUME_32BITUIDS]: Make code unconditional.
37046         [!__ASSUME_32BITUIDS]: Remove conditional code.
37047         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37048         <kernel-features.h>.
37049         [__ASSUME_32BITUIDS]: Make code unconditional.
37050         [!__ASSUME_32BITUIDS]: Remove conditional code.
37051         * sysdeps/unix/sysv/linux/setegid.c: Do not include
37052         <kernel-features.h>.
37053         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37054         unconditional.
37055         (__setresgid): Do not declare.
37056         [__ASSUME_32BITUIDS]: Make code unconditional.
37057         [!__ASSUME_32BITUIDS]: Remove conditional code.
37058         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37059         <kernel-features.h>.
37060         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37061         unconditional.
37062         (__setresuid): Do not declare.
37063         [__ASSUME_32BITUIDS]: Make code unconditional.
37064         [!__ASSUME_32BITUIDS]: Remove conditional code.
37065         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37066         <kernel-features.h>.
37067         [__ASSUME_32BITUIDS]: Make code unconditional.
37068         [!__ASSUME_32BITUIDS]: Remove conditional code.
37069         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37070         <kernel-features.h>.
37071         [__ASSUME_32BITUIDS]: Make code unconditional.
37072         [!__ASSUME_32BITUIDS]: Remove conditional code.
37074 2012-05-25  Richard Henderson  <rth@twiddle.net>
37076         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37077         dl_hwcap to ifunc resolver.
37078         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37079         elf_ifunc_invoke.
37080         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37081         dl_hwcap to ifunc resolver.
37082         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37084 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37086         [BZ #14153]
37087         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37088         for |x| <= 2**-26, not 2**-57.
37089         * math/libm-test.inc (acos_test): Do not allow spurious underflow
37090         exception.
37092 2012-05-24  Jeff Law  <law@redhat.com>
37094         * stdio-common/Makefile (tests): Add bug25.
37095         * stdio-common/bug25.c: New test.
37097 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37099         [BZ #13576]
37100         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37101         multiple of MALLOC_ALIGNMENT in size.
37102         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37104 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37106         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37107         Require >= 256.
37108         (FILENAME_MAX): Use macro-int-constant.
37109         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
37110         (_IOFBF): Use macro-int-constant.
37111         (_IOLBF): Likewise.
37112         (_IONBF): Likewise.
37113         (SEEK_CUR): Likewise.
37114         (SEEK_END): Likewise.
37115         (SEEK_SET): Likewise.
37116         (TMP_MAX): Likewise.
37117         (EOF): Use macro-int-constant.  Require < 0.
37118         (NULL): Use macro-constant.  Require == 0.
37119         (stdin): Require type to be FILE *.
37120         (stdout): Likewise.
37121         (stderr): Likewise.
37122         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37123         macro-int-constant.
37124         (EXIT_SUCCESS): Likewise.
37125         (NULL): Use macro-constant.  Require == 0.
37126         (RAND_MAX): Use macro-int-constant.
37127         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37128         [C99-based standards] (strtof): Require function.
37129         [C99-based standards] (strtold): Likewise.
37130         [C99-based standards] (strtoll): Likewise.
37131         [C99-based standards] (strtoull): Likewise.
37132         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37133         [ISO || ISO99 || ISO11] (limits.h): Likewise.
37134         [ISO || ISO99 || ISO11] (math.h): Likewise.
37135         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37136         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37139 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
37141         [BZ #14132]
37142         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37143         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37144         * intl/dgettext.c (DCGETTEXT): Likewise.
37145         * intl/gettext.c (DCGETTEXT): Likewise.
37146         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37147         * posix/regex_internal.h (gettext): Likewise.
37148         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37149         Remove declaration.
37150         * include/argz.h (__argz_count_internal)
37151         (__argz_stringify_internal): Remove declaration.
37152         (__argz_count, __argz_stringify): Declare hidden proto.
37153         * intl/dcgettext.c: Remove use of INTDEF.
37154         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37155         * string/argz-stringify.c: Likewise.
37156         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37157         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37158         Declare hidden proto.
37159         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37160         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37161         Declare hidden proto.
37162         * include/stdio.h (__asprintf_internal): Don't declare.
37163         (__asprintf): Don't define as macro.  Declare hidden proto.
37164         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37165         (__fsetlocking): Declare hidden proto.
37166         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37167         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37168         hidden proto.
37169         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37170         (_IO_setlinebuf): Remove use of INTUSE.
37171         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37172         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37173         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37174         Remove declaration.
37175         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37176         (_IO_do_flush): Remove use of INTUSE.
37177         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37178         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37179         (_IO_adjust_column, _IO_least_wmarker)
37180         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37181         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37182         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37183         (_IO_default_doallocate, _IO_wdefault_doallocate)
37184         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37185         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37186         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37187         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37188         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37189         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37190         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37191         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37192         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37193         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37194         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37195         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37196         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37197         proto.
37198         (_IO_flush_all_internal, _IO_adjust_column_internal)
37199         (_IO_default_uflow_internal, _IO_default_finish_internal)
37200         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37201         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37202         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37203         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37204         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37205         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37206         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37207         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37208         (_IO_file_close_internal, _IO_file_close_it_internal)
37209         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37210         (_IO_file_init_internal, _IO_file_attach_internal)
37211         (_IO_file_fopen_internal, _IO_file_read_internal)
37212         (_IO_file_sync_internal, _IO_file_seek_internal)
37213         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37214         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37215         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37216         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37217         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37218         (_IO_list_all_internal, _IO_link_in_internal)
37219         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37220         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37221         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37222         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37223         (_IO_do_write_internal, _IO_padn_internal)
37224         (_IO_getline_info_internal, _IO_getline_internal)
37225         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37226         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37227         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37228         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37229         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37230         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37231         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37232         with libc_hidden_ver, remove use of INTUSE.
37233         * libio/genops.c: Likewise.
37234         * libio/freopen.c: Likewise.
37235         * libio/freopen64.c: Likewise.
37236         * libio/iofclose.c: Likewise.
37237         * libio/iofdopen.c: Likewise.
37238         * libio/iofflush.c: Likewise.
37239         * libio/iofflush_u.c: Likewise.
37240         * libio/iofgets.c: Likewise.
37241         * libio/iofgets_u.c: Likewise.
37242         * libio/iofopen.c: Likewise.
37243         * libio/iofopncook.c: Likewise.
37244         * libio/iofread.c: Likewise.
37245         * libio/iofread_u.c: Likewise.
37246         * libio/ioftell.c: Likewise.
37247         * libio/iofwrite.c: Likewise.
37248         * libio/iogetline.c: Likewise.
37249         * libio/iogets.c: Likewise.
37250         * libio/iogetwline.c: Likewise.
37251         * libio/iopadn.c: Likewise.
37252         * libio/iopopen.c: Likewise.
37253         * libio/ioseekoff.c: Likewise.
37254         * libio/ioseekpos.c: Likewise.
37255         * libio/iosetbuffer.c: Likewise.
37256         * libio/iosetvbuf.c: Likewise.
37257         * libio/ioungetc.c: Likewise.
37258         * libio/ioungetwc.c: Likewise.
37259         * libio/iovdprintf.c: Likewise.
37260         * libio/iovsprintf.c: Likewise.
37261         * libio/iovsscanf.c: Likewise.
37262         * libio/memstream.c: Likewise.
37263         * libio/obprintf.c: Likewise.
37264         * libio/oldfileops.c: Likewise.
37265         * libio/oldiofclose.c: Likewise.
37266         * libio/oldiofdopen.c: Likewise.
37267         * libio/oldiofopen.c: Likewise.
37268         * libio/oldiopopen.c: Likewise.
37269         * libio/oldstdfiles.c: Likewise.
37270         * libio/putc.c: Likewise.
37271         * libio/setbuf.c: Likewise.
37272         * libio/setlinebuf.c: Likewise.
37273         * libio/stdfiles.c: Likewise.
37274         * libio/strops.c: Likewise.
37275         * libio/vasprintf.c: Likewise.
37276         * libio/vscanf.c: Likewise.
37277         * libio/vsnprintf.c: Likewise.
37278         * libio/vswprintf.c: Likewise.
37279         * libio/wfiledoalloc.c: Likewise.
37280         * libio/wfileops.c: Likewise.
37281         * libio/wgenops.c: Likewise.
37282         * libio/wmemstream.c: Likewise.
37283         * libio/wstrops.c: Likewise.
37284         * libio/__fpurge.c: Likewise.
37285         * libio/__fsetlocking.c: Likewise.
37286         * assert/assert.c: Likewise.
37287         * debug/fgets_chk.c: Likewise.
37288         * debug/fgets_u_chk.c: Likewise.
37289         * debug/fread_chk.c: Likewise.
37290         * debug/fread_u_chk.c: Likewise.
37291         * debug/gets_chk.c: Likewise.
37292         * debug/obprintf_chk.c: Likewise.
37293         * debug/vasprintf_chk.c: Likewise.
37294         * debug/vdprintf_chk.c: Likewise.
37295         * debug/vsnprintf_chk.c: Likewise.
37296         * debug/vsprintf_chk.c: Likewise.
37297         * malloc/mtrace.c: Likewise.
37298         * misc/error.c: Likewise.
37299         * misc/syslog.c: Likewise.
37300         * stdio-common/asprintf.c: Likewise.
37301         * stdio-common/fxprintf.c: Likewise.
37302         * stdio-common/getw.c: Likewise.
37303         * stdio-common/isoc99_fscanf.c: Likewise.
37304         * stdio-common/isoc99_scanf.c: Likewise.
37305         * stdio-common/isoc99_vfscanf.c: Likewise.
37306         * stdio-common/isoc99_vscanf.c: Likewise.
37307         * stdio-common/isoc99_vsscanf.c: Likewise.
37308         * stdio-common/printf-prs.c: Likewise.
37309         * stdio-common/printf_fp.c: Likewise.
37310         * stdio-common/printf_fphex.c: Likewise.
37311         * stdio-common/printf_size.c: Likewise.
37312         * stdio-common/putw.c: Likewise.
37313         * stdio-common/scanf.c: Likewise.
37314         * stdio-common/sprintf.c: Likewise.
37315         * stdio-common/tmpfile.c: Likewise.
37316         * stdio-common/vfprintf.c: Likewise.
37317         * stdio-common/vfscanf.c: Likewise.
37318         * stdlib/strfmon_l.c: Likewise.
37319         * sunrpc/openchild.c: Likewise.
37320         * sunrpc/xdr_stdio.c: Likewise.
37321         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37322         * sysdeps/mach/hurd/tmpfile.c: Likewise.
37324 2012-05-24  Roland McGrath  <roland@hack.frob.com>
37326         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37328         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37329         in the third column, to generate for the shared library an IFUNC
37330         that uses _dl_vdso_vsym.
37331         * Makerules (COMPILE.c, compile-stdin.c): New variables.
37332         * Makeconfig (object-suffixes-noshared): New variable.
37334         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37335         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37336         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37337         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37339         [BZ #14132]
37340         * include/sys/time.h (__gettimeofday): Remove macro.
37341         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37342         * time/gettimeofday.c (__gettimeofday): Remove #undef.
37343         Remove INTDEF.
37344         (__gettimeofday): Add libc_hidden_def.
37345         (gettimeofday): Add libc_hidden_weak.
37346         * sysdeps/mach/gettimeofday.c: Likewise.
37347         * sysdeps/posix/gettimeofday.c: Likewise.
37348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37349         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37351         (__gettimeofday_internal): Remove strong_alias.
37352         (__gettimeofday): Add libc_hidden_def.
37353         (gettimeofday): Add libc_hidden_weak.
37354         * sysdeps/unix/syscalls.list (gettimeofday):
37355         Remove __gettimeofday_internal alias.
37357 2012-05-24  Daniel Jacobowitz  <drow@false.org>
37358             H.J. Lu  <hongjiu.lu@intel.com>
37360         [BZ #12495]
37361         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37362         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37363         (largebin_index_32_big): New.
37364         (largebin_index): Use it for 16-byte alignment.
37365         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
37366         correction with front_misalign.
37368 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37372         Likewise.
37373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37374         Likewise.
37375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37376         Likewise.
37377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37378         Likewise.
37379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37380         Likewise.
37381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37382         Likewise.
37383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37384         Likewise.
37385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37386         Likewise.
37387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37388         Likewise.
37389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37390         Likewise.
37391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37392         Likewise.
37393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37394         Likewise.
37396         * scripts/data/c++-types-x32-linux-gnu.data: New file.
37397         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37399 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37401         [BZ #10846]
37402         [BZ #14036]
37403         * math/libm-test.inc (exp_test): Add test from bug 14036.
37404         (pow_test): Add test from bug 10846.
37406         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37407         and other flags.
37408         (special_function): Do not include flags in test name.
37409         (parse_args): Likewise.
37410         * sysdeps/i386/fpu/libm-test-ulps: Update.
37411         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37412         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37413         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37416         * math/gen-libm-test.pl (%beautify): Add entries for underflow
37417         exceptions.
37418         * math/libm-test.inc ("Philosophy"): Update comment about
37419         exception testing.
37420         (UNDERFLOW_EXCEPTION): New macro.
37421         (UNDERFLOW_EXCEPTION_OK): Likewise.
37422         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37423         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37424         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37425         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37426         (INVALID_EXCEPTION_OK): Update value.
37427         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37428         (OVERFLOW_EXCEPTION_OK): Likewise.
37429         (IGNORE_ZERO_INF_SIGN): Likewise.
37430         (test_exceptions): Handle underflow exceptions.
37431         (acos_test): Update for underflow exception expectations.
37432         (cexp_test): Likewise.
37433         (clog_test): Likewise.
37434         (clog10_test): Likewise.
37435         (csqrt_test): Likewise.
37436         (ctan_test): Likewise.
37437         (ctanh_test): Likewise.
37438         (exp_test): Likewise.
37439         (exp10_test): Likewise.
37440         (exp2_test): Likewise.
37441         (expm1_test): Likewise.
37442         (fma_test): Likewise.
37443         (j0_test): Likewise.
37444         (jn_test): Likewise.
37445         (nexttoward_test): Likewise.
37446         (pow_test): Likewise.
37447         (scalbn_test): Likewise.
37448         (scalbln_test): Likewise.
37449         (tan_test): Likewise.
37450         (y1_test): Likewise.
37451         * sysdeps/i386/fpu/libm-test-ulps: Update.
37452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37454 2012-05-23  David S. Miller  <davem@davemloft.net>
37456         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37457         (__libc_sigaction): Remove unused local variables.
37459 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37461         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37463 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
37465         mktime: avoid signed integer overflow
37466         * time/mktime.c (__mktime_internal): Do not mishandle the case
37467         where diff == INT_MIN.
37469         mktime: simplify computation of average
37470         * time/mktime.c (ranged_convert): Use new time_t_avg function
37471         instead of rolling our own (probably-slower) code.
37473         mktime: do not assume signed right shift propagates sign bit
37474         * time/mktime.c (isdst_differ): New static function.
37475         (__mktime_internal): No need to normalize tm_isdst now.
37476         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37477         tm_isdst values.
37479         mktime: merge another wrapv change from gnulib
37480         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37481         from some compilers.
37483         mktime: remove incorrect attempt at unusual arithmetics
37484         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37485         The code didn't really work on such machines anyway.
37486         (TYPE_MINIMUM): Assume two's complement.
37487         (twos_complement_arithmetic): Verify that long_int and time_t
37488         are two's complement (or unsigned, in the latter case).
37490         mktime: check signed shifts on long_int and time_t, too
37491         * time/mktime.c (SHR): Check that shifts work as desired
37492         on the types long_int and time_t too, as SHR is used on
37493         such types.
37495         mktime: do not assume 'long' is wide enough
37496         * time/mktime.c (verify): Move decl up.
37497         (long_int): New type.
37498         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37499         to remove assumption in the code that 'long' is wide enough to
37500         store year values.  This assumption is not true on x32 and on
37501         some non-glibc platforms.
37503         mktime: merge wrapv change from gnulib
37504         * time/mktime.c (WRAPV): New macro.
37505         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37506         (guess_time_tm, __mktime_internal): Do not assume that signed
37507         integer overflow wraps around; modern compilers generate code
37508         where this assumption is no longer valid.
37510 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37512         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37513         Replace "jmp L(pseudo_end)" with "ret".
37514         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37515         Likewise.
37517 2012-05-23  Andreas Jaeger  <aj@suse.de>
37519         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37520         * sysdeps/unix/sysv/linux/poll.c: Remove file.
37522 2012-05-23  Andreas Jaeger  <aj@suse.de>
37523             Maximilian Attems  <max@stro.at>
37525         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37526         New macros.
37528 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37530         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37531         code so that pseudo_end is just ret and the stack pointer is
37532         correct also for static library in error case.
37534 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
37536         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37537         move to syscalls.list.
37538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37543         * manual/install.texi (Running make install): Do not mention Linux
37544         kernel version for which pt_chown is not needed.
37545         (Linux): Do not mention problems with nscd with 2.0 kernels.
37546         * INSTALL: Regenerated.
37548 2012-05-23  Andreas Jaeger  <aj@suse.de>
37550         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37551         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37552         macro.
37553         * sysdeps/unix/sysv/linux/s390/bits/mman.h
37554         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37555         * sysdeps/unix/sysv/linux/sh/bits/mman.h
37556         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37557         * sysdeps/unix/sysv/linux/i386/bits/mman.h
37558         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37559         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37560         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37561         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37562         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37563         * sysdeps/unix/sysv/linux/bits/in.h
37564         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37566 2012-05-22  Roland McGrath  <roland@hack.frob.com>
37568         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37569         (PREPARE_VERSION): Just use assert instead, it will be elided
37570         under [NDEBUG] anyway.
37572 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37574         * sysdeps/unix/sysv/linux/Makefile: Include
37575         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37576         (sysdep_routines): Remove sysctl.
37577         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37578         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37579         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37580         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37581         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37583 2012-05-22  Andreas Jaeger  <aj@suse.de>
37585         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37586         that pseudo_end is just ret and the stack pointer is correct also
37587         for static library in error case.
37589 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37591         [BZ #14122]
37592         * nss/nsswitch.c (defconfig_entries): New variable.
37593         (__nss_database_lookup): Don't leak defconfig entries.
37594         (nss_parse_service_list): Don't leak on error paths.
37595         (free_database_entries): New function.
37596         (free_defconfig): New function.
37597         (free_mem): Move common code to free_database_entries.
37599 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37601         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37602         Add arch_prctl.
37603         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37605         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37606         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37607         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37608         New macro.
37609         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37610         (INTERNAL_SYSCALL_TYPES): Likewise.
37611         (LOAD_ARGS_TYPES_[1-6]): Likewise.
37612         (LOAD_REGS_TYPES_[1-6]): Likewise.
37613         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37614         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37616 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37618         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37619         copysignl for GLIBC_2_0.
37620         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37621         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37622         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37623         logbl for GLIBC_2_0.
37624         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37625         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37627 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37629         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37630         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37632         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37633         Use "neg %eax".
37635         * time/mktime.c: Update copyright years.
37637 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37639         mktime: merge comment-quoting-style change from gnulib
37640         * time/mktime.c: Quote 'like this' in comments.
37641         The GNU coding standards suggest that we no longer quote `like this',
37642         as "`" and "'" are typically rendered asymmetrically nowadays.
37643         The typical gnulib style is to quote 'like this' when quoting
37644         code, and "like this" when quoting English.
37646         * time/mktime.c (compile-command): Add "-I.".
37648         mktime: merge mktime-internal.h change from gnulib
37649         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37651         mktime: merge time_r change from gnulib
37652         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37654         mktime: merge DEBUG change from gnulib
37655         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37656         case system <time.h> has a #define.
37658         mktime: merge <sys/types.h> change from gnulib
37659         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37660         since <time.t> is now guaranteed to define time_t.
37662         mktime: merge HAVE_CONFIG_H change from gnulib
37663         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37665 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37668         Use "neg %eax".
37670         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37671         __rlim_t cast.
37672         (struct rusage): Use anonymous union to pad each field to
37673         __syscall_slong_t.
37675 2012-05-21  David S. Miller  <davem@davemloft.net>
37677         * Makefules (o-iterator): Remove .s cases.
37678         (compile-command.s): Delete.
37679         (COMPILE.s): Delete.
37680         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37682 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
37684         * configure.in (libc_cv_predef_stack_protector): Only consider
37685         "foobar" and "__stack_chk_fail" lines in libc_undefs.
37686         * configure: Regenerated.
37688 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37690         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37691         New macro.  Use R*LP on int and pointer.
37692         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37693         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37694         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37695         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37697         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37698         [__WORDSIZE_TIME64_COMPAT32] instead of
37699         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37700         (struct utmp): Likewise.
37701         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37702         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37703         Renamed to ...
37704         (__WORDSIZE_TIME64_COMPAT32): This.
37705         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37706         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37707         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37708         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37709         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37710         (__WORDSIZE_TIME64_COMPAT32): New macro.
37712 2012-05-21  Andreas Jaeger  <aj@suse.de>
37714         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37715         only if [SHARED]. Add prototype for __wcschr_ia32.
37717 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37719         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37720         of %rbp unmolested in the jmp_buf while mangling the low bits.
37721         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37722         unmolested high bits of %rbp while demangling the low bits.
37723         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37725 2012-05-21  Andreas Jaeger  <aj@suse.de>
37727         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37728         * sunrpc/svc_simple.c: Use it for registerrpc.
37729         * sunrpc/xcrypt.c: Use it for passwd2des.
37731         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37733 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37735         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37736         Don't define if [__SYSCALL_WORDSIZE != 32].
37737         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37738         New macro.
37740 2012-05-21  Bruno Haible  <bruno@clisp.org>
37741             Andreas Jaeger  <aj@suse.de>
37743         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37744         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37745         inptr and inend for must_buffer_ch.
37746         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37747         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37748         * stdio-common/Makefile (tests): Remove bug15.
37749         (bug15-ENV): Remove macro.
37750         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37751         anymore.
37753 2012-05-19  Andreas Jaeger  <aj@suse.de>
37754             Roland McGrath  <roland@hack.frob.com>
37756         * manual/contrib.texi: Completely rewritten. It contains now an
37757         alphabetical list of contributors and their contributions.
37759 2012-05-21  Richard Henderson  <rth@twiddle.net>
37761         * misc/getauxval.c (__getauxval): Use unsigned long int.
37762         * misc/sys/auxv.h: Include <sys/cdefs.h>.
37763         (getauxval): Use unsigned long int.
37765 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37767         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37769 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37771         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37772         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37773         __alignof__ (long double).
37775 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37779 2012-05-20  Richard Henderson  <rth@twiddle.net>
37781         * misc/getauxval.c: New file.
37782         * misc/sys/auxv.h: New file.
37783         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37784         (routines): Add getauxval.
37785         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37786         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37787         * elf/dl-sysdep.c (_dl_auxv): Remove.
37788         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37789         * elf/dl-support.c (_dl_auxv): New variable.
37790         (_dl_aux_init): Initialize it.
37791         * manual/startup.texi (Auxiliary Vector): New node.
37792         * sysdeps/generic/bits/hwcap.h: New file.
37793         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37794         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37795         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37796         * sysdeps/sparc/sysdep.h: ... here.  Include it.
37797         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37798         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37800         Update.
37801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37804         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37810 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37814 2012-05-19  David S. Miller  <davem@davemloft.net>
37816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37818 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37820         [BZ #14123]
37821         * math/s_ccosh.c: Include <float.h>
37822         (__ccosh): Avoid internal overflow calculating sinh and cosh
37823         values before multiplying by sin and cos values.
37824         * math/s_ccoshf.c: Likewise.
37825         * math/s_ccoshl.c: Likewise.
37826         * math/s_csin.c: Likewise.
37827         * math/s_csinf.c: Likewise.
37828         * math/s_csinl.c: Likewise.
37829         * math/s_csinh.c: Likewise.
37830         * math/s_csinhf.c: Likewise.
37831         * math/s_csinhl.c: Likewise.
37832         * math/libm-test.inc (ccos_test): Add more tests.
37833         (ccosh_test): Likewise.
37834         (csin_test): Likewise.
37835         (csinh_test): Likewise.
37836         * sysdeps/i386/fpu/libm-test-ulps: Update.
37837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37839 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37841         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37842         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37844         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37846 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37848         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37849         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37850         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37851         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37852         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37853         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37854         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37855         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37856         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37857         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37858         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37859         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37860         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37861         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37862         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37863         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37864         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37865         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37866         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37867         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37868         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37869         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37870         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37871         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37872         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37873         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37874         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37875         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37876         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37877         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37878         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37880 2012-05-18  Andreas Jaeger  <aj@suse.de>
37882         * csu/.gitignore: Delete.
37884 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37886         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37887         (timex): Use __syscall_slong_t.
37889 2012-05-18  Andreas Jaeger  <aj@suse.de>
37890             Carlos O'Donell  <carlos_odonell@mentor.com>
37892         * manual/install.texi (Configuring and compiling): Update
37893         description about files modified in the source directory.
37894         * INSTALL: Regenerated.
37896 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37898         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37899         value.  Use "or" to set return value to -1.
37900         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37901         negate return value.
37903 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37905         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37906         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37907         failure if the compiler has Graphite support disabled.
37908         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37909         Likewise.
37910         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37911         (CFLAGS-memmove.c): Likewise.
37912         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37913         Likewise.
37915 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37917         * sysdeps/x86_64/x32/_itoa.h: New file.
37919         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37920         getdents system call only if kernel and user dirents have the
37921         same d_ino and d_off.
37923         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37924         LLONG_MAX != LONG_MAX.
37925         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37926         (_fitoa_word): Likewise.
37928         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37929         years.
37930         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37931         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37932         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37934         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37935         include <bits/wordsize.h>.  Check __x86_64__ instead of
37936         __WORDSIZE.
37937         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37938         if __x86_64__ is defined.  Use anonymous union on fpstate.
37940         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37941         anonymous union.
37943 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37945         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37946         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37947         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37948         Refer to _rtld_local_ro instead of _rtld_global_ro.
37949         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37950         Likewise.
37951         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37952         Likewise.
37953         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37954         Likewise.
37955         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37956         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37957         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37959         * sysdeps/powerpc/powerpc32/dl-machine.c
37960         (__elf_machine_runtime_setup) [PROF]: Don't reference
37961         _dl_prof_resolve.
37963 2012-05-18  Andreas Jaeger  <aj@suse.de>
37965         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37966         function only available for GCCs before 3.4 since GCC 3.4
37967         introduced a builtin.
37968         (lrint): Likewise.
37969         (llrintf): Likewise.
37970         (llrint): Likewise.
37971         (fmaxf): Likewise.
37972         (fmax): Likewise.
37973         (fminf): Likewise.
37974         (fmin): Likewise.
37975         (rint): Likewise.
37976         (rintf): Likewise.
37977         (nearbyint): Likewise.
37978         (nearbyintf): Likewise.
37979         (ceil): Likewise.
37980         (ceilf): Likewise.
37981         (floor): Likewise.
37982         (floorf): Likewise.
37984 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37986         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37987         on both fields and cast pointer to __syscall_ulong_t.
37989         * bits/types.h (__fsword_t): New type.
37990         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37991         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37992         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37993         (__FSWORD_T_TYPE): Likewise.
37994         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37995         (__FSWORD_T_TYPE): Likewise.
37996         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37997         (__FSWORD_T_TYPE): Likewise.
37998         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37999         (__FSWORD_T_TYPE): Likewise.
38000         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38001         __SWORD_TYPE with __fsword_t.
38002         (statfs64): Likewise.
38004 2012-05-17  David S. Miller  <davem@davemloft.net>
38006         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38008 2012-05-17  Andreas Jaeger  <aj@suse.de>
38010         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38011         warning.
38013 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38015         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38017 2012-05-17  Andreas Jaeger  <aj@suse.de>
38019         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38020         when it is used.
38022 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38024         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38026 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38028         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38029         * sysdeps/x86_64/tst-mallocalign1.c: New file.
38031 2012-05-17  Andreas Jaeger  <aj@suse.de>
38032             Carlos O'Donell  <carlos_odonell@mentor.com>
38034         [BZ #14059]
38035         * sysdeps/x86_64/multiarch/init-arch.h
38036         (bit_YMM_Usable): Rename to...
38037         (bit_AVX_Usable): ... this.
38038         (bit_FMA4_Usable): New macro.
38039         (bit_XMM_state): New macro.
38040         (bit_YMM_state): New macro.
38041         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38042         [__ASSEMBLER__] (index_AVX_Usable): ... this.
38043         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38044         (CPUID_OSXSAVE): New macro.
38045         (CPUID_AVX): New macro.
38046         (CPUID_FMA4): New macro.
38047         (index_YMM_Usable): Rename to...
38048         (index_AVX_Usable): ... this.
38049         (HAS_AVX): Use HAS_ARCH_FEATURE.
38050         (HAS_FMA4): Likewise.
38051         (HAS_YMM_USABLE): Remove.
38052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38053         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38054         are present.
38055         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38056         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38057         * sysdeps/x86_64/multiarch/Makefile: Likewise.
38058         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38059         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38061 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38063         * math/libm-test.c: Support platforms without multiple rounding modes.
38064         * math/bug-nextafter.c: Support platforms without FP exceptions.
38065         * math/bug-nexttoward.c: Likewise.
38066         * math/test-fenv.c: Likewise.
38067         * math/test-misc.c: Likewise.
38068         * stdlib/bug-getcontext.c: Likewise.
38070 2012-05-17  Andreas Jaeger  <aj@suse.de>
38072         * manual/examples/search.c (critter_cmp): Change signature to
38073         avoid warnings.
38074         * manual/string.texi (Collation Functions): Likewise.
38076 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38078         * bits/types.h: Fold copyright years.
38079         * bits/typesizes.h: Likewise.
38080         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38081         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38082         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38083         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38084         * time/time.h: Likewise.
38086 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
38088         [BZ #208]
38089         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38090         in instead of returning them.  Return void.
38091         (__libc_mallinfo): Accumulate over all arenas.
38092         (__malloc_stats): Adjust for change in int_mallinfo interface.
38094 2012-05-16  Roland McGrath  <roland@hack.frob.com>
38096         [BZ #10375]
38097         * configure.in (NM): Add AC_CHECK_TOOL for it.
38098         (libc_extra_cflags): New substituted variable.
38099         Check for -fstack-protector being used implicitly.
38100         * configure: Regenerated.
38101         * config.make.in (config-extra-cflags): New variable,
38102         gets @libc_extra_cflags@.
38103         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38105         [BZ #10375]
38106         * configure.in: Check for _FORTIFY_SOURCE being predefined.
38107         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38108         * configure: Regenerated.
38109         * config.make.in (CPPUNDEFS): New substituted variable.
38110         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38111         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38112         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38114 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38116         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38117         (mq_attr): Use __syscall_slong_t.
38119 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38121         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38122         Check __x86_64__ instead of __WORDSIZE.
38123         (_STAT_VER_LINUX): Likewise.
38124         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
38125         __syscall_ulong_t and __syscall_slong_t.
38126         (stat64): Likewise.
38128 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38130         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38132 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38134         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38136 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38138         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38139         __syscall_ulong_t.
38141         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38142         include <bits/wordsize.h>.  Check __x86_64__ instead of
38143         __WORDSIZE.
38144         (greg_t): Use "__extension__ long long int" if __x86_64__ is
38145         defined.
38146         (mcontext_t): Replace "unsigned long" with "unsigned long long".
38148         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38149         include <bits/wordsize.h>.  Check __x86_64__ instead of
38150         __WORDSIZE.
38151         (user_regs_struct): Use "__extension__ unsigned long long"
38152         instead of "unsigned long" if __x86_64__ is defined.
38153         (user): Likewise.  Pad after pointer field if __ILP32__ is
38154         defined.
38156 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
38158         * configure.in (makeinfo): Require version 4.5 or later.  Allow
38159         versions 5 to 9.
38160         * configure: Regenerated.
38161         * manual/install.texi (texinfo): Increase version requirement to
38162         4.5 or later.
38163         * INSTALL: Regenerated.
38165         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38167 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38169         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38171         * sysdeps/x86_64/x32/ffs.c: New file.
38173         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38174         __syscall_ulong_t.
38175         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38176         defined.  Use __syscall_ulong_t.
38177         (shminfo): Use __syscall_ulong_t.
38178         (shm_info): Likewise.
38180         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38181         __syscall_ulong_t.
38183         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38184         <bits/wordsize.h>.
38185         (msgqnum_t): Use __syscall_ulong_t.
38186         (msglen_t): Likewise.
38187         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38188         __syscall_ulong_t.
38190         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38191         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38193         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38195         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38196         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38198         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38199         __syscall_slong_t.
38201         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38202         include <bits/wordsize.h>.  Check __x86_64__ instead of
38203         __WORDSIZE.
38205         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38206         "unsigned long long int" if __x86_64__ is defined.
38207         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38209         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38210         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38211         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38213         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38214         <stdint.h>.
38215         (GET_PC): Cast to uintptr_t first.
38216         (GET_FRAME): Likewise.
38217         (GET_STACK): Likewise.
38219         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38220         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38221         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38222         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38223         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38224         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38225         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38226         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38227         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38228         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38229         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38230         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38231         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38232         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38233         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38234         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38235         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38236         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38237         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38238         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38239         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38240         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38241         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38242         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38243         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38244         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38245         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38246         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38247         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38249 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38251         * Makerules (+depfiles): Also collect depfiles from .oS in
38252         $(extra-objs).
38253         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38254         .oS, $(libnldbl-routines)).
38256         * Makerules (native-compile-mkdep-flags): Define.
38257         * sunrpc/Makefile (extra-objs): Add $(addprefix
38258         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38259         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38260         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38261         calling $(make-target-directory).
38263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38265         * bits/types.h (__snseconds_t): Removed.
38266         * time/time.h (struct timespec): Replace __snseconds_t with
38267         __syscall_slong_t.
38268         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38269         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38270         Likewise.
38271         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38272         (__SNSECONDS_T_TYPE): Likewise.
38273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38274         (__SNSECONDS_T_TYPE): Likewise.
38275         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38276         (__SNSECONDS_T_TYPE): Likewise.
38278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38280         * sysdeps/mach/hurd/bits/typesizes.h
38281         (__SYSCALL_SLONG_TYPE): New macro.
38282         (__SYSCALL_ULONG_TYPE): Likewise.
38284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38286         * bits/types.h (__syscall_slong_t): New type.
38287         (__syscall_ulong_t): Likewise.
38289         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38290         (__SYSCALL_ULONG_TYPE): Likewise.
38291         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38292         (__SYSCALL_SLONG_TYPE): Likewise.
38293         (__SYSCALL_ULONG_TYPE): Likewise.
38294         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38295         (__SYSCALL_SLONG_TYPE): Likewise.
38296         (__SYSCALL_ULONG_TYPE): Likewise.
38297         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38298         (__SYSCALL_SLONG_TYPE): Likewise.
38299         (__SYSCALL_ULONG_TYPE): Likewise.
38301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38303         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38304         Add sigaltstack-offsets.sym.
38305         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38306         <sigaltstack-offsets.h>.
38307         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
38308         longjmp_msg pointer.
38309         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
38310         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38311         signal stack.
38312         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38314 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38316         * elf/stackguard-macros.h: Remove file.
38317         * sysdeps/generic/stackguard-macros.h: New file.
38318         * sysdeps/i386/stackguard-macros.h: Likewise.
38319         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38320         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38321         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38322         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38323         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38324         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38325         * sysdeps/x86_64/stackguard-macros.h: Likewise.
38326         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38327         <elf/stackguard-macros.h>.
38329         [BZ #14109]
38330         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38331         __aligned__ in attribute.
38332         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38333         (gregset_t): Likewise.
38335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38337         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38338         * sysdeps/x86_64/64/Implies-after: Here.  New file.
38339         * sysdeps/x86_64/x32/Implies-after: New file.
38341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38343         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38344         and access return value for _dl_profile_fixup.  Use R10_LP to
38345         load frame size.
38347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38349         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38353         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38354         * sysdeps/x86_64/x32/sysdep.h: New file.
38356 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38358         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38359         * sysdeps/x86_64/setjmp.S: Likewise.
38361 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38363         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38364         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38365         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38366         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38367         remove unused global constant.
38369 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
38371         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38372         include of <not-cancel.h>.
38374 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38376         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38378 2012-05-15  Jeff Law  <law@redhat.com>
38379             Andreas Jaeger  <aj@suse.de>
38381         [BZ #13594]
38382         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38383         out from...
38384         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38385         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38386         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38387         code changing __hst_map_handle.map.
38389 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38391         * configure.in (sysnames): Look for Implies-before and Implies-after
38392         files.
38393         * configure: Regenerated.
38395 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38397         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38398         8-byte data alignment with LP_SIZE alignment.
38400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38402         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38403         into R10_LP.
38405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38407         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38411         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38412         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38413         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38414         Likewise.
38415         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38419         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38420         (stackinfo_sub_sp): Likewise.
38422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38424         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38425         RAX_LP.
38427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38429         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38430         into R*_LP.
38432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38434         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38435         sizes into R*_LP.
38437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38439         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38441 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38443         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38444         into R11_LP and load __x86_64_shared_cache_size_half into
38445         R8_LP.
38447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38449         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38450         R8_LP.
38452 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38454         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38455         logb for POWER7.
38456         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38457         logbf for POWER7.
38458         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38459         logbl for POWER7.
38460         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38461         powerpc32/power7/fpu/s_logb.c via #include.
38462         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38463         powerpc32/power7/fpu/s_logbf.c via #include.
38464         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38465         powerpc32/power7/fpu/s_logbl.c via #include.
38467 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38469         * README.libm: Remove file.
38471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38473         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38474         count for x32.  Use R*_LP and omit operand-size suffix.
38476 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38478         * shlib-versions: Move x86_64-.*-linux.* entries to ...
38479         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
38480         * sysdeps/x86_64/x32/shlib-versions: New file.
38482 2012-05-14  Roland McGrath  <roland@hack.frob.com>
38484         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38485         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38486         Use _dl_fatal_printf instead.
38488 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38490         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38491         set if not set by the user.  Do not allow for being unset.
38492         * sysdeps/unix/sysv/linux/configure: Regenerated.
38494 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38496         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38497         the `q' suffix from lea and replace .quad with ASM_ADDR.
38499 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38501         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38502         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
38503         instead of $17.
38504         (PTR_DEMANGLE): Likewise.
38506 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38508         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38509         (LP_OP): Likewise.
38510         (ASM_ADDR): Likewise.
38511         (RAX_LP): Likewise.
38512         (RBP_LP): Likewise.
38513         (RBX_LP): Likewise.
38514         (RCX_LP): Likewise.
38515         (RDI_LP): Likewise.
38516         (RSI_LP): Likewise.
38517         (RSP_LP): Likewise.
38518         (R8_LP): Likewise.
38519         (R9_LP): Likewise.
38520         (R10_LP): Likewise.
38521         (R10_LP): Likewise.
38522         (R11_LP): Likewise.
38523         (R12_LP): Likewise.
38524         (R13_LP): Likewise.
38525         (R14_LP): Likewise.
38526         (R15_LP): Likewise.
38528 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38530         * sysdeps/x86_64/x32/dl-machine.h: New file.
38532 2012-05-14  Andreas Jaeger  <aj@suse.de>
38534         * manual/Makefile (subdir): Remove export of subdir.
38535         (all): Remove target.
38536         (.PHONY): Remove all from list.
38537         (mkinstalldirs): Remove.
38538         (.PHONY): Remove installdirs from list.
38539         ($(inst_infodir)/libc.info): Use make-target-directory.
38540         (installdirs): Remove.
38541         (subdir_%): Remove.
38542         (glibc-targets): Remove.
38543         (lib): Remove.
38544         (stubs): Remove.
38545         ($(objpfx)stubs ../po/manual.pot): Remove.
38546         ($(objpfx)stamp%): Remove.
38547         (make-target-directory): Remove.
38548         (subdir_install): Remove.
38549         (routines): Remove.
38550         (aux): Remove.
38551         (sources): Remove.
38552         (objects): Remove.
38553         (headers): Remove.
38555         [BZ #13750]
38556         * manual/.gitignore: Remove, it's not needed anymore.
38557         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38558         all files in it.
38559         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38560         directory.
38561         (texis): Renamed to $(objpfx)texis.
38562         (texis-path): New, contains path to generated files.
38563         (chapters.%): Use texis-path for complete path, add extra argument
38564         libc-texinfo.sh.
38565         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38566         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38567         (summary,texi, stamp-summary): Use complete path of
38568         files. Generate files in build dir.
38569         (dir-add.texi): Build in build dir.
38570         (libm-err.texi,stamp-libm-err): Likewise.
38571         (version.texi, stamp-version): Likewise.
38572         (.%c.texi): Likewise.
38573         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38574         (mostlyclean): Remove target.
38575         (realclean): Remove target.
38576         (generated): Add new variable with contents from mostlyclean and
38577         realclean, remove entries duplicated in common-mostlyclean, add
38578         stamp-libm-err and stamp-version.
38579         (generated-dirs): Add libc directory.
38580         ($(inst_infodir)/libc.info): Install files from build dir.
38582         * manual/install.texi (Configuring and compiling): Adjust since
38583         the info files are not part of the tar ball anymore.
38585 2012-05-14  Andreas Jaeger  <aj@suse.de>
38587         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38588         variable.
38590 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38592         [BZ #13717]
38593         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38594         to 2.2.0 where earlier.
38595         * sysdeps/unix/sysv/linux/configure: Regenerated.
38596         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38597         Remove conditional code.
38598         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38599         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38600         Remove conditional code.
38601         [!__NR_lchown]: Likewise.
38602         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38603         [__NR_lchown]: Likewise.
38604         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38605         comment referencing __ASSUME_LCHOWN_SYSCALL.
38606         * sysdeps/unix/sysv/linux/i386/sigaction.c
38607         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38608         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38609         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38610         Remove conditional code.
38611         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38612         (__protocol_available): Remove #if 0 code.
38613         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38614         conditional code.
38615         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38616         * sysdeps/unix/sysv/linux/kernel-features.h
38617         (__ASSUME_GETCWD_SYSCALL): Don't define.
38618         (__ASSUME_REALTIME_SIGNALS): Likewise.
38619         (__ASSUME_PREAD_SYSCALL): Likewise.
38620         (__ASSUME_PWRITE_SYSCALL): Likewise.
38621         (__ASSUME_POLL_SYSCALL): Likewise.
38622         (__ASSUME_LCHOWN_SYSCALL): Likewise.
38623         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38624         non-SPARC.
38625         (__ASSUME_SIOCGIFNAME): Don't define.
38626         (__ASSUME_MSG_NOSIGNAL): Likewise.
38627         (__ASSUME_SENDFILE): Define unconditionally.
38628         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38629         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38630         conditional code.
38631         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38632         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38633         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38634         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38635         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38636         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38637         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38639         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38640         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38642         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38643         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38645         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38646         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38648         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38649         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38651         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38652         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38654         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38655         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38657         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38658         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38660         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38661         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38662         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38663         Remove conditional code.
38664         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38665         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38666         Remove conditional code.
38667         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38668         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38669         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38670         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38671         Remove conditional code.
38672         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38673         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38674         Remove conditional code.
38675         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38676         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38677         Remove conditional code.
38678         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38679         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38680         Remove conditional code.
38681         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38682         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38683         Remove conditional code.
38684         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38685         * sysdeps/unix/sysv/linux/sh/pwrite64.c
38686         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38687         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38688         * sysdeps/unix/sysv/linux/sigaction.c
38689         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38690         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38691         * sysdeps/unix/sysv/linux/sigpending.c
38692         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38693         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38694         * sysdeps/unix/sysv/linux/sigprocmask.c
38695         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38696         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38697         * sysdeps/unix/sysv/linux/sigsuspend.c
38698         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38699         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38700         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38701         (__libc_missing_rt_sigs): Remove.
38702         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38703         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38704         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38705         Remove conditional code.
38706         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38707         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38708         return 1.
38709         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38710         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38711         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38712         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38714 2012-05-14  Andreas Jaeger  <aj@suse.de>
38716         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38717         it's not used in glibc.
38718         (__coshm1): Likewise.
38719         (__acosh1p): Likewise.
38720         (__sgn): Likewise.
38722         * manual/string.texi (Copying and Concatenation): Add missing
38723         variable in concat example.
38724         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38726 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38728         [BZ #14103]
38729         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38730         __builtin_clzl with __builtin_clzll.
38732 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38734         [BZ #14104]
38735         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38736         libc_freeres_ptr.
38738 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38740         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38741         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38742         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38743         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38745 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
38747         * NEWS: Update ia64 info.
38749 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
38751         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38752         used as bcopy.
38754 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
38756         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38757         * sysdeps/unix/syscalls.list (dup3): Likewise.
38758         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38759         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38761 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38763         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38764         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38766 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38768         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38769         thread pointer.
38770         (TLS_IE): Use mov/add instead of movq/addq to load thread
38771         pointer.
38772         (TLS_GD_PREFIX): New.
38773         (TLS_GD): Use it.
38775 2012-05-11  David S. Miller  <davem@davemloft.net>
38777         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38778         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38779         (_FPU_SETCW): Likewise.
38781 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38783         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38784         is 32-byte aligned.
38786 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
38788         [BZ #11837]
38789         * iconvdata/gb18030.c: Update tables.
38790         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
38791         characters specially.
38792         (BODY for TO_LOOP): Add encoding of missing ranges.
38794 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
38796         [BZ #13673]
38797         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38798         * sysdeps/mach/hurd/dup3.c: Likewise.
38799         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38800         * sysdeps/powerpc/memmove.c:: Likewise.
38802 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38804         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38805         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38807 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38809         * elf/elf.h (R_X86_64_RELATIVE64): New.
38810         (R_X86_64_NUM): Updated.
38811         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38812         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38813         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38814         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38815         tst-quad1pie tst-quad2pie
38816         (modules-names): Add tst-quadmod1 tst-quadmod2.
38817         ($(objpfx)tst-quad1): New dependency.
38818         ($(objpfx)tst-quad2): Likewise.
38819         ($(objpfx)tst-quad1pie): Likewise.
38820         ($(objpfx)tst-quad2pie): Likewise.
38821         * sysdeps/x86_64/tst-quad1.c: New file.
38822         * sysdeps/x86_64/tst-quad1pie.c: New file.
38823         * sysdeps/x86_64/tst-quad2.c: Likewise.
38824         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38825         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38826         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38827         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38828         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38830 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38832         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38833         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38834         * streams/stropts.h (t_scalar_t): Define type.
38836         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38837         (_PATH_PRESERVE): Set to "/var/lib".
38838         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38840         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38841         instead of int.
38843         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38844         if __dir_mkfile succeeded.
38846         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38847         checking for _hurd_dtablesize.  Unlock it right after having
38848         finished _hurd_dtable allocation.
38850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38852         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38853         * sysdeps/mach/hurd/configure: Regenerated.
38854         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38855         special-casing to...
38856         * sysdeps/gnu/configure.in: ... this new file.
38857         * sysdeps/unix/sysv/linux/configure: Regenerated.
38858         * sysdeps/gnu/configure: New generated file.
38860         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38861         for Linux: use nsec instead of usec, as well as:
38862         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38863         members of type struct timespec.
38864         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38865         New macros.
38866         (struct stat64): Likewise.
38867         (_STATBUF_ST_NSEC): New macro.
38868         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38870         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38871         __strtoul_internal rather than strtoul.
38873 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38875         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38876         and reject them.
38878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38880         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38881         which preserves existing values.
38882         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38884 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38886         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38887         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38888         greater than FD_SETSIZE.
38890 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38892         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38893         allocated, call __vm_protect to finish enabling the existing space, and
38894         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38895         allocate the remainder.
38897 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38899         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38900         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38902 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38904         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38905         sysdeps/mach/hurd/readlink.c.
38907         * posix/tst-sysconf.c (posix_options): Only use
38908         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38909         _POSIX_SYNCHRONIZED_IO when they are defined
38910         * sysdeps/mach/hurd/bits/posix_opt.h:
38911         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38912         (_XOPEN_REALTIME): Undefine macro.
38913         (_XOPEN_REALTIME_THREADS): Undefine macro.
38914         (_XOPEN_SHM): Undefine macro.
38915         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38916         macro to -1.
38917         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38918         macro to -1.
38919         (_POSIX_ASYNC_IO): Undefine macro.
38920         (_POSIX_PRIORITIZED_IO): Undefine macro.
38921         (_POSIX_SPIN_LOCKS): Define macro to -1.
38923         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38924         SA_NODEFER, SA_RESETHAND.
38925         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38926         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38927         F_DUPFD_CLOEXEC.
38929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38931         * elf/Makefile (pldd-modules): Define unconditionally.
38933 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38935         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38939         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38940         Return ENOENT when name is empty.
38941         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38943 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38945         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38947         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38951         Fix mlock in all cases except non-readable pages.
38952         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38953         instead of VM_PROT_ALL as parameter to __vm_wire function.
38955         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38956         (__mkdir): When path is `/', just fail with EEXIST.
38957         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38959 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38961         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38962         <sys/uio.h> (for writev).
38963         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38964         and <sys/param.h> (for MIN).
38966 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38968         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38969         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38970         if interrupted.
38972 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38974         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38975         Depend on against $(link-rpcuserlibs).
38977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38979         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38980         (__libc_stack_end): Do not use attribute_relro.
38981         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38982         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38983         to libthread-provided value.
38984         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38985         attribute_relro.
38987 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38989         [BZ #3748]
38990         * bits/libc-lock.h (__libc_once_get): New macro.
38991         * sysdeps/mach/bits/libc-lock.h: Likewise.
38992         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38993         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38994         instead of using implementation details.
38996         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38997         * libio/freopen.c: Likewise.
38998         * libio/freopen64.c: Likewise.
38999         * misc/syslog.c: Likewise.
39000         * nscd/connections.c: Likewise.
39001         * nscd/netgroupcache.c: Likewise.
39002         * sysdeps/posix/getcwd.c: Likewise.
39004 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39006         * math/w_ilogbf.c: Add #include <limits.h>.
39008 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39010         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39011         path instead of returning without unlocking.
39013         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39014         immediate-write ioctls.
39015         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39017 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39019         * sysdeps/mach/hurd/i386/init-first.c (init): Use
39020         __builtin_frame_address instead of making assumptions about the
39021         location of the return address relative to DATA.  Force early load of
39022         the return address.
39023         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39024         __builtin_frame_address.
39026         dup3 for GNU Hurd.
39027         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39028         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
39029         implement dup3 and do some further code clean-ups.
39030         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39031         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39033 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39035         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39037         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39038         HURD_CRITICAL_END around holding _hurd_dtable_lock.
39039         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39040         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39041         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39042         d->port.lock.
39044         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39045         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
39046         when handler == SIG_ERR, not when handler != SIG_ERR.
39048 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39050         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39051         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39052         definitions.
39054         accept4 for GNU Hurd.
39055         * include/sys/socket.h (__libc_accept4): New prototype.
39056         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
39057         to implement __libc_accept4.
39058         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39059         __libc_accept4.
39060         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39062         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39063         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39064         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39065         signal-defines.sym.
39067 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39069         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39073         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39074         assertion on O_CLOEXEC flag.
39075         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39076         * hurd/intern-fd.c: Likewise.
39077         * hurd/port2fd.c: Likewise.
39079 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39081         [BZ #3906]
39082         * bits/in.h (IPV6_PKTINFO): Define new macro.
39083         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39085 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39087         [BZ #13954]
39088         [BZ #13955]
39089         [BZ #13956]
39090         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39091         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39092         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39093         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39094         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39095         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39096         * math/libm-test.inc (logb_test) : Additional logb tests.
39098 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
39099             Andreas Jaeger  <aj@suse.de>
39101         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39102         * configure: Regenerated.
39103         * config.h.in (LINK_OBSOLETE_RPC): New macro.
39104         * config.make.in (link-obsolete-rpc): New substituted variable.
39105         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39106         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39107         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39108         (shared-only-routines): Don't set it under [link-obsolete-rpc],
39109         so that libc.a contains the symbols.
39110         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39111         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39112         * sunrpc/auth_none.c: Likewise.
39113         * sunrpc/auth_unix.c: Likewise.
39114         * sunrpc/authdes_prot.c: Likewise.
39115         * sunrpc/authuxprot.c: Likewise.
39116         * sunrpc/clnt_gen.c: Likewise.
39117         * sunrpc/clnt_perr.c: Likewise.
39118         * sunrpc/clnt_raw.c: Likewise.
39119         * sunrpc/clnt_simp.c: Likewise.
39120         * sunrpc/clnt_tcp.c: Likewise.
39121         * sunrpc/clnt_udp.c: Likewise.
39122         * sunrpc/clnt_unix.c: Likewise.
39123         * sunrpc/des_crypt.c: Likewise.
39124         * sunrpc/des_soft.c: Likewise.
39125         * sunrpc/get_myaddr.c: Likewise.
39126         * sunrpc/key_call.c: Likewise.
39127         * sunrpc/key_prot.c: Likewise.
39128         * sunrpc/netname.c: Likewise.
39129         * sunrpc/pm_getmaps.c: Likewise.
39130         * sunrpc/pm_getport.c: Likewise.
39131         * sunrpc/pmap_clnt.c: Likewise.
39132         * sunrpc/pmap_prot.c: Likewise.
39133         * sunrpc/pmap_prot2.c: Likewise.
39134         * sunrpc/pmap_rmt.c: Likewise.
39135         * sunrpc/publickey.c: Likewise.
39136         * sunrpc/rpc_cmsg.c: Likewise.
39137         * sunrpc/rpc_common.c: Likewise.
39138         * sunrpc/rpc_dtable.c: Likewise.
39139         * sunrpc/rpc_prot.c: Likewise.
39140         * sunrpc/rpc_thread.c: Likewise.
39141         * sunrpc/rtime.c: Likewise.
39142         * sunrpc/svc.c: Likewise.
39143         * sunrpc/svc_auth.c: Likewise.
39144         * sunrpc/svc_raw.c: Likewise.
39145         * sunrpc/svc_run.c: Likewise.
39146         * sunrpc/svc_tcp.c: Likewise.
39147         * sunrpc/svc_udp.c: Likewise.
39148         * sunrpc/svc_unix.c: Likewise.
39149         * sunrpc/svcauth_des.c: Likewise.
39150         * sunrpc/xcrypt.c: Likewise.
39151         * sunrpc/xdr.c: Likewise.
39152         * sunrpc/xdr_array.c: Likewise.
39153         * sunrpc/xdr_float.c: Likewise.
39154         * sunrpc/xdr_intXX_t.c: Likewise.
39155         * sunrpc/xdr_mem.c: Likewise.
39156         * sunrpc/xdr_rec.c: Likewise.
39157         * sunrpc/xdr_ref.c: Likewise.
39158         * sunrpc/xdr_sizeof.c: Likewise.
39159         * sunrpc/xdr_stdio.c: Likewise.
39161 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39163         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39164         change.  Update copyright years.
39166 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39168         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39170 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
39171             Joseph Myers  <joseph@codesourcery.com>
39172             Paul Pluzhnikov  <ppluzhnikov@google.com>
39174         [BZ #14012]
39175         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39176         requiring rpcgen.
39177         [cross-compiling] (extra-libs): Likewise.
39178         [cross-compiling] (extra-libs-others): Likewise.
39179         [cross-compiling] (librpcsvc-routines): Likewise.
39180         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39181         [cross-compiling] (omit-deps): Likewise.
39182         (sunrpc-CPPFLAGS): New variable.
39183         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39184         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39185         (cross-rpcgen-objs): New variable.
39186         (extra-objs): Append $(cross-rpcgen-objs).
39187         ($(cross-rpcgen-objs)): New rule.
39188         ($(objpfx)cross-rpcgen): Likewise.
39189         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39190         comment.
39191         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39192         ($(objpfx)x%.stmp): Likewise.
39193         * sunrpc/proto.h [IS_IN_build] (_): Define.
39194         [IS_IN_build] (_libc_intl_domainname): Likewise.
39196 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39198         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39199         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39200         and R_X86_64_TPOFF64.
39202 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39204         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39205         sysdeps/unix/sysv/syscalls.list.
39206         (stime): Likewise.
39207         (utime): Likewise.
39208         * sysdeps/unix/sysv/syscalls.list: Remove file.
39210 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39212         [BZ #3440]
39213         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39214         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39215         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39216         (__LC_IDENTIFICATION): Make these macros useful in #if
39217         expressions, as required by C99.
39219 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39221         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39222         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39223         after this.
39225 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39227         * stdlib/longlong.h: Updated from GCC.
39229 2012-05-09  Andreas Jaeger  <aj@suse.de>
39231         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39232         default is first entry.
39233         (run_mode): Set type.
39234         (main): Remove informal message about syslog.
39235         (options): Fix typo.
39237         [BZ #14053]
39238         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39239         to asm.
39240         (lrint): Likewise.
39241         (llrintf): Likewise.
39242         (llrint): Likewise.
39243         (rint): Likewise.
39244         (rintf): Likewise.
39245         (nearbyint): Likewise.
39246         (nearbyintf): Likewise.
39248 2012-05-09  Andreas Jaeger  <aj@suse.de>
39249             Pedro Alves  <palves@redhat.com>
39251         * nscd/nscd.c (run_mode): Use enum.
39252         (main): Cleanup coding style issue.
39254 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39255             Andreas Jaeger  <aj@suse.de>
39257         * nscd/nscd.c (go_background): Replaced with...
39258         (run_mode): ... this.
39259         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39260         (options): Add -F --foreground.
39261         (main): Implement it.
39262         (parse_opt): Parse it.
39264 2012-05-09  Andreas Jaeger  <aj@suse.de>
39266         [BZ #14083]
39267         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39268         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39269         -Wconversion warning.
39270         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39271         Likewise.
39273 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39275         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39276         == 0.
39277         (LC_ALL): Use macro-int-constant.
39278         (LC_COLLATE): Likewise.
39279         (LC_CTYPE): Likewise.
39280         (LC_MESSAGES): Likewise.
39281         (LC_MONETARY): Likewise.
39282         (LC_NUMERIC): Likewise.
39283         (LC_TIME): Likewise.
39284         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39285         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39286         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39287         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39288         Specify type.
39289         [C99-based standards] (float_t): Expect type.
39290         [C99-based standards] (double_t): Expect type.
39291         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39292         type.
39293         [C99-based standards] (HUGE_VALL): Likewise.
39294         [C99-based standards] (INFINITY): Likewise.
39295         [C99-based standards] (NAN): Likewise.
39296         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39297         [C99-based standards] (FP_NAN): Likewise.
39298         [C99-based standards] (FP_NORMAL): Likewise.
39299         [C99-based standards] (FP_SUBNORMAL): Likewise.
39300         [C99-based standards] (FP_ZERO): Likewise.
39301         [C99-based standards] (FP_FAST_FMA): Use
39302         optional-macro-int-constant.  Specify type.  Require == 1.
39303         [C99-based standards] (FP_FAST_FMAF): Likewise.
39304         [C99-based standards] (FP_FAST_FMAL): Likewise.
39305         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39306         [C99-based standards] (FP_ILOGBNAN): Likewise.
39307         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39308         Specify type.
39309         [C99-based standards] (MATH_ERREXCEPT): Likewise.
39310         [C99-based standards] (math_errhandling): Specify type.
39311         [ISO99 || ISO11] (signgam): Do not allow.
39312         [non-C99-based standards] (copysignf): Do not allow.
39313         [non-C99-based standards] (exp2f): Likewise.
39314         [non-C99-based standards] (log2f): Likewise.
39315         [non-C99-based standards] (modff): Allow.
39316         [non-C99-based standards] (erff): Do not allow.
39317         [non-C99-based standards] (erfcf): Likewise.
39318         [non-C99-based standards] (gammaf): Likewise.
39319         [non-C99-based standards] (hypotf): Likewise.
39320         [non-C99-based standards] (j0f): Likewise.
39321         [non-C99-based standards] (j1f): Likewise.
39322         [non-C99-based standards] (jnf): Likewise.
39323         [non-C99-based standards] (lgammaf): Likewise.
39324         [non-C99-based standards] (tgammaf): Likewise.
39325         [non-C99-based standards] (y0f): Likewise.
39326         [non-C99-based standards] (y1f): Likewise.
39327         [non-C99-based standards] (ynf): Likewise.
39328         [non-C99-based standards] (isnanf): Likewise.
39329         [non-C99-based standards] (acoshf): Likewise.
39330         [non-C99-based standards] (asinhf): Likewise.
39331         [non-C99-based standards] (atanhf): Likewise.
39332         [non-C99-based standards] (cbrtf): Likewise.
39333         [non-C99-based standards] (expm1f): Likewise.
39334         [non-C99-based standards] (ilogbf): Likewise.
39335         [non-C99-based standards] (log1pf): Likewise.
39336         [non-C99-based standards] (logbf): Likewise.
39337         [non-C99-based standards] (nextafterf): Likewise.
39338         [non-C99-based standards] (remainderf): Likewise.
39339         [non-C99-based standards] (rintf): Likewise.
39340         [non-C99-based standards] (scalbf): Likewise.
39341         [non-C99-based standards] (copysignl): Likewise.
39342         [non-C99-based standards] (exp2l): Likewise.
39343         [non-C99-based standards] (log2l): Likewise.
39344         [non-C99-based standards] (modfl): Allow.
39345         [non-C99-based standards] (erfl): Do not allow.
39346         [non-C99-based standards] (erfcl): Likewise.
39347         [non-C99-based standards] (gammal): Likewise.
39348         [non-C99-based standards] (hypotl): Likewise.
39349         [non-C99-based standards] (j0l): Likewise.
39350         [non-C99-based standards] (j1l): Likewise.
39351         [non-C99-based standards] (jnl): Likewise.
39352         [non-C99-based standards] (lgammal): Likewise.
39353         [non-C99-based standards] (tgammal): Likewise.
39354         [non-C99-based standards] (y0l): Likewise.
39355         [non-C99-based standards] (y1l): Likewise.
39356         [non-C99-based standards] (ynl): Likewise.
39357         [non-C99-based standards] (isnanl): Likewise.
39358         [non-C99-based standards] (acoshl): Likewise.
39359         [non-C99-based standards] (asinhl): Likewise.
39360         [non-C99-based standards] (atanhl): Likewise.
39361         [non-C99-based standards] (cbrtl): Likewise.
39362         [non-C99-based standards] (expm1l): Likewise.
39363         [non-C99-based standards] (ilogbl): Likewise.
39364         [non-C99-based standards] (log1pl): Likewise.
39365         [non-C99-based standards] (logbl): Likewise.
39366         [non-C99-based standards] (nextafterl): Likewise.
39367         [non-C99-based standards] (remainderl): Likewise.
39368         [non-C99-based standards] (rintl): Likewise.
39369         [non-C99-based standards] (scalbl): Likewise.
39370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39371         [non-C99-based standards] (FP_*): Do not allow.
39372         [C99-based standards] (FP_*): Change to
39373         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39374         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39375         allow.
39376         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39377         (SIG_ERR): Likewise.
39378         [X/Open-based standards] (SIG_HOLD): Likewise.
39379         (SIG_IGN): Likewise.
39380         (SIGABRT): Use macro-int-constant.  Specify type.  Require
39381         positive value.
39382         (SIGFPE): Likewise.
39383         (SIGILL): Likewise.
39384         (SIGINT): Likewise.
39385         (SIGSEGV): Likewise.
39386         (SIGTER): Likewise.
39387         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39388         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39389         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39390         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39391         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39392         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39393         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39394         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39395         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39396         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39397         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39398         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39399         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39400         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39401         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39402         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39403         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39404         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39405         [X/Open-based standards] (SIGTRAP): Likewise.
39406         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39407         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39408         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39409         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39410         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39411         allow.
39413 2012-05-08  Ian Wienand  <ianw@vmware.com>
39415         [BZ #14080]
39416         * time/tzset.c (__tzset_parse_tz): Update default rules for
39417         daylight time changes in the Energy Policy Act of 2005.
39419 2012-05-09  Andreas Jaeger  <aj@suse.de>
39421         [BZ #13983]
39422         * elf/ldconfig.c (parse_conf): Change string to make clear that
39423         ldconfig only issued a warning if ld.so.conf does not exist.
39425 2012-05-08  David S. Miller  <davem@davemloft.net>
39427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39428         movxtod instead of popping the value on the stack.
39430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39432 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
39434         * config.h.in: Add HAVE_ARM_PCS_VFP.
39436 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
39438         [BZ #13979]
39439         * include/features.h: Warn if user requests __FORTIFY_SOURCE
39440         checking but the checks are disabled for any reason.
39442 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
39444         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39445         and ELF64_R_TYPE with ELFW(R_TYPE).
39447 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
39449         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39450         (ulimit): Likewise.
39452         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39453         (settimeofday): Likewise.
39455 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
39457         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
39458         a struct th_u2 inside the union, and move tu_block/tu_code into
39459         a new th_u3 union of tu_block/tu_code inside of that.  Move
39460         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
39461         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
39462         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39463         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39464         (th_stuff): Change to th_u1.tu_stuff.
39465         (th_data): Define.
39466         (th_msg): Change to th_u1.th_u2.tu_data.
39468 2012-05-07  David S. Miller  <davem@davemloft.net>
39470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39472         [BZ #14074]
39473         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39474         (SETUP_PIC_REG): Use it.
39475         (SETUP_PIC_REG_LEAF): Use it.
39477 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
39479         [BZ #13885]
39480         [BZ #13923]
39481         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39482         USE_AS_EXPM1L.
39483         (EXPL_FINITE): Likewise.
39484         (FLDLOG): Likewise.
39485         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39486         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39487         e_expl.S.
39488         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39489         USE_AS_EXPM1L.
39490         (EXPL_FINITE): Likewise.
39491         (FLDLOG): Likewise.
39492         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39493         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39494         e_expl.S.
39495         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
39496         test of -max_value argument for long double.
39497         * sysdeps/i386/fpu/libm-test-ulps: Update.
39498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39500 2012-05-06  David S. Miller  <davem@davemloft.net>
39502         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39503         quad soft-float symbols whose references which are compiler
39504         generated.
39505         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39507 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
39509         [BZ #13884]
39510         [BZ #13914]
39511         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39512         USE_AS_EXP10L.
39513         (EXPL_FINITE): Likewise.
39514         (FLDLOG): Likewise.
39515         (c0): Likewise.
39516         (c1): Likewise.
39517         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39518         Adjust comments for base varying.
39519         (__expl_finite): Change alias to EXPL_FINITE.
39520         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39521         e_expl.S.
39522         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39523         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39524         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39525         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39526         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39527         USE_AS_EXP10L.
39528         (EXPL_FINITE): Likewise.
39529         (FLDLOG): Likewise.
39530         (c0): Likewise.
39531         (c1): Likewise.
39532         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39533         Adjust comments for base varying.
39534         (__expl_finite): Change alias to EXPL_FINITE.
39535         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
39536         tests for bugs.
39537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39539         [BZ #14064]
39540         * math/libm-test.inc (check_float_internal): Correct ulp
39541         calculation for subnormal expected results.
39543 2012-05-06  Andreas Jaeger  <aj@suse.de>
39545         * Makeconfig (+math-flags): New, set to -frounding-math.
39546         (+cflags): Add +math-flags so that all of glibc gets compiled with
39547         it.
39549         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39551 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
39553         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39554         Disable one test.
39556         [BZ #13787]
39557         [BZ #13922]
39558         [BZ #14036]
39559         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39560         (__ieee754_expl): Allow for and saturate large arguments.
39561         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39562         (u_threshold): Likewise.
39563         (__exp): Call __ieee754_exp before checking for overflow and
39564         underflow.
39565         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39566         (u_threshold): Likewise.
39567         (__expf): Call __ieee754_expf before checking for overflow and
39568         underflow.
39569         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39570         (u_threshold): Likewise.
39571         (__expl): Call __ieee754_expl before checking for overflow and
39572         underflow.
39573         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39574         (__ieee754_expl): Allow for and saturate large arguments.
39575         * math/libm-test.inc (exp_test): Add another test.  Do not allow
39576         missing overflow exception on overflow.
39577         (expm1_test): Do not allow missing overflow exception on overflow.
39579         * sysdeps/i386/fpu/e_expl.c: Move to ...
39580         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
39581         rather than using inline asm.
39582         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39583         * sysdeps/x86_64/fpu/e_expl.S: Copy from
39584         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39586         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39587         (nice): Likewise.
39588         (poll): Likewise.
39589         (signal): Likewise.
39590         (time): Likewise.
39591         (times): Likewise.
39593 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39595         * sysdeps/unix/syscalls.list (adjtime): Add entry from
39596         sysdeps/unix/common/syscalls.list.
39597         (fchmod): Likewise.
39598         (fchown): Likewise.
39599         (ftruncate): Likewise.
39600         (getrusage): Likewise.
39601         (gettimeofday): Likewise.
39602         (setpgid): Likewise.
39603         (setregid): Likewise.
39604         (setreuid): Likewise.
39605         (sigaction): Likewise.
39606         (truncate): Likewise.
39607         (vhangup): Likewise.
39608         * sysdeps/unix/common/syscalls.list: Remove file.
39609         * sysdeps/unix/bsd/Implies: Don't include unix/common.
39610         * sysdeps/unix/sysv/linux/Implies: Likewise.
39612 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
39614         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39616         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39617         Moved to ...
39618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39619         Here.
39620         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39621         to ...
39622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39623         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39624         to ...
39625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39626         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39627         to ...
39628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39629         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39630         to ...
39631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39632         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39633         to ...
39634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39635         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39636         to ...
39637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39638         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39639         to ...
39640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39641         Here.
39642         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39643         to ...
39644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39645         Here.
39646         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39647         to ...
39648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39649         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39650         Moved to ...
39651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39652         Here.
39653         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39654         to ...
39655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39657 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39659         * sysdeps/unix/common/bits/dirent.h: Remove file.
39660         * sysdeps/unix/common/bits/fcntl.h: Likewise.
39662         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39663         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39664         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39665         * sysdeps/unix/bsd/isatty.c: Likewise.
39666         * sysdeps/unix/bsd/tcdrain.c: Likewise.
39667         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39668         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39670 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39672         [BZ #13563]
39673         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39674         long double comparison inaccuracies.
39675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39678 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
39680         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39681         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39683 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39685         [BZ #14049]
39686         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39687         nonzero digits before rounding a hex value.
39688         * stdlib/tst-strtod.c (tests): Add another test.
39690 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39692         * sysdeps/s390/fpu/libm-test-ulps: Update.
39694 2012-05-03  Andreas Jaeger  <aj@suse.de>
39696         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39697         does not get optimized out.
39698         (malloc_opt_barrier): New.
39700 2012-05-03  Andreas Jaeger  <aj@suse.de>
39701             Roland McGrath  <roland@hack.frob.com>
39703         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39704         intermediate file deletion.
39705         (generated): Add .symlist files.
39707 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
39709         [BZ #13775]
39710         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39711         Redirect under this condition.
39712         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39713         [__USE_GNU] (__dprintf_chk): Not under this condition.
39714         [__USE_GNU] (__vdprintf_chk): Likewise.
39715         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39716         under this condition.
39717         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39718         [__USE_XOPEN2K8] (dprintf): Define under this condition.
39719         [__USE_XOPEN2K8] (vdprintf): Likewise.
39720         [__USE_GNU] (__dprintf_chk): Not under this condition.
39721         [__USE_GNU] (__vdprintf_chk): Likewise.
39722         [__USE_GNU] (dprintf): Likewise.
39723         [__USE_GNU] (vdprintf): Likewise.
39725 2012-05-03  Roland McGrath  <roland@hack.frob.com>
39727         * elf/Makefile (common-generated): Set this instead of generated for
39728         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
39729         $(all-built-dso)-derived lists.
39731 2012-05-03  Andreas Jaeger  <aj@suse.de>
39733         * sysdeps/i386/fpu/libm-test-ulps: Update.
39735         * FAQ: Removed.
39736         * FAQ.in: Likewise.
39737         * scripts/gen-FAQ.pl: Likewise.
39738         * manual/install.texi (Installation): Point to online location of
39739         FAQ.
39740         * Makefile (files-for-dist): Remove FAQ.
39741         (FAQ): Remove.
39743 2012-05-02  Allan McRae  <allan@archlinux.org>
39745         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39746         (LDFLAGS-reldepmod5.so): Likewise.
39747         (LDFLAGS-reldep6mod1.so): Likewise.
39748         (LDFLAGS-reldep6mod4.so): Likewise.
39749         (LDFLAGS-reldep8mod3.so): Likewise.
39750         (LDFLAGS-unload4mod1.so): Likewise.
39751         (LDFLAGS-unload4mod2.so): Likewise.
39752         (LDFLAGS-tst-initorder): Likewise.
39753         (LDFLAGS-tst-initordera2.so): Likewise.
39754         (LDFLAGS-tst-initordera3.so): Likewise.
39755         (LDFLAGS-tst-initordera4.so): Likewise.
39756         (LDFLAGS-tst-initorderb2.so): Likewise.
39757         (LDFLAGS-noload): Likewise.
39758         (LDFLAGS-next): Likewise.
39759         (LDFLAGS-order2mod1.so): Likewise.
39760         (LDFLAGS-order2mod2.so): Likewise.
39761         (LDFLAGS-tst-initorder2): Likewise.
39762         (LDFLAGS-tst-initorder2a.so): Likewise.
39763         (LDFLAGS-tst-initorder2b.so): Likewise.
39764         (LDFLAGS-tst-initorder2c.so): Likewise.
39765         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39767 2012-05-02  David S. Miller  <davem@davemloft.net>
39769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39771 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39773         [BZ #14055]
39774         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39776 2012-05-02  Andreas Jaeger  <aj@suse.de>
39778         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39779         since we manipulate rounding mode.
39780         (CPPFLAGS-test-idouble.c): Likewise.
39781         (CPPFLAGS-test-ifloat.c): Likewise.
39782         (CFLAGS-test-ldouble.c): Likewise.
39783         (CFLAGS-test-double.c): Likewise.
39784         (CFLAGS-test-float.c): Likewise.
39785         (CFLAGS-test-misc.c): Likewise.
39786         (CFLAGS-test-test-fenv.c): Likewise.
39788 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39790         [BZ #2550]
39791         [BZ #2570]
39792         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39793         comparisons to determine direction to adjust input.
39795 2012-05-01  Roland McGrath  <roland@hack.frob.com>
39797         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39798         output to the target.
39800         * scripts/localplt.awk: New file.
39801         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39802         (check-localplt-CFLAGS): Variable removed.
39803         ($(all-built-dso:=.jmprel)): New static pattern rule.
39804         (generated): Add those targets.
39805         (localplt-built-dso): New variable.
39806         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39808         * elf/check-localplt.c: File removed.
39810         * scripts/check-execstack.awk: New file.
39811         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39812         (check-execstack-CFLAGS): Variable removed.
39813         ($(objpfx)check-execstack.h): Target removed.
39814         ($(objpfx)execstack-default): New target.
39815         (generated): Add that instead of check-execstack.h.
39816         ($(all-built-dso:=.phdr)): New static pattern rule.
39817         (generated): Add those targets.
39818         * elf/check-execstack.c: File removed.
39820         * scripts/check-textrel.awk: New file.
39821         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39822         (check-textrel-CFLAGS): Variable removed.
39823         (all-built-dso): Use := to define.o
39824         ($(all-built-dso:=.dyn)): New static pattern rule.
39825         (generated): Add those targets.
39826         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39827         * config.make.in (READELF): New substituted variable.
39828         * elf/check-textrel.c: File removed.
39830 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39832         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39833         allow.
39834         * conform/data/ctype.h-data [C99-based standards] (isblank):
39835         Expect function.
39836         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39837         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39838         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39839         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39840         Specify type.  Require positive value.
39841         (EILSEQ): Likewise.
39842         (ERANGE): Likewise.
39843         [ISO || POSIX] (EILSEQ): Do not expect.
39844         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39845         Specify type.  Require positive value.
39846         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39847         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39848         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39849         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39850         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39851         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39852         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39853         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39854         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39855         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39856         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39857         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39858         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39859         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39860         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39861         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39862         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39863         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39864         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39865         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39866         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39867         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39868         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39869         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39870         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39871         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39872         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39873         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39874         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39875         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39876         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39877         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39878         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39879         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39880         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39881         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39882         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39883         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39884         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39885         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39886         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39887         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39888         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39889         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39890         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39891         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39892         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39893         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39894         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39895         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39896         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39897         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39898         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39899         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39900         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39901         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39902         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39903         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39904         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39905         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39906         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39907         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39908         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39909         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39910         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39911         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39912         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39913         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39914         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39915         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39916         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39917         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39918         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39919         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39920         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39921         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39922         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39923         Require >= 2.
39924         (FLT_ROUNDS): Expect as macro, not constant.
39925         (FLT_MANT_DIG): Use macro-int-constant.
39926         (DBL_MANT_DIG): Likewise.
39927         (LDBL_MANT_DIG): Likewise.
39928         (FLT_DIG): Likewise.
39929         (DBL_DIG): Likewise.
39930         (LDBL_DIG): Likewise.
39931         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39932         (DBL_MIN_EXP): Likewise.
39933         (LDBL_MIN_EXP): Likewise.
39934         (FLT_MAX_EXP): Use macro-int-constant.
39935         (DBL_MAX_EXP): Likewise.
39936         (LDBL_MAX_EXP): Likewise.
39937         (FLT_MAX_10_EXP): Likewise.
39938         (DBL_MAX_10_EXP): Likewise.
39939         (LDBL_MAX_10_EXP): Likewise.
39940         (FLT_MAX): Use macro-constant.
39941         (DBL_MAX): Likewise.
39942         (LDBL_MAX): Likewise.
39943         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39944         (DBL_EPSILON): Likewise.
39945         (LDBL_EPSILON): Likewise.
39946         (FLT_MIN): Likewise.
39947         (DBL_MIN): Likewise.
39948         (LDBL_MIN): Likewise.
39949         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39950         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39951         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39952         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39953         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39954         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39955         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39956         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39957         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39958         [ISO11] (FLT_TRUE_MIN): Likewise.
39959         [ISO11] (LDBL_TRUE_MIN): Likewise.
39960         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39961         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39962         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39963         (SCHAR_MAX): Likewise.
39964         (UCHAR_MAX): Likewise.
39965         (CHAR_MIN): Likewise.
39966         (CHAR_MAX): Likewise.
39967         (MB_LEN_MAX): Use macro-int-constant.
39968         (SHRT_MIN): Use macro-int-constant.  Specify type.
39969         (SHRT_MAX): Likewise.
39970         (USHRT_MAX): Likewise.
39971         (INT_MAX): Likewise.
39972         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39973         bound negative.
39974         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39975         bound with "U".
39976         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39977         bound with "L".
39978         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39979         bound negative.  Suffix upper bound with "L".
39980         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39981         bound with "UL".
39982         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39983         Specify type.
39984         [C99-based standards] (LLONG_MAX): Likewise.
39985         [C99-based standards] (ULLONG_MAX): Likewise.
39986         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39987         == 0.
39988         [ISO11] (max_align_t): Require type.
39989         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39991         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39992         from $CFLAGS, without defining away __attribute__ calls.
39993         (checknamespace): Use $CFLAGS_namespace.
39995         * conform/conformtest.pl (@keywords): Only include C99 keywords
39996         for standards based on C99 or C11.
39998         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39999         Disable tests.
40000         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40001         UNIX98]: Likewise.
40003         * conform/conformtest.pl: Handle "macro-int-constant" and test for
40004         usability of symbols in #if.
40006         * conform/conformtest.pl: If macro or constant types start
40007         "promoted:", expect the symbol to be of the following type
40008         promoted by the integer promotions.
40010         * conform/conformtest.pl: Parse all "constant" and "macro" lines
40011         in one place.  Also handle "macro-constant".
40013         * conform/conformtest.pl: Only accept expected macro values with
40014         "==".  Parse all "macro" lines in one place.
40015         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40017         * conform/conformtest.pl: Handle braced types on "constant" lines
40018         instead of handling "typed-constant".
40019         * conform/data/signal.h-data: Use "constant" instead of
40020         "typed-constant".
40022         * conform/conformtest.pl: Handle "optional-" at start of lines in
40023         one place rather than duplicating several cases.  Handle each
40024         format of "macro" line with initial "optional-".
40026         * conform/conformtest.pl: Only accept expected constant or
40027         optional-constant values with "==".  Parse all "constant" lines in
40028         one place.  Parse all "optional-constant" lines in one place.
40029         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40030         * conform/data/fmtmsg.h-data: Likewise.
40031         * conform/data/netinet/in.h-data: Likewise.
40032         * conform/data/tar.h-data: Likewise.
40033         * conform/data/limits.h-data: Use "==" form on "constant" and
40034         "optional-constant" lines.
40036         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40037         Use -std=c99 for XOPEN2K.
40038         (@knownproblems): Remove.
40039         (newtoken): Don't check %isknown.
40041         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40042         Do not expect macro.
40043         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40044         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40045         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40046         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40047         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40048         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40049         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40050         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40051         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40052         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40053         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40054         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40055         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40056         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40057         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40058         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40059         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40060         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40061         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40062         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40063         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40064         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40065         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40066         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40067         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40068         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40069         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40070         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40071         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40072         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40073         [XPG3] (acosh): Likewise.
40074         [XPG3] (asinh): Likewise.
40075         [XPG3] (atanh): Likewise.
40076         [XPG3] (cbrt): Likewise.
40077         [XPG3] (expm1): Likewise.
40078         [XPG3] (ilogb): Likewise.
40079         [XPG3] (log1p): Likewise.
40080         [XPG3] (logb): Likewise.
40081         [XPG3] (nextafter): Likewise.
40082         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40083         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40084         [XPG3] (remainder): Likewise.
40085         [XPG3] (rint): Likewise.
40086         [XPG3 || XPG4 || UNIX98] (round): Likewise.
40087         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40088         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40089         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40090         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40091         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40092         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40093         [UNIX98 || XOPEN2K] (scalb): Expect.
40094         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40095         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40096         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40097         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40098         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40099         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40100         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40101         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40102         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40103         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40104         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40105         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40106         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40107         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40108         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40109         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40110         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40111         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40112         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40113         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40114         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40115         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40116         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40117         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40118         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40119         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40120         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40121         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40122         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40123         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40124         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40125         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40126         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40127         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40128         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40129         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40130         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40131         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40132         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40133         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40134         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40135         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40136         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40137         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40138         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40139         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40140         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40141         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40142         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40143         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40144         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40145         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40146         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40147         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40148         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40149         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40150         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40151         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40152         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40153         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40154         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40155         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40156         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40157         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40158         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40159         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40160         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40161         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40162         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40163         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40164         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40165         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40166         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40167         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40168         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40169         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40170         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40171         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40172         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40173         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40174         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40175         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40176         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40177         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40178         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40179         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40180         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40181         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40182         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40183         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40184         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40185         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40186         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40187         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40188         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40189         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40190         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40191         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40192         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40193         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40194         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40195         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40196         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40197         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40198         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40199         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40200         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40201         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40202         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40203         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40204         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40205         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40206         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40207         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40208         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40209         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40210         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40211         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40212         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40213         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40214         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40215         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40216         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40217         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40218         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40219         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40220         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40221         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40222         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40223         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40224         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40225         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40226         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40227         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40228         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40229         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40230         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40232         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40233         _XOPEN_SOURCE_EXTENDED for XPG4.
40235         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40237         * Makeconfig (localtime): Remove variable.
40238         (inst_localtime-file): Likewise.
40240 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40243         Update.
40244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40245         Update.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40247         Update.
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40249         Update.
40250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40251         Update.
40252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40253         Update.
40254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40255         Update.
40256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40257         Update.
40258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40259         Update.
40261 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40263         [BZ #2550]
40264         [BZ #2570]
40265         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40266         comparisons to determine direction to adjust input.
40267         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40268         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40269         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40270         Likewise.
40271         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40272         Likewise.
40273         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40274         Likewise.
40275         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40276         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40277         Likewise.
40278         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40279         Likewise.
40280         * math/libm-test.inc (nexttoward_test): Add more tests.
40282 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40284         [BZ #14040]
40285         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40286         in version GLIBC_2.1, not GLIBC_2.0.
40287         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40288         Likewise.
40290 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40292         [BZ #13942]
40293         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40294         (1 - x) * (1 + x).
40295         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40296         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40297         * math/libm-test.inc (acos_test): Add more tests.
40298         (asin_test): Likewise.
40299         * sysdeps/i386/fpu/libm-test-ulps: Update.
40300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40302         [BZ #14034]
40303         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40304         of square root.
40305         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40306         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40307         * math/libm-test.inc (acos_test_tonearest): New function.
40308         (acos_test_towardzero): Likewise.
40309         (acos_test_downward): Likewise.
40310         (acos_test_upward): Likewise.
40311         (asin_test_tonearest): Likewise.
40312         (asin_test_towardzero): Likewise.
40313         (asin_test_downward): Likewise.
40314         (asin_test_upward): Likewise.
40315         (main): Call the new functions.
40316         * sysdeps/i386/fpu/libm-test-ulps: Update.
40317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40319         [BZ #13884]
40320         [BZ #13924]
40321         * math/e_exp10.c: Include <float.h>.
40322         (__ieee754_exp10): Handle underflow here rather than multiplying
40323         large negative argument by M_LN10.
40324         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40325         of __ieee754_expf.
40326         * math/e_exp10l.c: Include <float.h>.
40327         (__ieee754_exp10l): Handle underflow here rather than multiplying
40328         large negative argument by M_LN10l.
40329         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
40330         spurious overflow exception on underflow.
40332 2012-04-29  Marek Polacek  <polacek@redhat.com>
40334         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40335         (__fortify_function): New macro.
40336         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40337         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40338         __extern_always_inline.
40339         * libio/bits/stdio2.h: Likewise.
40340         * libio/bits/stdio.h: Likewise.
40341         * string/string.h: Likewise.
40342         * string/bits/string3.h: Likewise.
40343         * include/stdio.h: Likewise.
40344         * stdlib/bits/stdlib.h: Likewise.
40345         * stdlib/stdlib.h: Likewise.
40346         * rt/bits/mqueue2.h: Likewise.
40347         * rt/mqueue.h: Likewise.
40348         * posix/bits/unistd.h: Likewise.
40349         * posix/unistd.h: Likewise.
40350         * io/bits/poll2.h: Likewise.
40351         * io/bits/fcntl2.h: Likewise.
40352         * io/fcntl.h: Likewise.
40353         * io/sys/poll.h: Likewise.
40354         * misc/bits/syslog.h: Likewise.
40355         * misc/bits/syslog-ldbl.h: Likewise.
40356         * misc/sys/syslog.h: Likewise.
40357         * socket/bits/socket2.h: Likewise.
40358         * socket/sys/socket.h: Likewise.
40359         * debug/tst-chk1.c: Likewise.
40360         * wcsmbs/bits/wchar2.h: Likewise.
40361         * wcsmbs/bits/wchar-ldbl.h: Likewise.
40362         * wcsmbs/wchar.h: Likewise.
40364 2012-04-29  Andreas Jaeger  <aj@suse.de>
40366         * Makerules (tests): Remove enable-check-abi protection.
40367         (check-abi-warn): Remove.
40368         (check-abi-%): Remove check-abi-warn usage.
40370         * configure.in: Remove check-abi configure option.
40371         * configure: Regenerated.
40372         * config.make.in (enable-check-abi): Remove.
40374 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
40376         [BZ #14033]
40377         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40378         double functions to double *_finite functions.
40380         [BZ #13941]
40381         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40382         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40383         LDBL_MIN_EXP.
40384         * stdio-common/Makefile (tests): Add tst-sprintf3.
40385         * stdio-common/tst-sprintf3.c: New file.
40387         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40388         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40390 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40392         * conform/conformtest.pl: Remove duplicate typed-constant
40393         handling.
40395 2012-04-28  David S. Miller  <davem@davemloft.net>
40397         * Makerules (%.abilist): Add vpath on sysdep_dirs.
40398         (check-abi-%): Remove AWK script prerequisite and explicit
40399         abilist directory.
40400         (check-abi): Rewrite to just diff the symlist with the abilist.
40401         (config-tls, config-abi-config): Delete, no longer used.
40402         (update-abi-%): Remove AWK script and explicit abilist directory.
40403         (update-abi): Rewrite to simply compare and conditionally copy the
40404         symlist and the sysdep abilist file.  Remove update-abi-config
40405         checks.
40406         * abilist/ld.abilist: Remove.
40407         * abilist/libBrokenLocale.abilist: Remove.
40408         * abilist/libanl.abilist: Remove.
40409         * abilist/libcrypt.abilist: Remove.
40410         * abilist/libdl.abilist: Remove.
40411         * abilist/librt.abilist: Remove.
40412         * abilist/libthread_db.abilist: Remove.
40413         * abilist/libutil.abilist: Remove.
40414         * scripts/extract-abilist.awk: Remove.
40415         * scripts/merge-abilist.awk: Remove.
40416         * sysdeps/generic/libcidn.abilist: New file.
40417         * sysdeps/generic/libnss_compat.abilist: New file.
40418         * sysdeps/generic/libnss_db.abilist: New file.
40419         * sysdeps/generic/libnss_dns.abilist: New file.
40420         * sysdeps/generic/libnss_files.abilist: New file.
40421         * sysdeps/generic/libnss_hesiod.abilist: New file.
40422         * sysdeps/generic/libnss_nis.abilist: New file.
40423         * sysdeps/generic/libnss_nisplus.abilist: New file.
40424         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40425         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40426         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40427         file.
40428         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40429         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40430         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40431         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40432         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40433         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40434         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40435         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40436         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40437         file.
40438         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40439         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40440         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40441         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40442         file.
40443         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40444         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40445         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40446         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40447         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40448         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40449         file.
40450         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40451         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40452         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40453         file.
40454         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40456         New file.
40457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40458         New file.
40459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40460         New file.
40461         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40462         New file.
40463         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40464         New file.
40465         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40466         New file.
40467         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40468         New file.
40469         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40470         New file.
40471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40472         New file.
40473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40474         New file.
40475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40476         New file.
40477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40478         New file.
40479         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40480         New file.
40481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40482         file.
40483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40484         New file.
40485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40486         New file.
40487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40488         file.
40489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40490         New file.
40491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40492         New file.
40493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40494         file.
40495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40496         New file.
40497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40498         New file.
40499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40500         New file.
40501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40502         New file.
40503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40504         New file.
40505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40506         New file.
40507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40509         file.
40510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40511         New file.
40512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40513         file.
40514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40515         file.
40516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40517         file.
40518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40519         file.
40520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40521         file.
40522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40523         New file.
40524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40525         file.
40526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40527         file.
40528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40529         New file.
40530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40531         file.
40532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40534         file.
40535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40536         New file.
40537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40538         file.
40539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40540         file.
40541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40542         file.
40543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40544         file.
40545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40546         file.
40547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40548         New file.
40549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40550         file.
40551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40552         file.
40553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40554         New file.
40555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40556         file.
40557         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40558         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40559         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40560         file.
40561         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40562         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40563         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40564         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40565         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40566         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40567         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40568         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40569         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40570         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40573         file.
40574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40575         New file.
40576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40577         file.
40578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40579         file.
40580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40581         file.
40582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40583         file.
40584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40585         file.
40586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40587         New file.
40588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40589         New file.
40590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40591         file.
40592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40593         New file.
40594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40595         file.
40596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40598         file.
40599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40600         New file.
40601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40602         file.
40603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40604         file.
40605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40606         file.
40607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40608         file.
40609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40610         file.
40611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40612         New file.
40613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40614         New file.
40615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40616         file.
40617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40618         New file.
40619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40620         file.
40622 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40624         * conform/conformtest.pl: Fix typo in handling typed-constant from
40625         allow-header.
40627 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40629         * README: Cut down references to pre-2.6 Linux kernels and
40630         Linuxthreads.  Update lists of configurations in libc and ports
40631         and sort alphabetically.  Say "or newer" with Linux kernel version
40632         requirements.
40634         * config.h.in [IS_IN_build]: Allow compiling without optimization.
40636 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40638         [BZ #887]
40639         * math/libm-test.inc (logb_test_downward): New test to expose
40640         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40641         rounding mode.
40643 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40645         [BZ #14027]
40646         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40647         to be done.
40648         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40649         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40651 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
40653         * sysdeps/unix/i386/brk.S: Remove file.
40654         * sysdeps/unix/i386/dl-brk.S: Likewise.
40655         * sysdeps/unix/i386/pipe.S: Likewise.
40656         * sysdeps/unix/i386/sigreturn.S: Likewise.
40657         * sysdeps/unix/i386/syscall.S: Likewise.
40658         * sysdeps/unix/i386/vfork.S: Likewise.
40659         * sysdeps/unix/i386/wait.S: Likewise.
40661         * sysdeps/unix/common/tcsendbrk.c: Move to ...
40662         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40664         * configure.in (arm*-none*): Do not allow without
40665         --enable-hacker-mode.
40666         (netbsd*): Remove case setting base_os.
40667         (386bsd*): Likewise.
40668         (freebsd*): Likewise.
40669         (bsdi*): Likewise.
40670         (osf*): Likewise.
40671         (sunos*): Likewise.
40672         (ultrix*): Likewise.
40673         (newsos*): Likewise.
40674         (dynix*): Likewise.
40675         (*bsd*): Likewise.
40676         (sysv*): Likewise.
40677         (isc*): Likewise.
40678         (esix*): Likewise.
40679         (sco*): Likewise.
40680         (minix*): Likewise.
40681         (irix4*): Likewise.
40682         (irix6*): Likewise.
40683         (solaris[2-9]*): Likewise.
40684         (none): Likewise.
40685         * configure: Regenerated.
40687 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40689         [BZ #11521]
40690         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40691         overflow or cancellation in calculating denominator.
40692         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40693         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40694         down expression to avoid unexpected rounding in newer GCCs.
40695         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40697 2012-04-26  David S. Miller  <davem@davemloft.net>
40699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40700         long-double compat symbols.
40701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40715 2012-04-25  David S. Miller  <davem@davemloft.net>
40717         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40718         HWCAP_* values only after the memory barriers have been defined.
40719         (atomic_full_barrier): Define.
40720         (atomic_read_barrier): Define.
40721         (atomic_write_barrier): Define.
40723 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40725         * shlib-versions: Add libgcc_s version information.
40726         * sysdeps/generic/libgcc_s.h: Remove.
40727         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40728         libgcc_s.h.
40729         * sysdeps/gnu/unwind-resume.c: Likewise.
40730         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40732 2012-04-25  David S. Miller  <davem@davemloft.net>
40734         * sysdeps/unix/sparc/brk.S: Delete.
40735         * sysdeps/unix/sparc/dl-brk.S: Delete.
40736         * sysdeps/unix/sparc/pipe.S: Delete.
40737         * sysdeps/unix/sparc/sysdep.S: Delete.
40738         * sysdeps/unix/sparc/sysdep.h: Delete.
40739         * sysdeps/unix/sparc/vfork.S: Delete.
40740         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40741         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40742         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40743         (ret_ERRVAL, r0, r1, MOVE): Define.
40744         (JUMPTARGET): Remove.
40745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40746         sysdeps/unix/sparc/sysdep.h
40747         (ENTRY, END): Remove.
40748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40750 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
40752         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40753         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40754         -DIS_IN_build.
40756         * timezone/README: Update upstream location and email address for
40757         tzcode and tzdata.
40758         * timezone/zdump.c: Update from tzcode 2012b.
40759         * timezone/zic.c: Likewise.
40761         * configure.in (libc_cv_as_needed): Remove test.
40762         * configure: Regenerated.
40763         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40764         conditional definition.
40765         [$(have-as-needed) != yes] (no-as-needed): Likewise.
40766         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40767         * config.make.in (have-as-needed): Remove variable.
40769 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40770             Paul Pluzhnikov  <ppluzhnikov@google.com>
40772         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40773         strings correctly.
40775 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
40777         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40778         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40779         * sysdeps/sh/strlen.S: Likewise.
40781 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40783         * sysdeps/unix/fork.S: Remove file.
40784         * sysdeps/unix/i386/fork.S: Likewise.
40785         * sysdeps/unix/sparc/fork.S: Likewise.
40787         * sysdeps/unix/system.c: Remove file.
40788         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40790         * sysdeps/unix/getegid.S: Remove file.
40791         * sysdeps/unix/geteuid.S: Likewise.
40793 2012-04-24  Roland McGrath  <roland@hack.frob.com>
40795         * scripts/check-localplt.awk: New file.
40796         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40797         of diff.
40798         * scripts/data/localplt-generic.data: Add a comment.
40800         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40801         NODE when __dir_mkfile failed.
40802         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40803         Reported by Ludovic Courtès <ludo@gnu.org>.
40805 2012-04-24  Andreas Jaeger  <aj@suse.de>
40807         * Makerules (common-clean): Also remove gen-as-const-headers
40808         files.
40810 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40812         * Makerules (native-compile): Do not change working directory for
40813         build.  Use $(OUTPUT_OPTION) in command.
40814         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40816 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40818         [BZ #13886]
40819         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40820         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40821         * math/libm-test.inc (floor_test): Add more tests.
40822         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40824 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40826         * sysdeps/unix/getdents.c: Remove file.
40827         * sysdeps/unix/sysv/getdents.c: Likewise.
40828         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40830         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40831         sysdeps/unix/mman/syscalls.list.
40832         (mmap): Likewise.
40833         (mprotect): Likewise.
40834         (msync): Likewise.
40835         (munmap): Likewise.
40836         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40837         * sysdeps/unix/mman/syscalls.list: Remove.
40838         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40840         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40841         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40842         * configure: Regenerated.
40843         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40844         $(libgcc_s_suffix).
40845         * config.make.in (libgcc_s_suffix): Remove variable.
40847 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40849         * sysdeps/unix/sysv/gethostname.c: Move to ...
40850         * sysdeps/posix/gethostname.c: ... here.
40852         * sysdeps/unix/execve.S: Remove file.
40854         * sysdeps/unix/_exit.S: Remove file.
40856 2012-04-23  Andreas Jaeger  <aj@suse.de>
40858         [BZ #13739]
40859         * manual/Makefile: Remove make dist support, there's no
40860         need for a stand-alone documentation tar ball.
40861         (TEXI2DVI): Define always, it's not in Makeconfig.
40862         (dist): Removed.
40863         (tar-it): Removed.
40864         (edition): Removed.
40865         (glibc-doc-$(edition).tar): Removed
40866         (%.Z): Removed.
40867         (%.gz): Removed.
40868         (%.uu): Removed.
40869         (ETAGS): Remove, it's in Makeconfig.
40870         (move-if-change): Remove, it's in Makeconfig.
40872 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40874         [BZ #13970]
40875         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40876         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40877         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40878         (strtod_l, strtof_l, strtold_l): Remove __wur.
40879         It is not necessarily an error to ignore strtol's return value.
40880         One can reliably look at the stored endptr to decide whether
40881         the number had valid syntax.
40883 2012-04-21  Andreas Jaeger  <aj@suse.de>
40885         [BZ #13739]
40886         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40888 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40890         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40891         * sysdeps/unix/sysv/Versions: Remove file.
40893 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40895         [BZ #13927]
40896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40898 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40900         [BZ #7064]
40901         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40902         version from __vm86.
40904 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40906         * sysdeps/unix/common/lxstat.c: Remove file.
40907         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40909         * sysdeps/unix/sysv/Makefile: Remove file.
40911         * sysdeps/unix/sysv/direct.h: Remove file.
40913         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40914         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40915         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40916         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40917         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40918         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40919         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40921         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40923         * sysdeps/unix/xmknod.c: Remove file.
40924         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40926         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40928         * sysdeps/unix/sysv/i386/time.S: Remove file.
40930         * sysdeps/unix/fxstat.c: Remove file.
40931         * sysdeps/unix/xstat.c: Likewise.
40932         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40934         * sysdeps/unix/sysv/sigaction.c: Remove file.
40936         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40937         (sysdep_headers): Remove variable.
40938         [termio.h not in sysdep_headers] (generated): Likewise.
40939         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40940         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40941         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40942         * sysdeps/unix/sysv/tcflow.c: Likewise.
40943         * sysdeps/unix/sysv/tcflush.c: Likewise.
40944         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40945         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40946         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40947         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40948         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40950         * sysdeps/unix/siglist.c: Remove file.
40952         * sysdeps/unix/getppid.S: Remove file.
40954         * sysdeps/unix/mkdir.c: Remove file.
40955         * sysdeps/unix/rmdir.c: Likewise.
40957 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40959         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40960         ERR_MAX value.
40961         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40962         errlist-compat value.
40964 2012-04-18  David S. Miller  <davem@davemloft.net>
40966         * sysdeps/generic/memcopy.h (reg_char): Delete.
40967         * debug/strcat_chk.c: Use char, not reg_char.
40968         * debug/strcpy_chk.c: Likewise.
40969         * debug/strncat_chk.c: Likewise.
40970         * debug/strncpy_chk.c: Likewise.
40971         * string/memchr.c: Likewise.
40972         * string/memrchr.c: Likewise.
40973         * string/rawmemchr.c: Likewise.
40974         * string/strcat.c: Likewise.
40975         * string/strchr.c: Likewise.
40976         * string/strchrnul.c: Likewise.
40977         * string/strcmp.c: Likewise.
40978         * string/strcpy.c: Likewise.
40979         * string/strncat.c: Likewise.
40980         * string/strncmp.c: Likewise.
40981         * string/strncpy.c: Likewise.
40983 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40985         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40986         __builtin_memcopy is called when src and dest ranges are known to not
40987         overlap.
40989 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40991         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40992         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40993         fwd_align_merge macro call.
40994         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40995         bwd_align_merge macro call.
40996         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40998 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41000         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41001         bwd_align_merge macros.
41002         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41003         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41004         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41006 2012-04-18  David S. Miller  <davem@davemloft.net>
41008         * sysdeps/sparc/sparc64/memcopy.h: Delete.
41010 2012-04-18  Andreas Jaeger  <aj@suse.de>
41012         [BZ# 6794]
41013         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41014         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41015         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41017         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41018         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41019         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41021         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41022         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41023         Adjust for changed ldbl-128 files.
41025         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41026         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41027         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41029 2012-04-17  David S. Miller  <davem@davemloft.net>
41031         * sysdeps/sparc/sparc32/memcopy.h: Delete.
41033 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
41035         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41036         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41037         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41038         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41039         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41040         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41042 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41044         [BZ #6794]
41045         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41046         * math/libm-test.inc: Add ilogb errno and exception tests.
41047         * math/w_ilogb.c: New file: ilogb wrapper.
41048         * math/w_ilogbf.c: New file: ilogbf wrapper.
41049         * math/w_ilogbl.c: New file: ilogbl wrapper.
41050         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41051         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41052         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41053         exception being thrown with 0.0 as argument.
41054         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41055         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41056         exception being thrown with 0.0 as argument.
41057         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41058         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41059         exception being thrown with 0.0 as argument.
41060         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41061         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41062         exception being thrown with 0.0 as argument.
41063         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41064         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41065         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41066         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41067         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41068         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41069         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41070         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41071         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41073 2012-04-17  Petr Baudis  <pasky@ucw.cz>
41075         * include/sys/uio.h: Change __vector to __iovec to avoid clash
41076         with altivec.
41078 2012-04-16  Marek Polacek  <polacek@redhat.com>
41080         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41082 2012-04-16  Marek Polacek  <polacek@redhat.com>
41084         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41085         operands of fdivp instruction.
41087 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41089         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41090         * elf/tst-auditmod3b.c: Likewise.
41091         * elf/tst-auditmod4b.c: Likewise.
41092         * elf/tst-auditmod5b.c: Likewise.
41093         * elf/tst-auditmod6b.c: Likewise.
41094         * elf/tst-auditmod6c.c: Likewise.
41095         * elf/tst-auditmod7b.c: Likewise.
41096         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41097         * sysdeps/x86_64/preconfigure.in: Likewise.
41098         * sysdeps/x86_64/preconfigure: Regenerated.
41100 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41102         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41103         __ILP32__.
41105 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
41107         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41108         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41110 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
41112         [BZ #13973]
41113         * locale/iso-639.def: Fix gl language name. Spotted by
41114         Yaron Shahrabani.
41116 2012-04-12  Roland McGrath  <roland@hack.frob.com>
41118         [BZ #2074]
41119         * libio/libio.h (__io_write_fn): Update comment.
41121 2012-04-12  Petr Baudis  <pasky@ucw.cz>
41123         [BZ #2074]
41124         * stdio.texi (Hook Functions): The user provided writer function
41125         is not allowed to return -1.
41127 2012-04-11  David S. Miller  <davem@davemloft.net>
41129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41131 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
41133         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41134         Add a leading slash to rtkaio.
41136 2012-04-11  Jim Meyering  <meyering@redhat.com>
41138         [BZ #11959]
41139         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41140         It is not necessarily an error to ignore fwrite's return
41141         value.  One can reliably use ferror to test for errors after
41142         the fact.
41144 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41146         * bits/types.h (__snseconds_t): New type.
41147         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41149         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41151         (__SNSECONDS_T_TYPE): Likewise.
41152         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41153         (__SNSECONDS_T_TYPE): Likewise.
41154         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41155         (__SNSECONDS_T_TYPE): Likewise.
41157 2012-04-10  Andreas Jaeger  <aj@suse.de>
41159         [BZ #2636]
41160         * manual/time.texi (Processor Time): Return type of times is
41161         elapsed real time since an arbitrary point in the past.
41162         (CPU Time): Move CLK_TCK from here...
41163         (Processor Time): ...to here.  Correct description.
41164         * manual/conf.texi (Constants for Sysconf): Correct description of
41165         _SC_CLK_TCK.
41167 2012-04-10  David S. Miller  <davem@davemloft.net>
41169         [BZ #13967]
41170         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41171         where the is a gap between DT_REL(A) and DT_JMPREL.
41173 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41175         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41176         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41177         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41179 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41181         * elf/dl-support.c (_dl_inhibit_cache): New variable.
41182         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41183         (dl_main): Handle --inhibit-cache.
41184         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41185         _dl_inhibit_cache.
41186         * elf/dl-load.c (_dl_map_object): Use it.
41187         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41189 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41191         [BZ #13872]
41192         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41193         (__ieee754_powl): Saturate large exponents rather than testing for
41194         overflow of y*log2(x).
41195         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41196         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41197         exceptions.
41199         [BZ #11521]
41200         * math/s_ctan.c: Include <float.h>.
41201         (__ctan): Avoid internal overflow or cancellation in calculating
41202         denominator.
41203         * math/s_ctanf.c: Likewise.
41204         * math/s_ctanl.c: Likewise.
41205         * math/s_ctanh.c: Likewise.
41206         * math/s_ctanhf.c: Likewise.
41207         * math/s_ctanhl.c: Likewise.
41208         * math/libm-test.inc (ctan_test): Add more tests.
41209         (ctanh_test): Likewise.
41210         * sysdeps/i386/fpu/libm-test-ulps: Update.
41211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41213 2012-04-09  Andreas Jaeger  <aj@suse.de>
41215         [BZ #6894]
41216         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41217         is an optional BSD extension.
41219         [BZ #10254]
41220         * manual/stdio.texi (Opening Streams): Document additional fopen
41221         parameters.
41223 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41225         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41226         %eax without telling the compiler.
41228 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41230         [BZ # 13963]
41231         * manual/install.texi: Use sourceware.org.
41233 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41235         [BZ #13873]
41236         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41237         (__ieee754_pow): Generate overflow and underflow using huge*huge
41238         and tiny*tiny rather than just returning constant infinity or zero
41239         for large exponents.
41240         * math/libm-test.inc (pow_test): Require overflow exceptions for
41241         applicable cases of large exponents.
41243         [BZ #706]
41244         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41245         (__ieee754_pow): Use iterative multiplication algorithm only for
41246         integer exponents with absolute value below 1024.  Check for odd
41247         integer exponents when using algorithm for real exponents.
41248         * math/libm-test.inc (pow_test): Add more tests.
41249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41251 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41253         [BZ #13705]
41254         * math/libm-test.inc (exp_test): Do not allow overflow exception
41255         on underflow test.
41257 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41259         [BZ #13705]
41260         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41261         instead of __kernel_standard_f.
41263 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41265         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41266         * sysdeps/x86_64/memset_chk.S: Likewise.
41268 2012-04-08  Andreas Jaeger  <aj@suse.de>
41270         [BZ #10153]
41271         * manual/startup.texi (Environment Access): Describe return value
41272         for putenv and setenv.
41274         [BZ #6895]
41275         * manual/filesys.texi (Directory Entries): Add description for
41276         DT_LNK.
41278         [BZ #6890]
41279         * manual/filesys.texi (Directory Entries): Clarify that it's file
41280         system not operating system in the description of DT_UNKNOWN.
41282         [BZ #6578]
41283         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41285 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41287         [BZ #6649]
41288         * manual/llio.texi (Opening and Closing Files): Add cross
41289         reference to explain mode argument.
41291 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41293         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41294         * sysdeps/x86_64/memset_chk.S: Likewise.
41296 2012-04-07  David S. Miller  <davem@davemloft.net>
41298         * elf/elf.h (R_SPARC_WDISP10): Define.
41299         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41300         R_SPARC_SIZE32.
41301         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41302         R_SPARC_SIZE64 and R_SPARC_H34.
41304 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
41306         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41307         conditions and remove no longer applicable assertion.
41309 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41311         * bits/byteswap.h: Include <features.h>.
41312         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41313         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41315 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41317         * bits/byteswap.h (__bswap_16): Removed.
41318         Include <bits/byteswap-16.h> to get __bswap_16.
41319         * sysdeps/i386/bits/byteswap.h: Likewise.
41320         * sysdeps/s390/bits/byteswap.h: Likewise.
41321         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41322         * bits/byteswap-16.h: New file.
41323         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41324         * sysdeps/s390/bits/byteswap-16.h: Likewise.
41325         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41326         * string/Makefile (headers): Add bits/byteswap-16.h.
41328 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41330         [BZ #13895]
41331         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41332         extra indirection.
41333         * nss/Makefile (tests-static, tests): Add tst-nss-static.
41334         * nss/tst-nss-static.c: New.
41336 2012-04-06  Robert Millan  <rmh@gnu.org>
41338         [BZ #6486]
41339         * manual/llio.texi (File Position Primitive): lseek
41340         refers to WHENCE when it really means OFFSET.
41342 2012-04-06  Andreas Jaeger  <aj@suse.de>
41344         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41345         strncmp declarations.
41347         * abilist/libc.abilist: Add __poll and __ppoll.
41349 2012-04-05  David S. Miller  <davem@davemloft.net>
41351         * scripts/check-local-headers.sh: Accept a host triplet in the
41352         path matched by the exclude regexp.
41354         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41355         definition.
41356         * sysdeps/powerpc/powerpc32/dl-machine.h
41357         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41358         * sysdeps/s390/s390-32/dl-machine.h
41359         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41360         * sysdeps/sparc/sparc32/dl-machine.h
41361         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41362         * sysdeps/sparc/sparc64/dl-machine.h
41363         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41365         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41366         lazy binding.
41367         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41368         undefined symbol errors.
41370         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41371         DT_NEEDED entries.
41373 2012-04-05  Michael Matz  <matz@suse.de>
41375         [BZ #13592]
41376         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41378 2012-04-05  Andreas Jaeger  <aj@suse.de>
41380         [BZ #13908]
41381         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41382         comment.
41384 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41386         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41387         which ROUND is no valid rounding mode.
41389 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41391         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41392         read again.
41393         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41395 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41397         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41398         an exception using FPU order intentionally.
41400 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41402         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41403         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41404         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41405         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41407 2012-04-05  Simon Josefsson  <simon@josefsson.org>
41409         [BZ #12340]
41410         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41411         EINVAL when BUFLEN is too smal.
41413 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41415         [BZ #13553]
41416         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41417         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41419 2012-04-03  Andreas Jaeger  <aj@suse.de>
41421         [BZ #13938]
41422         * manual/setjmp.texi (System V contexts): Fix sentence.
41424         [BZ #13926]
41425         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41426         New macro for this case.
41427         [!__GNUC__] (__bswap_64): New inline function for this case.
41428         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41429         * bits/byteswap.h: Likewise.
41430         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41431         ull, guard with __GLIBC_HAVE_LONG_LONG.
41433         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41434         __GLIBC_HAVE_LONG_LONG.
41436         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41437         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41439 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41441         [BZ #13691]
41442         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41443         inptr and inend, rather than using last_ch.
41445 2012-04-02  David S. Miller  <davem@davemloft.net>
41447         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41448         * stdio-common/printf-parse.h (read_int): Change return type to
41449         'int', return -1 on INT_MAX overflow.
41450         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41451         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
41452         overflows INT_MAX.  Check for overflow of in-format-string precision
41453         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
41454         SIZE_MAX not INT_MAX for integer overflow test.
41455         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41456         skip the construct in the format string but do not record anything.
41457         * stdio-common/bug22.c: Adjust to test both width/prevision
41458         INT_MAX overflow as well as total length INT_MAX overflow.  Check
41459         explicitly for proper errno values.
41461 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41463         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41464         CHAR_MAX.
41465         * string/test-strcmp.c [! WIDE]: Likewise.
41466         * time/tst-mktime2.c: Likewise for INT_MAX.
41467         * string/test-string.h: #include <sys/param.h> for MIN.
41469         * csu/init-first.c (__libc_init_first): Call __ctype_init.
41470         * sysdeps/i386/init-first.c (init): Likewise.
41471         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41472         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41473         * sysdeps/sh/init-first.c (init): Likewise.
41475 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
41477         * po/ru.po: Update from translation team.
41478         * po/vi.po: Likewise.
41480 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41482         * resolv/nss_dns/dns-host.c: Merge copyright years.
41484 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41486         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41487         Optimize memcpy with prefetch if
41488         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
41489         src, dst pointers have unequal 16 byte alignments.
41491 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41493         [BZ #13928]
41494         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41495         from a CNAME entry and return the minimum ttl for the query.
41496         (gaih_getanswer_slice): Likewise.
41498 2012-03-30  Jeff Law  <law@redhat.com>
41500         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41501         due to long keys.
41502         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41503         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41505         * resolv/nss_dns/dns-host.c: Update copyright year.
41507 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
41509         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41510         requests to save a system call.  Fix check that all bytes are sent.
41512         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41513         comments for sendmmsg.
41515 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41517         [BZ #13691]
41518         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41519         with only 1 character between 0x0041 and 0x01b0.
41520         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41521         * wcsmbs/tst-mbsnrtowcs.c: New file.
41523 2012-03-29  David S. Miller  <davem@davemloft.net>
41525         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41526         small copies by hand.
41528 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41530         [BZ #13761]
41531         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41532         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41533         group memberships.
41535 2012-03-28  David S. Miller  <davem@davemloft.net>
41537         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41538         that branches into memcpy.
41539         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41540         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41541         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41542         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41543         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41544         bits.
41545         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41546         implementation too.
41547         * sysdeps/sparc/mempcpy.S: New file.
41549         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41550         the IFUNC routine in the libc case.
41551         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41553         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41554         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41555         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41556         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41557         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41558         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41559         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41560         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41562         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41563         loop to 256 bytes instead of 64 bytes and fix test signedness.
41565         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41566         * sysdeps/sparc/sparc32/Makefile: rather than here...
41567         * sysdeps/sparc/sparc64/Makefile: and here.
41569 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
41571         * malloc/mallocbug.c: Avoid warnings about unused variables.
41573 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41575         [BZ #13760]
41576         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41577         in the right place. Discard and retry query if response is
41578         larger than input buffer size.
41580 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
41582         [BZ #369]
41583         [BZ #2678]
41584         [BZ #3866]
41585         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41586         x for large integer exponent.
41587         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41588         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
41589         sign of result as needed afterwards.
41590         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41591         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41592         result for underflowing pow the same as for overflow.
41593         (__kernel_standard_l): Handle powl overflow and underflow here
41594         rather than calling __kernel_standard.
41595         * math/libm-test.inc (pow_test): Add more tests.
41597         [BZ #3868]
41598         [BZ #13879]
41599         [BZ #13910]
41600         [BZ #13911]
41601         [BZ #13912]
41602         [BZ #13913]
41603         [BZ #13915]
41604         [BZ #13916]
41605         [BZ #13917]
41606         [BZ #13918]
41607         [BZ #13919]
41608         [BZ #13920]
41609         [BZ #13921]
41610         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41611         * sysdeps/ieee754/k_standard.c: Include <float.h>.
41612         (__kernel_standard_l): New function.
41613         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41614         __kernel_standard.
41615         * math/w_acosl.c (__acosl): Likewise.
41616         * math/w_asinl.c (__asinl): Likewise.
41617         * math/w_atan2l.c (__atan2l): Likewise.
41618         * math/w_atanhl.c (__atanhl): Likewise.
41619         * math/w_coshl.c (__coshl): Likewise.
41620         * math/w_exp10l.c (__exp10l): Likewise.
41621         * math/w_exp2l.c (__exp2l): Likewise.
41622         * math/w_fmodl.c (__fmodl): Likewise.
41623         * math/w_hypotl.c (__hypotl): Likewise.
41624         * math/w_j0l.c (__j0l, __y0l): Likewise.
41625         * math/w_j1l.c (__j1l, __y1l): Likewise.
41626         * math/w_jnl.c (__jnl, __ynl): Likewise.
41627         * math/w_lgammal.c (__lgammal): Likewise.
41628         * math/w_log10l.c (__log10l): Likewise.
41629         * math/w_log2l.c (__log2l): Likewise.
41630         * math/w_logl.c (__logl): Likewise.
41631         * math/w_powl.c (__powl): Likewise.
41632         * math/w_remainderl.c (__remainderl): Likewise.
41633         * math/w_scalbl.c (sysv_scalbl): Likewise.
41634         * math/w_sinhl.c (__sinhl): Likewise.
41635         * math/w_sqrtl.c (__sqrtl): Likewise.
41636         * math/w_tgammal.c (__tgammal): Likewise.
41637         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41638         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41639         * math/libm-test.inc (acos_test): Add more tests.
41640         (acosh_test): Likewise.
41641         (asin_test): Likewise.
41642         (atanh_test): Likewise.
41643         (exp_test): Likewise.
41644         (exp10_test): Likewise.
41645         (exp2_test): Likewise.
41646         (expm1_test): Likewise.
41647         (lgamma_test): Likewise.
41648         (log_test): Likewise.
41649         (log10_test): Likewise.
41650         (log1p_test): Likewise.
41651         (log2_test): Likewise.
41652         (pow_test): Do not allow some spurious overflow exceptions.
41653         (sqrt_test): Add more tests.
41654         (tgamma_test): Likewise.
41655         (y0_test): Likewise.
41656         (y1_test): Likewise.
41657         (yn_test): Likewise.
41659 2012-03-27  Anton Blanchard  <anton@samba.org>
41661         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41662         MAP_HUGETLB.
41663         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41664         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41665         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41667 2012-03-27  David S. Miller  <davem@davemloft.net>
41669         * conform/Makefile: Run run-conformtest.sh using $(BASH).
41671         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41672         have-as-vis3 check.
41674 2012-03-27  Andreas Jaeger  <aj@suse.de>
41676         * sysdeps/x86_64/elf/configure.in: Moved to ...
41677         * sysdeps/x86_64/configure.in: ... here.
41678         * sysdeps/x86_64/elf/start.S: Moved to ...
41679         * sysdeps/x86_64/start.S: ... here.
41680         * sysdeps/x86_64/elf/configure: Delete.
41682         * sysdeps/x86_64/configure.in: Merge contents from
41683         sysdeps/i386/configure.in (without i686 check).
41685         * sysdeps/i386/elf/Versions: Merge into ...
41686         * sysdeps/i386/Versions: ... this.
41687         * sysdeps/i386/elf/Versions: Delete file.
41688         * sysdeps/i386/elf/start.S: Moved to ...
41689         * sysdeps/i386/start.S: ...here.
41690         * sysdeps/i386/elf/configure.in: Merge into...
41691         * sysdeps/i386/configure.in: ...here.
41692         * sysdeps/i386/elf/configure.in: Delete file.
41693         * sysdeps/i386/elf/configure: Delete file.
41695         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41696         * debug/backtracesyms.c: ... here.
41697         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41698         * debug/backtracesymsfd.c: ... here.
41699         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41700         * sysdeps/generic/ifunc-sel.h: ... here.
41702         * sysdeps/unix/i386/start.c: Delete file.
41703         * sysdeps/unix/sparc/start.c: Delete file.
41704         * sysdeps/unix/start.c: Delete file.
41706         * sysdeps/sh/elf/configure.in: Moved to ...
41707         * sysdeps/sh/configure.in: ... here.
41708         * sysdeps/sh/elf/start.S: Moved to ...
41709         * sysdeps/sh/start.S: ... here.
41710         * sysdeps/sh/elf/configure: Delete file.
41712         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41713         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41714         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41715         * sysdeps/powerpc/powerpc64/entry.h: ... here.
41716         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41717         * sysdeps/powerpc/powerpc64/start.S: here.
41718         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41719         * sysdeps/powerpc/powerpc64/Makefile: ... this.
41720         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41721         * sysdeps/powerpc/powerpc64/configure.in: ... this.
41722         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41724         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41725         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41726         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41727         * sysdeps/powerpc/powerpc32/start.S: ... here.
41728         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41729         * sysdeps/powerpc/powerpc32/configure.in: ... this.
41730         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41732         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41733         * sysdeps/powerpc/ifunc-sel.h: ... here.
41734         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41735         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41737         * sysdeps/sparc/elf/configure.in: Moved to ...
41738         * sysdeps/sparc/configure.in: ... here.
41739         * sysdeps/sparc/elf/configure: Delete file.
41740         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41741         * sysdeps/sparc/sparc32/start.S: ... here.
41742         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41743         * sysdeps/sparc/sparc64/start.S: ... here.
41744         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41745         * sysdeps/sparc/sparc32/Makefile: ... this.
41746         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41747         * sysdeps/sparc/sparc64/Makefile: ... this.
41749         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41750         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41751         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41752         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41753         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41754         * sysdeps/s390/s390-32/setjmp.S: ... here.
41755         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41756         * sysdeps/s390/s390-32/configure.in: ... here.
41757         * sysdeps/s390/s390-32/elf/configure: Delete file.
41758         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41759         * sysdeps/s390/s390-32/start.S: ... here.
41761         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41762         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41763         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41764         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41765         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41766         * sysdeps/s390/s390-64/setjmp.S: ... here.
41767         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41768         * sysdeps/s390/s390-64/configure.in: ... here
41769         * sysdeps/s390/s390-64/elf/configure: Delete file.
41770         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41771         * sysdeps/s390/s390-64/start.S: ... here.
41772         * sysdeps/s390/s390-64/elf/configure: Delete.
41774         * configure.in: Remove support for elf directories in sysdeps.
41776         * configure: Regenerated.
41777         * sysdeps/i386/configure: Regenerated.
41778         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41779         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41780         * sysdeps/s390/s390-32/configure: Regenerated.
41781         * sysdeps/s390/s390-64/configure: Regenerated.
41782         * sysdeps/sh/configure: Regenerated.
41783         * sysdeps/sparc/configure: Regenerated.
41784         * sysdeps/x86_64/configure: Regenerated.
41786 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
41788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41790         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41791         denormal result into account.
41793 2012-03-25  Roland McGrath  <roland@hack.frob.com>
41795         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41796         Reported by Allan McRae <allan@archlinux.org>.
41798 2012-03-23  Jeff Law  <law@redhat.com>
41800         * nss/getnssent.c (__nss_getent): Fix typo.
41802 2012-03-23  David S. Miller  <davem@davemloft.net>
41804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41806 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41808         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41809         to pad to uint64_t for each field.
41810         (dl_tls_index): Replace unsigned long with uint64_t.
41812 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41813         Paul Pluzhnikov  <ppluzhnikov@google.com>
41815         [BZ #6528]
41816         * grp/Makefile (otherlibs): Don't set it.
41817         * inet/Makefile (otherlibs): Likewise.
41818         * login/Makefile (otherlibs): Likewise.
41819         * nscd/Makefile (otherlibs): Likewise.
41820         * posix/Makefile (otherlibs): Likewise.
41821         * pwd/Makefile (otherlibs): Likewise.
41822         * rt/Makefile (otherlibs): Likewise.
41823         * sunrpc/Makefile (otherlibs): Likewise.
41824         * nss/Makefile (otherlibs): Likewise.
41825         Add libnss_files to routines and static-only-routines.
41826         ($(objpfx)getent): Remove rule.
41827         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41828         static-only-routines.
41830 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41832         [BZ #13892]
41833         * math/s_cexp.c: Include <float.h>.
41834         (__cexp): Handle exp result overflowing not necessarily
41835         overflowing both real and imaginary parts of result.
41836         * math/s_cexpf.c: Likewise.
41837         * math/s_cexpl.c: Likewise.
41838         * math/libm-test.inc (cexp_test): Add more tests.
41839         * sysdeps/i386/fpu/libm-test-ulps: Update.
41840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41842 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41844         * include/link.h (ELFW): New macro.
41845         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41846         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41848 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41850         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41851         with uint64_t.
41853 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41855         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41856         declaration.
41857         (struct La_x32_retval): Likewise.
41859 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41861         * sysdeps/x86_64/preconfigure.in: New file.
41862         * sysdeps/x86_64/preconfigure: New generated file.
41864 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41866         [BZ #13824]
41867         * math/e_exp2l.c: Include <float.h>.
41868         (__ieee754_exp2l): Handle overflow and underflow cases
41869         separately.  Only pass fractional part of argument to
41870         __ieee754_expl.
41871         * math/libm-test.inc (exp2_test): Add more tests.
41873         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41874         negating x to take absolute value.
41875         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41876         Likewise.
41877         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41878         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41879         Likewise.
41880         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41881         computing low part if x was negated.
41882         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41884 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41886         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41887         la_x32_gnu_pltexit.
41888         (pltexit): Cast int_retval to ptrdiff_t.
41889         * elf/tst-auditmod3b.c: Likewise.
41890         * elf/tst-auditmod4b.c: Likewise.
41891         * elf/tst-auditmod5b.c: Likewise.
41892         * elf/tst-auditmod6b.c: Likewise.
41893         * elf/tst-auditmod6c.c: Likewise.
41894         * elf/tst-auditmod7b.c: Likewise.
41896         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41897         and x32_gnu_pltexit.
41899         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41900         __ELF_NATIVE_CLASS.
41901         (La_x32_regs): New macro.
41902         (La_x32_retval): Likewise.
41903         (la_x32_gnu_pltenter): New function prototype.
41904         (la_x32_gnu_pltexit): Likewise.
41906 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41908         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41909         exponent.
41911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41913         * configure.in (libc_cv_cc_nofma): Check for option to disable
41914         generation of FMA instructions.
41915         * configure: Regenerate.
41916         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41917         * sysdeps/ieee754/dbl-64/Makefile: New file.
41918         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41919         Remove brandred-fma4.
41920         (CFLAGS-brandred-fma4.c): Remove.
41921         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41922         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41923         define.
41924         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41925         define.
41927 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41929         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41930         LLONG_MAX != LONG_MAX.
41931         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41932         (_fitoa_word): Likewise.
41933         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41934         LLONG_MAX != LONG_MAX.
41935         * stdio-common/_itowa.h: Include <_itoa.h>.
41936         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41937         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41938         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41939         only if not defined.
41940         (_ITOA_WORD_TYPE): Likewise.
41941         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41942         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41944 2012-03-21  David S. Miller  <davem@davemloft.net>
41946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41948 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41950         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41951         of x86_64 when setting libc_cv_slibdir, libdir and
41952         libc_cv_localedir.
41953         * sysdeps/unix/sysv/linux/configure: Regenerated.
41955 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41957         * manual/lang.texi (Old Varargs): Remove section.
41958         (How Variadic): Update menu.
41959         (va_start): Do not mention varargs.h.
41961 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41962             Joseph Myers  <joseph@codesourcery.com>
41964         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41965         link test.
41966         * configure: Regenerated.
41968 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41970         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41971         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41972         conformtest.pl
41974 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41976         * NOTES: Remove.
41977         * Makefile (files-for-dist): Remove NOTES.
41978         (NOTES): Remove rule.
41979         * README: Don't refer to NOTES.
41980         * manual/creature.texi: Don't include macros.texi.
41981         * manual/intro.texi (creature.texi): Remove comment referring to
41982         NOTES.
41984         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41985         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41986         * configure: Regenerated.
41987         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41988         LIBC_TRY_CC_OPTION.
41989         (libc_cv_as_i686): Likewise.
41990         (libc_cv_cc_avx): Likewise.
41991         (libc_cv_cc_sse2avx): Likewise.
41992         (libc_cv_cc_fma4): Likewise.
41993         (libc_cv_cc_novzeroupper): Likewise.
41994         * sysdeps/i386/configure: Regenerated.
41996         [BZ #13883]
41997         * sysdeps/i386/fpu/s_cexp.S: Remove.
41998         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41999         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42000         * math/libm-test.inc (cexp_test): Add more tests.
42001         * sysdeps/i386/fpu/libm-test-ulps: Update.
42002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42004 2012-03-21  Allan McRae  <allan@archlinux.org>
42006         * timezone/Makefile: Do not install iso3166.tab and zone.tab
42008 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42010         [BZ #13871]
42011         * math/w_exp2.c: Do not include <float.h>.
42012         (o_threshold, u_threshold): Remove.
42013         (__exp2): Calculate result before checking finiteness and calling
42014         __kernel_standard.
42015         * math/w_exp2f.c: Likewise.
42016         * math/w_exp2l.c: Likewise.
42017         * math/libm-test.inc (exp2_test): Require overflow exception for
42018         1e6 input.
42020         [BZ #3866]
42021         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42022         range of signed 64-bit integers before using fistpll.  Remove
42023         checks for whether integers fit in mantissa bits.
42024         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42025         the range of signed 32-bit integers before using fistpl.  Remove
42026         checks for whether integers fit in mantissa bits.
42027         * sysdeps/i386/fpu/e_powl.S (p64): New object.
42028         (__ieee754_powl): Test for y outside the range of signed 64-bit
42029         integers before using fistpll.  Reduce 64-bit values to 63-bit
42030         ones as needed.
42031         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42032         divide-by-zero is raised for zero to large negative powers.
42033         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42034         (__ieee754_powl): Test for y outside the range of signed 64-bit
42035         integers before using fistpll.  Reduce 64-bit values to 63-bit
42036         ones as needed.
42037         * math/libm-test.inc (pow_test): Add more tests.
42039 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42041         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42042         <stdio-common/_itoa.h>.
42043         * debug/segfault.c: Likewise.
42044         * elf/dl-cache.c: Likewise.
42045         * elf/dl-minimal.c: Likewise.
42046         * elf/dl-misc.c: Likewise.
42047         * elf/dl-sysdep.c: Likewise.
42048         * elf/dl-version.c: Likewise.
42049         * elf/rtld.c: Likewise.
42050         * hurd/hurdsock.c: Likewise.
42051         * hurd/lookup-retry.c: Likewise.
42052         * malloc/malloc.c: Likewise.
42053         * malloc/mtrace.c: Likewise.
42054         * nscd/nscd_getgr_r.c: Likewise.
42055         * nscd/nscd_getpw_r.c: Likewise.
42056         * nscd/nscd_getserv_r.c: Likewise.
42057         * posix/getopt_init.c: Likewise.
42058         * posix/wordexp.c: Likewise.
42059         * stdio-common/_itoa.c: Likewise.
42060         * stdio-common/printf_fphex.c: Likewise.
42061         * stdio-common/vfprintf.c: Likewise.
42062         * string/_strerror.c: Likewise.
42063         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42064         * sysdeps/i386/i686/hp-timing.h: Likewise.
42065         * sysdeps/mach/_strerror.c: Likewise.
42066         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42067         * sysdeps/mach/hurd/sethostid.c: Likewise.
42068         * sysdeps/mach/hurd/xmknodat.c: Likewise.
42069         * sysdeps/mach/xpg-strerror.c: Likewise.
42070         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42071         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42072         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42073         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42074         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42075         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42076         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42077         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42078         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42079         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42080         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42081         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42082         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42083         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42084         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42085         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42086         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42087         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42088         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42089         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42090         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42092         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42094         * stdio-common/_itoa.h: Moved to ...
42095         * sysdeps/generic/_itoa.h: Here.
42097         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42099         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42100         instead of "_itoa.h" and "_itowa.h".
42101         * stdio-common/vfprintf.: Likewise.
42103 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42105         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42106         <bits/wordsize.h>.
42107         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42108         (__signbit): Likwise.
42109         (llrintf): Likwise.
42110         (llrint): Likwise.
42112 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42114         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42115         __WORDSIZE != 64.
42117 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
42119         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42120         OVERFLOW_EXCEPTION_OK.
42121         * math/libm-test.inc ("Philosophy"): Update comment about
42122         exception testing.
42123         (OVERFLOW_EXCEPTION): Define.
42124         (OVERFLOW_EXCEPTION_OK): Likewise.
42125         (INVALID_EXCEPTION_OK): Renumber.
42126         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42127         (IGNORE_ZERO_INF_SIGN): Likewise.
42128         (test_exceptions): Handle FE_OVERFLOW.
42129         (exp10_test): Expect overflow exceptions.
42130         (exp2_test): Likewise.
42131         (expm1_test): Likewise.
42132         (nextafter_test): Likewise.
42133         (pow_test): Likewise.
42134         (scalbn_test): Likewise.
42135         (scalbln_test): Likewise.
42137 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42139         * sysdeps/x86_64/bits/atomic.h
42140         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42141         64bit integer.
42142         (atomic_exchange_acq): Likewise.
42143         (__arch_exchange_and_add_body): Likewise.
42144         (__arch_add_body): Likewise.
42145         (atomic_add_negative): Likewise.
42146         (atomic_add_zero): Likewise.
42148 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42150         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42151         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42153 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42155         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42156         Check __x86_64__ instead of __WORDSIZE.
42158 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42160         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42162 2012-03-19  David S. Miller  <davem@davemloft.net>
42164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42166         * sysdeps/sparc/fpu/fenv_private.h: New file.
42167         * sysdeps/sparc/fpu/math_private.h: Use it.
42168         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42169         Remove.
42170         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42171         (libc_feholdexcept_setroundl): Remove.
42172         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42173         Remove.
42174         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42175         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42177 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42179         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42180         int64_t instead of long int.
42181         (INSERT_WORDS64): Likwise.
42183 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42185         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42186         _Unwind_GetCFA return to _Unwind_Ptr first.
42188 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42190         [BZ #13629]
42191         * math/s_clog.c: Include <float.h>.
42192         (__clog): Scale large or subnormal inputs.
42193         * math/s_clogf.c: Likewise.
42194         * math/s_clogl.c: Likewise.
42195         * math/s_clog10.c: Include <float.h>.
42196         (M_LOG10_2): Define.
42197         (__clog10): Scale large or subnormal inputs.
42198         * math/s_clog10f.c: Likewise.
42199         * math/s_clog10l.c: Likewise.
42200         * math/libm-test.inc (clog_test): Add more tests.
42201         (clog10_test): Likewise.
42202         * sysdeps/i386/fpu/libm-test-ulps: Update.
42203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42205         [BZ #11451]
42206         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42207         x and y.
42208         * math/libm-test.inc (atan2_test): Add another test.
42210         * Makerules (common-objdir-compile): Remove.
42211         * sysdeps/unix/Makefile (config-generated): Do not add
42212         $(unix-generated) to variable.
42213         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42214         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42215         Remove rule.
42216         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42217         Likewise.
42218         [generic bits/local_lim.h] (before-compile): Do not append to
42219         variable.
42220         [generic bits/local_lim.h] (common-generated): Likewise.
42221         [generic sys/param.h] (before-compile): Do not append to variable.
42222         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42223         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42224         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42225         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42226         include.
42227         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42228         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42229         [generic sys/param.h] ($(addprefix
42230         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42231         [generic sys/param.h] (common-generated): Do not append to
42232         variable.
42233         [generic sys/param.h] (sysdep_headers): Likewise.
42234         [generic bits/errno.h] (before-compile): Do not append to
42235         variable.
42236         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42237         rule.
42238         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42239         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42240         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42241         [generic bits/errno.h] (common-generated): Do not append to
42242         variable.
42243         [generic bits/ioctls.h] (before-compile): Do not append to
42244         variable.
42245         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42246         rule.
42247         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42248         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42249         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42250         rule.
42251         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42252         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42253         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42254         [generic bits/ioctls.h] (common-generated): Do not append to
42255         variable.
42256         [generic sys/syscall.h] (syscall.h): Remove variable.
42257         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42258         rule.
42259         [generic sys/syscall.h] (before-compile): Do not append to
42260         variable.
42261         [generic sys/syscall.h] (common-generated): Likewise.
42262         * sysdeps/unix/errnos-tmpl.c: Remove file.
42263         * sysdeps/unix/errnos.awk: Likewise.
42264         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42265         * sysdeps/unix/ioctls.awk: Likewise.
42266         * sysdeps/unix/mk-local_lim.c: Likewise.
42267         * sysdeps/unix/snarf-ioctls: Likewise.
42269 2012-03-19  Richard Henderson  <rth@twiddle.net>
42271         * sysdeps/i386/fpu/fenv_private.h: New file.
42272         * sysdeps/i386/fpu/math_private.h: Use it.
42273         (math_opt_barrier, math_force_eval): Remove.
42274         (libc_feholdexcept_setround_53bit): Remove.
42275         (libc_feupdateenv_53bit): Remove.
42276         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42277         (math_opt_barrier, math_force_eval): Remove.
42278         (libc_feholdexcept): Remove.
42279         (libc_feholdexcept_setround): Remove.
42280         (libc_fetestexcept, libc_fesetenv): Remove.
42281         (libc_feupdateenv_test): Remove.
42282         (libc_feupdateenv, libc_feholdsetround): Remove.
42283         (libc_feresetround): Remove.
42285         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42286         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42288         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42289         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42290         (libc_feupdateenv_testl): New.
42291         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42292         (libc_feupdateenv_testf): New.
42293         (libc_feupdateenv): Use libc_feupdateenv_test.
42294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42295         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42297         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42298         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42299         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42300         (libc_feresetround_noex): New.
42301         (libc_feresetround_noexf): New.
42302         (libc_feresetround_noexl): New.
42303         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42304         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42305         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42306         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42307         SET_RESTORE_ROUND.
42308         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42309         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42310         (__cos): Likewise.
42311         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42312         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42313         SET_RESTORE_ROUND_NOEX.
42314         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42315         SET_RESTORE_ROUND_NOEXF.
42316         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42317         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42318         (libc_feholdsetroundf): New.
42319         (libc_feresetround, libc_feresetroundf): New.
42321         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42322         (libc_feholdexcept_setround_53bit): Convert from macro to function.
42323         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
42325         * sysdeps/generic/math_private.h: Include <fenv.h>.
42326         (default_libc_feholdexcept): New.
42327         (default_libc_feholdexcept_setround): New.
42328         (default_libc_fesetenv, default_libc_feupdateenv): New.
42329         (libc_feholdexcept): Only define if undefined.
42330         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42331         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42332         (libc_feholdexcept_setroundl): Likewise.
42333         (libc_feholdexcept_setround_53bit): Likewise.
42334         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42335         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42336         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42337         (libc_feupdateenv_53bit): Likewise.
42338         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42339         (libc_feholdexcept): Convert from macro to inline function.
42340         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42341         (libc_fesetenv, libc_feupdateenv): Likewise.
42343         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42344         not previously defined.
42345         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42346         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42347         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42348         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42349         * sysdeps/ieee754/flt-32/math_private.h: New file.
42350         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42351         math_private.h below SET_FLOAT_WORD.
42352         (__isnan, __isinf_ns, __finite): Remove.
42353         (__isnanf, __isinf_nsf, __finitef): Remove.
42355 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
42357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42359 2012-03-17  David S. Miller  <davem@davemloft.net>
42361         [BZ #6471]
42362         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42363         for 2.16.
42365 2012-03-16  David S. Miller  <davem@davemloft.net>
42367         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42368         warnings.
42370         [BZ #6471]
42371         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42372         properly.
42373         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42374         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42375         sysdep_routines when subdir is sysvipc.
42376         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42377         __getshmlba helper.
42379         * sysdeps/sparc/fpu/libm-test/ulps: Update.
42381 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42383         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42384         [__LP64__].
42386 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42388         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42389         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42390         (__lround): Renamed to ...
42391         (__llround): This.  Replace long int with long long int.
42392         Define lround functions as aliases of llround functions.
42393         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42395 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42397         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42398         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
42399         adresses to uintptr_t.  Replace "long int" and "unsigned long
42400         int" with "greg_t" on va_arg.
42402 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42404         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42405         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42407         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42408         Move e_machine check before EI_CLASS check.  Handle x32
42409         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42410         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42411         SKIP_EM_IA_64 and include
42412         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42414         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42415         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42416         (add_system_dir): New macro.
42418         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42419         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42421 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42423         [BZ #2551]
42424         [BZ #2552]
42425         [BZ #2553]
42426         [BZ #2554]
42427         [BZ #2562]
42428         [BZ #2563]
42429         [BZ #2565]
42430         [BZ #2566]
42431         [BZ #2576]
42432         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42433         (y0): Likewise.
42434         * math/w_j0f.c (j0f): Likewise.
42435         (y0f): Likewise.
42436         * math/w_j0l.c (__j0l): Likewise.
42437         (__y0l): Likewise.
42438         * math/w_j1.c (j1): Likewise.
42439         (y1): Likewise.
42440         * math/w_j1f.c (j1f): Likewise.
42441         (y1f): Likewise.
42442         * math/w_j1l.c (__j1l): Likewise.
42443         (__y1l): Likewise.
42444         * math/w_jn.c (jn): Likewise.
42445         (yn): Likewise.
42446         * math/w_jnf.c (jnf): Likewise.
42447         (ynf): Likewise.
42448         * math/w_jnl.c (__jnl): Likewise.
42449         (__ynl): Likewise.
42450         * math/libm-test.inc (j0_test): Add more tests.
42451         (j1_test): Likewise.
42452         (jn_test): Likewise.  Add trailing semicolon to existing test.
42453         (y0_test): Likewise.
42454         (y1_test): Likewise.
42455         * sysdeps/i386/fpu/libm-test-ulps: Update.
42456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42458         [BZ #13851]
42459         [BZ #13854]
42460         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42461         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42462         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42463         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42464         (__tanl): Set errno for infinite argument.
42465         * sysdeps/i386/fpu/mptan.c: Remove.
42466         * sysdeps/i386/fpu/s_tan.S: Likewise.
42467         * sysdeps/i386/fpu/s_tanl.S: Likewise.
42468         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42469         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42470         * math/libm-test.inc (tan_test): Add more tests and enable more
42471         tests for double and long double.
42472         * sysdeps/i386/fpu/libm-test-ulps: Update.
42473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42475 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
42477         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42478         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42480 2012-03-16  Roland McGrath  <roland@hack.frob.com>
42482         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42483         * configure.in: Use it for both main tree and add-ons.
42484         * configure: Regenerated.
42486 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42488         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42490 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42492         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42493         in comment.
42495         [BZ #13851]
42496         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42497         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42498         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42499         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42500         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42501         infinite argument.
42502         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42503         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42504         != 0 for prec == 2.
42505         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42506         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42507         * sysdeps/i386/fpu/s_cosl.S: Likewise.
42508         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42509         * sysdeps/i386/fpu/s_sinl.S: Likewise.
42510         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42511         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42512         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42513         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42514         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42515         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42516         * math/libm-test.inc (cos_test): Add more tests and enable more
42517         tests for long double.
42518         (sin_test): Likewise.
42519         (sincos_test): Likewise.
42520         * sysdeps/i386/fpu/libm-test-ulps: Update.
42521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42523 2012-03-16  David S. Miller  <davem@davemloft.net>
42525         * sysdeps/sparc/fpu/math_private.h: New file.
42527 2012-03-15  David S. Miller  <davem@davemloft.net>
42529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42530         file.
42531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42533         file.
42534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42539         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42540         sysdep routines.
42541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42543         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42544         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42546         * sysdeps/sparc/sparc-ifunc.h: New file.
42547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42548         sparc-ifunc.h
42549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42551         Likewise.
42552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42553         Likewise.
42554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42558         Likewise.
42559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42564         Likewise.
42565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42566         Likewise.
42567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42571         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42573         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42574         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42576         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42581         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42582         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42583         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42584         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42585         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42586         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42587         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42588         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42589         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42590         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42592 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42594         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42595         scaling.
42596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42598 2012-03-15  Andreas Jaeger  <aj@suse.de>
42600         [BZ #13852]
42601         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42602         ieee754/flt-32 implementation for sin, cos and sincos.
42603         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42604         * sysdeps/i386/fpu/s_cosf.S: Likewise.
42605         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42606         * sysdeps/i386/fpu/s_sinf.S: Likewise.
42607         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42608         ieee754/flt-32 implementation for tan.
42610         * math/libm-test.inc (cos_test): Enable some large input tests for
42611         float as well
42612         (sin_test): Likewise.
42613         (sincos_test): Likewise.
42614         (tan_test): Add tests for large input.
42616         * sysdeps/i386/fpu/libm-test-ulps: Update.
42618 2012-03-15  Andreas Jaeger  <aj@suse.de>
42620         [BZ #13658]
42621         * math/libm-test.inc (cos_test): Add more test cases.
42622         (sin_test): Likewise.
42623         (sincos_test): Likewise.
42625 2012-03-15  Andreas Jaeger  <aj@suse.de>
42627         [BZ #13837]
42628         * math/libm-test.inc (cos_test): Add a test case for large input
42629         value.
42630         (sin_test): Likewise.
42631         (sincos_test): Likewise.
42633 2012-03-15  Andreas Jaeger  <aj@suse.de>
42634             Joseph Myers  <joseph@codesourcery.com>
42636         [BZ #13658]
42637         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42638         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42639         * sysdeps/i386/fpu/branred.c: Likewise.
42640         * sysdeps/i386/fpu/dosincos.c: Likewise.
42641         * sysdeps/i386/fpu/mpa.c: Likewise.
42642         * sysdeps/i386/fpu/s_cos.S: Likewise.
42643         * sysdeps/i386/fpu/s_sin.S: Likewise.
42644         * sysdeps/i386/fpu/s_sincos.S: Likewise.
42645         * sysdeps/i386/fpu/sincos32.c: Likewise.
42647         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42648         Define.
42649         (libc_feupdateenv_53bit): Define.
42650         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42651         Define.
42652         (libc_feupdateenv_53bit): Define.
42654         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42655         53 bit (without extend i386 double precision).
42657         * math/libm-test.inc (sincos_test): Add tests for large input.
42658         (sin): Likewise.
42659         (cos): Likewise.
42661         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42663 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42667 2012-03-15  David S. Miller  <davem@davemloft.net>
42669         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42670         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42671         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42672         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42680         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42681         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42682         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42683         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42685         file.
42686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42688         file.
42689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42691         file.
42692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42694         file.
42695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42696         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42697         fmin/fmax sysdep routines.
42698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42700 2012-03-14  David S. Miller  <davem@davemloft.net>
42702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42705         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42706         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42707         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42708         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42709         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42717         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42718         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42719         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42720         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42721         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42722         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42723         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42724         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42725         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42726         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42727         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42728         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42729         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42730         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42731         routines.
42732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42733         file.
42734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42736         file.
42737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42739         file.
42740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42742         file.
42743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42745         file.
42746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42748         file.
42749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42750         file.
42751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42752         file.
42753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42754         file.
42755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42756         New file.
42757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42758         file.
42759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42760         file.
42761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42763         file.
42764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42766         file.
42767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42769         file.
42770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42772         VIS3 routines.
42774         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42775         New file.
42777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42779         * sysdeps/sparc/configure.in: New file.
42780         * sysdeps/sparc/configure: Generate.
42781         * configure.in (libc_cv_sparc_as_vis3): Substitute.
42782         * configure: Regenerate.
42783         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42784         * config.make.in (have-as-vis3): New.
42785         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42786         available use -Av9d instead of -Av9a.
42787         * sysdeps/sparc/sparc64/Makefile: Likewise.
42788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42790         New file.
42791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42792         file.
42793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42794         New file.
42795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42796         file.
42797         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42798         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42799         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42800         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42801         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42803         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42804         fzeros/fnegs to load 0x80000000 into a float register instead of
42805         using the stack.
42806         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42808 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42810         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42811         bits/syscall.h.
42812         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42813         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42814         ($(inst_includedir)/bits/syscall.h): Remove rule.
42815         ($(objpfx)bits/syscall.d): Include instead of
42816         $(objpfx)syscall-list.d.
42817         (generated): Change syscall-list.h and syscall-list.d to
42818         bits/syscall.h and bits/syscall.d.
42820 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42822         [BZ #13846]
42823         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42825 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42827         [BZ #13841]
42828         * math/s_csqrt.c: Include <float.h>.
42829         (__csqrt): Scale large or subnormal inputs.
42830         * math/s_csqrtf.c: Likewise.
42831         * math/s_csqrtl.c: Likewise.
42832         * math/libm-test.inc (csqrt_test): Add more tests.
42833         * sysdeps/i386/fpu/libm-test-ulps: Update.
42834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42836         [BZ #13840]
42837         * math/libm-test.inc (hypot_test): Add more tests.
42839 2012-03-13  David S. Miller  <davem@davemloft.net>
42841         [BZ #13840]
42842         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42843         double-precision for the calculation instead of scaling.
42845 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42847         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42848         manipulate bits before adding and subtracting TWO52[sx].
42849         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42850         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42851         Likewise.
42852         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42854 2012-03-13  David S. Miller  <davem@davemloft.net>
42856         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42857         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42859         rtld-global-offsets.h
42860         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42862         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42863         large parameters.
42865         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42867         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42868         'err' in the ifdef scope in which it is actually used.
42870         * nss/nss_db/db-init.c: Include string.h
42872 2012-03-12  David S. Miller  <davem@davemloft.net>
42874         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42875         masking out of the most significant byte of random value used.
42876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42877         Fix coding style in previous change.
42879         * sysdeps/unix/sysv/linux/kernel-features.h
42880         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42881         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42882         expression.
42883         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42884         later.
42886 2012-03-11  David S. Miller  <davem@davemloft.net>
42888         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42889         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42890         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42891         for 'resultvar' otherwise things get truncated on 64-bit.
42893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42894         Fix masking out of the most significant byte of random value used.
42896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42898 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42902 2012-03-09  David S. Miller  <davem@davemloft.net>
42904         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42905         variables with appropriate CPP guards.
42906         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42907         from the frame pointer, not the stack pointer.  Correct layout
42908         comments.  Fix test on resulting framesize and the management of
42909         the outregs buffer for pltexit.  Preserve floating point return
42910         values across _dl_call_pltexit call.
42911         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42912         framesize and the management of the outregs buffer for pltexit.
42913         Preserve floating point return values across _dl_call_pltexit
42914         call.
42915         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42916         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42917         (la_sparc64_gnu_pltexit): New functions.
42918         (print_exit): Fix format string for return register value.
42920 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42922         * sunrpc/Makefile (others): Add rpcgen.
42923         ($(objpfx)rpcgen): Remove special build rule and dependency on
42924         libc.
42925         * sunrpc/rpcgen.c: New file.
42927 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42929         [BZ #13673]
42930         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42931         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42932         * sysdeps/i386/crti.S: Likewise.
42933         * sysdeps/i386/crtn.S: Likewise.
42934         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42935         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42936         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42937         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42938         * sysdeps/sh/crti.S: Likewise.
42939         * sysdeps/sh/crtn.S: Likewise.
42940         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42942         [BZ #13673]
42943         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42944         with URL.
42945         * locale/programs/locfile-kw.gperf: Likewise.
42946         * locale/programs/charmap-kw.h: Regenerated.
42947         * locale/programs/locfile-kw.h: Likewise.
42949         [BZ #13673]
42950         * intl/plural.y: Replace FSF snail mail address with URL.
42951         * intl/plural.c: Regenerated.
42953 2012-03-09  Richard Henderson  <rth@twiddle.net>
42955         * include/math_private.h: Remove file.
42956         * math/math_private.h: Move file ...
42957         * sysdeps/generic/math_private.h: ... here.
42959         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42960         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42961         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42963         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42964         and <math_private.h>.
42965         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42966         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42967         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42968         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42969         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42970         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42971         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42972         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42973         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42974         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42975         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42976         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42977         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42978         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42979         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42980         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42981         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42982         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42983         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42984         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42985         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42986         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42987         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42988         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42989         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42990         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42991         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42992         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42993         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42994         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42995         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42996         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42997         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42998         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42999         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43000         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43001         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43002         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43003         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43004         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43005         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43006         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43007         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43008         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43009         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43010         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43011         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43012         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43013         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43014         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43015         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43016         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43017         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43018         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43019         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43020         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43021         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43022         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43023         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43024         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43025         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43026         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43027         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43028         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43029         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43030         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43031         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43032         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43033         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43034         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43035         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43036         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43037         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43038         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43039         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43040         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43041         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43042         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43043         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43044         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43045         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43046         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43047         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43048         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43049         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43050         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43052         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43053         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43054         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43055         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43056         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43057         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43058         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43059         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43060         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43061         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43062         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43063         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43064         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43065         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43066         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43067         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43068         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43069         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43070         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43071         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43072         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43073         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43074         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43075         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43076         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43077         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43078         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43079         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43080         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43081         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43082         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43083         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43084         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43085         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43086         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43087         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43088         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43089         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43090         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43091         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43092         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43093         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43094         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43095         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43096         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43097         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43098         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43099         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43100         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43101         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43102         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43103         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43104         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43105         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43106         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43107         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43108         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43109         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43110         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43111         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43112         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43113         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43114         * sysdeps/ieee754/k_standard.c: Likewise.
43115         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43116         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43117         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43118         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43119         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43120         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43121         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43122         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43123         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43124         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43125         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43126         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43127         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43128         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43129         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43130         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43131         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43132         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43133         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43134         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43135         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43136         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43137         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43138         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43139         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43140         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43141         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43142         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43143         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43144         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43145         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43146         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43147         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43148         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43149         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43150         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43151         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43152         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43154         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43155         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43156         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43157         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43158         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43159         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43160         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43161         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43162         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43163         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43164         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43165         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43166         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43167         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43168         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43169         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43170         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43171         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43172         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43173         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43174         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43175         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43176         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43177         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43178         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43179         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43180         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43181         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43182         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43183         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43184         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43185         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43186         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43187         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43188         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43189         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43190         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43191         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43192         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43193         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43194         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43195         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43196         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43197         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43198         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43199         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43200         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43201         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43202         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43203         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43204         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43205         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43206         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43207         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43208         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43209         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43210         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43211         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43212         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43213         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43214         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43215         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43216         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43217         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43218         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43219         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43220         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43221         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43222         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43223         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43224         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43225         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43226         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43227         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43228         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43229         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43230         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43231         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43232         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43233         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43234         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43235         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43236         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43237         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43238         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43239         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43240         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43241         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43242         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43243         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43244         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43245         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43246         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43247         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43248         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43249         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43250         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43251         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43252         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43253         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43254         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43255         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43256         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43257         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43258         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43259         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43260         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43261         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43262         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43263         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43264         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43265         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43266         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43267         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43268         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43269         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43270         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43271         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43272         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43273         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43274         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43275         * sysdeps/ieee754/s_lib_version.c: Likewise.
43276         * sysdeps/ieee754/s_matherr.c: Likewise.
43277         * sysdeps/ieee754/s_signgam.c: Likewise.
43278         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43279         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43280         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43281         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43282         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43283         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43284         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43285         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43286         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43287         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43288         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43289         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43290         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43291         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43292         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43293         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43294         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43295         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43296         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43297         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43298         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43300 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43302         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43303         * sunrpc/rpc_main.c: Likewise.
43304         * sunrpc/rpc_svcout.c: Likewise.
43306 2012-03-09  David S. Miller  <davem@davemloft.net>
43308         * include/math_private.h: New file.
43310 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43312         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43313         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43314         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43315         from <bits/socket_type.h>.
43316         (enum __socket_type): Don't define here.
43317         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43319         bits/socket_type.h.
43321         [BZ #13566]
43322         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43323         checking __USE_GNU.
43325         * Makerules ($(inst_includedir)/%.h): New rule.
43326         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43327         (install-others): Remove variable setting.
43328         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43330 2012-03-08  Richard Henderson  <rth@twiddle.net>
43332         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43333         from macro to inline function; merge with the
43334         !__LIBC_INTERNAL_MATH_INLINES version.
43335         (__ieee754_sqrtf): Likewise.
43337         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43338         to inline function.
43339         (__rintf, __floor, __floorf): Likewise.
43341         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43342         macro to inline function.
43343         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43345         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43346         not <math/math_private.h>.
43348 2012-03-08  David S. Miller  <davem@davemloft.net>
43350         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43351         copyright year.
43352         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43354 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
43356         * resolv/gai_misc.c (handle_requests): Fix struct timespec
43357         normalization.
43358         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43359         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43361 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
43363         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
43364         be defined individually, they must be defined as a block.  Define
43365         S for printing a string instead of hidint the different by using a
43366         macro for adding the 'l'.
43367         * stdio-common/tst-fphex-wide.c: Adjust.
43369 2012-03-07  Marek Polacek  <polacek@redhat.com>
43371         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43373 2012-03-08  Marek Polacek  <polacek@redhat.com>
43375         [BZ #13806]
43376         * stdio-common/Makefile (tests): Add tst-fphex-wide.
43377         * stdio-common/tst-fphex.c: Define a few macros to make the
43378         test reusable.  Use them.
43379         * stdio-common/tst-fphex-wide.c: New file.
43381 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
43383         [BZ #6911]
43384         * manual/macros.texi (gnusystems): New macro.
43385         (nongnusystems): Likewise.
43386         (gnulinuxhurdsystems): Likewise.
43387         (gnuhurdsystems): Likewise..
43388         (gnulinuxsystems): Likewise.
43389         * manual/charset.texi: Use new macros or @theglibc{} to refer to
43390         variants of the GNU system, not "GNU system".
43391         * manual/conf.texi: Likewise.
43392         * manual/errno.texi: Likewise.  Update example of errno macro
43393         expansion.
43394         * manual/filesys.texi: Likewise.
43395         (getumask): Document as specific to GNU/Hurd.
43396         * manual/install.texi: Likewise.  Reword some references to
43397         GNU/Linux.
43398         * manual/intro.texi: Likewise.
43399         * manual/io.texi: Likewise.
43400         (File Name Portability): Detail which constraints are inapplicable
43401         to all GNU systems and which are only inapplicable to GNU/Hurd.
43402         * manual/job.texi: Likewise.
43403         * manual/llio.texi: Likewise.
43404         (O_NOCTTY): Document as present on GNU/Linux.
43405         * manual/maint.texi: Likewise.
43406         * manual/memory.texi: Likewise.
43407         * manual/pattern.texi: Likewise.
43408         * manual/pipe.texi: Likewise.
43409         * manual/process.texi: Likewise.
43410         * manual/resource.texi: Likewise.
43411         (RUSAGE_CHILDREN): Remove statement about specifying a particular
43412         child on GNU/Hurd.
43413         * manual/setjmp.texi: Likewise.
43414         * manual/signal.texi: Likewise.
43415         * manual/startup.texi: Likewise.
43416         * manual/stdio.texi: Likewise.
43417         * manual/terminal.texi: Likewise.
43418         (ONLCR): Document as POSIX.
43419         (OXTABS): Document availability on GNU/Linux as XTABS.
43420         (ONOEOT): Document availability separately from other bits.
43421         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43422         * manual/time.texi: Likewise.
43423         * manual/users.texi: Likewise.
43424         * INSTALL: Regenerated.
43425         * sysdeps/gnu/errlist.c: Regenerated.
43427         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43428         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43429         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
43430         puts.
43431         * configure: Regenerated.
43433 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
43435         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43436         default includes instead of AC_HEADER_CHECK.
43437         * sysdeps/i386/configure: Regenerated.
43439         [BZ #10716]
43440         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43441         * math/s_cacoshf.c (__cacoshf): Likewise.
43442         * math/s_cacoshl.c (__cacoshl): Likewise.
43443         * math/s_casinh.c (__casinh): Set signs of result from argument.
43444         * math/s_casinhf.c (__casinhf): Likewise.
43445         * math/s_casinhl.c (__casinhl): Likewise.
43446         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43447         (casinh_test): Add more tests.
43448         * sysdeps/i386/fpu/libm-test-ulps: Update.
43449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43451 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
43453         * po/zh_TW.po: Update from translation team.
43455         * login/Makefile (distribute): Remove variable.
43456         * catgets/Makefile: Likewise.
43457         * mach/Makefile: Likewise.
43458         * malloc/Makefile: Likewise.
43459         * misc/Makefile: Likewise.
43460         * iconv/Makefile: Likewise.
43461         * nscd/Makefile: Likewise.
43462         * hurd/Makefile: Likewise.
43463         * manual/Makefile: Likewise.
43464         * locale/Makefile: Likewise.
43465         * intl/Makefile: Likewise.
43466         * conform/Makefile: Likewise.
43467         * nss/Makefile: Likewise.
43468         * time/Makefile: Likewise.
43469         * soft-fp/Makefile: Likewise.
43470         * dirent/Makefile: Likewise.
43471         * gmon/Makefile: Likewise.
43472         * po/Makefile: Likewise.
43473         * rt/Makefile: Likewise.
43474         * socket/Makefile: Likewise.
43475         * math/Makefile: Likewise.
43476         * signal/Makefile: Likewise.
43477         * debug/Makefile: Likewise.
43478         * elf/Makefile: Likewise.
43479         * timezone/Makefile: Likewise.
43480         * stdlib/Makefile: Likewise.
43481         * iconvdata/Makefile: Likewise.
43482         * sunrpc/Makefile: Likewise.
43483         * io/Makefile: Likewise.
43484         * argp/Makefile: Likewise.
43485         * inet/Makefile: Likewise.
43486         * hesiod/Makefile: Likewise.
43487         * grp/Makefile: Likewise.
43488         * csu/Makefile: Likewise.
43489         * wctype/Makefile: Likewise.
43490         * crypt/Makefile: Likewise.
43491         * libio/Makefile: Likewise.
43492         * string/Makefile: Likewise.
43493         * nis/Makefile: Likewise.
43494         * resolv/Makefile: Likewise.
43495         * stdio-common/Makefile: Likewise.
43496         * wcsmbs/Makefile: Likewise.
43497         * dlfcn/Makefile: Likewise.
43498         * posix/Makefile: Likewise.
43500         [BZ #6959]
43501         * timezone/Makefile: Don't install timezone files, just the programs
43502         and scripts.
43504 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
43506         * nss/databases.def: Add missing gshadow entry.
43508         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
43510 2012-03-06  Marek Polacek  <polacek@redhat.com>
43512         [BZ #13726]
43513         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43514         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43515         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43516         * stdio-common/tst-long-dbl-fphex.c: New file.
43518 2012-03-06  David S. Miller  <davem@davemloft.net>
43520         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43521         (set_obp_int): New function.
43522         (get_obp_int): New function.
43523         (__get_clockfreq_via_dev_openprom): Likewise.
43524         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43525         Avoid unused variable warnings on 'val' and use builtin_expect.
43526         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43527         __builtin_expect.
43528         (INLINE_CLONE_SYSCALL): Likewise.
43530 2012-03-05  David S. Miller  <davem@davemloft.net>
43532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43534 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
43536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43538         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43539         only for |x| >= 40.
43540         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43542 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
43544         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43545         Replace gettimeofday with __vdso_gettimeofday.
43547         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43548         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43549         __vdso_clock_gettime and __vdso_getcpu.
43551         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43552         time with __vdso_time.
43554 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43556         * manual/lang.texi (size_t): Note types to which size_t may be
43557         equivalent with the GNU C Library, but do not describe when
43558         differences between them are significant.
43560 2012-03-05  Andreas Jaeger  <aj@suse.de>
43562         * sysdeps/i386/fpu/libm-test-ulps: Update.
43564 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43566         [BZ #3976]
43567         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43568         (__ieee754_pow): Save and restore rounding mode and use
43569         round-to-nearest for main computations.
43570         * math/libm-test.inc (pow_test_tonearest): New function.
43571         (pow_test_towardzero): Likewise.
43572         (pow_test_downward): Likewise.
43573         (pow_test_upward): Likewise.
43574         (main): Call the new functions.
43575         * sysdeps/i386/fpu/libm-test-ulps: Update.
43576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43578         [BZ #3976]
43579         * math/libm-test.inc (cosh_test_tonearest): New function.
43580         (cosh_test_towardzero): Likewise.
43581         (cosh_test_downward): Likewise.
43582         (cosh_test_upward): Likewise.
43583         (sinh_test_tonearest): Likewise.
43584         (sinh_test_towardzero): Likewise.
43585         (sinh_test_downward): Likewise.
43586         (sinh_test_upward): Likewise.
43587         (main): Call the new functions.
43588         * sysdeps/i386/fpu/libm-test-ulps: Update.
43589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43591 2012-03-05  Tom de Vries  <tom@codesourcery.com>
43593         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43594         default stack guard is set in last bytes.
43595         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43597 2012-03-05  Kees Cook  <keescook@chromium.org>
43599         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43601         [BZ #13656]
43602         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43603         possibly allocate from heap instead of stack.
43604         * stdio-common/bug-vfprintf-nargs.c: New file.
43605         * stdio-common/Makefile (tests): Add nargs overflow test.
43607 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
43609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43611 2012-03-03  Marek Polacek  <polacek@redhat.com>
43613         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43614         * math/math_private.h: Likewise.
43615         * stdlib/tst-strtod.c: Likewise.
43616         * sysdeps/i386/i486/bits/atomic.h: Likewise.
43617         * sysdeps/x86_64/bits/atomic.h: Likewise.
43619 2012-03-02  David S. Miller  <davem@davemloft.net>
43621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43625         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43626         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43627         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43628         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43630 2012-03-02  Roland McGrath  <roland@hack.frob.com>
43632         [BZ #13792]
43633         * manual/examples/README: New file, says the example source files
43634         can be used under GPL>=2.
43635         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43636         line containing just "*/".
43637         * manual/examples/add.c: Add copyright header (GPL>=2).
43638         * manual/examples/argp-ex1.c: Likewise.
43639         * manual/examples/argp-ex2.c: Likewise.
43640         * manual/examples/argp-ex3.c: Likewise.
43641         * manual/examples/argp-ex4.c: Likewise.
43642         * manual/examples/atexit.c: Likewise.
43643         * manual/examples/db.c: Likewise.
43644         * manual/examples/dir.c: Likewise.
43645         * manual/examples/dir2.c: Likewise.
43646         * manual/examples/execinfo.c: Likewise.
43647         * manual/examples/filecli.c: Likewise.
43648         * manual/examples/filesrv.c: Likewise.
43649         * manual/examples/fmtmsgexpl.c: Likewise.
43650         * manual/examples/genpass.c: Likewise.
43651         * manual/examples/inetcli.c: Likewise.
43652         * manual/examples/inetsrv.c: Likewise.
43653         * manual/examples/isockad.c: Likewise.
43654         * manual/examples/longopt.c: Likewise.
43655         * manual/examples/memopen.c: Likewise.
43656         * manual/examples/memstrm.c: Likewise.
43657         * manual/examples/mkfsock.c: Likewise.
43658         * manual/examples/mkisock.c: Likewise.
43659         * manual/examples/mygetpass.c: Likewise.
43660         * manual/examples/pipe.c: Likewise.
43661         * manual/examples/popen.c: Likewise.
43662         * manual/examples/rprintf.c: Likewise.
43663         * manual/examples/search.c: Likewise.
43664         * manual/examples/select.c: Likewise.
43665         * manual/examples/setjmp.c: Likewise.
43666         * manual/examples/sigh1.c: Likewise.
43667         * manual/examples/sigusr.c: Likewise.
43668         * manual/examples/stpcpy.c: Likewise.
43669         * manual/examples/strdupa.c: Likewise.
43670         * manual/examples/strftim.c: Likewise.
43671         * manual/examples/strncat.c: Likewise.
43672         * manual/examples/subopt.c: Likewise.
43673         * manual/examples/swapcontext.c: Likewise.
43674         * manual/examples/termios.c: Likewise.
43675         * manual/examples/testopt.c: Likewise.
43676         * manual/examples/testpass.c: Likewise.
43677         * manual/examples/timeval_subtract.c: Likewise.
43679         [BZ #13792]
43680         * manual/time.texi (Elapsed Time): Move timeval_subtract example
43681         function to ...
43682         * manual/timeval_subtract.c.texi: ... here, new file.
43684 2012-03-02  David S. Miller  <davem@davemloft.net>
43686         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43688 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
43690         [BZ #3976]
43691         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43692         (__sin): Save and restore rounding mode and use round-to-nearest
43693         for all computations.
43694         (__cos): Save and restore rounding mode and use round-to-nearest
43695         for all computations.
43696         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43697         <fenv.h>.
43698         (tan): Save and restore rounding mode and use round-to-nearest for
43699         all computations.
43700         * math/libm-test.inc (cos_test_tonearest): New function.
43701         (cos_test_towardzero): Likewise.
43702         (cos_test_downward): Likewise.
43703         (cos_test_upward): Likewise.
43704         (sin_test_tonearest): Likewise.
43705         (sin_test_towardzero): Likewise.
43706         (sin_test_downward): Likewise.
43707         (sin_test_upward): Likewise.
43708         (tan_test_tonearest): Likewise.
43709         (tan_test_towardzero): Likewise.
43710         (tan_test_downward): Likewise.
43711         (tan_test_upward): Likewise.
43712         (main): Call the new functions.
43713         * sysdeps/i386/fpu/libm-test-ulps: Update.
43714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43716         [BZ #10135]
43717         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43718         small n, then large n, before computing and testing k+n.
43719         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43720         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43721         Likewise.
43722         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43723         Likewise.
43724         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43725         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43726         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43727         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43728         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43729         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43730         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43731         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43732         * math/libm-test.inc (scalbn_test): Add more tests.
43733         (scalbln_test): Likewise.
43735         * manual/filesys.texi (mode_t): Describe constraints on size and
43736         signedness, not exact equivalence to a particular type.
43737         (ino_t): Likewise.
43738         (ino64_t): Likewise.
43739         (dev_t): Likewise.
43740         (nlink_t): Likewise.
43741         (blkcnt_t): Likewise.
43742         (blkcnt64_t): Likewise.
43743         * manual/llio.texi (off_t): Likewise.
43745         [BZ #3976]
43746         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43747         (__ieee754_exp): Save and restore rounding mode and use
43748         round-to-nearest for all computations.
43749         * math/libm-test.inc (exp_test_tonearest): New function.
43750         (exp_test_towardzero): Likewise.
43751         (exp_test_downward): Likewise.
43752         (exp_test_upward): Likewise.
43753         (main): Call the new functions.
43754         * sysdeps/i386/fpu/libm-test-ulps: Update.
43755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43757 2012-03-01  Chris Demetriou  <cgd@google.com>
43759         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43760         have predictable order.
43762 2012-03-01  David S. Miller  <davem@davemloft.net>
43764         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43766         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43767         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43768         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43769         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43771         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43772         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43773         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43775         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43776         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43777         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43778         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43779         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43783         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43784         * sysdeps/sparc/fpu/libm-test-ulps: to here.
43785         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43787         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43788         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43789         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43790         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43791         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43792         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43793         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43794         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43795         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43796         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43797         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43798         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43800         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43801         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43802         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43803         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43804         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43805         * sysdeps/sparc/elf/configure: Regenerated.
43807 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43809         * configure.in (AS, LD): Require binutils 2.20 or later.
43810         * configure: Regenerated.
43811         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43812         as required minimum version.
43813         * INSTALL: Regenerated.
43815         [BZ #2541]
43816         [BZ #4108]
43817         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43818         before squaring exponent.
43819         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43820         bottom long double and 27 bits of top long double before squaring
43821         exponent.
43822         * math/libm-test.inc (erfc_test): Add more tests.
43823         * sysdeps/i386/fpu/libm-test-ulps: Update.
43824         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43827 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43829         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43830         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43831         containing bit-fields.
43832         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43833         * soft-fp/single.h (_FP_UNION_S): Likewise.
43834         * soft-fp/double.h (_FP_UNION_D): Likewise.
43836 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43838         [BZ #13786]
43839         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43840         not include ../strcmp.S.
43841         [USE_AS_STRNCASECMP_L]: Likewise.
43842         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43843         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43844         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43845         (__strncasecmp_l_ia32): Define as alias to
43846         __strncasecmp_l_nonascii.
43848         [BZ #5794]
43849         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43850         * sysdeps/i386/fpu/libm-test-ulps: Update.
43851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43853         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43856 2012-02-29  Jeff Law  <law@redhat.com>
43858         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43859         out of bounds read.
43861 2012-02-29  Marek Polacek  <polacek@redhat.com>
43863         [BZ #13706]
43864         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43865         * elf/Makefile: Add rules to run tst-unused-dep.out.
43867 2012-02-28  David S. Miller  <davem@davemloft.net>
43869         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43870         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43871         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43872         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43873         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43874         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43876 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43878         * math/libm-test.inc (llround_test): Move one test from
43879         lround_test.  Use TEST_f_L in moved test.
43880         (lround_test): Move misplaced test to llround_test.  Add testcase
43881         from bug 2561.
43883 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43885         * sysdeps/x86_64/fpu/e_expf.S: New file.
43886         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43888 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43890         [BZ #13637]
43891         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43892         of remain_len that may cause incomplete multi-byte character and
43893         false match.
43894         * posix/bug-regex33.c: New file.
43895         * posix/Makefile (tests): Add bug-regex33.
43897 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43899         * manual/macros.texi: New file.
43900         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43901         * manual/libc.texinfo: Include macros.texi.
43902         * manual/creatute.texi: Likewise.
43903         * manual/install.texi: Likewise.
43904         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43905         @glibcadj{} in references to the GNU C Library.
43906         * manual/charset.texi: Likewise.
43907         * manual/conf.texi: Likewise.
43908         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43909         when not using those macros.
43910         * manual/creature.texi: Likewise.
43911         * manual/crypt.texi: Likewise.
43912         * manual/errno.texi: Likewise.
43913         * manual/filesys.texi: Likewise.
43914         * manual/header.texi: Likewise.
43915         * manual/install.texi: Likewise.
43916         * manual/intro.texi: Likewise.
43917         * manual/io.texi: Likewise.
43918         * manual/job.texi: Likewise.
43919         * manual/lang.texi: Likewise.
43920         * manual/libc.texiinfo: Likewise.
43921         * manual/llio.texi: Likewise.
43922         * manual/locale.texi: Likewise.
43923         * manual/maint.texi: Likewise.
43924         * manual/math.texi: Likewise.
43925         * manual/memory.texi: Likewise.
43926         * manual/message.texi: Likewise.
43927         * manual/nss.texi: Likewise.
43928         * manual/pattern.texi: Likewise.
43929         * manual/process.texi: Likewise.
43930         * manual/resource.texi: Likewise.
43931         * manual/search.texi: Likewise.
43932         * manual/setjmp.texi: Likewise.
43933         * manual/signal.texi: Likewise.
43934         * manual/socket.texi: Likewise.
43935         * manual/startup.texi: Likewise.
43936         * manual/stdio.texi: Likewise.
43937         * manual/string.texi: Likewise.
43938         * manual/sysinfo.texi: Likewise.
43939         * manual/syslog.texi: Likewise.
43940         * manual/terminal.texi: Likewise.
43941         * manual/time.texi: Likewise.
43942         * manual/users.texi: Likewise.
43943         * INSTALL: Regenerated.
43944         * NOTES: Regenerated.
43945         * sysdeps/gnu/errlist.c: Regenerated.
43947 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43949         * include/dirent.h: Include <dirstream.h> before
43950         <dirent/dirent.h>.
43952 2012-02-28  David S. Miller  <davem@davemloft.net>
43954         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43955         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43956         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43957         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43959 2012-02-27  David S. Miller  <davem@davemloft.net>
43961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43963         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43964         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43967         frame pointer instead of stack pointer relative arg slot.
43968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43969         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43970         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43972 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43974         [BZ #3992]
43975         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43977 2012-02-27  David S. Miller  <davem@davemloft.net>
43979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43983         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43984         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43985         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43986         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43988 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43990         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43991         later.  Allow versions 5-9.
43992         * configure: Regenerated.
43993         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43994         required minimum version and 4.6 as recommended version.  Do not
43995         mention bugs in GCC 2.7 and 2.8.
43996         * INSTALL: Regenerated.
43998 2012-02-27  David S. Miller  <davem@davemloft.net>
44000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44004         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44005         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44006         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44007         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44009         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44010         manipulate bits before adding and subtracting TWO112[sx].
44011         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44013 2012-02-27  Roland McGrath  <roland@hack.frob.com>
44015         [BZ #13775]
44016         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44017         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44018         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44019         being in POSIX, because they are in 1003.1-2008.
44021         * rt/tst-aio.c: Include <fcntl.h>.
44022         * rt/tst-aio7.c: Likewise.
44023         * rt/tst-aio64.c: Likewise.
44025         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44027 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44029         * manual/install.texi (--with-headers): Describe headers as
44030         interface headers, not private headers.
44031         (Specific advice for GNU/Linux systems): Describe use of headers
44032         from "make headers_install", not private headers from older
44033         kernels.
44034         * INSTALL: Regenerated.
44035         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44036         Change to 2.6.19.
44037         * sysdeps/unix/sysv/linux/configure: Regenerated.
44039         * manual/llio.texi (fclean): Remove documentation.
44041         * manual/Makefile (libc-texi-generated): New variable.  Include
44042         version.texi.
44043         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44044         $(libc-texi-generated), not duplicated list of files.
44045         (version.texi, stamp-version): New rules.
44046         (realclean): Remove $(libc-texi-generated), not individual files
44047         from that list.  Do not remove dir-add.texinfo.
44048         * manual/libc.texinfo: Comment out uses of edition numbers and
44049         references to printed manual.  Remove last-updated dates.
44050         (EDITION): Comment out.
44051         (ISBN): Likewise.
44052         (VERSION, UPDATED): Remove.
44053         (version.texi): Include.
44055 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
44057         * sysdeps/posix/spawni.c: Include <signal.h>.
44058         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44059         * sysdeps/pthread/aio_fsync.c: Likewise.
44061 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
44063         * conform/Makefile (tests): Run only when not cross-compiling and
44064         when fast-check is not defined.
44066         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44067         * conform/data/limits.h-data: Fixes for POSIX2008.
44068         * conform/run-conformtest.sh: Run all tests.
44069         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44070         headers.
44071         * include/bits/dlfcn.h: Likewise.
44072         * include/langinfo.h: Likewise.
44073         * include/monetary.h: Likewise.
44074         * include/sys/poll.h: Likewise.
44076         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44077         for __USE_GNU.
44078         * posix/spawn.h: Define __need_sigset_t.
44079         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44080         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44081         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
44082         to get sigevent_t only.
44083         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44084         only for __USE_GNU.
44085         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44086         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44087         process_vm_writev only for __USE_GNU.
44088         * termios/termios.h: Declare tcgetsid also for POSIX2008.
44090         * conform/Makefile: For now ignore errors from run-conformtest.
44091         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
44092         POSIX to avoid namespace pollution.  Don't prepend headers.
44093         * conform/data/aio.h-data: Fixes for POSIX testing.
44094         * conform/data/fcntl.h-data: Likewise.
44095         * conform/data/glob.h-data: Likewise.
44096         * conform/data/grp.h-data: Likewise.
44097         * conform/data/pthread.h-data: Likewise.
44098         * conform/data/pwd.h-data: Likewise.
44099         * conform/data/signal.h-data: Likewise.
44100         * conform/data/spawn.h-data: Likewise.
44101         * conform/data/stdio.h-data: Likewise.
44102         * conform/data/stdlib.h-data: Likewise.
44103         * conform/data/stropts.h-data: Likewise.
44104         * conform/data/sys/mman.h-data: Likewise.
44105         * conform/data/sys/stat.h-data: Likewise.
44106         * conform/data/sys/types.h-data: Likewise.
44107         * conform/data/sys/wait.h-data: Likewise.
44108         * conform/data/time.h-data: Likewise.
44109         * conform/data/unistd.h-data: Likewise.
44110         * conform/data/utime.h-data: Likewise.
44112         * io/sys/stat.h: fchmod was always in POSIX.
44113         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44114         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44115         * rt/aio.h: Define __need_timespec before including <time.h>.
44116         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44117         struct.  Add forward declaration of pthread_attr_t and use it in
44118         sigevent.
44119         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44120         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44121         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44122         always remove CLK_TCK definition.
44124 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
44126         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44128 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
44130         * conform/run-conformtest.sh: New file.
44131         * conform/Makefile: Run run-conformtest for tests.
44132         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
44133         support.
44135         * conform/data/uchar.h-data: New file.
44136         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44137         * conform/data/arpa/inet.h-data: Likewise.
44138         * conform/data/assert.h-data: Likewise.
44139         * conform/data/complex.h-data: Likewise.
44140         * conform/data/cpio.h-data: Likewise.
44141         * conform/data/ctype.h-data: Likewise.
44142         * conform/data/dirent.h-data: Likewise.
44143         * conform/data/dlfcn.h-data: Likewise.
44144         * conform/data/errno.h-data: Likewise.
44145         * conform/data/fcntl.h-data: Likewise.
44146         * conform/data/float.h-data: Likewise.
44147         * conform/data/fmtmsg.h-data: Likewise.
44148         * conform/data/fnmatch.h-data: Likewise.
44149         * conform/data/ftw.h-data: Likewise.
44150         * conform/data/glob.h-data: Likewise.
44151         * conform/data/grp.h-data: Likewise.
44152         * conform/data/iconv.h-data: Likewise.
44153         * conform/data/inttypes.h-data: Likewise.
44154         * conform/data/langinfo.h-data: Likewise.
44155         * conform/data/libgen.h-data: Likewise.
44156         * conform/data/limits.h-data: Likewise.
44157         * conform/data/locale.h-data: Likewise.
44158         * conform/data/math.h-data: Likewise.
44159         * conform/data/monetary.h-data: Likewise.
44160         * conform/data/mqueue.h-data: Likewise.
44161         * conform/data/ndbm.h-data: Likewise.
44162         * conform/data/net/if.h-data: Likewise.
44163         * conform/data/netdb.h-data: Likewise.
44164         * conform/data/netinet/in.h-data: Likewise.
44165         * conform/data/nl_types.h-data: Likewise.
44166         * conform/data/poll.h-data: Likewise.
44167         * conform/data/pthread.h-data: Likewise.
44168         * conform/data/pwd.h-data: Likewise.
44169         * conform/data/regex.h-data: Likewise.
44170         * conform/data/sched.h-data: Likewise.
44171         * conform/data/search.h-data: Likewise.
44172         * conform/data/semaphore.h-data: Likewise.
44173         * conform/data/setjmp.h-data: Likewise.
44174         * conform/data/signal.h-data: Likewise.
44175         * conform/data/spawn.h-data: Likewise.
44176         * conform/data/stdarg.h-data: Likewise.
44177         * conform/data/stdio.h-data: Likewise.
44178         * conform/data/stdlib.h-data: Likewise.
44179         * conform/data/string.h-data: Likewise.
44180         * conform/data/strings.h-data: Likewise.
44181         * conform/data/stropts.h-data: Likewise.
44182         * conform/data/sys/ipc.h-data: Likewise.
44183         * conform/data/sys/mman.h-data: Likewise.
44184         * conform/data/sys/msg.h-data: Likewise.
44185         * conform/data/sys/resource.h-data: Likewise.
44186         * conform/data/sys/select.h-data: Likewise.
44187         * conform/data/sys/sem.h-data: Likewise.
44188         * conform/data/sys/shm.h-data: Likewise.
44189         * conform/data/sys/socket.h-data: Likewise.
44190         * conform/data/sys/stat.h-data: Likewise.
44191         * conform/data/sys/statvfs.h-data: Likewise.
44192         * conform/data/sys/time.h-data: Likewise.
44193         * conform/data/sys/timeb.h-data: Likewise.
44194         * conform/data/sys/times.h-data: Likewise.
44195         * conform/data/sys/types.h-data: Likewise.
44196         * conform/data/sys/uio.h-data: Likewise.
44197         * conform/data/sys/un.h-data: Likewise.
44198         * conform/data/sys/utsname.h-data: Likewise.
44199         * conform/data/sys/wait.h-data: Likewise.
44200         * conform/data/syslog.h-data: Likewise.
44201         * conform/data/tar.h-data: Likewise.
44202         * conform/data/termios.h-data: Likewise.
44203         * conform/data/utime.h-data: Likewise.
44204         * conform/data/utmpx.h-data: Likewise.
44205         * conform/data/varargs.h-data: Likewise.
44206         * conform/data/wchar.h-data: Likewise.
44207         * conform/data/wctype.h-data: Likewise.
44208         * conform/data/wordexp.h-data: Likewise.
44210         * include/stropts.h: New file.
44211         * include/uchar.h: New file.
44212         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44213         * include/assert.h: Likewise.
44214         * include/ctype.h: Likewise.
44215         * include/dirent.h: Likewise.
44216         * include/dlfcn.h: Likewise.
44217         * include/fcntl.h: Likewise.
44218         * include/fnmatch.h: Likewise.
44219         * include/glob.h: Likewise.
44220         * include/grp.h: Likewise.
44221         * include/libio.h: Likewise.
44222         * include/locale.h: Likewise.
44223         * include/math.h: Likewise.
44224         * include/net/if.h: Likewise.
44225         * include/netdb.h: Likewise.
44226         * include/netinet/in.h: Likewise.
44227         * include/pthread.h: Likewise.
44228         * include/pwd.h: Likewise.
44229         * include/regex.h: Likewise.
44230         * include/sched.h: Likewise.
44231         * include/search.h: Likewise.
44232         * include/setjmp.h: Likewise.
44233         * include/signal.h: Likewise.
44234         * include/stdio.h: Likewise.
44235         * include/stdlib.h: Likewise.
44236         * include/string.h: Likewise.
44237         * include/sys/cdefs.h: Likewise.
44238         * include/sys/mman.h: Likewise.
44239         * include/sys/msg.h: Likewise.
44240         * include/sys/resource.h: Likewise.
44241         * include/sys/select.h: Likewise.
44242         * include/sys/socket.h: Likewise.
44243         * include/sys/stat.h: Likewise.
44244         * include/sys/statvfs.h: Likewise.
44245         * include/sys/time.h: Likewise.
44246         * include/sys/times.h: Likewise.
44247         * include/sys/uio.h: Likewise.
44248         * include/sys/utsname.h: Likewise.
44249         * include/sys/wait.h: Likewise.
44250         * include/termios.h: Likewise.
44251         * include/time.h: Likewise.
44252         * include/ulimit.h: Likewise.
44253         * include/unistd.h: Likewise.
44254         * include/utime.h: Likewise.
44255         * include/wchar.h: Likewise.
44256         * include/wctype.h: Likewise.
44257         * include/wordexp.h: Likewise.
44259         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44261         * time/time.h: TIME_UTC must be a macro.
44262         Make timespec_get available for ISO C11 only as well.
44264 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44266         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44267         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44269 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44271         * configure.in: Use -o not -a in test for unsupported multi-arch.
44273 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44275         * manual/texinfo.tex: Update to version 2012-01-19.16.
44277 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44279         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44281 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44283         [BZ #13738]
44284         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44285         * manual/fdl-1.3.texi: New file.
44286         * manual/fdl-1.1.texi: File removed.
44288         [BZ #13738]
44289         * manual/libc.texinfo (FDL_VERSION): New @set.
44290         Use it for mention of FDL in cover text.
44291         (Documentation License): Use it in @include file name.
44293 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44294             Roland McGrath  <roland@hack.frob.com>
44296         [BZ #5461]
44297         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44298         (not LONG_LONG_MAX and LONG_LONG_MIN.
44299         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44300         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44301         name.
44302         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44304 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44306         [BZ #2547]
44307         [BZ #11365]
44308         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44309         manipulate bits before adding and subtracting TWO23[sx].
44310         * math/libm-test.inc (nearbyint_test): Add more tests.
44312 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44314         [BZ #2548]
44315         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44316         bits before adding and subtracting TWO23[sx].
44317         * math/libm-test.inc (rint_test): Add more tests.
44318         (rint_test_tonearest): Likewise.
44319         (rint_test_towardzero): Likewise.
44320         (rint_test_downward): Likewise.
44321         (rint_test_upward: Likewise.
44323 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44325         [BZ #10110]
44326         * include/stdc-predef.h: New file.  Extracted from features.h.
44327         * include/features.h: Include stdc-predef.h.
44328         * Makefile (headers): Add stdc-predef.h.
44329         * CONFORMANCE (Compiler limitations): Update.
44331 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44333         * manual/libc.texinfo (VERSION, UPDATED): Revert.
44335 2012-02-21  David S. Miller  <davem@davemloft.net>
44337         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44338         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44340 2012-02-20  David S. Miller  <davem@davemloft.net>
44342         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44343         using a normal save/restore sequence, rather than allocating a
44344         dummy stack frame just to store a frame pointer and restore.
44345         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44347 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44349         * manual/install.texi: Fix stray word in line-wrapped comment.
44351 2012-02-20  David S. Miller  <davem@davemloft.net>
44353         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44354         both binutils and gcc support GOTDATA.
44356         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44357         "rd %pc" in the PIC register setup sequences.
44359         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44360         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44361         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44362         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44363         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44364         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44365         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44366         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44367         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44368         (SYSCALL_ERROR_HANDLER): Likewise.
44369         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44370         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44371         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44372         (SYSCALL_ERROR_HANDLER): Likewise.
44374         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44375         (HAVE_GCC_GOTDATA): New.
44376         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44377         relocation support in both binutils and gcc.
44378         * sysdeps/sparc/elf/configure: Regenerate.
44380         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44381         * sysdeps/sparc/sparc32/elf/configure: Delete.
44382         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44383         * sysdeps/sparc/sparc64/elf/configure: Delete.
44384         * sysdeps/sparc/elf/configure.in: New file.
44385         * sysdeps/sparc/elf/configure: Generate.
44387         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44388         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44389         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44390         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44391         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44393 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44395         * manual/install.texi: Do not mention specific glibc version
44396         numbers.
44397         * manual/libc.texinfo (VERSION, UPDATED): Update.
44398         (@copying): Use @copyright{} and range of years.
44400 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44402         [BZ #13695]
44403         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44404         [crti.S not in sysdirs] (generated): Do not append.
44405         [crti.S not in sysdirs] (omit-deps): Likewise.
44406         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44407         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44408         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44409         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44410         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44411         Likewise.
44412         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44413         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44414         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44415         * csu/defs.awk: Remove file.
44416         * sysdeps/generic/initfini.c: Likewise.
44417         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44418         variable.
44419         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44420         Likewise.
44422 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44424         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44425         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44426         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44427         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44428         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44429         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44430         <bits/epoll.h>.
44431         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44432         (__EPOLL_PACKED): Define to empty if not defined by
44433         <bits/epoll.h>.
44434         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44436         bits/epoll.h.
44438 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44440         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44441         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44442         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44443         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44444         <bits/timerfd.h>.
44445         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44447         bits/timerfd.h.
44449 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44451         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44452         in C locale.
44453         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44454         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44455         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44458 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
44460         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44461         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44463 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
44465         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44466         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44467         defined.
44468         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44469         Likewise.
44470         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44471         entry for 2.16.
44473 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
44475         * math/w_acos.c: Use non-signaling floating-point comparisons.
44476         * math/w_acosf.c: Likewise.
44477         * math/w_acosh.c: Likewise.
44478         * math/w_acoshf.c: Likewise.
44479         * math/w_acoshl.c: Likewise.
44480         * math/w_acosl.c: Likewise.
44481         * math/w_asin.c: Likewise.
44482         * math/w_asinf.c: Likewise.
44483         * math/w_asinl.c: Likewise.
44484         * math/w_atanh.c: Likewise.
44485         * math/w_atanhf.c: Likewise.
44486         * math/w_atanhl.c: Likewise.
44487         * math/w_exp2.c: Likewise.
44488         * math/w_exp2f.c: Likewise.
44489         * math/w_exp2l.c: Likewise.
44490         * math/w_j0.c: Likewise.
44491         * math/w_j0f.c: Likewise.
44492         * math/w_j0l.c: Likewise.
44493         * math/w_j1.c: Likewise.
44494         * math/w_j1f.c: Likewise.
44495         * math/w_j1l.c: Likewise.
44496         * math/w_jn.c: Likewise.
44497         * math/w_jnf.c: Likewise.
44498         * math/w_log.c: Likewise.
44499         * math/w_log10.c: Likewise.
44500         * math/w_log10f.c: Likewise.
44501         * math/w_log10l.c: Likewise.
44502         * math/w_log2.c: Likewise.
44503         * math/w_log2f.c: Likewise.
44504         * math/w_log2l.c: Likewise.
44505         * math/w_logf.c: Likewise.
44506         * math/w_logl.c: Likewise.
44507         * math/w_sqrt.c: Likewise.
44508         * math/w_sqrtf.c: Likewise.
44509         * math/w_sqrtl.c: Likewise.
44510         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44511         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44512         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44513         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44514         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44516 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44518         [BZ #9739]
44519         * manual/string.texi (strnlen): Use correct parameter name in
44520         equivalent expression.
44522 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44524         [BZ #11174]
44525         * manual/users.texi (seteuid): Consistently use neweuid for
44526         argument name.
44528 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44530         [BZ #13704]
44531         * manual/nss.texi (Services in the NSS configuration): Correct
44532         list of services in example configuration file.
44534 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
44536         [BZ #11322]
44537         * manual/arith.texi: Remove statements about negative zero
44538         behaving identically to zero.
44540 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44542         [BZ #5993]
44543         * manual/install.texi: Do not document upgrading from libc5.
44545 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44547         [BZ #4596]
44548         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44550 2012-02-18  David S. Miller  <davem@davemloft.net>
44552         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44553         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44554         %o7 across the call.
44555         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44556         instead.
44557         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44558         SETUP_PIC_REG_LEAF.
44559         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44560         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44561         * sysdeps/sparc/crtn.S: Likewise.
44563 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
44565         * aout/Makefile: Remove.
44567 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
44569         [BZ #13058]
44570         * manual/examples/argp-ex1.c (main): Format definition in GNU
44571         style.
44572         * manual/examples/argp-ex2.c (main): Likewise.
44573         * manual/examples/argp-ex3.c (main): Likewise.
44574         * manual/examples/argp-ex4.c (main): Likewise.
44575         * manual/examples/longopt.c (main): Use new-style prototype
44576         definition.
44577         * manual/examples/strncat.c (main): Specify return type and use
44578         (void) for arguments.
44579         * manual/examples/subopt.c (main): Use char **argv argument.
44581 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44583         [BZ #5077]
44584         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44585         rounding modes.
44587 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
44589         [BZ #6907]
44590         * manual/string.texi (strchr): Change when strchrnul is
44591         recommended.
44593 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
44595         [BZ #174]
44596         * manual/locale.texi (setlocale): Document LOCPATH.
44598 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44600         [BZ #10210]
44601         * manual/process.texi (execle): Move @dots{} before last argument.
44603 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
44605         [BZ #12047]
44606         * manual/charset.texi (Generic Charset Conversion): Fix typo
44607         (LC_TYPE -> LC_CTYPE).
44609 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
44611         [BZ #5805]
44612         * manual/arith.texi (scalbn): Use @var{} on parameter names.
44613         (scalbnf): Likewise.
44614         (scalbnl): Likewise.
44615         (scalbln): Likewise.
44616         (scalblnf): Likewise.
44617         (scalblnl): Likewise.
44618         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44619         (vwarnx): Likewise.
44620         (verr): Likewise.
44621         (verrx): Likewise.
44622         * manual/filesys.texi (telldir): Use braces around return type.
44623         * manual/llio.texi (mmap): Add space after comma.
44624         (mmap64): Likewise.
44625         * manual/math.texi (jn): Use @var{} on parameter names.
44626         (jnf): Likewise.
44627         (jnl): Likewise.
44628         (yn): Likewise.
44629         (ynf): Likewise.
44630         (ynl): Likewise.
44631         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44632         line.
44633         * manual/resource.texi (ulimit): Use @dots{} instead of literal
44634         "...".
44635         (sched_get_priority_min): Remove semicolon on @deftypefun line.
44636         (sched_get_priority_max): Likewise.
44637         * manual/signal.texi (sigvec): Add space after comma.
44638         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44639         names.
44640         (if_indextoname): Likewise.
44641         (if_freenameindex): Likewise.
44642         (sendto): Use ',' instead of '.' in prototype.
44643         * manual/startup.texi (syscall): Use @dots{} instead of literal
44644         "...".
44645         * manual/stdio.texi (__fpending): Separate initial words of
44646         paragraph from @deftypefun line.
44647         * manual/syslog.texi (syslog): Use @dots{} instead of literal
44648         "...".
44649         (vsyslog): Use @var{} on parameter names.
44650         * manual/terminal.texi (stty): Use @var{} on parameter names.
44651         * manual/users.texi (getutmp): Use @var{} on parameter names.
44652         (getutmpx): Likewise.
44654 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44656         [BZ #6884]
44657         * manual/stdio.texi (fopen): Fix typos in description of
44658         ",ccs=STRING".
44660 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
44662         [BZ #4026]
44663         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44664         get clock_id definition.
44666 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
44668         [BZ #4822]
44669         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44670         (madvise): Cast every argument to void on its own.
44672 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44674         [BZ #9902]
44675         * manual/startup.texi (Exit Status): Fix typo.
44677 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44679         [BZ #10140]
44680         * manual/examples/argp-ex1.c: Include <stdlib.h>.
44681         * manual/examples/argp-ex2.c: Likewise.
44682         * manual/examples/argp-ex3.c: Likewise.
44684 2012-02-16  Richard Henderson  <rth@redhat.com>
44686         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44687         * sysdeps/s390/s390-32/initfini.c: Remove.
44688         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44689         * sysdeps/s390/s390-64/initfini.c: Remove.
44691 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44693         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44694         compiler output for sysdeps/generic/initfini.c.
44695         * sysdeps/sh/elf/initfini.c: Remove file.
44697 2012-02-16  David S. Miller  <davem@davemloft.net>
44699         [BZ #11494]
44700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44702         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44703         * sysdeps/sparc/crti.S: New file.
44704         * sysdeps/sparc/crtn.S: New file.
44705         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44706         * sysdeps/sparc/sparc64/Makefile: Likewise.
44708 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
44710         [BZ #3335]
44711         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44713 2012-02-15  Roland McGrath  <roland@hack.frob.com>
44715         [BZ #4822]
44716         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44718         * mach/devstream.c (cookie_io_functions_t): Macro removed.
44719         (write, read, close): Likewise.
44720         Patch by Aurelien Jarno <aurelien@aurel32.net>.
44722 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
44724         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44725         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44726         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44727         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44728         <bits/signalfd.h>.
44729         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44731         bits/signalfd.h.
44733 2012-02-14  Marek Polacek  <polacek@redhat.com>
44735         * sysdeps/x86_64/crti.S: New file.
44736         * sysdeps/x86_64/crtn.S: New file.
44737         * sysdeps/x86_64/elf/initfini.c: Remove file.
44739 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44741         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44742         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44743         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44744         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44745         <bits/inotify.h>.
44746         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44747         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44748         bits/inotify.h.
44750 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44752         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44753         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44754         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44755         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44756         <bits/eventfd.h>.
44757         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44759         bits/eventfd.h.
44761 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
44763         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44764         __feraiseexcept instead of feraiseexcept.
44766         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44767         nanosleep invocations.
44768         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44769         strings, and add error checking for a nanosleep invocations.
44771 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
44773         Replace FSF snail mail address with URLs, as per GNU coding standards.
44774         Most of the snail mail addresses were wrong anyway, and omitting
44775         them makes the source code easier to maintain.  Almost all of the
44776         changes are to license notices and to locale LC_IDENTIFICATION
44777         addresses, except for this one:
44778         * manual/libc.texinfo: In "Published by", give the FSF's URL,
44779         not its snail mail address.
44781 2012-02-09  Richard Henderson  <rth@twiddle.net>
44783         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44784         of kernel-features.h.
44786         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44788 2012-02-08  Marek Polacek  <polacek@redhat.com>
44790         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44791         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44792         * sysdeps/gnu/_G_config.h: Likewise.
44793         * sysdeps/generic/_G_config.h: Likewise.
44795 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
44797         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44798         tests.
44799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44801         * sysdeps/powerpc/powerpc32/crti.S: New file.
44802         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44803         * sysdeps/powerpc/powerpc64/crti.S: New file.
44804         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44806         * Makeconfig (have-initfini): Don't set.
44807         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44808         * configure.in (nopic_initfini): Don't substitute.
44809         * config.h.in (HAVE_INITFINI): Don't #undef.
44810         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44811         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44813 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44815         Support crti.S and crtn.S provided directly by architectures.
44816         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44817         [crti.S in sysdirs] (omit-deps): Likewise.
44818         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44819         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44820         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44821         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44822         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44823         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44824         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44825         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44826         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44827         compiler output for sysdeps/generic/initfini.c.
44828         * sysdeps/i386/elf/Makefile: Remove file.
44829         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44831 2012-02-07  Marek Polacek  <polacek@redhat.com>
44833         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44834         * sysdeps/gnu/_G_config.h: Likewise.
44835         * sysdeps/mach/hurd/_G_config.h: Likewise.
44837 2012-02-07  Marek Polacek  <polacek@redhat.com>
44839         * math/Makefile (tests): Add tst-CMPLX2.
44840         * math/tst-CMPLX2.c: New file.
44842 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44844         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44846         * math/libm-test.inc (jn_test): Add missing L suffix.
44848 2012-02-06  Marek Polacek  <polacek@redhat.com>
44850         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44851         * sysdeps/i386/fpu/e_powf.S: Likewise.
44852         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44853         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44854         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44855         * sysdeps/i386/fpu/e_pow.S: Likewise.
44856         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44857         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44858         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44859         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44860         * sysdeps/i386/fpu/e_log2.S: Likewise.
44861         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44862         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44863         * sysdeps/i386/fpu/e_powl.S: Likewise.
44864         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44865         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44866         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44867         * sysdeps/i386/fpu/e_logl.S: Likewise.
44868         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44869         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44870         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44871         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44872         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44873         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44874         * sysdeps/i386/fpu/e_log.S: Likewise.
44875         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44876         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44877         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44878         * sysdeps/i386/fpu/e_logf.S: Likewise.
44879         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44880         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44881         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44882         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44883         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44884         * sysdeps/i386/fpu/e_log10.S: Likewise.
44885         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44886         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44887         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44888         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44889         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44890         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44891         * sysdeps/i386/asm-syntax.h: Likewise.
44892         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44893         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44894         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44895         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44896         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44897         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44898         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44899         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44900         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44901         * sysdeps/powerpc/sysdep.h: Likewise.
44902         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44903         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44905 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44907         [BZ #411]
44908         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44910 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44912         * sysdeps/i386/sysdep.h: Include <features.h>.
44913         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44914         version.
44916 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44918         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44919         Define.
44920         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44921         LOAD_PIC_REG_STR.
44923 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44925         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44926         (SETUP_PIC_REG): Use GET_PC_THUNK.
44927         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44928         macro.
44930 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44932         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44933         for non-PIC compilation.
44934         (SETUP_PIC_REG): Add .p2align directive.
44935         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44936         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44937         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44938         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44939         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44940         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44941         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44942         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44943         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44944         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44945         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44946         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44947         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44948         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44949         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44950         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44951         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44952         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44953         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44954         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44955         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44956         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44957         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44958         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44959         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44961         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44962         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44963         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44964         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44965         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44966         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44967         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44968         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44969         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44970         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44971         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44972         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44973         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44974         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44975         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44977 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44979         * math/tst-CMPLX.c: Include <stdio.h>.
44981 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44983         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44984         float.
44985         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44986         * sysdeps/sparc/bits/mathdef.h: Likewise.
44988 2012-01-31  Marek Polacek  <polacek@redhat.com>
44990         * libio/libio.h: Don't define _PARAMS.
44991         * locale/programs/config.h: Don't define PARAMS.
44992         * stdlib/strtol_l.c: Likewise.
44993         (__strtol_l): Remove PARAMS from the prototype.
44995 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44997         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44998         names.  Just use the correct names.  Remove unnecessary wrapper
44999         functions.
45000         * malloc/arena.c: Likewise.
45001         * malloc/hooks.c: Likewise.
45003         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45004         ARENA_TEST says not to.  Simplify test for creation of a new arena.
45005         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45007 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
45009         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45010         into tail calls.
45011         (update_get_addr): New function.
45012         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45013         GET_ADDR_MODULE parameter.
45015 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45017         * crypt/cert.c: Remove __STDC__ conditionals.
45018         * crypt/crypt-entry.c: Likewise.
45019         * crypt/crypt_util.c: Likewise.
45020         * libio/filedoalloc.c: Likewise.
45021         * libio/fileops.c: Likewise.
45022         * libio/genops.c: Likewise.
45023         * libio/iofclose.c: Likewise.
45024         * libio/iofdopen.c: Likewise.
45025         * libio/iofopen.c: Likewise.
45026         * libio/iofopen64.c: Likewise.
45027         * libio/iogetdelim.c: Likewise.
45028         * libio/iopopen.c: Likewise.
45029         * libio/obprintf.c: Likewise.
45030         * libio/oldfileops.c: Likewise.
45031         * libio/oldiofclose.c: Likewise.
45032         * libio/oldiofdopen.c: Likewise.
45033         * libio/oldiofopen.c: Likewise.
45034         * libio/oldiopopen.c: Likewise.
45035         * libio/wfiledoalloc.c: Likewise.
45036         * libio/wgenops.c: Likewise.
45037         * locale/programs/xmalloc.c: Likewise.
45038         * misc/syslog.c: Likewise.
45039         * stdio-common/xbug.c: Likewise.
45040         * string/memchr.c: Likewise.
45041         * string/memcmp.c: Likewise.
45042         * string/memrchr.c: Likewise.
45043         * string/rawmemchr.c: Likewise.
45044         * sysdeps/posix/getcwd.c: Likewise.
45045         * time/strftime_l.c: Likewise.
45047 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45049         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45050         * config.make.in (config-cflags-sse2avx): Define.
45051         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45052         Fix typo.
45054 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
45056         * scripts/config.guess: Update from upstream config git repository.
45057         * scripts/config.sub: Likewise.
45059 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
45061         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45062         (EM_NUM): Update.
45063         (R_TILEPRO_*, R_TILEGX_*): New macros.
45065         * scripts/firstversions.awk: Fix bug in version range handling.
45067         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45069         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45071         * include/sys/epoll.h: New file.
45072         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45073         libc_hidden_def.
45075 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
45077         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45078         Avoid unnecessary __WORDSIZE == 64 test.
45079         (fmaxf): Use VEX format if possible.
45080         (fmax): Likewise.
45081         (fminf): Likewise.
45082         (fmin): Likewise.
45084         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45085         * math/math_private.h: Remove libc_fegetround* and
45086         libc_fesetround*.
45087         * sysdeps/i386/configure.in: Check for -msse2avx.
45088         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45089         also if SSE2AVX is defined.
45090         Remove libc_fegetround* and libc_fesetround*.
45091         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45092         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
45093         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45094         of HAS_YMM_USABLE.
45095         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45096         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45097         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45098         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45099         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45101         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45103 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45105         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45106         size is not set.
45107         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45109 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
45111         [BZ #13618]
45112         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45113         relocation.
45114         * Makeconfig (libm): Define.
45115         * elf/Makefile: Add rules to build and run tst-relsort1.
45116         * elf/tst-relsort1.c: New file.
45117         * elf/tst-relsort1mod1.c: New file.
45118         * elf/tst-relsort1mod2.c: New file.
45120 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
45122         * math/s_ldexp.c: Remove __STDC__ conditionals.
45123         * math/s_ldexpf.c: Likewise.
45124         * math/s_ldexpl.c: Likewise.
45125         * math/s_nextafter.c: Likewise.
45126         * math/s_nexttowardf.c: Likewise.
45127         * math/s_significand.c: Likewise.
45128         * math/s_significandf.c: Likewise.
45129         * math/s_significandl.c: Likewise.
45130         * math/w_jnl.c: Likewise.
45131         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45132         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45133         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45134         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45135         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45136         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45137         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45138         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45139         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45140         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45141         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45142         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45143         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45144         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45145         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45146         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45147         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45148         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45149         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45150         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45151         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45152         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45153         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45154         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45155         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45156         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45157         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45158         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45159         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45160         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45161         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45162         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45163         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45164         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45165         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45166         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45167         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45168         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45169         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45170         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45171         * sysdeps/ieee754/k_standard.c: Likewise.
45172         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45173         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45174         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45175         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45176         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45177         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45178         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45179         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45180         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45181         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45182         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45183         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45184         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45185         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45186         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45187         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45188         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45189         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45190         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45191         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45192         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45193         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45194         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45195         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45196         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45197         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45198         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45199         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45200         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45201         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45202         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45203         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45204         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45205         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45206         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45207         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45208         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45209         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45210         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45211         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45212         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45213         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45214         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45215         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45216         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45217         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45219         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45220         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45221         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45222         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45223         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45224         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45225         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45226         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45227         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45228         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45229         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45230         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45231         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45232         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45233         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45234         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45235         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45236         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45237         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45238         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45239         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45240         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45241         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45242         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45243         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45244         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45245         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45246         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45247         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45248         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45249         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45250         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45251         * sysdeps/ieee754/s_matherr.c: Likewise.
45252         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45253         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45254         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45255         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45257 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45259         * crypt/md5.h: Remove __STDC__ conditionals.
45260         * libio/libioP.h: Likewise.
45261         * locale/programs/config.h: Likewise.
45262         * sysdeps/generic/sysdep.h: Likewise.
45263         * sysdeps/i386/asm-syntax.h: Likewise.
45264         * sysdeps/s390/asm-syntax.h: Likewise.
45265         * sysdeps/unix/sysdep.h: Likewise.
45266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45269 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45271         * libio/libio.h: Remove __STDC__ conditionals.
45272         * malloc/obstack.h: Likewise.
45273         * math/complex.h: Likewise.
45274         * math/math.h: Likewise.
45275         * sysdeps/generic/_G_config.h: Likewise.
45276         * sysdeps/gnu/_G_config.h: Likewise.
45277         * sysdeps/mach/hurd/_G_config.h: Likewise.
45278         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45279         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45280         * sysdeps/sparc/bits/mathdef.h: Likewise.
45282 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45284         [BZ #13583]
45285         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45286         Clean up HAS_* macros.
45287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45288         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45289         possible.
45290         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45291         HAS_AVX.
45292         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45293         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45294         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45295         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45296         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45298 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45300         * elf/tst-unique3.cc (gets): Remove declaration.
45301         * elf/tst-unique3lib.cc (gets): Likewise.
45302         * elf/tst-unique3lib2.cc (gets): Likewise.
45303         * elf/tst-unique4.cc (gets): Likewise.
45305 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
45307         * include/stdio.h: Add C++ protection.  Add gets declarations and
45308         definitions.
45309         * debug/tst-chk1.c: Don't declare gets here.
45310         * stdio-common/tst-gets.c: Likewise.
45312 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45314         * posix/glob: Remove directory.
45316 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45318         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45320 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
45322         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45323         of the non-standard EPFNOSUPPORT.
45325 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45327         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45328         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45329         ANYWHERE set to 1 only on KERN_NO_SPACE error.
45331 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
45333         * wcsmbs/uchar.h: Test __STDC_VERSION__.
45335 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
45337         * nscd/aicache.c (addhstaiX): Do not cache negative results of
45338         transient errors.
45339         * nscd/grpcache.c (cache_addgr): Likewise.
45340         * nscd/hstcache.c (cache_addhst): Likewise.
45341         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45342         * nscd/pwdcache.c (cache_addpw): Likewise.
45343         * nscd/servicescache.c (cache_addserv): Likewise.
45345 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
45347         * malloc/malloc.c: Various cleanups.
45348         * malloc/hooks.c: Likewise.
45350         * stdlib/Makefile (tests): Add bug-fmtmsg1.
45351         * stdlib/bug-fmtmsg1.c: New file.
45353         * stdlib/fmtmsg.c (init): Add missing unlock.
45354         Patch by Peng Haitao <penght@cn.fujitsu.com>.
45356 2012-01-12  Marek Polacek  <polacek@redhat.com>
45358         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45359         and _GNU_SOURCE.
45361 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45363         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45364         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45365         macro to ensure uniqueness of label name.
45366         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45367         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45369 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
45371         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45373         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45374         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45375         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45376         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45378 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
45380         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45382         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45383         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45384         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45386         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45388         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45389         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45390         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45391         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45393         * math/bits/math-finite.h: Add ldexp support.
45395 2012-01-10  Marek Polacek  <polacek@redhat.com>
45397         * locale/programs/localedef.h (show_archive_content): Add noreturn
45398         attribute.
45400 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
45402         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45404 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45406         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45408         * io/Makefile (headers): Add bits/poll2.h.
45410 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
45412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45413         typo #include statement.
45415 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45417         * include/sys/cdefs.h: Define __attribute_alloc_size.
45418         * catgets/gencat.c: Add alloc_size attribute and apply consistently
45419         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45420         * elf/pldd.c: Likewise.
45421         * iconv/iconv_charmap.c: Likewise.
45422         * iconv/iconvconfig.c: Likewise.
45423         * iconv/strtab.c: Likewise.
45424         * locale/programs/locale.c: Likewise.
45425         * locale/programs/localedef.h: Likewise.
45426         * locale/programs/simple-hash.c: Likewise.
45427         * nscd/nscd.h: Likewise.
45428         * nss/makedb.c: Likewise.
45429         * sysdeps/generic/ldconfig.h: Likewise.
45430         * locale/programs/localedef.c: Remove xmalloc prototype.
45431         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45433 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45435         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45436         appropriate.
45438 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45440         * math/Makefile (tests): Add tst-CMPLX.
45441         * math/tst-CMPLX.c: New file.
45443         * math/complex.h (CMPLXL): Fix typo.
45445         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45446         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45447         GLIBC_2.16.
45448         * debug/tst-chk1.c: Add poll and ppoll tests.
45449         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45450         * include/sys/poll.h: Add hidden proto for ppoll.
45451         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45452         * sysdeps/mach/hurd/ppoll.c: Likewise.
45453         * io/ppoll.c: Likewise.
45454         * debug/poll_chk.c: New file.
45455         * debug/ppoll_chk.c: New file.
45456         * include/bits/poll2.h: New file.
45457         * io/bits/poll2.h: New file.
45459         [BZ #1350]
45460         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45462         * configure.in: static is always set to yes.  Remove.
45463         * config.make.in: Don't set build-static.
45464         * Makeconfig: Remove use of build-static.
45465         * dlfcn/Makefile: Likewise.
45466         * elf/Makefile: Likewise.
45467         * math/Makefile: Likewise.
45468         * misc/Makefile: Likewise.
45469         * nptl/Makefile: Likewise.
45470         * sysdeps/mach/hurd/Makefile: Likewise.
45472         * configure.in: PWD_P is not used anymore.
45473         * config.make.in: Remove PWD_P entry.
45475         * configure.in: Remove last remnants of RANLIB.
45476         No need to check for signed size_t anymore.
45477         Don't set libc_commonpagesize and libc_relro_required here for Alpha
45478         and IA-64.
45479         Remove __builtin_expect test because we require at least gcc 3.4.
45480         * aclocal.m4: Likewise.
45482         * wcsmbs/mbrtoc16.c: Implement using towc function.
45483         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45484         * wcsmbs/wcsmbsload.c: Likewise.
45485         * iconv/gconv_simple.c: Likewise.
45486         * iconv/gconv_int.h: Likewise.
45487         * iconv/gconv_builtin.h: Likewise.
45488         * iconv/iconv_prog.c: Remove CHAR16 handling.
45490         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45492         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45494         * configure.in: Remove --with-elf and --enable-bounded options.
45495         Dont set base_machine for ia64.  More non-ELF conditions removed.
45496         Remove testing and setting of leading underscore information.
45497         * config.make.in (build-bounded): Set to no.
45498         * config.h.in: Remove NO_UNDERSCORES entry.
45499         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
45500         them.
45501         * csu/start.c: Remove !NO_UNDERSCORE code.
45502         * locale/localeinfo.h: Likewise.
45503         * sysdeps/generic/machine-gmon.h: Likewise.
45504         * sysdeps/generic/sysdep.h: Likewise.
45505         * sysdeps/i386/sysdep.h: Likewise.
45506         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45507         * sysdeps/mach/sysdep.h: Likewise.
45508         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45509         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45510         * sysdeps/sh/sysdep.h: Likewise.
45511         * sysdeps/sparc/sparc32/alloca.S: Likewise.
45512         * sysdeps/unix/i386/sysdep.S: Likewise.
45513         * sysdeps/unix/sparc/start.c: Likewise.
45514         * sysdeps/unix/sparc/sysdep.S: Likewise.
45515         * sysdeps/unix/sparc/sysdep.h: Likewise.
45516         * sysdeps/unix/start.c: Likewise.
45517         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45518         * sysdeps/x86_64/sysdep.h: Likewise.
45520 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
45522         [BZ #13553]
45523         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45524         for non-gcc.
45525         * argp/argp-fmtstream.h: Use const instead __const.
45526         * argp/argp.h: Likewise.
45527         * assert/assert.h: Likewise.
45528         * bits/fenv.h: Likewise.
45529         * bits/sched.h: Likewise.
45530         * bits/sigset.h: Likewise.
45531         * bits/sigthread.h: Likewise.
45532         * catgets/nl_types.h: Likewise.
45533         * conform/data/pthread.h-data: Likewise.
45534         * crypt/crypt-private.h: Likewise.
45535         * crypt/crypt.h: Likewise.
45536         * crypt/crypt_util.c: Likewise.
45537         * ctype/ctype.h: Likewise.
45538         * debug/execinfo.h: Likewise.
45539         * debug/mbsnrtowcs_chk.c: Likewise.
45540         * debug/mbsrtowcs_chk.c: Likewise.
45541         * debug/wcsnrtombs_chk.c: Likewise.
45542         * debug/wcsrtombs_chk.c: Likewise.
45543         * debug/wcstombs_chk.c: Likewise.
45544         * dirent/dirent.h: Likewise.
45545         * dlfcn/dlfcn.h: Likewise.
45546         * elf/neededtest4.c: Likewise.
45547         * grp/grp.h: Likewise.
45548         * gshadow/gshadow.h: Likewise.
45549         * iconv/gconv.h: Likewise.
45550         * iconv/gconv_int.h: Likewise.
45551         * iconv/gconv_simple.c: Likewise.
45552         * iconv/iconv.h: Likewise.
45553         * iconv/loop.c: Likewise.
45554         * iconv/skeleton.c: Likewise.
45555         * include/aio.h: Likewise.
45556         * include/aliases.h: Likewise.
45557         * include/argz.h: Likewise.
45558         * include/arpa/inet.h: Likewise.
45559         * include/assert.h: Likewise.
45560         * include/dirent.h: Likewise.
45561         * include/dlfcn.h: Likewise.
45562         * include/execinfo.h: Likewise.
45563         * include/fcntl.h: Likewise.
45564         * include/fenv.h: Likewise.
45565         * include/glob.h: Likewise.
45566         * include/grp.h: Likewise.
45567         * include/libintl.h: Likewise.
45568         * include/mntent.h: Likewise.
45569         * include/netdb.h: Likewise.
45570         * include/pwd.h: Likewise.
45571         * include/rpc/netdb.h: Likewise.
45572         * include/sched.h: Likewise.
45573         * include/search.h: Likewise.
45574         * include/shadow.h: Likewise.
45575         * include/signal.h: Likewise.
45576         * include/stdio.h: Likewise.
45577         * include/stdlib.h: Likewise.
45578         * include/string.h: Likewise.
45579         * include/sys/socket.h: Likewise.
45580         * include/sys/stat.h: Likewise.
45581         * include/sys/statfs.h: Likewise.
45582         * include/sys/statvfs.h: Likewise.
45583         * include/sys/syslog.h: Likewise.
45584         * include/sys/time.h: Likewise.
45585         * include/sys/uio.h: Likewise.
45586         * include/time.h: Likewise.
45587         * include/unistd.h: Likewise.
45588         * include/utmp.h: Likewise.
45589         * include/wchar.h: Likewise.
45590         * include/wctype.h: Likewise.
45591         * inet/aliases.h: Likewise.
45592         * inet/arpa/inet.h: Likewise.
45593         * inet/netinet/ether.h: Likewise.
45594         * inet/netinet/in.h: Likewise.
45595         * intl/libintl.h: Likewise.
45596         * io/bits/fcntl2.h: Likewise.
45597         * io/fcntl.h: Likewise.
45598         * io/ftw.h: Likewise.
45599         * io/sys/poll.h: Likewise.
45600         * io/sys/stat.h: Likewise.
45601         * io/sys/statfs.h: Likewise.
45602         * io/sys/statvfs.h: Likewise.
45603         * io/utime.h: Likewise.
45604         * libio/bits/stdio.h: Likewise.
45605         * libio/bits/stdio2.h: Likewise.
45606         * libio/libio.h: Likewise.
45607         * libio/libioP.h: Likewise.
45608         * libio/stdio.h: Likewise.
45609         * locale/lc-ctype.c: Likewise.
45610         * locale/locale.h: Likewise.
45611         * login/utmp.h: Likewise.
45612         * malloc/arena.c: Likewise.
45613         * malloc/malloc.c: Likewise.
45614         * malloc/malloc.h: Likewise.
45615         * malloc/mcheck.c: Likewise.
45616         * malloc/mtrace.c: Likewise.
45617         * math/bits/mathcalls.h: Likewise.
45618         * math/fenv.h: Likewise.
45619         * math/math_private.h: Likewise.
45620         * misc/bits/error.h: Likewise.
45621         * misc/bits/syslog.h: Likewise.
45622         * misc/err.h: Likewise.
45623         * misc/error.h: Likewise.
45624         * misc/fstab.h: Likewise.
45625         * misc/mntent.h: Likewise.
45626         * misc/regexp.h: Likewise.
45627         * misc/search.h: Likewise.
45628         * misc/sgtty.h: Likewise.
45629         * misc/sys/mman.h: Likewise.
45630         * misc/sys/syslog.h: Likewise.
45631         * misc/sys/uio.h: Likewise.
45632         * misc/sys/xattr.h: Likewise.
45633         * misc/ttyent.h: Likewise.
45634         * nis/rpcsvc/ypclnt.h: Likewise.
45635         * nss/nss.h: Likewise.
45636         * posix/bits/unistd.h: Likewise.
45637         * posix/fnmatch.h: Likewise.
45638         * posix/glob.h: Likewise.
45639         * posix/sched.h: Likewise.
45640         * posix/spawn.h: Likewise.
45641         * posix/sys/wait.h: Likewise.
45642         * posix/unistd.h: Likewise.
45643         * posix/wordexp.h: Likewise.
45644         * pwd/pwd.h: Likewise.
45645         * resolv/netdb.h: Likewise.
45646         * resource/sys/resource.h: Likewise.
45647         * rt/aio.h: Likewise.
45648         * rt/bits/mqueue2.h: Likewise.
45649         * rt/mqueue.h: Likewise.
45650         * shadow/shadow.h: Likewise.
45651         * signal/signal.h: Likewise.
45652         * socket/send.c: Likewise.
45653         * socket/sendto.c: Likewise.
45654         * socket/sys/socket.h: Likewise.
45655         * stdio-common/printf.h: Likewise.
45656         * stdlib/bits/stdlib.h: Likewise.
45657         * stdlib/fmtmsg.h: Likewise.
45658         * stdlib/monetary.h: Likewise.
45659         * stdlib/stdlib.h: Likewise.
45660         * stdlib/ucontext.h: Likewise.
45661         * streams/stropts.h: Likewise.
45662         * string/argz.h: Likewise.
45663         * string/bits/string2.h: Likewise.
45664         * string/string.h: Likewise.
45665         * string/strings.h: Likewise.
45666         * sunrpc/rpc/auth.h: Likewise.
45667         * sunrpc/rpc/auth_des.h: Likewise.
45668         * sunrpc/rpc/clnt.h: Likewise.
45669         * sunrpc/rpc/netdb.h: Likewise.
45670         * sunrpc/rpc/pmap_clnt.h: Likewise.
45671         * sunrpc/rpc/xdr.h: Likewise.
45672         * sysdeps/generic/inttypes.h: Likewise.
45673         * sysdeps/generic/net/if.h: Likewise.
45674         * sysdeps/generic/sys/swap.h: Likewise.
45675         * sysdeps/gnu/net/if.h: Likewise.
45676         * sysdeps/gnu/utmpx.h: Likewise.
45677         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45678         * sysdeps/i386/i486/bits/string.h: Likewise.
45679         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45680         * sysdeps/s390/bits/string.h: Likewise.
45681         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45682         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45683         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45684         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45685         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45686         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45687         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45688         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45689         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45690         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45691         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45692         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45693         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45694         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45695         * sysdeps/unix/sysv/linux/readv.c: Likewise.
45696         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45697         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45698         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45699         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45700         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45701         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45702         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45703         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45704         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45705         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45706         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45707         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45708         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45709         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45710         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45711         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45712         * sysvipc/sys/ipc.h: Likewise.
45713         * sysvipc/sys/msg.h: Likewise.
45714         * sysvipc/sys/sem.h: Likewise.
45715         * sysvipc/sys/shm.h: Likewise.
45716         * termios/termios.h: Likewise.
45717         * time/sys/time.h: Likewise.
45718         * time/time.h: Likewise.
45719         * wcsmbs/bits/wchar2.h: Likewise.
45720         * wcsmbs/uchar.h: Likewise.
45721         * wcsmbs/wchar.h: Likewise.
45722         * wctype/wctype.h: Likewise.
45724         [BZ #13551]
45725         * Makeconfig: Remove all but ELF support including AIX support.
45726         * Makerules: Likewise.
45727         * config.h.in: Likewise.
45728         * config.make.in: Likewise.
45729         * configure: Likewise.
45730         * configure.in: Likewise.
45731         * csu/Makefile: Likewise.
45732         * csu/version.c: Likewise.
45733         * debug/Makefile: Likewise.
45734         * dlfcn/Makefile: Likewise.
45735         * elf/Makefile: Likewise.
45736         * extra-lib.mk: Likewise.
45737         * iconv/Makefile: Likewise.
45738         * include/libc-symbols.h: Likewise.
45739         * include/shlib-compat.h: Likewise.
45740         * resolv/Makefile: Likewise.
45741         * resolv/res_libc.c: Likewise.
45742         * rt/Makefile: Likewise.
45743         * sysdeps/i386/asm-syntax.h: Likewise.
45744         * sysdeps/i386/sysdep.h: Likewise.
45745         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45746         * sysdeps/mach/sysdep.h: Likewise.
45747         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45748         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45749         * sysdeps/s390/asm-syntax.h: Likewise.
45750         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45751         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45752         * sysdeps/sh/sysdep.h: Likewise.
45753         * sysdeps/unix/sparc/sysdep.h: Likewise.
45754         * sysdeps/wordsize-32/divdi3.c: Likewise.
45755         * sysdeps/x86_64/sysdep.h: Likewise.
45757         * argp/Versions: Remove _argp_unlock_xxx.
45759         [BZ #13559]
45760         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
45761         * abilist/libBrokenLocale.abilist: Likewise.
45762         * abilist/libanl.abilist: Likewise.
45763         * abilist/libc.abilist: Likewise.
45764         * abilist/libcrypt.abilist: Likewise.
45765         * abilist/libdl.abilist: Likewise.
45766         * abilist/libm.abilist: Likewise.
45767         * abilist/libnsl.abilist: Likewise.
45768         * abilist/libpthread.abilist: Likewise.
45769         * abilist/libresolv.abilist: Likewise.
45770         * abilist/librt.abilist: Likewise.
45771         * abilist/libthread_db.abilist: Likewise.
45772         * abilist/libutil.abilist: Likewise.
45773         * abilist/libnss_db.abilist: New file.
45775         * scripts/abilist.awk: Add support for indirect functions.
45777         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45779         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45781         * shlib-versions: Remove entries for ports architectures.
45783         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
45784         files in ports.
45785         * elf/stackguard-macros.h: Remove support for IA-64.
45786         * elf/tst-auditmod1.c: Likewise.
45787         * sysdeps/generic/ldsodefs.h: Likewise.
45789         * sysdeps/unix/sysv/linux/configure.in: Ports should define
45790         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45791         configure files.
45793         [BZ #13552]
45794         * configure.in: Remove --enable-omitfp support.
45795         * FAQ.in: Adjust.
45796         * config.make.in: Likewise.
45797         * Makeconfig: Likewise.
45798         * manual/install.texi: Likewise.
45800         In case anyone cares, the IA-64 architecture could move to ports.
45801         * sysdeps/ia64/*: Removed.
45802         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45803         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45805         [BZ #13555]
45806         * configure.in: Remove entries for unsupported architectures.
45808         [BZ #13533]
45809         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45810         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45811         routines.
45812         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45813         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45814         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45815         fall back to using wcrtomb.
45816         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45817         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45818         renaming.
45819         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45820         * wcsmbs/tst-c16c32-1.c: New file.
45822         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45823         local variable.
45825         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45827         * elf/tst-unique3.cc: Add explicit declaration of gets.
45828         * elf/tst-unique3lib.cc: Likewise.
45829         * elf/tst-unique3lib2.cc: Likewise.
45830         * elf/tst-unique4.cc: Likewise.
45832         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45834 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45836         [BZ #13566]
45837         * assert/assert.h (static_assert): Don't define for C++.
45838         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45839         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45841 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45843         * iconv/loop.c (single loop): Fix assertion in storing of
45844         remaining bytes.
45846         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45848 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45850         * posix/getconf.c: Update copyright year.
45851         * nss/getent.c: Likewise.
45852         * nss/makedb.c: Likewise.
45853         * iconv/iconvconfig.c: Likewise.
45854         * iconv/iconv_prog.c: Likewise.
45855         * elf/ldconfig.c: Likewise.
45856         * elf/pldd.c: Likewise.
45857         * elf/sotruss.ksh: Likewise.
45858         * catgets/gencat.c: Likewise.
45859         * csu/version.c: Likewise.
45860         * elf/ldd.bash.in: Likewise.
45861         * elf/sprof.c (print_version): Likewise.
45862         * locale/programs/locale.c: Likewise.
45863         * locale/programs/localedef.c: Likewise.
45864         * login/programs/pt_chown.c: Likewise.
45865         * nscd/nscd.c (print_version): Likewise.
45866         * debug/xtrace.sh: Likewise.
45867         * malloc/memusage.sh: Likewise.
45868         * malloc/mtrace.pl: Likewise.
45869         * debug/catchsegv.sh: Likewise.
45871 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45873         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45874         pure attribute.
45876 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45878         [BZ #13533]
45879         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45880         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45881         transformations.
45882         * iconv/gconv_int.h: Likewise.
45883         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45884         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45885         from libc for GLIBC_2.16.
45886         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45887         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45888         * wcsmbs/uchar.h: Really define mbstate_t.
45889         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45890         * wcsmbs/c16rtomb.c: New file.
45891         * wcsmbs/mbrtoc16.c: New file.
45892         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45893         for C/POSIX locale.
45894         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45895         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45897         * wcsmbs/wchar.h: Add missing __restrict.
45899 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45901         [BZ #13532]
45902         * time/Makefile (routines): Add timespec_get.
45903         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45904         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45905         timespec for ISO C11.
45906         * time/timespec_get.c: New file.
45907         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45908         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45910         [BZ #13531]
45911         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45912         * stdlib/stdlib.h: Declare aligned_alloc.
45913         * Versions.def: Add GLIBC_2.16 for libc.
45914         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45916         [BZ 13527]
45917         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45918         ISO C11.
45920         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45921         code.
45923         [BZ #13528]
45924         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45926         [BZ #13529]
45927         * assert/assert.h (static_assert): Define.
45929         * version.h: Update for 2.16 development version.
45931         [BZ #13526]
45932         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45933         _ISOC11_SOURCE.
45935         * version.h (RELEASE): Bump for 2.15 release.
45936         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45938         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45939         Patch by Marek Polacek <mpolacek@redhat.com>.
45941         * bits/byteswap.h: Protect long long constants with __extension__.
45942         * sysdeps/i386/bits/byteswap.h: Likewise.
45943         * sysdeps/ia64/bits/byteswap.h: Likewise.
45944         * sysdeps/s390/bits/byteswap.h: Likewise.
45945         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45947 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45949         [BZ #13540]
45950         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45951         destination buffer.
45952         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45954 2011-12-23  Marek Polacek  <polacek@redhat.com>
45956         * elf/dl-addr.c (determine_info): Add inline keyword.
45957         * elf/tst-auditmod4b.c (check_avx): Likewise.
45958         * elf/tst-auditmod6b.c (check_avx): Likewise.
45959         * elf/tst-auditmod6c.c (check_avx): Likewise.
45960         * elf/tst-auditmod7b.c (check_avx): Likewise.
45962 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45964         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45965         !__SSE_MATH__.
45967 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45969         [BZ #13540]
45970         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45971         processing for last bytes.
45973 2011-08-06  Bruno Haible  <bruno@clisp.org>
45975         [BZ #13061]
45976         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45977         U+0385, not to U+1FEE.
45979         [BZ #13062]
45980         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45981         entry for U+00A5 U+0301.
45983 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45985         [BZ #13166]
45986         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45987         buffer for the output is too small.
45989         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45990         optimization.
45992         [BZ #13185]
45993         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45994         SSE flags if possible.
45996 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45998         [BZ #13540]
45999         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46000         processing for last bytes.
46002 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
46004         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46005         (syscall-list-default-options, syscall-list-default-condition)
46006         (syscall-list-includes): Define.
46007         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46008         list of ABIs and options and #if conditions for each ABI.  Do not
46009         handle common syscalls between ABIs specially.
46010         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46011         Remove.
46012         (syscall-list-variants, syscall-list-32bit-options)
46013         (syscall-list-32bit-condition, syscall-list-64bit-options)
46014         (syscall-list-64bit-condition): Define.
46015         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46016         (syscall-list-variants, syscall-list-32bit-options)
46017         (syscall-list-32bit-condition, syscall-list-64bit-options)
46018         (syscall-list-64bit-condition): Define.
46019         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46020         Remove.
46021         (syscall-list-variants, syscall-list-32bit-options)
46022         (syscall-list-32bit-condition, syscall-list-64bit-options)
46023         (syscall-list-64bit-condition): Define.
46024         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46025         Remove.
46026         (syscall-list-variants, syscall-list-32bit-options)
46027         (syscall-list-32bit-condition, syscall-list-64bit-options)
46028         (syscall-list-64bit-condition): Define.
46030 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46032         * locale/iso-639.def: Add brx entry.
46034         [BZ #13328]
46035         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46036         Proposed by Mariusz_Cukr <marcukr@op.pl>.
46038         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46039         __feraiseexcept_renamed.
46041 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46043         [BZ #13538]
46044         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46045         EPOLLET with unsigned values.
46046         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46047         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46049         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46050         to large cancellation.
46051         * math/s_cacoshf.c: Likewise.
46052         * math/s_cacoshl.c: Likewise.
46054 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
46056         [BZ #13305]
46057         [BZ #12786]
46058         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46059         * math/s_cacoshf.c: Likewise.
46060         * math/s_cacoshl.c: Likewise.
46062 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46064         [BZ #13439]
46065         * iconv/gconv.h: Define __GCONV_SWAP.
46066         * iconvdata/unicode.c: The swap bit must be stored in __flags.
46067         * iconvdata/utf-16.c: Likewise.
46068         * iconvdata/utf-32.c: Likewise.
46070 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
46072         [BZ #13524]
46073         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46074         numerator after shifting it by one limb.
46076 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
46078         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46079         under [__USE_EXTERN_INLINES].
46081 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46083         [BZ #13446]
46084         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46086 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46088         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46089         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46090         optimized code.
46091         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46092         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46093         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46094         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46095         for strncasecmp/strncasecmp_l compilation.
46096         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46097         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46099 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
46101         [BZ #13484]
46102         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46103         of __asm__.
46105 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46107         [BZ #13506]
46108         * time/tzfile.c (__tzfile_read): Check values from file header.
46110 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46112         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46113         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46114         * powerpc/powerpc32/dl-start.S: Likewise.
46115         * powerpc/powerpc32/elf/start.S: Likewise.
46116         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46117         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46118         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46119         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46120         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46121         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46122         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46123         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46124         * powerpc/powerpc32/fpu/s_round.S: Likewise.
46125         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46126         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46127         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46128         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46129         * powerpc/powerpc32/memset.S: Likewise.
46130         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46131         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46132         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46133         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46134         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46135         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46136         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46137         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46138         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46139         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46140         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46141         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46142         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46144 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46146         * math/libm-test.inc: Added more nearbyint tests.
46147         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46148         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46149         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46150         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46152 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
46154         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46155         FD_CLOEXEC.
46157 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46159         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46160         Add wcscpy-ssse3 wcscpy-c.
46161         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46162         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46163         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46164         * sysdeps/x86_64/wcschr.S: New file.
46165         * sysdeps/x86_64/wcsrchr.S: New file.
46166         * string/test-strcmp.c: Remove checking of wcscmp function for
46167         wrong alignments.
46168         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46169         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46170         wcsrchr-sse2 wcsrchr-c.
46171         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46172         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46173         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46174         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46175         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46176         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46177         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46178         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46179         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46180         * wcsmbc/wcschr.c (WCSCHR): New macro.
46182 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46184         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46185         * wcsmbs/test-wcsrchr.c: New file.
46186         * string/test-strrchr.c: Add wcsrchr support.
46187         (WIDE): New macro.
46188         * wcsmbs/test-wcscpy.c: New file.
46189         * string/test-strcpy.c: Add wcscpy support.
46190         (WIDE): New macro.
46192 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46194         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46195         the inner loop.
46197 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46199         [BZ #13472]
46200         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46202 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46204         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46205         Minor optimizations.
46207         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46208         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46209         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46211 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46213         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46214         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46215         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46216         for gcc to avoid warnings.
46217         * inet/Makefile (tests): Add tst-checks.
46218         * inet/tst-checks.c: New file.
46220         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46221         warning.
46223         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46224         __wmemcmp_sse2.
46226         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46227         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46229         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46231 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46233         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46234         problem.
46236         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46238 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46240         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46241         conditional on GCC version.
46242         (__arch_compare_and_exchange_val_8_acq)
46243         (__arch_compare_and_exchange_val_16_acq)
46244         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46245         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46246         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46248 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46250         * sysdeps/sh/backtrace.c: New file.
46252 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46254         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46255         parenthesis.
46257 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46259         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46260         falling back to utime.
46262 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46264         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46265         expectations for float.
46267 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46269         * locale/weight.h (findidx): Add parameter len.
46270         * locale/weightwc.h (findidx): Likewise.
46271         * posix/fnmatch_loop.c (FCT): Adjust caller.
46272         * posix/regcomp.c (build_equiv_class): Likewise.
46273         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46274         * posix/regexec.c (check_node_accept_bytes): Likewise.
46275         * string/strcoll_l.c (STRCOLL): Likewise.
46276         * string/strxfrm_l.c (STRXFRM): Likewise.
46278 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46280         * Makefile.in: Remove CVSOPT handling.
46281         * configure.in: Remove use of AC_REVISION.
46282         * iconvdata/Makefile (distribute): No need to filter out CVS.
46283         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46284         handling.
46286 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46289         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46290         [USE_AS_STRNCASECMP_L]: Likewise.
46291         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46292         NO_TLS_DIRECT_SEG_REFS.
46293         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46294         Fix argument offsets for non-PIC.
46295         [USE_AS_STRNCASECMP_L]: Likewise.
46296         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46297         NO_TLS_DIRECT_SEG_REFS.
46299 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46301         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46302         O_CLOEXEC.
46303         * locale/loadlocale.c (_nl_load_locale): Likewise.
46305 2011-11-15  Andreas Schwab  <schwab@redhat.com>
46307         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46308         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46309         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46310         (SYSCALL_GETTIME): Set errno on error.
46312         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46313         count references to noai6ai_cached.
46315 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46317         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46319         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46320         FD_CLOEXEC for /proc/self/maps.
46322         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46323         FD_CLOEXEC for /proc/meminfo.
46325         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46326         gai.conf.
46328         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
46329         FD_CLOEXEC for given file.
46331         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46333         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46334         FD_CLOEXEC for /etc/hosts.
46335         (_gethtent): Likewise.
46337         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46339         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46340         cancellation and set FD_CLOEXEC for /etc/netgroup.
46342         * nss/nss_files/files-key.c (search): Don't allow cancellation when
46343         reading /etc/publickey.
46345         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46346         allow cancellation when reading /etc/group.
46348         * nss/nss_files/files-alias.c (internal_setent): Don't allow
46349         cancellation.
46350         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
46352         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46353         when using data file.
46355         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46357         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46358         (write_nis_obj): Use "c" and "e" in fopen.
46360         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46362         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46364         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46366         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46368         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46369         locale.alias.
46371         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46373         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46375         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46377         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46378         file parsing and set FD_CLOEXEC.
46380 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46382         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46384 2011-11-14  Andreas Schwab  <schwab@redhat.com>
46386         * malloc/arena.c (arena_get2): Don't call reused_arena when
46387         _int_new_arena failed.
46389 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46391         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46392         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46393         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46394         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46395         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46396         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46397         to compile strcasecmp and strncasecmp.
46398         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46399         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46401         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46403 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
46405         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46406         locale-defines.sym to gen-as-const-headers.
46407         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46408         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46409         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46410         to compile strcasecmp and strncasecmp.
46411         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46412         strcasecmp_l and strncasecmp_l.
46413         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46414         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46415         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46416         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46417         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46418         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46419         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46420         * sysdeps/i386/i686/multiarch/strncase.S: New file.
46421         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46422         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46423         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46425 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
46427         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46428         result of SYSDEP_GETTIME_CPU to retval.
46429         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46430         parameter list to macro.  Remove trailing semicolon.  Adjust users.
46432         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46433         variable.
46435         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46436         mantissa words.
46437         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46439         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46440         from unused variable.
46442         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46443         DWARF definitions.
46444         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46445         for assembling.
46447         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46448         over namespaces.
46450         * sunrpc/rpc_prot.c (rejected): Fix case value.
46452         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46453         unsigned long long int to avoid warnings in shift.
46455         * posix/regex_internal.c (re_string_reconstruct): Actually use result
46456         of use of trans.
46457         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46458         variable tmp.
46460         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46461         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46462         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46464         * nis/nis_table.c (nis_list): Use variable of correct type for
46465         result of __follow_path call.
46467 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46469         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46470         of math functions ceil, trunc, floor, round, and sqrt, when
46471         avaliable on the platform.
46472         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46473         name clash.
46474         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46475         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46476         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46478 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
46480         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46481         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46483 2011-11-11  Roland McGrath  <roland@hack.frob.com>
46485         * include/unistd.h: Fix __readlink return type.
46486         Reported by Chris Metcalf <cmetcalf@tilera.com>.
46488 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
46490         * stdlib/ucontext.h: Undo last change for makecontext.
46492 2011-11-11  Andreas Schwab  <schwab@redhat.com>
46494         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46496         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46497         * setjmp/setjmp.h: Mark functions as non-leaf.
46498         * setjmp/bits/setjmp2.h: Likewise.
46499         * stdlib/ucontext.h: Likewise.
46501 2011-11-10  Andreas Schwab  <schwab@redhat.com>
46503         * malloc/arena.c (_int_new_arena): Don't increment narenas.
46504         (reused_arena): Don't check arena limit.
46505         (arena_get2): Atomically check arena limit.
46507 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
46509         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46510         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46512         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46513         instructions.
46515 2011-11-07  Andreas Schwab  <schwab@redhat.com>
46517         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46518         handler when locking.
46520         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46521         Fix size of allocated buffer.
46523 2011-11-04  Andreas Schwab  <schwab@redhat.com>
46525         [BZ #10103]
46526         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46527         declarations for long double functions.
46528         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46530         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46532 2011-11-03  Andreas Schwab  <schwab@redhat.com>
46534         * nscd/nscd.c (main): Don't start AVC thread until credentials are
46535         installed.
46537         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46538         is disabled.
46540 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46542         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46544 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46546         * include/alloca.h (stackinfo_alloca_round): Define.
46547         (extend_alloca): Use it.
46548         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46549         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46550         here.
46552         * scripts/check-local-headers.sh: Ignore libaudit.h.
46554         * nscd/Makefile (extra-objs): Make recursively expanded.
46556 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
46558         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46559         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46561         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46562         * posix/tst-rfc3484-2.c: Likewise.
46563         * posix/tst-rfc3484-3.c: Likewise.
46565         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46566         process_vm_writev.
46567         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46568         process_vm_writev.
46569         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46570         process_vm_writev from libc using GLIBC_2.15 version.
46572         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46574 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
46576         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46577         stack usage.
46579 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
46581         [BZ #13367]
46582         * nss/getent.c (initgroups_keys): Show error message in case no group
46583         names are given.
46585         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46586         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46587         __bump_nl_timestamp.
46588         * nscd/connections (nscd_init): When host database is served open
46589         netlink socket and request notification about configuration changes.
46590         (main_loop_poll): Track netlink file descriptor and bump timestamp
46591         in case data becomes available.
46592         (main_loop_epoll): Likewise.
46593         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46594         (database_pers_head): Add extra_data fileds.
46595         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46596         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46597         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46598         Adjust caller.
46599         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46600         in6ai data, call __free_in6ai.
46601         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46602         Add -DHAVE_NETLINK.
46603         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
46604         interface information.  Reuse previous data if netlink timestamp
46605         is not changed.
46606         (__bump_nl_timestamp): New function.
46607         (__free_in6ai): New function.
46609 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
46611         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46612         close_not_cancel_no_status here.
46613         (__check_pf): Reorganize code a bit to not call close twice if OOM.
46615 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46617         [BZ #13276]
46618         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46619         return value.
46621         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46622         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46623         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46625 2011-07-03  Andreas Jaeger  <aj@suse.de>
46627         [BZ #10709]
46628         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46629         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46630         * math/libm-test.inc (sin_test): Add test case.
46632 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46634         [BZ #13337]
46635         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46636         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46638         * elf/chroot_canon.c (chroot_canon): Cleanups.
46640         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46642         [BZ #13335]
46643         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46644         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46646         * string/test-strchr.c: Make usable for strchrnul testing.
46647         * string/test-strchrnul.c: New file.
46648         * string/Makefile (strop-tests): Add strchrnul.
46650         * po/it.po: Update from translation team.
46651         * po/es.po: Likewise.
46653 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
46655         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46656         the three constants needed as parameters.  Drop the others.
46657         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46658         __m128i_strloadu_tolower.
46659         Create and initialize variable zero and use it in all the places
46660         where _mm_setzero_si128 was used.
46662         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46663         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46664         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46665         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46666         anymore.
46667         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46668         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46669         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46670         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46671         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46672         __mpranred, __mptan.
46673         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46674         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46675         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46676         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46677         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46678         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46679         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46680         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46681         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46683 2011-10-28  Andreas Schwab  <schwab@redhat.com>
46685         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46686         redefine if SHARED.
46687         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46689         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46690         wide char related routines to wcsmbs subdir.
46692 2011-10-27  Andreas Schwab  <schwab@redhat.com>
46694         [BZ #13344]
46695         * misc/sys/cdefs.h (__THROWNL): Define.
46696         * posix/unistd.h: Use __THREADNL instead of __THREAD
46697         for memory synchronization functions.
46699 2011-10-26  Roland McGrath  <roland@hack.frob.com>
46701         [BZ #13349]
46702         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46703         doesn't exist.
46704         * manual/stdio.texi (Obstack Streams): Node removed.
46706 2011-10-26  Andreas Schwab  <schwab@redhat.com>
46708         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46709         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46710         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46712         * math/math_private.h (math_force_eval): Allow non-addressable
46713         arguments.
46714         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46716 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46718         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46719         file is not needed.
46721         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46722         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46723         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46724         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46725         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46726         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46727         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46728         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46729         Add AVX variants.
46730         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46731         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46732         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46733         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46734         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46735         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46736         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46737         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46738         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46739         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46740         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46741         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46742         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46743         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46744         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46745         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46746         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46747         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46748         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46750         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46751         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
46753         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46754         place.  Use VEX encoding when compiling for AVX.
46756 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46758         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46759         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46761         * string/test-strchr.c (do_test): Don't generate NUL bytes.
46763 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46765         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46766         useless if() expression.
46767         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46768         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46769         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46770         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46771         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46772         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46773         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46774         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46775         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46776         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46777         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46778         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46779         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46780         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46781         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46782         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46783         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46784         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46785         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46787         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46789 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46791         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46792         condition.
46793         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46795 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46797         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46798         .text section.  Avoid duplicate constants.
46799         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46800         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46801         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46802         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46803         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46806         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46807         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46808         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46809         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46810         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46811         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46812         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46813         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46814         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46815         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46816         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46817         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46818         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46819         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46820         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46821         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46822         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46823         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46824         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46825         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46826         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46827         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46828         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46829         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46830         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46831         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46832         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46833         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46834         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46835         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46836         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46837         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46838         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46839         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46840         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46841         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46842         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46843         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46845 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46847         * sysdeps/x86_64/dla.h: Move to ...
46848         * sysdeps/x86_64/fpu/dla.h: ...here.
46849         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46850         situations.  Use __builtin_fma only for gcc 4.6 and up.
46852         * config.make.in: Add have-mfma4 entry.
46853         * configure.in: Substitute libc_cv_cc_fma4.
46854         * math/Makefile (dbl-only-routines): Add sincostab.
46855         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46856         Use __sincostab not sincos.
46857         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46858         name is a macro.
46859         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46860         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46861         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46862         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46863         using __copysign.
46864         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46865         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46866         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46867         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46868         and __inv.
46869         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46870         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46871         __copysign.
46872         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46873         define aliases when function name is a macro.
46874         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46875         sysdeps/ieee754/dbl-64/sincos.tbl.
46876         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46877         fma4-enabled routines.
46878         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46879         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46880         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46881         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46882         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46883         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46884         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46885         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46886         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46887         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46888         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46889         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46890         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46891         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46892         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46893         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46894         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46895         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46896         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46897         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46898         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46899         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46900         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46901         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46902         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46903         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46904         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46905         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46906         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46907         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46909         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46910         rename.
46911         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46912         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46913         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46914         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46915         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46916         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46917         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46918         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46920 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46922         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46924 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46926         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46928         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46929         prediction.
46930         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46932         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46933         Remove unused variable magic_bits.
46934         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46936         * string/strnlen.c: Define and use STRNLEN macro.
46937         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46938         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46939         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46940         * wcsmbs/wcslen.c: Define and use WCSLEN.
46941         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46942         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46943         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46944         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46945         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46946         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46947         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46949 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46952         strnlen-sse2-no-bsf.
46953         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46954         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46955         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46956         Add strnlen support.
46957         (USE_AS_STRNLEN): New macro.
46958         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46959         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46960         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46961         * sysdeps/x86_64/wcslen.S: New file.
46963 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46965         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46966         XMM-moves are used for copying on small sizes.
46968 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46970         * wcsmbs/Makefile (strop-tests): Add wcschr.
46971         * wcsmbs/test-wcschr.c: New file.
46972         * string/test-strchr.c: Update.
46973         Add wcschr support.
46974         (WIDE): New macro.
46976 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46978         * wcsmbs/Makefile (strop-tests): Add wcslen.
46979         * wcsmbs/test-wcslen.c: New file.
46980         * string/test-strlen.c: Update.
46981         Add wcslen support.
46982         (WIDE): New macro.
46984 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46986         * po/it.po: Update from translation team.
46988 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46990         * sysdeps/x86_64/wcscmp.S: Update.
46991         Fix wrong comparison semantics.
46992         wcscmp shall use signed comparison not unsigned.
46993         Don't use substraction to avoid overflow bug.
46994         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46995         * wcsmbc/wcscmp.c: Likewise.
46996         * string/test-strcmp.c: Likewise.
46997         Add new tests to check cases with negative values.
46999 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47001         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47002         * sysdeps/x86_64/dla.h: ...here.  New file.
47003         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47004         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47005         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47006         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47007         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47008         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47009         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47010         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47011         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47013 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
47015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47016         __ynl_finite aliases.
47018 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47022         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47023         define DLA_FMA.
47024         [DLA_FMA] (EMULV): Use DLA_FMA.
47025         [DLA_FMA] (MUL12): Use EMULV.
47026         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47027         that are not needed.
47028         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47029         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47030         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47031         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47032         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47033         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47034         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47036 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
47038         * math/s_nan.c: Undef __nan.
47039         * math/s_nanf.c: Undef __nanf.
47040         * math/s_nanl.c: Undef __nanl.
47041         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47042         "math_private.h".
47044 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47046         * math/s_catan.c: Add branch predictions.
47047         * math/s_catanf.c: Likewise.
47048         * math/s_catanh.c: Likewise.
47049         * math/s_catanhf.c: Likewise.
47050         * math/s_catanhl.c: Likewise.
47051         * math/s_catanl.c: Likewise.
47052         * math/s_cexp.c: Likewise.
47053         * math/s_cexpf.c: Likewise.
47054         * math/s_cexpl.c: Likewise.
47055         * math/s_clog.c: Likewise.
47056         * math/s_clog10.c: Likewise.
47057         * math/s_clog10f.c: Likewise.
47058         * math/s_clog10l.c: Likewise.
47059         * math/s_clogf.c: Likewise.
47060         * math/s_clogl.c: Likewise.
47061         * math/s_csqrt.c: Likewise.
47062         * math/s_csqrtf.c: Likewise.
47063         * math/s_csqrtl.c: Likewise.
47064         * math/s_ctanf.c: Likewise.
47065         * math/s_ctanh.c: Likewise.
47066         * math/s_ctanhf.c: Likewise.
47067         * math/s_ctanhl.c: Likewise.
47068         * math/s_ctanl.c: Likewise.
47070         * math/math_private.h: Define __nan, __nanf, __nanl.
47071         * math/s_cacosh.c: Include <math_private.h>.
47072         * math/s_cacoshl.c: Likewise.
47073         * math/s_casinh.c: Likewise.
47074         * math/s_casinhf.c: Likewise.
47075         * math/s_casinhl.c: Likewise.
47076         * math/s_ccos.c: Rely entire on ccosh.
47077         * math/s_ccosf.c: Rely entire on ccoshf.
47078         * math/s_ccosl.c: Rely entirely on ccoshl.
47079         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
47080         Remove tests for FE_INVALID.
47081         * math/s_ccoshf.c: Likewise.
47082         * math/s_ccoshl.c: Likewise.
47083         * math/s_csin.c: Likewise.
47084         * math/s_csinf.c: Likewise.
47085         * math/s_csinh.c Likewise.
47086         * math/s_csinhf.c: Likewise.
47087         * math/s_csinhl.c: Likewise.
47088         * math/s_csinl.c: Likewise.
47089         * math/s_ctan.c: Likewise.
47090         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47091         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47092         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47094 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
47096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47097         compilation problems.
47099         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47100         __builtin_expect.
47102 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
47104         * sysdeps/i386/configure.in: Test for -mfma4 option.
47105         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47106         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47107         COMMON_CPUID_INDEX_80000001.
47108         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47109         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47110         use it if FMA3 is not supported.
47111         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47113         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47114         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47116 2011-10-20  Andreas Schwab  <schwab@redhat.com>
47118         [BZ #12892]
47119         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47120         it would create a cycle with a link time dependency.
47122 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
47124         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47125         instruction.
47126         * string/Makefile (strop-tests): Add rawmemchr.
47127         * string/test-rawmemchr.c: New file.
47129         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47130         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
47131         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
47132         when compiling str{,n}casecmp and when AVX is available.  Hook up
47133         new optimized code in initializers.
47135 2011-10-19  Andreas Schwab  <schwab@redhat.com>
47137         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47138         __feraiseexcept instead of feraiseexcept.
47140 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
47142         * math/math_private.h: Define defaults for libc_fetestexcept and
47143         libc_feupdateenv.
47144         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47145         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47146         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47147         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47148         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47149         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47150         libc_fetestexcept and libc_feupdateenv.
47152         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47153         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47154         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47155         * sysdeps/x86_64/fpu/math_private.h: Define special version of
47156         libc_feholdexcept_setround.
47158         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47159         Add s_nearbyint-c and s_nearbyintf-c.
47160         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47161         nearbyintf inlines.
47162         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47163         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47164         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47165         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47167         * math/math_private.h: Define defaults for libc_fegetround,
47168         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47169         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47170         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47171         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47172         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47173         standard functions.
47174         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47175         Remove comments and hacks for old compiler versions.
47176         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47177         libc_fegetround, libc_fesetround, libc_feholdexcept, and
47178         libc_feholdexceptl.
47180 2011-10-18  Andreas Schwab  <schwab@redhat.com>
47182         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47183         (__feraiseexcept_renamed): Add __NTH.
47184         (feraiseexcept): Add __NTH.  Rename local variables to fix
47185         namespace violations.
47187 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47189         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47191         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47193         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47194         recently added interfaces.
47195         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47197         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47198         about macro parameter expansion.
47200         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47201         __NO_MATH_INLINES is defined.  Cleanups.
47203         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47204         and __floorf is target has SSE4.1.
47205         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47206         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47207         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47208         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47210         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47211         name.
47212         (floorf): Likewise.
47214         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47216 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47218         * misc/sys/cdefs.h: Fix last change.
47220         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47221         database lookup.
47223 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47225         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47227         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47228         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47229         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47230         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47231         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47232         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47233         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47234         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47235         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47236         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47237         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47238         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47239         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47240         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47241         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47242         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47243         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47244         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47245         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47246         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47247         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47248         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47250         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47251         ceil, ceilf, floor, floorf.
47253         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47254         Perform IRELATIVE relocations last.
47256         * elf/do-rel.h: Add another parameter nrelative, replacing the
47257         local variable with the same name.  Change name of the function
47258         to end in Rel or Rela (uppercase).
47259         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47260         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47261         elf_dynamic_do_##reloc function.
47263 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47265         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47266         is sufficient, at least on modern CPUs.
47268         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47270         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47271         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47273         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47274         __expl_finite.
47275         * math/bits/math-finite.h: Add entries for exp.
47276         * math/e_expl.c: Add __*_finite alias.
47277         * sysdeps/i386/fpu/e_exp.S: Likewise.
47278         * sysdeps/i386/fpu/e_expf.S: Likewise.
47279         * sysdeps/i386/fpu/e_expl.c: Likewise.
47280         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47281         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47282         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47283         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47284         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47285         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47286         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47288         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47289         is sufficient, at least on modern CPUs.
47291         * ctype/ctype-info.c (__ctype_init): Define.
47292         * include/ctype.h (__ctype_init): Declare.
47293         (__ctype_b_loc): The variable is always initialized.
47294         (__ctype_toupper_loc): Likewise.
47295         (__ctype_tolower_loc): Likewise.
47296         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47297         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47299 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47301         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47303         * configure.in: Also look in $cxxmachine/include for C++ system
47304         headers.
47306 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47308         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47309         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47310         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47311         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
47312         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47313         (USE_AS_WMEMCMP): New macro.
47314         Fixing indents.
47315         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47316         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47317         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47318         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47319         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47320         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47321         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47322         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47323         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47324         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47325         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47326         (USE_AS_WMEMCMP): New macro.
47327         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47328         * sysdeps/string/test-memcmp.c: Update.
47329         Fix simple_wmemcmp.
47330         Add new tests.
47331         * wcsmbs/wmemcmp.c: Update.
47332         (WMEMCMP): New macro.
47333         Fix overflow bug.
47335 2011-10-12  Andreas Jaeger  <aj@suse.de>
47337         [BZ #13268]
47338         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47340 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47342         * libio/iofwide.c (do_length): Avoid warning.
47344         * ctype/ctype.h (__isctype_f): Add missing __THROW.
47346 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
47348         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47350         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47351         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47352         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47353         * sysdeps/i386/i686/fpu/e_log.S: New file.
47354         * sysdeps/i386/i686/fpu/e_logf.S: New file.
47355         * sysdeps/i386/i686/fpu/e_logl.S: New file.
47357         * ctype/ctype.h: Add support for inlined isXXX functions when
47358         compiling C++ code.
47360 2011-10-14  Andreas Schwab  <schwab@redhat.com>
47362         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47364         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47366 2011-10-13  Roland McGrath  <roland@hack.frob.com>
47368         [BZ #13291]
47369         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47371 2011-10-13  Andreas Schwab  <schwab@redhat.com>
47373         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47374         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47375         feraiseexcept.
47377         * sysdeps/x86_64/memrchr.S: Check for zero size.
47379         * string/stratcliff.c: Add memrchr tests.
47381 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47383         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47384         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47385         rawmemchr-sse2 rawmemchr-sse2-bsf.
47386         * sysdeps/i386/i686/multiarch/memchr.S: New file.
47387         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47388         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47389         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47390         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47391         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47392         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47393         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47394         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47395         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47396         * string/memrchr.c (MEMRCHR): New macro.
47398 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
47400         Add integration with gcc's -ffinite-math-only and optimize wrapper
47401         functions in libm.
47402         * Versions.def: Define GLIBC_2.15 version for libm.
47403         * math/Makefile (headers): Add bits/math-finite.h.
47404         * math/bits/math-finite.h: New file.
47405         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47406         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47407         * math/e_acoshl.c: Add __*_finite alias.
47408         * math/e_acosl.c: Likewise.
47409         * math/e_asinl.c: Likewise.
47410         * math/e_atan2l.c: Likewise.
47411         * math/e_atanhl.c: Likewise.
47412         * math/e_coshl.c: Likewise.
47413         * math/e_exp10.c: Likewise.
47414         * math/e_exp10f.c: Likewise.
47415         * math/e_exp10l.c: Likewise.
47416         * math/e_exp2l.c: Likewise.
47417         * math/e_fmodl.c: Likewise.
47418         * math/e_gammal_r.c: Likewise.
47419         * math/e_hypotl.c: Likewise.
47420         * math/e_j0l.c: Likewise.
47421         * math/e_j1l.c: Likewise.
47422         * math/e_jnl.c: Likewise.
47423         * math/e_lgammal_r.c: Likewise.
47424         * math/e_log10l.c: Likewise.
47425         * math/e_log2l.c: Likewise.
47426         * math/e_logl.c: Likewise.
47427         * math/e_powl.c: Likewise.
47428         * math/e_sinhl.c: Likewise.
47429         * math/e_sqrtl.c: Likewise.
47430         * math/e_scalb.c: Completely rewritten and optimized.
47431         * math/e_scalbf.c: Likewise.
47432         * math/e_scalbl.c: Likewise.
47433         * math/w_acos.c: Likewise.
47434         * math/w_acosf.c: Likewise.
47435         * math/w_acosl.c: Likewise.
47436         * math/w_acosh.c: Likewise.
47437         * math/w_acoshf.c: Likewise.
47438         * math/w_acoshl.c: Likewise.
47439         * math/w_asin.c: Likewise.
47440         * math/w_asinf.c: Likewise.
47441         * math/w_asinl.c: Likewise.
47442         * math/w_atan2.c: Likewise.
47443         * math/w_atan2f.c: Likewise.
47444         * math/w_atan2l.c: Likewise.
47445         * math/w_atanh.c: Likewise.
47446         * math/w_atanhf.c: Likewise.
47447         * math/w_atanhl.c: Likewise.
47448         * math/w_exp10.c: Likewise.
47449         * math/w_exp10f.c: Likewise.
47450         * math/w_exp10l.c: Likewise.
47451         * math/w_fmod.c: Likewise.
47452         * math/w_fmodf.c: Likewise.
47453         * math/w_fmodl.c: Likewise.
47454         * math/w_j0.c: Likewise.
47455         * math/w_j0f.c: Likewise.
47456         * math/w_j0l.c: Likewise.
47457         * math/w_j1.c: Likewise.
47458         * math/w_j1f.c: Likewise.
47459         * math/w_j1l.c: Likewise.
47460         * math/w_jn.c: Likewise.
47461         * math/w_jnf.c: Likewise.
47462         * math/w_log.c: Likewise.
47463         * math/w_logf.c: Likewise.
47464         * math/w_logl.c: Likewise.
47465         * math/w_log10.c: Likewise.
47466         * math/w_log10f.c: Likewise.
47467         * math/w_log10l.c: Likewise.
47468         * math/w_log2.c: Likewise.
47469         * math/w_log2f.c: Likewise.
47470         * math/w_log2l.c: Likewise.
47471         * math/w_pow.c: Likewise.
47472         * math/w_powf.c: Likewise.
47473         * math/w_powl.c: Likewise.
47474         * math/w_remainder.c: Likewise.
47475         * math/w_remainderf.c: Likewise.
47476         * math/w_remainderl.c: Likewise.
47477         * math/w_scalb.c: Likewise.
47478         * math/w_scalbf.c: Likewise.
47479         * math/w_scalbl.c: Likewise.
47480         * math/w_sqrt.c: Likewise.
47481         * math/w_sqrtf.c: Likewise.
47482         * math/w_sqrtl.c: Likewise.
47483         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47484         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
47485         used.
47486         * math/math_private.h: Declare __kernel_standard_f.
47487         * math/w_cosh.c: Remove cruft and optimize a bit.
47488         * math/w_coshf.c: Likewise.
47489         * math/w_coshl.c: Likewise.
47490         * math/w_exp2.c: Likewise.
47491         * math/w_exp2f.c: Likewise.
47492         * math/w_exp2l.c: Likewise.
47493         * math/w_hypot.c: Likewise.
47494         * math/w_hypotf.c: Likewise.
47495         * math/w_hypotl.c: Likewise.
47496         * math/w_lgamma.c: Likewise.
47497         * math/w_lgamma_r.c: Likewise.
47498         * math/w_lgammaf.c: Likewise.
47499         * math/w_lgammaf_r.c: Likewise.
47500         * math/w_lgammal.c: Likewise.
47501         * math/w_lgammal_r.c: Likewise.
47502         * math/w_sinh.c: Likewise.
47503         * math/w_sinhf.c: Likewise.
47504         * math/w_sinhl.c: Likewise.
47505         * math/w_tgamma.c: Likewise.
47506         * math/w_tgammaf.c: Likewise.
47507         * math/w_tgammal.c: Likewise.
47508         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47509         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47510         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47511         Minor optimizations.  Pretty printing.  Remove cruft.
47512         * sysdeps/i386/fpu/e_acosf.S: Likewise.
47513         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47514         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47515         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47516         * sysdeps/i386/fpu/e_acosl.c: Likewise.
47517         * sysdeps/i386/fpu/e_asin.S: Likewise.
47518         * sysdeps/i386/fpu/e_asinf.S: Likewise.
47519         * sysdeps/i386/fpu/e_atan2.S: Likewise.
47520         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47521         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47522         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47523         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47524         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47525         * sysdeps/i386/fpu/e_exp10.S: Likewise.
47526         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47527         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47528         * sysdeps/i386/fpu/e_exp2.S: Likewise.
47529         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47530         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47531         * sysdeps/i386/fpu/e_fmod.S: Likewise.
47532         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47533         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47534         * sysdeps/i386/fpu/e_hypot.S: Likewise.
47535         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47536         * sysdeps/i386/fpu/e_log.S: Likewise.
47537         * sysdeps/i386/fpu/e_log10.S: Likewise.
47538         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47539         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47540         * sysdeps/i386/fpu/e_log2.S: Likewise.
47541         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47542         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47543         * sysdeps/i386/fpu/e_logf.S: Likewise.
47544         * sysdeps/i386/fpu/e_logl.S: Likewise.
47545         * sysdeps/i386/fpu/e_pow.S: Likewise.
47546         * sysdeps/i386/fpu/e_powf.S: Likewise.
47547         * sysdeps/i386/fpu/e_powl.S: Likewise.
47548         * sysdeps/i386/fpu/e_remainder.S: Likewise.
47549         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47550         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47551         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47552         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47553         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47554         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47555         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47556         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47557         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47558         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47559         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47560         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47561         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47562         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47563         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47564         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47565         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47566         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47567         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47568         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47570         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47571         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47572         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47573         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47574         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47575         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47576         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47577         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47578         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47579         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47580         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47581         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47582         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47583         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47584         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47585         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47586         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47587         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47588         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47589         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47590         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47591         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47592         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47593         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47594         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47595         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47596         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47597         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47598         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47599         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47600         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47601         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47602         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47603         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47604         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47605         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47606         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47607         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47608         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47609         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47610         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47611         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47612         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47613         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47614         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47615         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47616         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47617         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47618         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47619         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47620         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47621         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47622         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47623         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47624         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47625         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47626         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47627         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47628         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47629         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47630         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47631         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47632         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47633         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47634         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47635         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47636         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47637         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47638         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47639         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47640         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47641         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47642         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47643         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47644         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47645         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47646         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47647         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47648         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47649         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47650         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47651         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47652         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47653         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47654         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47655         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47656         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47657         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47658         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47659         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47660         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47661         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47662         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47663         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47664         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47665         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47666         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47667         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
47668         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47669         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47670         (__isnanf): Likewise.
47671         (__isinf_ns): Likewise.
47672         (__isinf_nsf): Likewise.
47673         (__finite): Likewise.
47674         (__finitef): Likewise.
47675         (__ieee754_sqrt): Define as macro.
47676         (__ieee754_sqrtf): Define as macro.
47677         (__ieee754_sqrtl): Define as macro.
47678         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47679         inlined copy.
47680         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47681         __FINITE_MATH_ONLY__ consistent.
47682         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47684 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
47686         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47687         of rawmemchr.
47689         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47691 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
47693         * po/ja.po: Update from translation team.
47695 2011-10-08  Roland McGrath  <roland@hack.frob.com>
47697         * locale/programs/locarchive.c (prepare_address_space): New function.
47698         (create_archive, enlarge_archive, open_archive): Use it.
47700         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47701         inside [SHARED], where it is used.
47703         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47705         * nss/getent.c (netgroup_keys): Remove unused variable.
47706         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47708 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
47710         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47711         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47712         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47713         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47714         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47715         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47716         * math/Makefile (libm-calls): Add s_isinf_ns.
47717         * math/divtc3.c: Use __isinf_nsl instead of isinf.
47718         * math/multc3.c: Likewise.
47719         * math/s_casin.c: Likewise.
47720         * math/s_casinf.c: Likewise.
47721         * math/s_casinl.c: Likewise.
47722         * math/s_ccos.c: Likewise.
47723         * math/s_ccosf.c: Likewise.
47724         * math/s_ccosl.c: Likewise.
47725         * math/s_ctan.c: Likewise.
47726         * math/s_ctanf.c: Likewise.
47727         * math/s_ctanh.c: Likewise.
47728         * math/s_ctanhf.c: Likewise.
47729         * math/s_ctanhl.c: Likewise.
47730         * math/s_ctanl.c: Likewise.
47731         * math/w_fmod.c: Likewise.
47732         * math/w_fmodf.c: Likewise.
47733         * math/w_fmodl.c: Likewise.
47734         * math/w_remainder.c: Likewise.
47735         * math/w_remainderf.c: Likewise.
47736         * math/w_remainderl.c: Likewise.
47737         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47738         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47739         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47740         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47741         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47742         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47743         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47744         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47746         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47747         of the number.
47748         * stdio-common/printf_fphex.c: Likewise.
47749         * stdio-common/printf_size.c: Likewise.
47751         * math/e_exp10.c: Include math_private.h using <...> not "...".
47752         * math/e_exp10f.c: Likewise.
47753         * math/e_exp10l.c: Likewise.
47754         * math/e_exp2l.c: Likewise.
47755         * math/e_j0l.c: Likewise.
47756         * math/e_j1l.c: Likewise.
47757         * math/e_jnl.c: Likewise.
47758         * math/e_lgammal_r.c: Likewise.
47759         * math/e_rem_pio2l.c: Likewise.
47760         * math/e_scalb.c: Likewise.
47761         * math/e_scalbf.c: Likewise.
47762         * math/e_scalbl.c: Likewise.
47763         * math/k_cosl.c: Likewise.
47764         * math/k_sinl.c: Likewise.
47765         * math/k_tanl.c: Likewise.
47766         * math/s_cacoshf.c: Likewise.
47767         * math/s_catan.c: Likewise.
47768         * math/s_catanf.c: Likewise.
47769         * math/s_catanh.c: Likewise.
47770         * math/s_catanhf.c: Likewise.
47771         * math/s_catanhl.c: Likewise.
47772         * math/s_catanl.c: Likewise.
47773         * math/s_ccosh.c: Likewise.
47774         * math/s_ccoshf.c: Likewise.
47775         * math/s_ccoshl.c: Likewise.
47776         * math/s_cexp.c: Likewise.
47777         * math/s_cexpf.c: Likewise.
47778         * math/s_cexpl.c: Likewise.
47779         * math/s_clog.c: Likewise.
47780         * math/s_clog10.c: Likewise.
47781         * math/s_clog10f.c: Likewise.
47782         * math/s_clog10l.c: Likewise.
47783         * math/s_clogf.c: Likewise.
47784         * math/s_clogl.c: Likewise.
47785         * math/s_csin.c: Likewise.
47786         * math/s_csinf.c: Likewise.
47787         * math/s_csinh.c: Likewise.
47788         * math/s_csinhf.c: Likewise.
47789         * math/s_csinhl.c: Likewise.
47790         * math/s_csinl.c: Likewise.
47791         * math/s_csqrt.c: Likewise.
47792         * math/s_csqrtf.c: Likewise.
47793         * math/s_csqrtl.c: Likewise.
47794         * math/s_ctan.c: Likewise.
47795         * math/s_ctanf.c: Likewise.
47796         * math/s_ctanh.c: Likewise.
47797         * math/s_ctanhf.c: Likewise.
47798         * math/s_ctanhl.c: Likewise.
47799         * math/s_ctanl.c: Likewise.
47800         * math/s_ldexp.c: Likewise.
47801         * math/s_ldexpf.c: Likewise.
47802         * math/s_ldexpl.c: Likewise.
47803         * math/s_significand.c: Likewise.
47804         * math/s_significandf.c: Likewise.
47805         * math/s_significandl.c: Likewise.
47806         * math/w_acos.c: Likewise.
47807         * math/w_acosf.c: Likewise.
47808         * math/w_acosh.c: Likewise.
47809         * math/w_acoshf.c: Likewise.
47810         * math/w_acoshl.c: Likewise.
47811         * math/w_acosl.c: Likewise.
47812         * math/w_asin.c: Likewise.
47813         * math/w_asinf.c: Likewise.
47814         * math/w_asinl.c: Likewise.
47815         * math/w_atan2.c: Likewise.
47816         * math/w_atan2f.c: Likewise.
47817         * math/w_atan2l.c: Likewise.
47818         * math/w_atanh.c: Likewise.
47819         * math/w_atanhf.c: Likewise.
47820         * math/w_atanhl.c: Likewise.
47821         * math/w_cosh.c: Likewise.
47822         * math/w_coshf.c: Likewise.
47823         * math/w_coshl.c: Likewise.
47824         * math/w_dremf.c: Likewise.
47825         * math/w_exp10.c: Likewise.
47826         * math/w_exp10f.c: Likewise.
47827         * math/w_exp10l.c: Likewise.
47828         * math/w_exp2.c: Likewise.
47829         * math/w_exp2f.c: Likewise.
47830         * math/w_fmod.c: Likewise.
47831         * math/w_fmodf.c: Likewise.
47832         * math/w_fmodl.c: Likewise.
47833         * math/w_hypot.c: Likewise.
47834         * math/w_hypotf.c: Likewise.
47835         * math/w_hypotl.c: Likewise.
47836         * math/w_j0.c: Likewise.
47837         * math/w_j0f.c: Likewise.
47838         * math/w_j0l.c: Likewise.
47839         * math/w_j1.c: Likewise.
47840         * math/w_j1f.c: Likewise.
47841         * math/w_j1l.c: Likewise.
47842         * math/w_jn.c: Likewise.
47843         * math/w_jnf.c: Likewise.
47844         * math/w_jnl.c: Likewise.
47845         * math/w_lgamma.c: Likewise.
47846         * math/w_lgamma_r.c: Likewise.
47847         * math/w_lgammaf.c: Likewise.
47848         * math/w_lgammaf_r.c: Likewise.
47849         * math/w_lgammal.c: Likewise.
47850         * math/w_lgammal_r.c: Likewise.
47851         * math/w_log.c: Likewise.
47852         * math/w_log10.c: Likewise.
47853         * math/w_log10f.c: Likewise.
47854         * math/w_log10l.c: Likewise.
47855         * math/w_log2.c: Likewise.
47856         * math/w_log2f.c: Likewise.
47857         * math/w_log2l.c: Likewise.
47858         * math/w_logf.c: Likewise.
47859         * math/w_logl.c: Likewise.
47860         * math/w_pow.c: Likewise.
47861         * math/w_powf.c: Likewise.
47862         * math/w_powl.c: Likewise.
47863         * math/w_remainder.c: Likewise.
47864         * math/w_remainderf.c: Likewise.
47865         * math/w_remainderl.c: Likewise.
47866         * math/w_scalb.c: Likewise.
47867         * math/w_scalbf.c: Likewise.
47868         * math/w_scalbl.c: Likewise.
47869         * math/w_sinh.c: Likewise.
47870         * math/w_sinhf.c: Likewise.
47871         * math/w_sinhl.c: Likewise.
47872         * math/w_sqrt.c: Likewise.
47873         * math/w_sqrtf.c: Likewise.
47874         * math/w_sqrtl.c: Likewise.
47875         * math/w_tgamma.c: Likewise.
47876         * math/w_tgammaf.c: Likewise.
47877         * math/w_tgammal.c: Likewise.
47879         * po/ja.po: Update from translation team.
47881 2011-09-29  Andreas Jaeger  <aj@suse.de>
47883         [BZ #13179]
47884         * sunrpc/netname.c (netname2host): Fix logic.
47886         [BZ #6779]
47887         [BZ #6783]
47888         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47889         correctly.
47890         * math/w_remainder.c (__remainder): Likewise.
47891         * math/w_remainderf.c (__remainderf): Likewise.
47892         * math/libm-test.inc (remainder_test): Add test cases.
47894 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47896         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47897         sdiv_qrnnd.
47899 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47901         * string/test-memcmp.c: Avoid unncessary #defines.
47902         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47904 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47906         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47907         Use new sse2 version for core i3 - i7 as it's faster
47908         than sse42 version.
47909         (bit_Prefer_PMINUB_for_stringop): New.
47910         * sysdeps/x86_64/rawmemchr.S: Update.
47911         Replace with faster SSE2 version.
47912         * sysdeps/x86_64/memrchr.S: New file.
47913         * sysdeps/x86_64/memchr.S: Update.
47914         Replace with faster SSE2 version.
47916 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47918         * elf/dl-load.c (lose): Add cast to avoid warning.
47920 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47922         * po/ca.po: Update from translation team.
47924         * inet/getnetgrent_r.c: Hook up nscd.
47925         * nscd/Makefile (routines): Add nscd_netgroup.
47926         (nscd-modules): Add netgroupcache.
47927         (CFLAGS-netgroupcache.c): Define.
47928         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47929         (cache_search): Add const to second parameter.
47930         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47931         INNETGR.
47932         (dbs): Add netgrdb entry.
47933         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47934         (verify_persistent_db): Handle netgrdb.
47935         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47936         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47937         GETFDNETGR.
47938         (netgroup_response_header): Define.
47939         (innetgroup_response_header): Define.
47940         (datahead): Add netgroup_response_header and innetgroup_response_header
47941         elements.
47942         * nscd/nscd.conf: Add entries for netgroup cache.
47943         * nscd/nscd.h (dbtype): Add netgrdb.
47944         (_PATH_NSCD_NETGROUP_DB): Define.
47945         (netgroup_iov_disabled): Declare.
47946         (xmalloc, xcalloc, xrealloc): Move declarations here.
47947         (cache_search): Adjust prototype.
47948         Add netgroup-related prototypes.
47949         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47950         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47951         (__nscd_innetgr): Declare.
47952         * nscd/selinux.c (perms): Use access_vector_t as element type and
47953         add netgroup-related initializers.
47954         * nscd/netgroupcache.c: New file.
47955         * nscd/nscd_netgroup.c: New file.
47956         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47957         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47958         For four parameters use innetgr.
47959         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47960         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47961         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47962         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47964         * nscd/connections.c (register_traced_file): Don't register file
47965         for disabled databases.
47967 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47969         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47971         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47972         from tree and freeing node.
47974 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47976         * nss/nsswitch.c (__nss_database_lookup): Handle
47977         nss_parse_service_list out of memory case.
47979 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47981         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47982         out of memory case.
47984 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47986         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47987         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47988         pass it down.
47989         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47990         elf_machine_rela, elf_machine_lazy_rel.
47991         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47992         (ELF_DYNAMIC_DO_REL): Likewise.
47993         (ELF_DYNAMIC_DO_RELA): Likewise.
47994         (ELF_DYNAMIC_RELOCATE): Likewise.
47995         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47996         to ELF_DYNAMIC_DO_REL.
47997         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47998         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47999         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48000         elf_machine_rela.
48001         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48002         skip_ifunc, don't call ifunc function if non-zero.
48003         (elf_machine_rela): Likewise.
48004         (elf_machine_lazy_rel): Likewise.
48005         (elf_machine_lazy_rela): Likewise.
48006         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48007         (elf_machine_lazy_rel): Likewise.
48008         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48009         Likewise.
48010         (elf_machine_lazy_rel): Likewise.
48011         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48012         Likewise.
48013         (elf_machine_lazy_rel): Likewise.
48014         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48015         (elf_machine_lazy_rel): Likewise.
48016         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48017         (elf_machine_lazy_rel): Likewise.
48018         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48019         (elf_machine_lazy_rel): Likewise.
48020         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48021         (elf_machine_lazy_rel): Likewise.
48022         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48023         (elf_machine_lazy_rel): Likewise.
48024         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48025         (elf_machine_lazy_rel): Likewise.
48027 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
48029         * nss/nss_files/files-init.c (_nss_files_init): Use static
48030         initialization for all the *_traced_file variables.
48032 2011-09-28  Andreas Schwab  <schwab@redhat.com>
48034         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48036 2011-09-27  Roland McGrath  <roland@hack.frob.com>
48038         [BZ #13226]
48039         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48041 2011-09-27  Andreas Schwab  <schwab@redhat.com>
48043         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48044         Reread the line before reparsing it.
48046 2011-09-26  Andreas Schwab  <schwab@redhat.com>
48048         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48050 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
48051             Maxim Kuvyrkov  <maxim@codesourcery.com>
48052             Joseph Myers  <joseph@codesourcery.com>
48054         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48055         if needed for __stack_chk_guard.
48057 2011-09-19  Roland McGrath  <roland@hack.frob.com>
48059         * sysdeps/posix/spawni.c (script_execute): Always define it.
48060         It will be optimized away if unused.
48061         (maybe_script_execute): New function.
48062         (__spawni): Call it.
48064         * Makerules: Don't include tls.make.
48065         (config-tls): Always set to thread.
48066         * tls.make.c: File removed.
48068 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
48070         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48071         * config.make.in (CPPFLAGS-config): New substituted variable.
48073 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48075         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48077         [BZ #13192]
48078         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48079         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48081 2011-09-15  Roland McGrath  <roland@hack.frob.com>
48083         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48084         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48085         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48086         (CALL_FAIL): Likewise.
48087         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48088         (CALL_FAIL): Macro removed.
48089         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48091 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48093         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48094         for __FINITE_MATH_ONLY__ == 1.
48096 2011-09-15  Andreas Schwab  <schwab@redhat.com>
48098         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48099         __ieee754_sqrt instead of sqrt.
48100         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48101         __ieee754_sqrtf instead of sqrtf.
48102         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48103         __floorf instead of floorf.
48104         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48105         __floorf, __truncf instead of floorf, truncf.
48107 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
48109         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48111         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48112         __extern_always_inline.
48113         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48114         32-bit.
48116 2011-09-14  Andreas Schwab  <schwab@redhat.com>
48118         * elf/rtld.c (dl_main): Also relocate in dependency order when
48119         doing symbol dependency testing.
48121 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
48123         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48124         Always define `refsym'.
48126 2011-09-13  Andreas Schwab  <schwab@redhat.com>
48128         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48129         (__FD_ELT): Renamed from __FDELT.
48130         * misc/bits/select2.h (__FD_ELT): Likewise.
48131         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48132         __FD_MASK instead of __FDELT, __FDMASK.
48133         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48134         Likewise.
48135         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48136         Likewise.
48138         * elf/Makefile (gen-ldd): Fix pattern.
48140         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48141         (init_tls): Likewise.
48143 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
48145         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48147 2011-09-12  Andreas Schwab  <schwab@redhat.com>
48149         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48150         `struct cmsghdr *' instead of `void *'.
48151         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48152         Likewise.
48154 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
48156         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48157         if non-absolute.
48158         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48159         ldd_rewrite_script.
48161 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
48163         * configure.in: Remove --with-tls option.
48164         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48165         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48166         out in case it is missing.
48167         * sysdeps/ia64/elf/configure.in: Likewise.
48168         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48169         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48170         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48171         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48172         * sysdeps/sh/elf/configure.in: Likewise.
48173         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48174         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48175         * sysdeps/x86_64/elf/configure.in: Likewise.
48176         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48177         * sysdeps/mach/hurd/tls.h: Likewise.
48179         [BZ #13067]
48180         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48182         [BZ #13090]
48183         * configure.in: Fix use of AC_INIT.
48185         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48187 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48189         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48190         __set_errno.
48191         * malloc/hooks.c: Likewise.
48193         [BZ #11929]
48194         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48195         variables statically.
48196         (narenas): Initialize.
48197         (list_lock): Initialize.
48198         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48199         initializtion of main_arena and list_lock.  Small cleanups.
48200         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48201         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48202         Add initializers to main_arena and mp_.
48203         (malloc_state): Remove pagesize member.  Change all users to use
48204         GLRO(dl_pagesize).
48206         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48207         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48208         is always initialized.
48210         * malloc/malloc.c: Removed unused configurations and dead code.
48211         * malloc/arena.c: Likewise.
48212         * malloc/hooks.c: Likewise.
48213         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48215         * include/tls.h: Removed.  USE___THREAD must always be defined.
48216         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48217         * elf/dl-libc.c: Likewise.
48218         * elf/dl-tsd.c: Likewise.
48219         * include/errno.h: Likewise.
48220         * include/netdb.h: Likewise.
48221         * include/resolv.h: Likewise.
48222         * inet/herrno-loc.c: Likewise.
48223         * inet/herrno.c: Likewise.
48224         * malloc/arena.c: Likewise.
48225         * malloc/hooks.c: Likewise.
48226         * malloc/malloc.c: Likewise.
48227         * resolv/res-state.c: Likewise.
48228         * resolv/res_libc.c: Likewise.
48229         * sysdeps/i386/dl-machine.h: Likewise.
48230         * sysdeps/ia64/dl-machine.h: Likewise.
48231         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48232         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48233         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48234         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48235         * sysdeps/sh/dl-machine.h: Likewise.
48236         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48237         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48238         * sysdeps/unix/i386/sysdep.S: Likewise.
48239         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48240         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48241         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48243         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48244         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48245         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48246         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48247         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48249         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48250         * sysdeps/x86_64/dl-machine.h: Likewise.
48251         * tls.make.c: Likewise.
48253         * configure.in: Remove --with-__thread option.  Make tests for
48254         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48255         tls_model attribute fail if no support is available.  Remove
48256         USE_IN_LIBIO.
48257         * Makeconfig: Adjust for dropped configure option.  All features are
48258         now mandatory.
48259         * Makerules: Likewise.
48260         * Versions.def: Likewise.
48261         * argp/argp-fmtstream.c: Likewise.
48262         * argp/argp-fmtstream.h: Likewise.
48263         * argp/argp-help.c: Likewise.
48264         * assert/assert.c: Likewise.
48265         * config.h.in: Likewise.
48266         * config.make.in: Likewise.
48267         * configure: Likewise.
48268         * configure.in: Likewise.
48269         * csu/Versions: Likewise.
48270         * csu/init.c: Likewise.
48271         * elf/tst-audit2.c: Likewise.
48272         * elf/tst-tls10.c: Likewise.
48273         * elf/tst-tls10.h: Likewise.
48274         * elf/tst-tls11.c: Likewise.
48275         * elf/tst-tls12.c: Likewise.
48276         * elf/tst-tls14.c: Likewise.
48277         * elf/tst-tlsmod11.c: Likewise.
48278         * elf/tst-tlsmod12.c: Likewise.
48279         * elf/tst-tlsmod13.c: Likewise.
48280         * elf/tst-tlsmod13a.c: Likewise.
48281         * elf/tst-tlsmod14a.c: Likewise.
48282         * elf/tst-tlsmod15b.c: Likewise.
48283         * elf/tst-tlsmod16a.c: Likewise.
48284         * elf/tst-tlsmod16b.c: Likewise.
48285         * elf/tst-tlsmod7.c: Likewise.
48286         * elf/tst-tlsmod8.c: Likewise.
48287         * elf/tst-tlsmod9.c: Likewise.
48288         * gmon/gmon.c: Likewise.
48289         * grp/fgetgrent_r.c: Likewise.
48290         * grp/putgrent.c: Likewise.
48291         * hurd/fopenport.c: Likewise.
48292         * include/libc-symbols.h: Likewise.
48293         * include/tls.h: Likewise.
48294         * intl/gettextP.h: Likewise.
48295         * intl/loadinfo.h: Likewise.
48296         * locale/global-locale.c: Likewise.
48297         * locale/localeinfo.h: Likewise.
48298         * mach/devstream.c: Likewise.
48299         * malloc/arena.c: Likewise.
48300         * malloc/set-freeres.c: Likewise.
48301         * misc/err.c: Likewise.
48302         * misc/getttyent.c: Likewise.
48303         * misc/mntent_r.c: Likewise.
48304         * posix/getopt.c: Likewise.
48305         * posix/wordexp.c: Likewise.
48306         * pwd/fgetpwent_r.c: Likewise.
48307         * resolv/Versions: Likewise.
48308         * resolv/res_hconf.c: Likewise.
48309         * shadow/fgetspent_r.c: Likewise.
48310         * shadow/putspent.c: Likewise.
48311         * stdio-common/printf_fphex.c: Likewise.
48312         * stdio-common/tmpfile.c: Likewise.
48313         * stdlib/abort.c: Likewise.
48314         * stdlib/fmtmsg.c: Likewise.
48315         * sunrpc/auth_unix.c: Likewise.
48316         * sunrpc/clnt_perr.c: Likewise.
48317         * sunrpc/clnt_tcp.c: Likewise.
48318         * sunrpc/clnt_udp.c: Likewise.
48319         * sunrpc/clnt_unix.c: Likewise.
48320         * sunrpc/openchild.c: Likewise.
48321         * sunrpc/svc_simple.c: Likewise.
48322         * sunrpc/svc_tcp.c: Likewise.
48323         * sunrpc/svc_udp.c: Likewise.
48324         * sunrpc/svc_unix.c: Likewise.
48325         * sunrpc/xdr.c: Likewise.
48326         * sunrpc/xdr_array.c: Likewise.
48327         * sunrpc/xdr_rec.c: Likewise.
48328         * sunrpc/xdr_ref.c: Likewise.
48329         * sunrpc/xdr_stdio.c: Likewise.
48331 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48333         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48335 2011-07-03  Andreas Jaeger  <aj@suse.de>
48337         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48338         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48339         regenerate with gen-libm-tests.pl.
48341 2010-05-12  Petr Baudis  <pasky@suse.cz>
48343         [BZ #11589]
48344         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48345         around j0() zero points by switching to j1().
48346         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48347         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48348         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48349         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48351 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48353         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48354         instead of 0.
48355         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48356         instead of 0.
48357         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48358         Patch in part by Pavel Roskin <proski@gnu.org>.
48360         [BZ #13138]
48361         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48362         realloc.
48363         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
48364         Free memory block if necessary.
48366         [BZ #12847]
48367         * libio/genops.c (INTDEF): For string streams the _lock pointer can
48368         be NULL.  Don't lock in this case.
48370 2011-09-09  Roland McGrath  <roland@hack.frob.com>
48372         * elf/elf.h (ELFOSABI_GNU): New macro.
48373         (ELFOSABI_LINUX): Define to that.
48375 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
48377         * string/strncat.c (strncat): Undef the symbol in case it has been
48378         defined in bits/string.h.
48380 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48382         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48384         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48385         link map.
48387 2011-08-17  Andreas Jaeger  <aj@suse.de>
48389         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48391 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48392             Ian Lance Taylor  <iant@google.com>
48394         * math/libm-test.inc (lround_test): New testcase.
48395         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48397 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
48399         * Makefile: Remove support for automatic cvs check-ins.
48400         * Makerules: Likewise.
48401         * config.make.in: Likewise.
48402         * configure.in: Likewise.
48403         * intl/Makefile: Likewise.
48404         * locale/Makefile: Likewise.
48405         * po/Makefile: Likewise.
48406         * posix/Makefile: Likewise.
48407         * sysdeps/gnu/Makefile: Likewise.
48408         * sysdeps/mach/hurd/Makefile: Likewise.
48409         * sysdeps/sparc/sparc32/Makefile: Likewise.
48411         [BZ #13118]
48412         * posix/Makefile (bug-regex32-ENV): Define.
48413         Patch by John Stanley <jpsinthemix@verizon.net>.
48415         * misc/Makefile (headers): Add bits/select2.h.
48416         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48417         * misc/bits/select2.h: New file.
48418         * include/bits/select2.h: New file.
48419         * debug/Makefile (routines): Add fdelt_chk.
48420         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48421         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48422         FD_ISSET.
48423         * debug/fdelt_chk.c: New file.
48425         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
48426         * wcsmbs/test-wmemcmp.c: Likewise.
48427         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48428         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48430 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48432         * string/Makefile (strop-tests): Add memcmp.
48433         * string/test-wmemcmp.c: New file.
48434         * string/test-memcmp.c: Add wmemcmp support.
48436 2011-09-08  Roland McGrath  <roland@hack.frob.com>
48438         [BZ #13153]
48439         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48440         2011-07-19 change.
48442         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48443         garbage value in a __mach_port_mod_refs call in the cases of the
48444         task-self and thread-self ports.
48446 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48448         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48450 2011-09-08  Andreas Schwab  <schwab@redhat.com>
48452         * elf/dl-load.c (lose): Check for non-null L.
48454 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48456         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48458         * elf/dl-libc.c (dlerror_run): Pass back error code from
48459         dl_catch_error.
48461         [BZ #13123]
48462         * elf/dl-load.c (lose): Free l_origin if it is valid.
48464         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48465         names.
48466         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48467         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48468         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48469         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48470         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48471         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48473 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48475         * sysdeps/powerpc/fpu/e_hypot.c: New file.
48476         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48477         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48478         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48479         * sysdeps/powerpc/fpu/k_cosf.c: New file.
48480         * sysdeps/powerpc/fpu/k_sinf.c: New file.
48481         * sysdeps/powerpc/fpu/s_cosf.c: New file.
48482         * sysdeps/powerpc/fpu/s_sinf.c: New file.
48483         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48484         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48486 2011-08-15  Alan Modra  <amodra@gmail.com>
48488         [BZ #13092]
48489         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48490         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48491         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
48492         ppc_mcount to static-only-routines.
48493         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48494         __mcount_internal.
48495         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48496         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
48498 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
48500         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48501         for finite and infinity parameters.
48503 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48505         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48506         and add nop instructions for throughput optimization.
48507         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48509 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
48511         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48512         aligned copy for power7 with vector-scalar instructions.
48513         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48515 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
48517         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48518         AVX check.
48520 2011-09-07  Andreas Schwab  <schwab@redhat.com>
48522         [BZ #13144]
48523         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48524         last change.
48526 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48528         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48529         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48530         syscall wrapper around clock_gettime in __vdso_clock_gettime.
48531         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48532         clock_gettime.
48534 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48536         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48537         Forgot to demangle the pointer.
48539         * sysdeps/i386/sysdep.h: Define atom_text_section.
48540         * sysdeps/x86_64/sysdep.h: Likewise.
48541         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48542         section with atom_text_section.
48543         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48544         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48545         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48546         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48547         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48549         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48550         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48551         already be defined.  Change to take two parameters and don't assign
48552         result to variable.  Adjust all users.
48553         Define INTERNAL_GETTIME if not already defined.
48554         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48555         call.
48556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48557         HAVE_CLOCK_GETTIME_VSYSCALL.
48558         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48560         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48561         gettimeofday vsyscall, just use time.
48563 2011-09-06  Andreas Schwab  <schwab@redhat.com>
48565         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48566         <errno.h>.
48568 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48570         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48571         syscall on x86-64.
48572         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48573         syscall.
48574         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48575         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48576         syscall if possible.
48578 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48580         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48581         e_ident.  Don't pass to find_mapsXX.
48582         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48584 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48587         strchr-sse2-no-bsf strrchr-sse2-no-bsf
48588         * sysdeps/x86_64/multiarch/strchr.S: Update.
48589         Check bit_slow_BSF bit.
48590         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48591         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48592         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48594 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48596         [BZ #13134]
48597         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48598         before glibc 2.15.
48599         (tryshell): Define.
48600         (__spawni): Change last parameter to be flag.  Test
48601         SPAWN_XFLAGS_USE_PATH flag to use path or not.
48602         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48603         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48604         * posix/spawni.c: Likewise.
48605         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48606         * posix/spawnp.c: Likewise.  Change normal version to use
48607         SPAWN_XFLAGS_USE_PATH.
48608         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48609         SPAWN_XFLAGS_TRY_SHELL.
48611         [BZ #13150]
48612         * posix/glob.h: Remove gcc 1.x support.
48614         [BZ #13068]
48615         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48617 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48619         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48620         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48621         strrchr-sse2-bsf
48622         * sysdeps/i386/i686/multiarch/strchr.S: New file.
48623         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48624         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48625         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48626         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48627         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48629 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48631         * sysdeps/x86_64/wcscmp.S: New file.
48633         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48634         wcscmp-c wcscmp-sse2
48635         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48636         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48637         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48638         * wcsmbs/wcscmp.c: Allow renaming.
48640 2011-09-05  David S. Miller  <davem@davemloft.net>
48642         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48643         stack slot, rather than the struct return pointer slot.
48644         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48645         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48647         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48649 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48651         * po/ja.po: Update from translation team.
48653         [BZ #13144]
48654         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48655         kernel in 64-bit binaries.
48657 2011-09-01  David S. Miller  <davem@davemloft.net>
48659         * elf/elf.h (HWCAP_SPARC_*): Move to..
48660         * sysdeps/sparc/sysdep.h: this new file and add new values.
48661         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48662         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48663         _DL_HWCAP_COUNT to 24.
48664         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48665         entries.
48666         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48667         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48668         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48669         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48670         instead of magic constants.
48671         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48673 2011-08-31  David S. Miller  <davem@davemloft.net>
48675         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48676         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48677         Reimplement to do errno handling inline.
48678         (SYSCALL_ERROR_HANDLER): New macro.
48679         (__SYSCALL_STRING): Do not do errno handling in asm.
48680         (__CLONE_SYSCALL_STRING): Delete.
48681         (__INTERNAL_SYSCALL_STRING): Delete.
48682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48683         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48684         (PSEUDO): Reimplement to do errno handling inline.
48685         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48686         (SYSCALL_ERROR_HANDLER): New macro.
48687         (__SYSCALL_STRING): Do not do errno handling in asm.
48688         (__CLONE_SYSCALL_STRING): Delete.
48689         (__INTERNAL_SYSCALL_STRING): Delete.
48690         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48691         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48692         i386.
48693         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48694         (inline_syscall*): Add 'err' argument.
48695         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48696         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48697         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48698         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48700         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48701         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48703 2011-08-30  Andreas Schwab  <schwab@redhat.com>
48705         * elf/rtld.c (dl_main): Relocate objects in dependency order.
48707 2011-08-29  Jiri Olsa <jolsa@redhat.com>
48709         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48710         directive.
48712 2011-08-24  David S. Miller  <davem@davemloft.net>
48714         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48716 2011-08-24  Andreas Schwab  <schwab@redhat.com>
48718         * elf/Makefile: Add rules to build and run unload8 test.
48719         * elf/unload8.c: New file.
48720         * elf/unload8mod1.c: New file.
48721         * elf/unload8mod1x.c: New file.
48722         * elf/unload8mod2.c: New file.
48723         * elf/unload8mod3.c: New file.
48725         * elf/dl-close.c (_dl_close_worker): Reset private search list if
48726         it wasn't used.
48728 2011-08-23  David S. Miller  <davem@davemloft.net>
48730         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48731         subtract stack bias.
48732         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48733         %sp not %fp in calculations.
48734         (_JMPBUF_UNWINDS_ADJ): Likewise.
48736         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48737         (aio_suspend): Call it to force an exception region around the
48738         AIO_MISC_WAIT() invocation.
48740 2011-08-23  Andreas Schwab  <schwab@redhat.com>
48742         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48743         backslash.
48745 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
48747         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48748         protection macro.
48749         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48750         and <dl-machine.h>.
48751         (Elf64_FuncDesc): Remove.
48753 2011-08-22  David S. Miller  <davem@davemloft.net>
48755         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48756         sigaltstack check, add missing cfi directives.
48757         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48758         missing cfi directives, and sigaltstack handling.
48760 2011-08-16  Andreas Schwab  <schwab@redhat.com>
48762         [BZ #11724]
48763         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48764         object is seen twice.
48765         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48767         * elf/Makefile (distribute): Add tst-initorder2.c.
48768         (tests): Add tst-initorder2.
48769         (modules-names): Add tst-initorder2a tst-initorder2b
48770         tst-initorder2c tst-initorder2d.  Add rules to build them.
48771         ($(objpfx)tst-initorder2.out): New rule.
48772         * elf/tst-initorder2.c: New file.
48773         * elf/tst-initorder2.exp: New file.
48775 2011-08-22  Andreas Schwab  <schwab@redhat.com>
48777         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48779         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48780         dependencies back to end of function.
48782         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48783         $(elfobjdir)/ld.so.
48785 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
48787         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48788         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48789         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48790         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48791         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48792         of __vdso_gettimeofday.
48793         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48794         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
48795         attribute_hidden.
48796         (_libc_vdso_platform_setup): Remove initialization of
48797         __vdso_gettimeofday and __vdso_time.
48799 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48801         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48802         and fgetc_unlocked.
48803         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48804         getc_unlocked.
48806         * elf/dl-open.c (add_to_global): Report additions to the global scope
48807         for LD_DEBUG=scopes.
48808         (dl_open_worker): Also print scope of newly loaded dependencies.
48809         (_dl_show_scope): Indicate if there is no scope.
48811         [BZ #13114]
48812         * stdio-common/Makefile (tests): Add bug24.
48813         * stdio-common/bug24.c: New file.
48815 2011-08-19  Andreas Jaeger  <aj@suse.de>
48817         [BZ #13114]
48818         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48819         non-existant file when using close-on-exec mode.
48821 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48824         the very first instruction.
48826         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48827         the CFI state in the end.
48828         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48829         inclusion of dl-trampoline.h.
48830         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48832 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48834         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48835         expectations for long double.
48837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48838         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48840 2011-08-14  David S. Miller  <davem@davemloft.net>
48842         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48843         artificual limit depends upon the system page size.
48845 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48847         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48848         * resolv/Makefile: Define CFLAGS-libresolv.
48850 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48852         * nss/makedb.c (compute_tables): Make variables used in nested
48853         function static.
48855 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48857         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48858         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48859         if buffer was too small.
48861         * elf/pldd.c (main): Attach to all threads in the process.
48862         Rewrite /proc handling to use *at functions.
48864 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48866         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48867         specifies first scope to show.
48868         (dl_open_worker): Update callers.  Move printing scope of new
48869         object to before the relocation.
48870         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48871         * sysdeps/generic/ldsodefs.h: Update declaration.
48873         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48874         string for the scope number.
48876 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48878         * nscd/servicescache.c (cache_addserv): Make sure written is always
48879         initialized.
48881 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48883         * sysdeps/i386/i486/bits/atomic.h
48884         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48885         statement expression, so as to suppress "set but not used" warning.
48886         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48888         * string/strncat.c (STRNCAT): Use prototype definition.
48890         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48891         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48892         -Iprograms here.
48893         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48894         (localedef-modules): Add localedef.
48895         (locale-modules): Add locale.
48897         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48898         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48899         to avoid a warning.
48901 2011-08-14  David S. Miller  <davem@davemloft.net>
48903         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48904         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48906 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48908         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48909         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48910         * elf/rtld.c (dl_main): Set l_name of vDSO.
48911         Call _dl_show_scope when DL_DEBUG_SCOPES.
48912         (process_dl_debug): Recognize scopes flag and also set it for all.
48913         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48914         Declare _dl_show_scope.
48916         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48917         (do_dlopen): Pass caller_dlopen to dl_open.
48918         (__libc_dlopen_mode): Initialize caller_dlopen.
48920         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48921         of libc.  Make tolower call locale-independent.  Optimize a bit by
48922         using isdigit instead of isalnum.
48923         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48925 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48927         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48928         was a dependency or dynamically loaded.
48930 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48932         * intl/l10nflist.c: Allow architecture-specific pop function.
48933         * sysdeps/x86_64/l10nflist.c: New file.
48935         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48936         classification.
48938 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48940         * include/dirent.h: Add libc_hidden_proto for scandirat and
48941         scandirat64.  Don't declare __scandirat64.
48942         * dirent/scandirat.c: Add libc_hidden_def.
48943         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48944         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48946 2011-08-10  David S. Miller  <davem@davemloft.net>
48948         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48949         enum.
48950         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48951         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48952         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48954 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48956         * Versions.def [libc]: Add GLIBC_2.15.
48957         * dirent/Makefile (routines): Add scandirat and scandirat64.
48958         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48959         GLIBC_2.15.
48960         * dirent/dirent.h: Declare scandirat and scandirat64.
48961         * dirent/scandirat.c: New file.
48962         * dirent/scandirat64.c: New file.
48963         * sysdeps/wordsize-64/scandirat.c: New file.
48964         * sysdeps/wordsize-64/scandirat64.c: New file.
48965         * dirent/opendir.c: Define opendirat.
48966         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48967         using scandirat.
48968         * dirent/scandir64.c: Adjust for scandir.c change.
48969         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48970         __scandirat64, and __scandir_cancel_handler.
48971         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48972         additional parameter and use openat instead of open (outside of ld.so).
48973         Add new __opendir as wrapper around __opendirat.
48974         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48975         here without requiring old scandirat implementation.
48977 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48979         * dirent/scandir.c (cancel_handler): Renamed to
48980         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48981         defined.  Adjust users.
48982         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48983         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48985 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48987         * string/test-string.h (IMPL): Use __STRING to expand name and then
48988         stringify it.
48990         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48991         of cleanups.
48993 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48995         * string/Makefile: Update.
48996         (strop-tests): Append strncat.
48997         * string/test-wcscmp.c: New file.
48998         New comprehensive test for wcscmp.
48999         * string/test-strcmp.c: Update.
49000         (WIDE): New define.
49002 2011-07-22  Andreas Schwab  <schwab@redhat.com>
49004         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49005         line.
49007 2011-07-26  Andreas Schwab  <schwab@redhat.com>
49009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49010         encoding to ACE if AI_IDN.
49012 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
49014         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49015         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49017 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49019         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49020         Fix overflow bug in strncat.
49021         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49023         * string/test-strncat.c: Update.
49024         Add new tests for checking overflow bugs.
49026 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49028         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49029         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49030         * sysdeps/i386/i686/multiarch/strcat.S: New file.
49031         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49032         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49033         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49034         * sysdeps/i386/i686/multiarch/strncat.S: New file.
49035         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49036         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49038         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49039         (USE_AS_STRCAT): Define.
49040         Add strcat and strncat support.
49041         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49043 2011-07-25  Andreas Schwab  <schwab@redhat.com>
49045         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49046         __n bigger than INT_MAX+1.
49047         (__strncmp_g): Likewise.
49049 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
49051         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49052         * libio/stido.h: Likewise.
49054         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49055         (AF_NFC): Define.
49056         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49057         (AF_NFC): Define.
49059         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49060         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49061         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49062         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49063         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49065         [BZ #13021]
49066         * scripts/test-installation.pl: Don't expect libnss_test1 to be
49067         installed.
49069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49070         typo.
49071         (_dl_x86_64_save_sse): Likewise.
49073 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
49075         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49076         OSXSAVE.
49077         (_dl_x86_64_save_sse): Likewise.
49079         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49081         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49083 2011-07-21  Andreas Schwab  <schwab@redhat.com>
49085         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49086         change.
49087         (_dl_x86_64_save_sse): Use correct AVX check.
49089 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49091         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49092         bug in strncpy/strncat.
49093         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49095 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
49097         * string/tester.c (test_strcat): Add tests for different alignments
49098         of source and destination.
49099         (test_strncat): Likewise.
49101 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49103         [BZ #12852]
49104         * posix/glob.c (glob): Check passed in values before using them in
49105         expressions to avoid some overflows.
49106         (glob_in_dir): Likewise.
49108         [BZ #13007]
49109         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49110         check for AVX enablement so that we don't crash with old kernels and
49111         new hardware.
49112         * elf/tst-audit4.c: Add same checks here.
49113         * elf/tst-audit6.c: Likewise.
49115         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49117 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
49119         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49121 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49123         * po/cs.po: Update from translation team.
49124         * po/bg.po: Likewise.
49126 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
49128         * misc/sys/cdefs.h: Add support for const attribute.
49129         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49130         to gnu_dev_{major,minor,makedev} functions.
49132 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
49134         * intl/dcigettext.c (get_output_charset): Add missing bracket.
49136 2011-07-20  Andreas Schwab  <schwab@redhat.com>
49138         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49139         strlen results.
49141 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49144         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49145         register in order to avoid conflicts with the soft frame pointer
49146         being held in r11 when necessary.
49147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49148         (INTERNAL_VSYSCALL_NCS): Likewise.
49150 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
49152         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49153         * elf/dl-fini.c (_dl_fini): Adjust caller.
49154         * elf/dl-close.c (_dl_close_worker): Likewise.
49155         * sysdeps/generic/ldsodefs.h: Adjust declaration.
49157 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49159         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49160         "aux_cache->nlibs < 0".
49162         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49163         in the reload-count case.
49165 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49168         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49169         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49170         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49171         * sysdeps/x86_64/multiarch/strcat.S: New file.
49172         * sysdeps/x86_64/multiarch/strncat.S: New file.
49173         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49174         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49175         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49176         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49177         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49178         (USE_AS_STRCAT): Define.
49179         Add strcat and strncat support.
49180         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49181         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49182         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49183         * string/strncat.c: Update.
49184         (USE_AS_STRNCAT): Define.
49185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49186         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49187         and i7.
49188         * sysdeps/x86_64/multiarch/init-arch.h
49189         (bit_Prefer_PMINUB_for_stringop): New.
49190         (index_Prefer_PMINUB_for_stringop): Likewise.
49191         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49192         bit_Prefer_PMINUB_for_stringop.
49194 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49196         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49197         buffer64.
49198         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49199         of casting of buffer.
49200         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49201         buffer32 and buffer64.
49202         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49203         writes instead of casting of buffer.
49204         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49205         buffer32.
49206         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49207         casting of buffer.
49209 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49211         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49213 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49215         * nscd/nscd.c (termination_handler): Don't do anything for a database
49216         if it has not yet been initialized.
49218 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49220         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49222 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49224         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49226 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49228         * po/nl.po: Update from translation team.
49229         * po/sv.po: Likewise.
49231 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49233         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49234         now disallowed by GCC.
49236         * configure.in (use-default-link): Default to yes if a test -shared
49237         link meets our qualifications.
49238         * configure: Regenerated.
49240         * config.make.in (output-format): New variable.
49241         * configure.in: Check for ld --print-output-format support.
49242         * configure: Regenerated.
49243         * Makerules ($(common-objpfx)format.lds)
49244         [$(output-format) != unknown]: Just use $(output-format),
49245         instead of the linker-script munging.
49247 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49249         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49250         of $(common-objpfx)shlib.lds.
49251         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49253         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49254         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49256         * configure.in (-z relro check): Adjust test code to add a large
49257         writable data section after it.
49258         * configure: Regenerated.
49260 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49262         * configure.in (-z relro check): Fix test code to make the variable
49263         truly const.
49264         * configure: Regenerated.
49266 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49268         * nscd/nscd.h (struct traced_file): Define.
49269         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49270         elements.  Add traced_files.
49271         (inotify_fd): Declare.
49272         (register_traced_file): Declare.
49273         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49274         (inotify_fd): Export.
49275         (resolv_conf_descr): Remove.
49276         (nscd_init): Move inotify descriptor creation to main.
49277         Don't register files for notification here.
49278         (register_traced_file): New function.
49279         (invalidate_cache): Don't use reset_res to determine whether to call
49280         res_init, go through the list of registered files.
49281         (main_loop_poll): The inotify descriptors are now stored in the
49282         structures for the traced files.
49283         (main_loop_epoll): Likewise
49284         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49285         to __nss_disable_nscd.
49286         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49287         for a database anymore.  Check the records for all the registered
49288         files instead.
49289         * nss/Makefile (libnss_files-routines): Add files-init.
49290         (libnss_db-routines): Add db-init.
49291         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49292         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49293         * nss/nss_db/db-init.c: New file.
49294         * nss/nss_files/files-init.c: New file.
49295         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49296         __nss_lookup_function.
49297         (__nss_lookup_function): Call nss_load_library.
49298         (nss_load_all_libraries): New function.
49299         (__nss_disable_nscd): Take parameter with callback function for files
49300         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49301         used for the cached services.
49302         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49303         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49304         options for features to all the files in nscd.
49306         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49308 2011-07-10  Roland McGrath  <roland@hack.frob.com>
49310         * csu/elf-init.c (__libc_csu_init): Comment typo.
49312 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
49314         * po/pl.po: Update from translation team.
49315         * po/ja.po: Likewise.
49316         * po/ru.po: Likewise.
49317         * po/ko.po: Likewise.
49318         * po/fr.po: Likewise.
49320 2011-07-09  Roland McGrath  <roland@hack.frob.com>
49322         * configure.in (.ctors/.dtors header and trailer check):
49323         Use an empirical test on a built program.
49324         * configure: Regenerated.
49326         * configure.in (-z relro check): Use an empirical test on a built DSO.
49327         Detect, but do not require, on ia64.
49328         * configure: Regenerated.
49330         * configure.in (READELF): Find it with AC_CHECK_TOOL.
49331         Update tests that use readelf to use $READELF instead.
49332         * configure: Regenerated.
49334 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
49336         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49337         if the result is not used.
49339 2011-07-05  Andreas Jaeger  <aj@suse.de>
49341         [BZ#9696]
49342         * stdlib/tst-strtod.c: Add testcase.
49344 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
49346         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49347         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49348         The latter has a higher limit.  Take additional parameter to pass to
49349         the new function.
49350         (__pathconf): Pass file to __statfs_link_max.
49351         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49352         __statfs_link_max.
49353         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49354         __statfs_link_max.
49356         [BZ #12868]
49357         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49358         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49359         Handle Lustre.
49360         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49361         (__statfs_filesize_max): Likewise.
49362         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49364 2011-07-05  Andreas Jaeger  <aj@suse.de>
49366         * resolv/res_comp.c (dn_skipname): Remove unused variable.
49368 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
49370         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49371         `status' variable.
49372         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49373         Likewise.
49375 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
49377         * Makefile (strop-tests): Add strncat.
49378         * string/test-strncat.c: New file.
49380 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
49382         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49384 2011-06-21  Andreas Jaeger  <aj@suse.de>
49386         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49387         Copy rule from iconvdata/Makefile.
49389 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49391         [BZ #12922]
49392         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49393         but no long options are defined, just return 'W'.
49395 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
49397         [BZ #9696]
49398         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49400 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49402         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49403         netgroups to read.
49404         (innetgr): Likewise.
49406 2011-07-05  Roland McGrath  <roland@hack.frob.com>
49408         * config.make.in (install_root): Default to $(DESTDIR).
49410 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
49412         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49414 2011-07-02  Roland McGrath  <roland@hack.frob.com>
49416         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49418         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49419         containing directory rather than embedding absolute directory names.
49421         * scripts/check-local-headers.sh: Rewritten using awk.
49422         Match by word, not by line.  Print error messages for matches.
49423         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49425         * Makerules [shlib-lds-flags empty]:
49426         ($(common-objpfx)libc_pic.opts): New target.
49427         ($(common-objpfx)libc_pic.os.clean): New target.
49428         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49430         * config.make.in (OBJCOPY): New variable.
49431         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49432         * configure: Regenerated.
49434         * config.make.in (use-default-link): New variable.
49435         * configure.in (use_default_link): Grok --with-default-link to set it.
49436         * configure: Regenerated.
49437         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49438         (shlib-lds, shlib-lds-flags): Define to empty.
49440         * Makerules (shlib-lds): New variable.
49441         (shlib-lds-flags): New variable.
49442         (build-shlib, build-moduile, build-module-asneeded): Use it.
49443         ($(common-objpfx)libc.so): Use $(shlib-lds).
49444         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49445         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49447         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49448         DT_FLAGS/DT_FLAGS_1 with zero flags.
49450         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49451         linker script munging.
49453 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
49455         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49456         as 128-bit value.
49457         * crypt/sha512.c (sha512_process_block): Perform total addition using
49458         128-bit if possible.
49459         (__sha512_finish_ctx): Likewise.
49460         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49461         as 64-bit value.
49462         * crypt/sha256.c (SWAP64): Define.
49463         (sha256_process_block): Perform total addition using 64-bit if
49464         possible.
49465         (__sha256_finish_ctx): Likewise.
49467 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
49469         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
49470         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49471         * nscd/hstcache.c (cache_addhst): Likewise.
49472         * nscd/grpcache.c (cache_addgr): Likewise.
49473         * nscd/aicache.c (addhstaiX): Likewise
49474         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49476 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
49478         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49479         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49480         * nscd/hstcache.c (cache_addhst): Likewise.
49481         * nscd/grpcache.c (cache_addgr): Likewise.
49482         * nscd/aicache.c (addhstaiX): Likewise
49484 2011-07-01  Andreas Schwab  <schwab@redhat.com>
49486         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49487         domain only when needed.
49489 2011-06-30  Andreas Schwab  <schwab@redhat.com>
49491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49492         is always restored.
49494 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
49496         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49497         are re-adding the entry.
49498         * nscd/servicescache.c (cache_addserv): Likewise.
49500 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
49502         * sysdeps/generic/dl-irel.h: fix protection against multiple
49503         inclusions.
49504         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49506 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
49508         [BZ #12935]
49509         * malloc/memusage.sh: Fix quoting in message.
49510         * debug/xtrace.sh: Likewise.
49512         * configure.in: Remove support for --experimental-malloc option, make
49513         it the default.
49514         * config.make.in: Likewise.
49515         * malloc/Makefile: Likewise.
49517 2011-06-27  Andreas Schwab  <schwab@redhat.com>
49519         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49520         two-byte characters.
49522 2011-06-27  Roland McGrath  <roland@hack.frob.com>
49524         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49525         AC_CACHE_CHECK invocation.
49526         * configure: Regenerated.
49528         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49530 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
49532         [BZ #12350]
49533         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
49534         bit from old_res_options.
49536         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49538         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49539         value type for setfct.
49541 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
49543         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49544         __gettimeofday instead of gettimeofday.
49546 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
49548         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49550 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
49552         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49554         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49555         info.
49557 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49560         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49561         strcpy-sse2-unaligned strncpy-sse2-unaligned
49562         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49563         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49564         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49565         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49566         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49567         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49568         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49569         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49570         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49571         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49572         (STRCPY): Support SSE2 and SSSE3 versions.
49574 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
49576         [BZ #12874]
49577         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49578         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49579         kernels which artificially limit size of requests.
49581 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49583         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49584         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49585         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49586         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49587         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49588         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49589         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49590         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49591         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49592         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49593         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49594         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49595         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49596         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49597         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49599         Enable unaligned load optimization for Intel Core i3, i5 and i7
49600         processors.
49601         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49602         Define.
49603         (index_Fast_Unaligned_Load): Define.
49604         (HAS_FAST_UNALIGNED_LOAD): Define.
49606 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
49608         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49610 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49612         [BZ #12907]
49613         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49614         until it is clear that the information is realy needed.
49615         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49617 2011-06-22  Andreas Schwab  <schwab@redhat.com>
49619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49621 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49623         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49624         /sys/devices/system/cpu/online if it is usable.
49626         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49627         reading the information from the /proc filesystem to once a second.
49629 2011-06-21  Andreas Jaeger  <aj@suse.de>
49631         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49632         NULL after inclusion of kernel headers.
49634 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
49636         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49637         calls to internal_setent.
49639         [BZ #12885]
49640         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49641         addresses using gethostbyname4_r ignore IPv4 addresses.
49643         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49644         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
49646         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49648 2011-06-20  David S. Miller  <davem@davemloft.net>
49650         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49651         inclusions.
49652         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49654         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49655         (elf_irel): Use it.
49656         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49657         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49658         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49659         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49660         * sysdeps/x86_64/dl-irel.h: Likewise.
49662         * elf/dl-runtime.c: Use elf_ifunc_invoke.
49663         * elf/dl-sym.c: Likewise.
49665 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49667         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
49668         need to dereference resplen2.
49670 2011-06-14  Andreas Schwab  <schwab@redhat.com>
49672         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49674 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49676         * Makeconfig: Define vardbdir and inst_vardbdir.
49677         * nss/Makefile: Add rules to install db-Makefile.
49679         * nss/nss_db/db-XXX.c: Cleanup.
49681         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49682         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49683         GLIBC_PRIVATE.
49684         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49685         * nss/makedb.c: Implement -g option to specify that value strings
49686         are generated and should not be added to table iterated over for
49687         get*ent calls.
49688         * nss/nss_db/db-initgroups.c: New file.
49690         * nss/getent.c: Add support for initgroups lookups through getgrouplist
49691         interface.
49693         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49694         (internal_getgrouplist): Adjust to name change.
49695         Update use_initgroups_entry if this is not the first call.
49696         * nss/databases.def: Add initgroups entry.
49698         * nss/makedb.c (compute_tables): Check result of multiple hash table
49699         sizes to minimize maximum chain length.
49701 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
49703         * Versions.def: Add entry for libnss_db.
49704         * shlib-versions: Likewise.
49705         * nss/Makefile: Add rules to build libnss_db.
49706         * nss/Versions: Add libnss_db information.  Organize libnss_files
49707         entries better.
49708         * nss/db-Makefile: Add gshadow support.  Change rules for the new
49709         makedb progra.  Some minor improvements to generate smaller files.
49710         * nss/nss_db/nss_db.h: Move NSS database header data structures to
49711         here from...
49712         * nss/makedb.c: ...here.
49713         Improve database format to be smaller and require less memory at
49714         runtime.
49715         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
49716         db anymore.
49717         * nss/nss_db/db-netgrp.c: Likewise.
49718         * nss/nss_db/db-open.c: Likewise.
49719         * nss/nss_files/flies-XXX.x: Adjust comments.
49720         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49721         * nss/nss_files/files-grp.c: Likewise.
49722         * nss/nss_files/files-hosts.c: Likewise.
49723         * nss/nss_files/files-network.c: Likewise.
49724         * nss/nss_files/files-proto.c: Likewise.
49725         * nss/nss_files/files-pwd.c: Likewise.
49726         * nss/nss_files/files-rpc.c: Likewise.
49727         * nss/nss_files/files-service.c: Likewise.
49728         * nss/nss_files/files-sgrp.c: Likewise.
49729         * nss/nss_files/files-spwd.c: Likewise.
49730         * nss/nss_db/db-alias.c: Removed.
49731         * nss/nss_db/dummy-db.h: Removed.
49733 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
49735         * nss/makedb.c: Rewritten to not use database library.
49736         * nss/Makefile: Update to build new makedb program.
49738 2011-06-14  Andreas Jaeger  <aj@suse.de>
49740         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49741         memset declaration.
49743 2011-06-10  Andreas Schwab  <schwab@redhat.com>
49745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49746         tmpbuf.
49748 2011-06-10  Roland McGrath  <roland@hack.frob.com>
49750         * Makerules (shlib.lds): Fail if the linker script comes out empty.
49751         * elf/Makefile ($(objpfx)ld.so): Likewise.
49753         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49754         Don't list ld.so twice in dependencies.
49756         * posix/bug-regex31.c: Include <stdlib.h>.
49758         * nscd/hstcache.c (cache_addhst): Remove unused variable.
49760         * nis/nss_compat/compat-spwd.c
49761         (getspent_next_nss_netgr): Remove unused variable.
49762         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49764         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49765         nonmembers" output to use the right array.
49767         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49769         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49771         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49772         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49773         * catgets/gencat.c (read_input_file): Likewise.
49774         * locale/programs/locarchive.c (enlarge_archive): Likewise.
49776         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49777         variable definition inside #if's controlling its use.
49779         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49781         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49783         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49785         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49786         unreachable code.
49788         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49790         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49791         * configure: Regenerated.
49793         * Makerules: Revert last change.
49794         * elf/Makefile: Likewise.
49796 2011-06-09  Roland McGrath  <roland@hack.frob.com>
49798         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49799         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49800         (reloc-link): Likewise.
49802 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49804         * elf/Makefile: Add rules to build pldd.
49805         * elf/pldd.c: New file.
49806         * elf/pldd-xx.c: New file.
49808 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49810         * version.h: Update for 2.15 development version.
49812 2011-06-07  David S. Miller  <davem@davemloft.net>
49814         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49815         ifuncs.
49816         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49817         elf_machine_lazy_rel): Likewise.
49818         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49819         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49820         elf_machine_lazy_rel): Likewise.
49821         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49822         dl_hwcap via passed in argument.
49823         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49824         Likewise.
49826 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49828         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49830 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49832         [BZ #12849]
49833         * manual/fdl-1.1.texi: New file, verbatim from:
49834         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49835         * manual/lgpl-2.1.texi: New file, verbatim from:
49836         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49837         * manual/Makefile (licenses): New variable, list those new file names.
49838         (texis): Use it.
49839         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49841         * manual/fdl.texi: File removed.
49842         * manual/lesser.texi: File removed.
49843         * manual/libc.texinfo (Copying, Documentation License):
49844         Use new @include file names, put @appendix directive before @include.
49846 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49848         [BZ #12841]
49849         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49850         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49851         (mq_open): Add __NTH.
49853 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49856         Assume Intel Core i3/i5/i7 processor if AVX is available.
49858 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49860         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49861         typo.
49863 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49865         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49866         memory.  Use alloca_account.  Fix memory leak when retrying.
49868 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49870         * version.h (RELEASE): Bump for 2.14 release.
49871         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49873         * config.make.in (RANLIB): Remove entry.
49875 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49877         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49878         (libc.pot): Work around missing support for .ksh extension in xgettext.
49880         [BZ #12684]
49881         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49882         if both request failed.
49883         (send_dg): In case of server errors clear resplen or *resplen2.
49885         [BZ #12454]
49886         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49887         when there are multiple maps.
49888         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49889         (_dl_fini): Remove test here.
49891         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49893 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49895         [BZ #12350]
49896         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49897         bit from old_res_options.
49898         (gaih_inet): Likewise.
49900         [BZ #11099]
49901         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49902         as signed.
49904         * resolv/res_init.c (res_setoptions): Make the code more compact.
49906         [BZ #11558]
49907         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49908         set RES_USEVC.
49910         [BZ #11634]
49911         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49913         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49915         [BZ #11781]
49916         * malloc/malloc.h: Declare malloc hook variables as volatile.
49918         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49919         in last patch.
49921         [BZ #11799]
49922         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49923         raise in the comment.
49924         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49925         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49926         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49928 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49930         [BZ #12811]
49931         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49932         grow the buffers more if it already has to be sufficient.
49933         (build_wcs_upper_buffer): Likewise.
49934         * posix/regexec.c (check_matching): Likewise.
49935         (clean_state_log_if_needed): Likewise.
49936         (extend_buffers): Don't enlarge buffers beyond size of the input
49937         buffer.
49938         Patches mostly by Emil Wojak <emil@wojak.eu>.
49939         * posix/bug-regex32.c: New file.
49940         * posix/Makefile (tests): Add bug-regex32.
49942         * locale/findlocale.c (_nl_find_locale): Return right away if
49943         _nl_explode_name failed.
49944         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49946         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49948         * debug/xtrace.sh: Unify messages.
49949         * malloc/memusage.sh: Likewise.
49951         [BZ #12813]
49952         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49953         time symbol from vDSO.  Substitute with vsyscall if not available.
49954         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49955         __vdso_time.
49957         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49958         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49959         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49960         Add sendmmsg and internal_sendmmsg.
49961         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49962         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49963         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49965         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49966         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49967         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49969 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49971         [BZ #12813]
49972         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49973         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49974         available.
49975         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49976         __vdso_getcpu.
49978         [BZ #12814]
49979         * iconvdata/Makefile (tests): Add bug-iconv9.
49980         * iconvdata/bug-iconv9.c: New file.
49982 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49984         [BZ #12814]
49985         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49987 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49989         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49990         (struct user_regs_struct): Change intcs field back to cs.
49992 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49994         * po/ja.po: Update from translation team.
49996 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49998         [BZ #12795]
49999         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50000         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50002 2011-05-20  Andreas Schwab  <schwab@redhat.com>
50004         * stdlib/longlong.h: Update from GCC.
50006 2011-05-23  Andreas Schwab  <schwab@redhat.com>
50008         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50009         parameter name.
50010         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50011         Add parameter name.
50012         (__sysconf): Pass it down.
50014 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
50016         [BZ #12671]
50017         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50018         some situations.
50019         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50020         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50021         add in in __libc_use_alloca calls.  Adjust callers.
50022         (glob): Use malloc in some situations.
50024         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50025         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50026         pltexit.
50028 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
50030         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50031         and CLOCK_BOOTTIME_ALARM.
50033         [BZ #12782]
50034         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50035         is returned.
50037         * string/_strerror.c (__strerror_r): Print negative errors as signed
50038         numbers.
50040         [BZ #12777]
50041         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50042         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50043         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50045         * configure.in: Fix typo in redirection and correct removal of test
50046         files in two cases.
50048         [BZ #12788]
50049         * locale/setlocale.c (new_composite_name): Fix test to check for
50050         identical name of all categories.
50052         [BZ #12792]
50053         * libio/filedoalloc.c (local_isatty): New function.
50054         (_IO_file_doallocate): Use local_isatty.
50055         * stdio-common/perror.c (perror): In case a new stream is used
50056         forward the stream error.
50057         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50058         error flag.
50060 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
50062         [BZ #11869]
50063         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50064         alloca.
50065         * include/alloca.h (extend_alloca_account): Define.
50067         [BZ #11857]
50068         * posix/regex.h: Fix comments with documentation of user-accessible
50069         fields after compilation and describe correct free'ing of pattern
50070         after re_compile_pattern.
50071         Patch by Reuben Thomas <rrt@sc3d.org>.
50073 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
50075         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50076         and -mno-altivec to prevent the compiler from using Altivec and/or
50077         VSX instructions when the corresponding registers are not available.
50079 2011-05-19  Andreas Schwab  <schwab@redhat.com>
50081         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50083 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
50085         * libio/freopen.c (freopen): Use __dup2, not dup2.
50086         * libio/freopen64.c (freopen64): Likewise.
50088 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50090         [BZ #12775]
50091         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50092         * math/Makefile (tests): Add test-powl.
50093         (CFLAGS-test-powl.c): Define.
50094         * math/test-powl.c: New file.
50096 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50098         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50100 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
50102         [BZ #11837]
50103         * iconvdata/gb18030.c: Update to GB18020-2005.
50105 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
50107         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50108         RE_SYNTAX_POSIX_AWK): Update to match recent development.
50109         Patch by Aharon Robbins <arnold@skeeve.com>.
50111         [BZ #11892]
50112         * stdlib/putenv.c (putenv): Don't always create copy of the variable
50113         on the stack.
50115         [BZ #11895]
50116         * misc/pselect.c (__pselect): Handle timeout value errors hidden
50117         through underflows.
50119         [BZ #12766]
50120         * misc/error.c (error_at_line): Ensure file_name and old_file_name
50121         point to strings before performing equality test for error_one_per_line
50122         mode.
50124         [BZ #11697]
50125         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50127         [BZ #11820]
50128         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50129         (struct user_fpregs_struct): Avoid __uint*_t types.
50131         [BZ #6420]
50132         * malloc/mtrace.c (tr_where): Add additional parameter to point to
50133         symbol info.  Use it instead of calling _dl_addr locally.
50134         (lock_and_info): New function.
50135         (tr_freehook): Call lock_and_info and pass symbol info as additional
50136         parameter to tr_where.
50137         (tr_mallochook): Likewise.
50138         (tr_reallochook): Likewise.
50139         (tr_memalignhook): Likewise.
50141         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
50142         used and couldn't be at all thread-safe.
50144 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
50146         * libio/freopen.c (freopen): Don't close old file descriptor
50147         before the new one is opened.  Instead dup the new file descriptor
50148         to the old one after the new stream is created.
50149         * libio/freopen64.c (freopen64): Likewise.
50150         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50151         * libio/fileops.c (_IO_new_file_close_it): Handle new
50152         _IO_FLAGS2_NOCLOSE flag.
50153         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50154         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50155         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50156         _IO_FLAGS2_NOCLOSE flag.
50157         * include/unistd.h: Add hidden_proto for dup3.
50158         Define __have_dup3.
50159         * io/dup3.c: Define hidden symbol.
50160         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50162         [BZ #7101]
50163         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50164         when an incomplete long option is used.
50165         * posix/tst-getopt_long1.c: New file.
50166         * posix/Makefile (tests): Add tst-getopt_long1.
50168         [BZ #10138]
50169         * scripts/config.guess: Update from autoconf-2.68.
50170         * scripts/config.sub: Likewise.
50172         [BZ #10157]
50173         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50174         tests into ...
50175         (has_cpuclock): ...this.  New function.
50176         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50177         macro here based on has_cpuclock code.
50179         [BZ #10149]
50180         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50181         First byte (not low byte) is now always NUL.
50182         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50184         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50185         Use non-cancelable interfaces.
50187         [BZ #9809]
50188         * locale/iso-639.def: Add entry for Sorani.
50190         [BZ #11901]
50191         * include/stdlib.h: Move include protection to the right place.
50192         Define abort_msg_s.  Declare __abort_msg with it.
50193         * stdlib/abort.c (__abort_msg): Adjust type.
50194         * assert/assert.c (__assert_fail_base): New function.  Majority
50195         of code from __assert_fail.  Allocate memory for __abort_msg with
50196         mmap.
50197         (__assert_fail): Now call __assert_fail_base.
50198         * assert/assert-perr.c: Remove bulk of implementation.  Use
50199         __assert_fail_base.
50200         * include/assert.hL Declare __assert_fail_base.
50201         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50202         mmap.
50203         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50205 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50207         [BZ #11952]
50208         [BZ #12453]
50209         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50210         until all modules are registered in the DTV.
50211         * elf/Makefile: Add rules to build and run tst-tls19.
50212         * elf/tst-tls19.c: New file.
50213         * elf/tst-tls19mod1.c: New file.
50214         * elf/tst-tls19mod2.c: New file.
50215         * elf/tst-tls19mod3.c: New file.
50216         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50218         [BZ #12083]
50219         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50220         correctly.
50222         [BZ #12601]
50223         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50224         two-byte sequence errors.
50225         * iconvdata/Makefile (tests): Add bug-iconv8.
50226         * iconvdata/bug-iconv8.c: New file.
50228         [BZ #12626]
50229         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50230         buf2 definition.
50232         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50234         [BZ #12432]
50235         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50236         (dummy_getcfa): New function.
50237         (init): Get _Unwind_GetCFA address, use dummy if not found.
50238         (backtrace_helper): In recursion check, also check whether CFA changes.
50239         (__backtrace): Completely initialize arg.
50241         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50242         storing incomplete byte sequence in state object.  Avoid testing for
50243         guaranteed too small input if we know there is enough data available.
50245 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50247         * Makeconfig (+link-pie): Indent.
50248         * Rules (binaries-pie): Define if $(have-fpie) and
50249         $(build-shared).
50250         (binaries-shared): Also filter out $(binaries-pie).
50251         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50252         * nscd/Makefile (others-pie): Add nscd.
50253         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50254         ($(objpfx)nscd): Remove command override.
50255         * login/Makefile (others-pie): Add pt_chown.
50256         ($(objpfx)pt_chown): Remove command override.
50257         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50258         remove command overrides.
50260 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50262         * libio/tst_putwc.c: Fix error messages.
50264         [BZ #12724]
50265         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50266         currently writing and seek to current position when not.
50267         * libio/Makefile (tests): Add bug-fclose1.
50268         * libio/bug-fclose1.c: New file.
50270 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50272         [BZ #12511]
50273         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50274         don't set DF_1_NODELETE here.
50275         (do_lookup_x): When entering new entry test for copy relocation
50276         and if necessary set DF_1_NODELETE flag.
50277         * elf/tst-unique4.cc: New file.
50278         * elf/tst-unique4.h: New file.
50279         * elf/tst-unique4lib.cc: New file.
50280         * elf/Makefile: Add rules to build and run tst-unique4.
50281         Patch by Piotr Bury <pbury@goahead.com>.
50283 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50285         [BZ #12052]
50286         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50288         [BZ #12625]
50289         * misc/mntent_r.c (addmntent): Flush the stream after the output
50291         [BZ #12393]
50292         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50293         (is_trusted_path_normalize): Skip initial colon.  Append slash
50294         to empty buffer.  Duplicate is_trusted_path code but allow
50295         constructed patch to be prefix.
50296         (is_dst): Allow $ORIGIN followed by /.
50297         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50298         Correct testing of result of is_trusted_path_normalize
50299         (decompose_rpath): Fix warning.
50301 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
50303         [BZ #11257]
50304         * grp/initgroups.c (internal_getgrouplist): When we found the service
50305         list through the initgroups entry in nsswitch.conf do not always
50306         continue on a successful lookup.  Don't always use the
50307         __nss_group_database value if it is set.
50308         * nss/nsswitch.conf (initgroups): Change action for successful db
50309         lookup to continue for compatibility.
50311 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
50313         [BZ #11532]
50314         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50315         and CP774 modules.
50316         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50317         and CP774 modules.
50318         * iconvdata/tst-tables.sh: Likewise.
50319         * iconvdata/cp770.c: New file.
50320         * iconvdata/cp771.c: New file.
50321         * iconvdata/cp772.c: New file.
50322         * iconvdata/cp773.c: New file.
50323         * iconvdata/cp774.c: New file.
50324         * iconvdata/testdata/CP770: New file.
50325         * iconvdata/testdata/CP770..UTF8: New file.
50326         * iconvdata/testdata/CP771: New file.
50327         * iconvdata/testdata/CP771..UTF8: New file.
50328         * iconvdata/testdata/CP772: New file.
50329         * iconvdata/testdata/CP772..UTF8: New file.
50330         * iconvdata/testdata/CP773: New file.
50331         * iconvdata/testdata/CP773..UTF8: New file.
50332         * iconvdata/testdata/CP774: New file.
50333         * iconvdata/testdata/CP774..UTF8: New file.
50335         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50336         END CHARMAP line.
50337         * iconvdata/gen-8bit-gap.sh: Likewise.
50338         * iconvdata/gen-8bit.sh: Likewise.
50340         * locale/iso-639.def: Add ary entry.
50342         [BZ #11258]
50343         * locale/C-translit.h.in: Add U20A1 transliteration.
50345         [BZ #12178]
50346         * locale/iso-639.def: Add wae entry.
50347         Patch by Kevin Bortis <bortis@translate-wae.ch>.
50349         [BZ #12545]
50350         * locale/programs/localedef.c (construct_output_path): Use ssize_t
50351         for n.
50353         [BZ #12711]
50354         * locale/C-translit.h.in: Add entry for U20B9.
50355         Patch by pravin.d.s@gmail.com.
50357 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
50359         [BZ #12713]
50360         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50361         ENAMETOOLONG use generic getcwd.
50362         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
50363         in rtld.  Use *stat64.
50364         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50365         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50366         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50367         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50368         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50369         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50370         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50371         __fstatat64 macros.
50372         * include/dirent.h: Add libc_hidden_proto for rewinddir.
50373         * dirent/rewinddir.c: Add libc_hidden_def.
50374         * sysdeps/mach/hurd/rewinddir.c: Likewise.
50375         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
50377         * include/dirent.h (__alloc_dir): Add flags parameter.
50378         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50379         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50380         __alloc_dir.
50381         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
50382         from fdopendir if O_CLOEXEC is already set.
50384 2011-03-15  Alan Modra  <amodra@gmail.com>
50386         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50387         l_tls_firstbyte_offset non-zero.  Save padding offset in
50388         l_tls_firstbyte_offset for later use.
50389         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50390         freeing static tls block.
50392 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
50394         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50395         where #ifdef was intended.  The intent is to prevent ARG_MAX from
50396         being defined by the kernel headers.
50398 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
50400         [BZ #12734]
50401         * resolv/resolv.h: Define RES_NOTLDQUERY.
50402         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50403         no-tld-query and set RES_NOTLDQUERY.
50404         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50405         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50406         modern BIND to search name as TLD unless forbidden.
50408 2011-05-07  Petr Baudis  <pasky@suse.cz>
50409             Ulrich Drepper  <drepper@gmail.com>
50411         [BZ #12393]
50412         * elf/dl-load.c (fillin_rpath): Move trusted path check...
50413         (is_trusted_path): ...to here.
50414         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50415         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50416         using is_trusted_path_normalize() in setuid scripts.
50418 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50420         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50421         __BEGIN/__END_DECLS.
50423 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
50425         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50426         NSS_STATUS_NOTFOUND if no record was found.
50428 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50430         * sunrpc/Makefile (headers): Add rpc/netdb.h.
50431         (headers-not-in-tirpc): Remove rpc/netdb.h
50432         * resolv/netdb.h: Revert last change.
50434 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50436         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50437         circular dependency between libgcc.a and libc.a.
50439 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50441         * resolv/netdb.h: Don't include <rpc/netdb.h>.
50442         * nis/Makefile: Don't install rpcsvc/*.
50443         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50444         instead of <rpc/types.h>.
50445         (MAXHOSTNAMELEN): Define.
50447 2011-05-03  Andreas Schwab  <schwab@redhat.com>
50449         * elf/ldconfig.c (add_dir): Don't crash on empty path.
50451 2011-04-28  Maciej Babinski  <mbabinski@google.com>
50453         [BZ #12714]
50454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50455         gethostbyname4_r when IPv6 results are possible.
50457 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
50459         [BZ #12723]
50460         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50461         _PC_PIPE_BUF handling.
50463 2011-04-30  Bruno Haible  <bruno@clisp.org>
50465         [BZ #12717]
50466         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50467         * resolv/netdb.h (getnameinfo): Change type of flags parameter
50468         to 'int'.
50469         * inet/getnameinfo.c (getnameinfo): Likewise.
50471 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
50473         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50474         to groups setting in database lookup.
50475         * nss/nsswitch.conf: Add initgroups entry.
50477 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
50479         [BZ #12685]
50480         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50481         mode string.
50482         Patch by Eric Blake <eblake@redhat.com>.
50484 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
50486         * sunrpc/Makefile (need-export-routines): Add svc_run.
50487         (routines): Remove svc_run.
50488         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50489         * sunrpc/clnt_perr.c (clnt_perrno): Export.
50490         * sunrpc/svc_run.c (svc_run): Likewise.
50491         * sunrpc/svc_udp.c (svcudp_create): Likewise.
50493 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
50495         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50496         problem in reallocation in last patch.
50498 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
50500         * sunrpc/Makefile: Move inclusion of Rules.
50502 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50504         * nss/nss_files/files-initgroups.c: New file.
50505         * nss/Makefile (libnss_files-routines): Add files-initgroups.
50506         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50507         _nss_files_initgroups_dyn.
50509 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
50511         * elf/elf.h (R_ARM_IRELATIVE): Define.
50513 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50515         * po/ru.po: Update from translation team.
50517 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50519         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50520         dependencies.
50522 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
50524         [BZ #12653]
50525         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50526         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50527         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50528         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50529         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50531 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
50533         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50534         differing bytes.
50535         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50536         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50537         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50539 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50541         [BZ #12420]
50542         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50543         storing it.
50544         * stdlib/bug-getcontext.c: New file.
50545         * stdlib/Makefile: Add rules to build and run bug-getcontext.
50547 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50549         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50550         instructions into .machine "z9-109".
50551         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50552         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50554 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50556         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50557         between environment variables and auxiliary vector.
50559 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
50561         * Makefile: Add rules to build linkobj/libc.so.
50562         * include/libc-symbols.h: Define libc_hidden_nolink.
50563         * include/rpc/auth.h: Mark functions which are to be hidden.
50564         * include/rpc/auth_des.h: Likewise.
50565         * include/rpc/auth_unix.h: Likewise.
50566         * include/rpc/clnt.h: Likewise.
50567         * include/rpc/des_crypt.h: Likewise.
50568         * include/rpc/key_prot.h: Likewise.
50569         * include/rpc/pmap_clnt.h: Likewise.
50570         * include/rpc/pmap_prot.h: Likewise.
50571         * include/rpc/pmap_rmt.h: Likewise.
50572         * include/rpc/rpc_msg.h: Likewise.
50573         * include/rpc/svc.h: Likewise.
50574         * include/rpc/svc_auth.h: Likewise.
50575         * include/rpc/xdr.h: Likewise.
50576         * nis/Makefile: Link all DSOs against linkobj/libc.so.
50577         * nss/Makefile: Likewise.
50578         * sunrpc/Makefile: Don't install headers.  Build library with normal
50579         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
50580         * sunrpc/auth_des.c: Hide exported symbols by default, export some
50581         for the compat linking library.  Remove use of INTDEF/INTUSE.
50582         * sunrpc/auth_none.c: Likewise.
50583         * sunrpc/auth_unix.c: Likewise.
50584         * sunrpc/authdes_prot.c: Likewise.
50585         * sunrpc/authuxprot.c: Likewise.
50586         * sunrpc/clnt_gen.c: Likewise.
50587         * sunrpc/clnt_perr.c: Likewise.
50588         * sunrpc/clnt_raw.c: Likewise.
50589         * sunrpc/clnt_simp.c: Likewise.
50590         * sunrpc/clnt_tcp.c: Likewise.
50591         * sunrpc/clnt_udp.c: Likewise.
50592         * sunrpc/clnt_unix.c: Likewise.
50593         * sunrpc/des_crypt.c: Likewise.
50594         * sunrpc/des_soft.c: Likewise.
50595         * sunrpc/get_myaddr.c: Likewise.
50596         * sunrpc/key_call.c: Likewise.
50597         * sunrpc/key_prot.c: Likewise.
50598         * sunrpc/netname.c: Likewise.
50599         * sunrpc/pm_getmaps.c: Likewise.
50600         * sunrpc/pm_getport.c: Likewise.
50601         * sunrpc/pmap_clnt.c: Likewise.
50602         * sunrpc/pmap_prot.c: Likewise.
50603         * sunrpc/pmap_prot2.c: Likewise.
50604         * sunrpc/pmap_rmt.c: Likewise.
50605         * sunrpc/publickey.c: Likewise.
50606         * sunrpc/rpc_cmsg.c: Likewise.
50607         * sunrpc/rpc_common.c: Likewise.
50608         * sunrpc/rpc_dtable.c: Likewise.
50609         * sunrpc/rpc_prot.c: Likewise.
50610         * sunrpc/rpc_thread.c: Likewise.
50611         * sunrpc/rtime.c: Likewise.
50612         * sunrpc/svc.c: Likewise.
50613         * sunrpc/svc_auth.c: Likewise.
50614         * sunrpc/svc_authux.c: Likewise.
50615         * sunrpc/svc_raw.c: Likewise.
50616         * sunrpc/svc_run.c: Likewise.
50617         * sunrpc/svc_simple.c: Likewise.
50618         * sunrpc/svc_tcp.c: Likewise.
50619         * sunrpc/svc_udp.c: Likewise.
50620         * sunrpc/svc_unix.c: Likewise.
50621         * sunrpc/svcauth_des.c: Likewise.
50622         * sunrpc/xcrypt.c: Likewise.
50623         * sunrpc/xdr.c: Likewise.
50624         * sunrpc/xdr_array.c: Likewise.
50625         * sunrpc/xdr_float.c: Likewise.
50626         * sunrpc/xdr_intXX_t.c: Likewise.
50627         * sunrpc/xdr_mem.c: Likewise.
50628         * sunrpc/xdr_rec.c: Likewise.
50629         * sunrpc/xdr_ref.c: Likewise.
50630         * sunrpc/xdr_sizeof.c: Likewise.
50631         * sunrpc/xdr_stdio.c: Likewise.
50633 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
50635         [BZ #12650]
50636         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50637         * sysdeps/ia64/dl-tls.h: Likewise.
50638         * sysdeps/powerpc/dl-tls.h: Likewise.
50639         * sysdeps/s390/dl-tls.h: Likewise.
50640         * sysdeps/sh/dl-tls.h: Likewise.
50641         * sysdeps/sparc/dl-tls.h: Likewise.
50642         * sysdeps/x86_64/dl-tls.h: Likewise.
50643         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50645 2011-03-14  Andreas Schwab  <schwab@redhat.com>
50647         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50648         rpath element also skip the following colon.
50649         (expand_dynamic_string_token): Add is_path parameter and pass
50650         down to DL_DST_REQUIRED and _dl_dst_substitute.
50651         (decompose_rpath): Call expand_dynamic_string_token with
50652         non-zero is_path.  Ignore empty rpaths.
50653         (_dl_map_object_from_fd): Call expand_dynamic_string_token
50654         with zero is_path.
50656 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
50658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50659         Make cancelable.
50661 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
50663         [BZ #12655]
50664         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50665         Patch by Filipe David Manana <fdmanana@apache.org>.
50667 2011-04-07  Andreas Schwab  <schwab@redhat.com>
50669         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50670         Maintain aligned stack.
50671         (CHECK_RSP): Remove unused macro.
50673 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
50675         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50676         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50678 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
50680         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50682         * include/features.h: Mention __USE_XOPEN2K8 in comment.
50684 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
50686         [BZ #12518]
50687         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50688         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50689         * sysdeps/x86_64/memmove.c: New file.
50690         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50691         (memcpy): Renamed to ...
50692         (__new_memcpy): This.
50693         (memcpy): Provide GLIBC_2_14 memcpy.
50694         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50695         (memcpy): Provide GLIBC_2_2_5 memcpy.
50697 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50699         [BZ #12631]
50700         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50702 2011-03-30  Andreas Schwab  <schwab@redhat.com>
50704         * misc/syncfs.c: New file.
50705         * misc/Makefile (routines): Add syncfs.
50706         * posix/unistd.h: Declare syncfs.
50707         * sysdeps/unix/syscalls.list: Add syncfs.
50709 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50711         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50712         open_by_handle_at.
50713         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50714         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50715         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50716         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50717         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50718         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50719         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50721 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50723         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50724         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50725         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50727         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50729         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50731         * io/Makefile: Compile fallocate.c, fallocate64.c, and
50732         sync_file_range.c with -fexceptions.
50733         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50734         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50735         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50736         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50737         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50738         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50739         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50740         sync_file_range as cancellation point
50741         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
50742         now a wrapper around __call_sync_file_range with cancellation handling.
50743         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50744         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
50745         function name to __call_sync_file_range.
50746         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50747         Add call_sync_file_range.
50749 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50751         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50752         bits/timex.h.
50754 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50756         * iconv/iconv.h: Fix typo in comment.
50757         * io/fcntl.h: Likewise.
50758         * libio/stdio.h: Likewise.
50759         * posix/spawn.h: Likewise.
50760         * posix/unistd.h: Likewise.
50761         * stdlib/stdlib.h: Likewise.
50762         * time/time.h: Likewise.
50763         * wcsmbs/wchar.h: Likewise.
50765         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50766         open_by_handle): Add.
50767         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50768         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
50769         Augment a few comments.
50770         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50771         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50772         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50773         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50774         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50775         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50776         open_by_handle.
50778         * io/fcntl.h (AT_EMPTY_PATH): Define.
50780 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
50782         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50783         * sysdeps/unix/sysv/linux/bits/time.h: New file.
50784         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50785         to...
50786         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
50787         * Versions.def: Add GLIBC_2.14.
50788         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50789         Export.
50791 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
50793         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50794         round counter.
50795         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50797 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50799         [BZ #12597]
50800         * string/test-strncmp.c (do_page_test): New function.
50801         (check2): Likewise.
50802         (test_main): Call check2.
50803         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50805 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50807         [BZ #12587]
50808         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50809         Handle cache information in CPU leaf 4.
50810         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50812 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50814         [BZ #12583]
50815         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50816         character representation.
50817         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50819 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50821         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50822         END(__isnan) to END(__isnanf) to match function entry point/label
50823         EALIGN(__isnanf,...).
50825 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50827         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50829 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50831         [BZ #12510]
50832         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50833         copy from the symbol referenced in the relocation to initialize the
50834         used variable.
50835         Patch by Piotr Bury <pbury@goahead.com>.
50836         * elf/Makefile: Add rules to build and tst-unique3.
50837         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50838         * elf/tst-unique3.cc: New file.
50839         * elf/tst-unique3.h: New file.
50840         * elf/tst-unique3lib.cc: New file.
50841         * elf/tst-unique3lib2.cc: New file.
50843         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50845 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50847         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50848         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50849         to _start.
50851 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50853         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50854         to-be-loaded object along a path to loader is ld.so.
50856 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50857             Ulrich Drepper  <drepper@gmail.com>
50859         * sysdeps/x86_64/memset.S: After aligning destination, code
50860         branches to different locations depending on the value of
50861         misalignment, when multiarch is enabled. Fix this.
50863 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50865         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50866         Set _x86_64_preferred_memory_instruction for AMD processsors.
50867         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50868         Set bit_Prefer_SSE_for_memop for AMD processors.
50870 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50872         * libio/fmemopen.c (fmemopen): Optimize a bit.
50874 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50876         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50878 2011-03-03  Roland McGrath  <roland@redhat.com>
50880         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50882 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50884         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50885         __bzero_ultra1 instead of __memset_ultra1.
50887 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50888             Ulrich Drepper  <drepper@gmail.com>
50890         [BZ #12509]
50891         * include/link.h (struct link_map): Add l_orig_initfini.
50892         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50893         returning unsuccessfully.
50894         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50895         close of a file loaded at startup, restore the original l_initfini
50896         list.
50897         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50898         list, store the pointer.
50899         * elf/Makefile ($(objpfx)noload-mem): New rule.
50900         (noload-ENV): Define.
50901         (tests): Add $(objpfx)noload-mem.
50902         * elf/noload.c: Include <memcheck.h>.
50903         (main): Call mtrace.  Close all opened handles.
50905 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50907         [BZ #12454]
50908         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50909         dependencies are missing.
50911 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50913         Fix __if_freereq crash: Unlike the generic version which uses free,
50914         Hurd needs munmap.
50915         * sysdeps/mach/hurd/ifreq.h: New file.
50917 2011-01-27  Petr Baudis  <pasky@suse.cz>
50918             Ulrich Drepper  <drepper@gmail.com>
50920         [BZ 12445]#
50921         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50922         to extend_alloca().
50923         * stdio-common/bug23.c: New file.
50924         * stdio-common/Makefile (tests): Add bug23.
50926 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50927             Ulrich Drepper  <drepper@gmail.com>
50929         [BZ #12489]
50930         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50931         before performing relro protection.  At old place add assertion
50932         to make sure nothing changed.
50934 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50935             Glauber de Oliveira Costa  <glommer@gmail.com>
50937         * elf/elf.h: Add new ARM TLS relocs.
50939 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50942         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50943         cast from r3.
50944         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50945         'tests' variable.
50946         * sysdeps/wordsize-64/tst-writev.c: New file.
50948 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50950         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50951         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50952         insns in _dl_start to prevent a TOC reference before relocs are
50953         resolved.
50955 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50957         [BZ #12469]
50958         * Makeconfig: Remove RANLIB definition.
50959         * Makerules: Don't use RANLIB.
50960         * aclocal.m4: Remove ranlib test.
50961         * configure.in: No need to check for ranlib.
50962         * elf/rtld-Rules: Don't use RANLIB.
50964 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50966         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50967         protection macro.
50968         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50969         inclusion protection macro.
50971         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50972         SIGRTMIN and SIGRTMAX and print information in that case only when
50973         SIGRTMIN is defined.
50975 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50977         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50978         arginfo fn returning -1.
50980         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50981         and thousands string is zero terminated.
50983 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50985         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50986         sysdeps/unix/sysv/linux/bits/socket.h.
50988 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50990         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50991         (__CPU_COUNT): Remove old macros.
50992         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50993         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50994         (__CPU_ALLOC, __CPU_FREE): Add macros.
50995         (__sched_cpualloc, __sched_cpufree): Add declarations.
50997 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50999         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51000         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51001         * nscd/aicache.c (addhstaiX): Return timeout of added value.
51002         (readdhstai): Return value of addhstaiX call.
51003         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51004         (addgrbyX): Return value returned by cache_addgr.
51005         (readdgrbyname): Return value returned by addgrbyX.
51006         (readdgrbygid): Likewise.
51007         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51008         (addpwbyX): Return value returned by cache_addpw.
51009         (readdpwbyname): Return value returned by addhstbyX.
51010         (readdpwbyuid): Likewise.
51011         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51012         (addservbyX): Return value returned by cache_addserv.
51013         (readdservbyname): Return value returned by addservbyX:
51014         (readdservbyport): Likewise.
51015         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51016         (addhstbyX): Return value returned by cache_addhst.
51017         (readdhstbyname): Return value returned by addhstbyX.
51018         (readdhstbyaddr): Likewise.
51019         (readdhstbynamev6): Likewise.
51020         (readdhstbyaddrv6): Likewise.
51021         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51022         (readdinitgroups): Return value returned by addinitgroupsX.
51023         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51024         (prune_cache): Keep track of timeout value of re-added entries.
51025         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51026         * nscd/nscd.h: Adjust prototypes of readd* functions.
51028 2011-02-04  Roland McGrath  <roland@redhat.com>
51030         * nis/nis_server.c (nis_servstate): Use the right name for 0.
51031         (nis_stats): Likewise.
51032         * nis/nis_modify.c (nis_modify): Likewise.
51033         * nis/nis_remove.c (nis_remove): Likewise.
51034         * nis/nis_add.c (nis_add): Likewise.
51036         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51038         * posix/fnmatch_loop.c: Add some consts.
51040         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51042 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
51044         [BZ #12460]
51045         * config.make.in (config-cflags-novzeroupper): Define.
51046         * configure.in: Substitute libc_cv_cc_novzeroupper.
51047         * elf/Makefile (AVX-CFLAGS): Define.
51048         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51049         (CFLAGS-tst-auditmod4a.c): Likewise.
51050         (CFLAGS-tst-auditmod4b.c): Likewise.
51051         (CFLAGS-tst-auditmod6b.c): Likewise.
51052         (CFLAGS-tst-auditmod6c.c): Likewise.
51053         (CFLAGS-tst-auditmod7b.c): Likewise.
51054         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51056 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
51058         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51059         function to the callback.
51060         Patch partly by Jiri Olsa <jolsa@redhat.com>.
51062 2011-02-02  Andreas Schwab  <schwab@redhat.com>
51064         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51065         of errno.
51067 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
51069         [BZ #11724]
51070         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51071         of constructors.
51072         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51073         of destructors.
51074         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51076         [BZ #11724]
51077         * elf/Makefile: Add rules to build and run new test.
51078         * elf/tst-initorder.c: New file.
51079         * elf/tst-initorder.exp: New file.
51080         * elf/tst-initordera1.c: New file.
51081         * elf/tst-initordera2.c: New file.
51082         * elf/tst-initordera3.c: New file.
51083         * elf/tst-initordera4.c: New file.
51084         * elf/tst-initorderb1.c: New file.
51085         * elf/tst-initorderb2.c: New file.
51086         * elf/tst-order-a1.c: New file.
51087         * elf/tst-order-a2.c: New file.
51088         * elf/tst-order-a3.c: New file.
51089         * elf/tst-order-a4.c: New file.
51090         * elf/tst-order-b1.c: New file.
51091         * elf/tst-order-b2.c: New file.
51092         * elf/tst-order-main.c: New file.
51093         New test case by George Gensure <werkt0@gmail.com>.
51095 2010-10-01  Andreas Schwab  <schwab@redhat.com>
51097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51098         decoding ACE if AI_CANONIDN.
51100 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
51102         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51104 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
51106         * version.h (RELEASE): Bump for 2.13 release.
51107         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51109         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51111         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51112         MADV_NOHUGEPAGE.
51113         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51114         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51115         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51116         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51117         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51118         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51120         * posix/getconf.c: Update copyright year.
51121         * catgets/gencat.c: Likewise.
51122         * csu/version.c: Likewise.
51123         * debug/catchsegv.sh: Likewise.
51124         * debug/xtrace.sh: Likewise.
51125         * elf/ldconfig.c: Likewise.
51126         * elf/ldd.bash.in: Likewise.
51127         * elf/sprof.c (print_version): Likewise.
51128         * iconv/iconv_prog.c: Likewise.
51129         * iconv/iconvconfig.c: Likewise.
51130         * locale/programs/locale.c: Likewise.
51131         * locale/programs/localedef.c: Likewise.
51132         * malloc/memusage.sh: Likewise.
51133         * malloc/mtrace.pl: Likewise.
51134         * nscd/nscd.c (print_version): Likewise.
51135         * nss/getent.c: Likewise.
51137         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51138         PF_CAIF, and PF_ALG.
51139         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51141 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
51143         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51144         (modules-names): Use them.
51145         (ifunc-test-modules, ifunc-pie-tests): Define.
51146         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51147         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51148         (test-extras): Likewise.
51149         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51150         $(compile-command.c).
51151         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51152         (all-built-dso): Define.
51153         (check-textrel.out, check-execstack.out): Depend on it.
51155         * configure.in: Don't override --enable-multi-arch.
51157 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
51159         [BZ #6812]
51160         * nscd/hstcache.c (tryagain): Define.
51161         (cache_addhst): Return tryagain not notfound for temporary errors.
51162         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51163         failed.
51165 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
51167         [BZ #10563]
51168         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51169         to make the syscall.
51170         * sysdeps/unix/sysv/linux/setgroups.c: New file.
51172         [BZ #12378]
51173         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51174         and fall back to matching as normal character if the string ends before
51175         the matching ']' is found.  This is what POSIX requires.
51176         * posix/testfnm.c: Adjust test result.
51177         * posix/globtest.sh: Adjust test result.  Add new test.
51178         * posix/tst-fnmatch.input: Likewise.
51179         * posix/tst-fnmatch2.c: Add new test.
51181 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
51183         * elf/Makefile (check-execstack): Revert last change.  Depend on
51184         check-execstack.h.
51185         (check-execstack.h): New target.
51186         (generated): Add check-execstack.h.
51187         * elf/check-execstack.c: Include "check-execstack.h".
51188         (main): Revert last change.
51189         (handle_file): Return zero if GNU_STACK is absent and
51190         DEFAULT_STACK_PERMS doesn't include PF_X.
51192 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51194         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51195         in child fails because the descriptor is already closed.
51196         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51197         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51198         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51200         [BZ #12397]
51201         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51202         syscall.
51204         [BZ #10484]
51205         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51206         temporary buffer used to handle multi lookups locally.
51207         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51209 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51211         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51212         loader is ld.so.
51214 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51216         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51217         alignment for SSE2.
51219 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51221         [BZ #12394]
51222         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51223         characters.  When rounding increased number of integer digits recompute
51224         number of groups.
51225         * stdio-common/tst-grouping.c: New file.
51226         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51228 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51230         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51231         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51233         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51234         void.
51235         * bits/select.h: Likewise.
51237 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51239         * po/ja.po: Update from translation team.
51241 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51243         [BZ #11155]
51244         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51245         implementation just like for lxstat, fxstatat, et al.
51247 2010-12-27  Jim Meyering  <meyering@redhat.com>
51249         [BZ #12348]
51250         * posix/regexec.c (build_trtable): Return failure indication upon
51251         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51253 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51255         [BZ #12201]
51256         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51257         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51258         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51259         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51261         [BZ #12207]
51262         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51264         [BZ #12204]
51265         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51266         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51268 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51270         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51271         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51272         script has SORT_BY_INIT_PRIORITY.
51273         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51274         NO_CTORS_DTORS_SECTIONS is defined.
51275         * elf/soinit.c: Likewise.
51276         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51277         NO_CTORS_DTORS_SECTIONS is defined.
51278         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51279         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51280         * sysdeps/sh/init-first.c: Likewise.
51281         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51283 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51285         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51286         always use the slow path.
51288 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51290         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51291         similar rule which adds the sysdep directories to the header search in
51292         order to pick up the correct platform stackinfo.h.
51293         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51294         perform test if it is, otherwise return successfully without testing.
51295         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51296         DEFAULT_STACK_PERMS define in stackinfo.h.
51297         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51298         defined in stackinfo.h.
51299         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51300         DEFAULT_STACK_PERMS defined in stackinfo.h.
51301         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51302         * sysdeps/ia64/stackinfo.h: Likewise.
51303         * sysdeps/s390/stackinfo.h: Likewise.
51304         * sysdeps/sh/stackinfo.h: Likewise.
51305         * sysdeps/sparc/stackinfo.h: Likewise.
51306         * sysdeps/x86_64/stackinfo.h: Likewise.
51307         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51308         PF_X for powerpc64.  Retain PF_X for powerpc32.
51310 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
51312         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51313         accurately.
51314         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51315         GETDENTS_64BIT_ALIGNED.
51317 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
51319         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51321 2010-12-10  Andreas Schwab  <schwab@redhat.com>
51323         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51324         _GNU_SOURCE.
51326         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51327         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51328         Remove __restrict.
51329         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51330         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51332 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
51334         [BZ #11655]
51335         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51336         are initialized.
51338 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
51340         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51342 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
51344         * po/it.po: Update from translation team.
51346 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
51348         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51349         unused codes.
51351 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
51353         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51355 2010-11-24  Andreas Schwab  <schwab@redhat.com>
51357         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51358         specially.
51359         (gaih_getanswer_slice): Likewise.
51361 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
51363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51365 2010-05-31  Petr Baudis  <pasky@suse.cz>
51367         [BZ #11149]
51368         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51369         silently even in the chroot mode.
51371 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
51373         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51374         last patch a bit.  Pretty printing
51376 2010-05-31  Petr Baudis <pasky@suse.cz>
51378         [BZ #10085]
51379         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51380         initialization of skip_initgroups_dyn.
51382 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
51384         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51385         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51387 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
51389         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51391 2010-11-11  Andreas Schwab  <schwab@redhat.com>
51393         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51394         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51395         (tst-fnmatch-ENV): Set MALLOC_TRACE.
51396         ($(objpfx)tst-fnmatch-mem): New rule.
51397         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51398         * posix/tst-fnmatch.c (main): Call mtrace.
51400 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
51402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51403         Support Intel processor model 6 and model 0x2c.
51405 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
51407         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51408           signed comparison.
51410 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
51412         [BZ #12205]
51413         * string/test-strncasecmp.c (check_result): New function.
51414         (do_one_test): Use it.
51415         (check1): New function.
51416         (test_main): Use it.
51417         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51418         Support strcasecmp and strncasecmp.
51420 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
51422         [BZ #12194]
51423         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51424         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51426 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51428         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51429         IFUNC support.
51430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51431         memset-x86-64.
51432         * sysdeps/x86_64/multiarch/bzero.S: New file.
51433         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51434         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51435         * sysdeps/x86_64/multiarch/memset.S: New file.
51436         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51438         Set bit_Prefer_SSE_for_memop for Intel processors.
51439         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51440         Define.
51441         (index_Prefer_SSE_for_memop): Define.
51442         (HAS_PREFER_SSE_FOR_MEMOP): Define.
51444 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
51446         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51447         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51449 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
51451         [BZ #12191]
51452         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51453         (__x86_64_raw_data_cache_size_half): Likewise.
51454         (__x86_64_raw_shared_cache_size): Likewise.
51455         (__x86_64_raw_shared_cache_size_half): Likewise.
51457         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51458         (__x86_64_raw_data_cache_size_half): Likewise.
51459         (__x86_64_raw_shared_cache_size): Likewise.
51460         (__x86_64_raw_shared_cache_size_half): Likewise.
51461         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51462         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51463         and __x86_64_raw_shared_cache_size_half.  Round
51464         __x86_64_data_cache_size_half, __x86_64_data_cache_size
51465         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51466         to multiple of 256 bytes.
51468 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
51470         [BZ #12167]
51471         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51472         of inacessible symlinks.  Verify result of symlink before returning it.
51473         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51474         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51476 2010-10-28  Erich Ritz  <erichritz@gmail.com>
51478         * math/math.h (isinf): Fix typo in comment.
51480 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
51482         * po/da.po: Update from translation team.
51484 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
51486         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51487         is added to the list.
51489 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51490             Ulrich Drepper  <drepper@gmail.com>
51492         * elf/dl-object.c (_dl_new_object): Don't append the new object to
51493         the global list here.  Move code to...
51494         (_dl_add_to_namespace_list): ...here.  New function.
51495         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51496         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51497         * elf/dl-load.c (lose): Don't remove the element from the list.
51498         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51499         (_dl_map_object): Likewise.
51501 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
51503         [BZ #12159]
51504         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51505         into all bytes of SSE register.
51506         Patch by Richard Li <richardpku@gmail.com>.
51508 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
51510         [BZ #12140]
51511         * malloc/malloc.c (_int_free): Fill correct number of bytes when
51512         perturbing.
51514 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
51516         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51517         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51518         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51519         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51521         submachine.
51522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51524 2010-10-22  Andreas Schwab  <schwab@redhat.com>
51526         * include/dlfcn.h (__RTLD_SECURE): Define.
51527         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
51528         mode & __RTLD_SECURE instead.
51529         (open_path): Rename preloaded parameter to secure.
51530         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51531         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51532         * elf/dl-deps.c (openaux): Likewise.
51533         * elf/rtld.c (struct map_args): Remove is_preloaded.
51534         (map_doit): Don't use it.
51535         (dl_main): Likewise.
51536         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51537         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51539 2010-09-09  Andreas Schwab  <schwab@redhat.com>
51541         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51542         (sysd-rules-targets): Remove duplicates.
51543         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51544         rtld-%.$o dependency.
51546 2010-10-18  Andreas Schwab  <schwab@redhat.com>
51548         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51549         _dl_map_object do it.
51551 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
51553         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51554         fast fma builtins, define the macros in the C99 standard.
51555         (FP_FAST_FMAF): Likewise.
51556         (FP_FAST_FMAL): Likewise.
51557         * sysdeps/x86_64/bits/mathdef.h: Likewise.
51559         * bits/mathdef.h: Update copyright year.
51560         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51562 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
51564         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51565         builtins, define the macros in the C99 standard.
51566         (FP_FAST_FMAF): Likewise.
51567         (FP_FAST_FMAL): Likewise.
51568         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51569         multiply/add.
51570         (FP_FAST_FMAF): Likewise.
51572 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
51574         [BZ #3268]
51575         * math/libm-test.inc (fma_test): Some new testcases.
51576         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51577         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51578         y and infinite z.  Do multiplication by C already in long double.
51579         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51581         y and infinite z.  Do bitwise or of inexact bit into u.d.
51582         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51583         * sysdeps/i386/fpu/s_fmaf.S: Removed.
51584         * sysdeps/i386/fpu/s_fma.S: Removed.
51585         * sysdeps/i386/fpu/s_fmal.S: Removed.
51587 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
51589         [BZ #3268]
51590         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51591         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51592         computation is not scheduled after fetestexcept.  Fix value
51593         of minimum denormal long double.
51595 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
51597         [BZ #3268]
51598         * math/libm-test.inc (fma_test): Add some more tests.
51599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51600         correctly.
51602 2010-10-15  Andreas Schwab  <schwab@redhat.com>
51604         * scripts/data/localplt-s390-linux-gnu.data: New file.
51605         * scripts/data/localplt-s390x-linux-gnu.data: New file.
51607 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
51609         [BZ #3268]
51610         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51611         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51612         instead of dbl-64.
51613         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51614         inlines.
51615         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51617         if one of x and y is very large and the other is subnormal.
51618         * sysdeps/s390/fpu/s_fmaf.c: New file.
51619         * sysdeps/s390/fpu/s_fma.c: New file.
51620         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51621         * sysdeps/powerpc/fpu/s_fma.S: New file.
51622         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51623         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51624         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51626 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
51628         [BZ #3268]
51629         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51630         fma tests.
51631         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51632         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51633         * sysdeps/i386/i686/multiarch/s_fma.c: Include
51634         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51635         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51636         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51637         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51639 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
51641         [BZ #12078]
51642         * posix/regcomp.c (parse_branch): One more memory leak plugged.
51643         * posix/bug-regex31.input: Add test case.
51645 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51647         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51648         * posix/bug-regex31.input: New file.
51650         [BZ #12078]
51651         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51652         (parse_sub_exp): Fix last change, use postorder.
51654         * posix/bug-regex31.c: New file.
51655         * posix/Makefile: Add rules to build and run bug-regex31.
51657         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51659         [BZ #12078]
51660         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51662         [BZ #12108]
51663         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51664         to have entries in sys_siglist.
51666         [BZ #12093]
51667         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51668         be NULL.
51670 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
51672         [BZ #3268]
51673         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51674         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51675         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51676         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51677         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51678         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51679         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51680         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51681         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51682         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51683         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51684         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51685         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51686         * math/ftestexcept.c (fetestexcept): Likewise.
51687         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51688         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51689         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51690         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51691         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51692         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51693         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51695 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51697         [BZ #12107]
51698         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51699         newline.
51701 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
51703         * string/bug-strstr1.c: New file.
51704         * string/Makefile: Add rules to build and run bug-strstr1.
51706 2010-10-05  Eric Blake  <eblake@redhat.com>
51708         [BZ #12092]
51709         * string/str-two-way.h (two_way_long_needle): Always clear memory
51710         when skipping input due to the shift table.
51712 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
51714         [BZ #12005]
51715         * malloc/mcheck.c: Handle large requests.
51717         [BZ #12077]
51718         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51719         for strncmp and strncasecmp.
51720         * string/stratcliff.c: Add tests for strcmp and strncmp.
51721         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51723 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51725         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51726         __set_fpscr.
51728 2010-09-30  Andreas Jaeger  <aj@suse.de>
51730         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51731         (CGROUP_SUPER_MAGIC): Define.
51732         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51733         Handle btrfs and cgroup file systems.
51734         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51735         Likewise.
51737 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
51739         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51740         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51742 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51744         [BZ #12067]
51745         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51746         trying to locate the ELF header.
51748 2010-09-27  Andreas Schwab  <schwab@redhat.com>
51750         [BZ #11611]
51751         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51752         Mask out sign-bit copies when constructing f_fsid.
51754 2010-09-24  Petr Baudis <pasky@suse.cz>
51756         * debug/stack_chk_fail_local.c: Add missing licence exception.
51757         * debug/warning-nop.c: Likewise.
51759 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
51761         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51762         implementing getdents64 using getdents syscall, set d_type if
51763         __ASSUME_GETDENTS32_D_TYPE.
51765 2010-09-16  Andreas Schwab  <schwab@redhat.com>
51767         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51768         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51770 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
51772         [BZ #12037]
51773         * posix/unistd.h: Undo change of feature selection for ftruncate from
51774         2010-01-11.
51776 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
51778         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51779         detection.
51781 2010-09-20  Andreas Schwab  <schwab@redhat.com>
51783         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51784         fanotify_mark.
51785         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51787 2010-09-14  Andreas Schwab  <schwab@redhat.com>
51789         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51790         variables after CHECK_SP call.
51791         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51793 2010-09-13  Andreas Schwab  <schwab@redhat.com>
51794             Ulrich Drepper  <drepper@redhat.com>
51796         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51797         re-relocationg ld.so.
51798         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51799         _dl_init_paths call.
51800         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51801         here anymore.
51803 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51805         * resolv/res_init.c (__res_vinit): Count the default server we added.
51807 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51808             Ulrich Drepper  <drepper@redhat.com>
51810         [BZ #11968]
51811         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51812         (____longjmp_chk): Use %ebx for saving value across system call.
51813         Add unwind info.
51815 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51817         * manual/Makefile: Don't mix pattern rules with normal rules.
51819 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51821         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51822         operation.
51823         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51824         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51825         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51826         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51827         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51828         Likewise.
51830 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51832         [BZ #11979]
51833         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51834         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51836 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51838         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51839         * sysdeps/x86_64/addmul_1.S: Likewise.
51840         * sysdeps/x86_64/lshift.S: Likewise.
51841         * sysdeps/x86_64/mul_1.S: Likewise.
51842         * sysdeps/x86_64/rshift.S: Likewise.
51843         * sysdeps/x86_64/sub_n.S: Likewise.
51844         * sysdeps/x86_64/submul_1.S: Likewise.
51846 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51848         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51849         Define __sched_param instead of SCHED_* and sched_param when
51850         <bits/sched.h> is included with __need_schedparam defined.
51851         * bits/sched.h [__need_schedparam]
51852         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51853         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51854         (__defined_schedparam): Define to 1.
51855         (__sched_param): New structure, identical to sched_param.
51856         (__need_schedparam): Undefine.
51858 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51860         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51861         (epoll_create1): Declare.
51863         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51865 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51867         [BZ #7066]
51868         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51869         shifting retval into place.
51871 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51873         * nis/rpcsvc/nis.h: Update copyright notice.
51874         * nis/rpcsvc/nis.x: Likewise.
51875         * nis/rpcsvc/nis_callback.h: Likewise.
51876         * nis/rpcsvc/nis_callback.x: Likewise.
51877         * nis/rpcsvc/nis_object.x: Likewise.
51878         * nis/rpcsvc/nis_tags.h: Likewise.
51879         * nis/rpcsvc/yp.h: Likewise.
51880         * nis/rpcsvc/yp.x: Likewise.
51881         * nis/rpcsvc/ypupd.h: Likewise.
51882         * nis/yp_xdr.c: Likewise.
51883         * nis/ypupdate_xdr.c: Likewise.
51885         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51886         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51887         (pmap_getport): Use __libc_rpc_getport.
51888         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51889         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51890         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51892 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51895         fanotify_mark.
51897 2010-08-27  Roland McGrath  <roland@redhat.com>
51899         * sysdeps/i386/i686/multiarch/Makefile
51900         (CFLAGS-varshift.c): New variable.
51902 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51904         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51905         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51907         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51909         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51911 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51913         * sysdeps/x86_64/strlen.S: Unroll the loop.
51914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51915         strlen-sse2 strlen-sse2-bsf.
51916         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51917         __strlen_no_bsf if bit_Slow_BSF is set.
51918         (__strlen_sse42): Removed.
51919         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51920         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51922 2010-08-25  Roland McGrath  <roland@redhat.com>
51924         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51925         * sysdeps/x86_64/multiarch/varshift.c: New file.
51926         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51927         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51928         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51929         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51931 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51933         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51934         strlen-sse2 strlen-sse2-bsf.
51935         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51936         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51937         (__strlen_sse2): Removed.
51938         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51939         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51940         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51941         bit_Slow_BSF for Atom.
51942         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51943         (index_Slow_BSF): Define.
51944         (HAS_SLOW_BSF): Define.
51946 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51948         [BZ #10851]
51949         * resolv/res_init.c (__res_vinit): When no server address at all
51950         is given default to loopback.
51952 2010-08-24  Roland McGrath  <roland@redhat.com>
51954         * configure.in: Remove config-name.h generation.
51955         * configure: Regenerated.
51956         * config-name.in: File removed.
51957         * scripts/config-uname.sh: New file.
51958         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51959         ($(objdir)config-name.h): New target.
51961         * sunrpc/rpc_parse.h: Avoid nested comment.
51963 2010-08-24  Richard Henderson  <rth@redhat.com>
51964             Ulrich Drepper  <drepper@redhat.com>
51965             H.J. Lu  <hongjiu.lu@intel.com>
51967         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51969         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51970         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51971         _mm_alignr_epi8 with _mm_loadu_si128.
51972         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51973         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51974         (__m128i_shift_right): Removed.
51975         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51976         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51977         * sysdeps/x86_64/multiarch/varshift.h: New file.
51978         * sysdeps/x86_64/multiarch/varshift.S: New file.
51980 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51982         * configure.in: Move assembler checks to before sysdep dir checking.
51984 2010-08-20  Petr Baudis  <pasky@suse.cz>
51986         * LICENSES: Sync the sunrpc license.
51988 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51990         * sunrpc/auth_des.c: Update copyright notice once again.
51991         * sunrpc/auth_none.c: Likewise.
51992         * sunrpc/auth_unix.c: Likewise.
51993         * sunrpc/authdes_prot.c: Likewise.
51994         * sunrpc/authuxprot.c: Likewise.
51995         * sunrpc/bindrsvprt.c: Likewise.
51996         * sunrpc/clnt_gen.c: Likewise.
51997         * sunrpc/clnt_perr.c: Likewise.
51998         * sunrpc/clnt_raw.c: Likewise.
51999         * sunrpc/clnt_simp.c: Likewise.
52000         * sunrpc/clnt_tcp.c: Likewise.
52001         * sunrpc/clnt_udp.c: Likewise.
52002         * sunrpc/clnt_unix.c: Likewise.
52003         * sunrpc/des_crypt.c: Likewise.
52004         * sunrpc/des_soft.c: Likewise.
52005         * sunrpc/get_myaddr.c: Likewise.
52006         * sunrpc/getrpcport.c: Likewise.
52007         * sunrpc/key_call.c: Likewise.
52008         * sunrpc/key_prot.c: Likewise.
52009         * sunrpc/openchild.c: Likewise.
52010         * sunrpc/pm_getmaps.c: Likewise.
52011         * sunrpc/pm_getport.c: Likewise.
52012         * sunrpc/pmap_clnt.c: Likewise.
52013         * sunrpc/pmap_prot.c: Likewise.
52014         * sunrpc/pmap_prot2.c: Likewise.
52015         * sunrpc/pmap_rmt.c: Likewise.
52016         * sunrpc/rpc/auth.h: Likewise.
52017         * sunrpc/rpc/auth_unix.h: Likewise.
52018         * sunrpc/rpc/clnt.h: Likewise.
52019         * sunrpc/rpc/des_crypt.h: Likewise.
52020         * sunrpc/rpc/key_prot.h: Likewise.
52021         * sunrpc/rpc/netdb.h: Likewise.
52022         * sunrpc/rpc/pmap_clnt.h: Likewise.
52023         * sunrpc/rpc/pmap_prot.h: Likewise.
52024         * sunrpc/rpc/pmap_rmt.h: Likewise.
52025         * sunrpc/rpc/rpc.h: Likewise.
52026         * sunrpc/rpc/rpc_des.h: Likewise.
52027         * sunrpc/rpc/rpc_msg.h: Likewise.
52028         * sunrpc/rpc/svc.h: Likewise.
52029         * sunrpc/rpc/svc_auth.h: Likewise.
52030         * sunrpc/rpc/types.h: Likewise.
52031         * sunrpc/rpc/xdr.h: Likewise.
52032         * sunrpc/rpc_clntout.c: Likewise.
52033         * sunrpc/rpc_cmsg.c: Likewise.
52034         * sunrpc/rpc_common.c: Likewise.
52035         * sunrpc/rpc_cout.c: Likewise.
52036         * sunrpc/rpc_dtable.c: Likewise.
52037         * sunrpc/rpc_hout.c: Likewise.
52038         * sunrpc/rpc_main.c: Likewise.
52039         * sunrpc/rpc_parse.c: Likewise.
52040         * sunrpc/rpc_parse.h: Likewise.
52041         * sunrpc/rpc_prot.c: Likewise.
52042         * sunrpc/rpc_sample.c: Likewise.
52043         * sunrpc/rpc_scan.c: Likewise.
52044         * sunrpc/rpc_scan.h: Likewise.
52045         * sunrpc/rpc_svcout.c: Likewise.
52046         * sunrpc/rpc_tblout.c: Likewise.
52047         * sunrpc/rpc_util.c: Likewise.
52048         * sunrpc/rpc_util.h: Likewise.
52049         * sunrpc/rpcinfo.c: Likewise.
52050         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52051         * sunrpc/rpcsvc/key_prot.x: Likewise.
52052         * sunrpc/rpcsvc/klm_prot.x: Likewise.
52053         * sunrpc/rpcsvc/mount.x: Likewise.
52054         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52055         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52056         * sunrpc/rpcsvc/rex.x: Likewise.
52057         * sunrpc/rpcsvc/rstat.x: Likewise.
52058         * sunrpc/rpcsvc/rusers.x: Likewise.
52059         * sunrpc/rpcsvc/sm_inter.x: Likewise.
52060         * sunrpc/rpcsvc/spray.x: Likewise.
52061         * sunrpc/rpcsvc/yppasswd.x: Likewise.
52062         * sunrpc/rtime.c: Likewise.
52063         * sunrpc/svc.c: Likewise.
52064         * sunrpc/svc_auth.c: Likewise.
52065         * sunrpc/svc_authux.c: Likewise.
52066         * sunrpc/svc_raw.c: Likewise.
52067         * sunrpc/svc_run.c: Likewise.
52068         * sunrpc/svc_simple.c: Likewise.
52069         * sunrpc/svc_tcp.c: Likewise.
52070         * sunrpc/svc_udp.c: Likewise.
52071         * sunrpc/svc_unix.c: Likewise.
52072         * sunrpc/svcauth_des.c: Likewise.
52073         * sunrpc/xcrypt.c: Likewise.
52074         * sunrpc/xdr.c: Likewise.
52075         * sunrpc/xdr_array.c: Likewise.
52076         * sunrpc/xdr_float.c: Likewise.
52077         * sunrpc/xdr_mem.c: Likewise.
52078         * sunrpc/xdr_rec.c: Likewise.
52079         * sunrpc/xdr_ref.c: Likewise.
52080         * sunrpc/xdr_sizeof.c: Likewise.
52081         * sunrpc/xdr_stdio.c: Likewise.
52083         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52084         handling.
52086 2010-08-19  Andreas Schwab  <schwab@redhat.com>
52088         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52090 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
52092         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52093         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52094         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52095         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52096         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52097         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52098         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52099         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52100         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52101         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52102         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52103         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52104         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52105         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52107 2010-07-26  Anton Blanchard  <anton@samba.org>
52109         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52110         * malloc/arena.c (heap_trim): Likewise.
52112 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
52114         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52115         here.  Not...
52116         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52117         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52119 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
52121         * sysdeps/i386/elf/Makefile: New file.
52123 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52125         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52126         from fanotify_init.
52127         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52128         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52130 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
52132         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52133         of strncasecmp_l.
52134         * sysdeps/multiarch/strcmp.S: Likewise.
52136 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
52138         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52139         strncase_l-nonascii.
52140         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52141         Add strncase_l-ssse3.
52142         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52143         * sysdeps/x86_64/strcmp.S: Likewise.
52144         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52145         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52146         * sysdeps/x86_64/strncase.S: New file.
52147         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52148         * sysdeps/x86_64/strncase_l.S: New file.
52149         * string/Makefile (strop-tests): Add strncasecmp.
52150         * string/test-strncasecmp.c: New file.
52152         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52153         warning.
52155         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52156         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52158 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52160         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52162 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
52164         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52165         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52166         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52168 2010-05-01  Alan Modra  <amodra@gmail.com>
52170         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52171         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52172         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52173         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52174         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52175         tidying.  Don't tail-call __sigjmp_save for static lib.
52176         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52177         save location.
52178         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52179         (CALL_MCOUNT): Add eh info, and nop after bl.
52180         (TAIL_CALL_SYSCALL_ERROR): New macro.
52181         (PSEUDO_RET): Use it.
52182         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52183         Correct save location of integer regs and cr.
52184         (_dl_profile_resolve): Correct cr save location.  Delete nops
52185         after bl when SHARED.  Reduce cfi size a little by better
52186         placement of cfi directives.
52187         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52188         make a stack frame.  Instead use parm save area as a temp.
52189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52190         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52192         Don't make a stack frame for parent, use parm save area.
52193         Increase child stack frame to 112 bytes.  Don't save unused reg,
52194         and adjust reg usage.  Set up cfi on error recovery and
52195         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52197         (__makecontext): Add dummy nop after jump to exit.
52198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52199         Use correct parm save area and cr save, reduce stack frame.
52200         Correct cfi for possible PSEUDO_RET frame setup.
52201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52202         Branch to local label emitted by PSEUDO_RET rather than
52203         __syscall_error.
52205 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52207         [BZ #11904]
52208         * locale/programs/locale.c (print_assignment): New function.
52209         (show_locale_vars): Use it.
52211 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52213         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52214         field.
52215         (struct statfs64): Likewise.
52216         (_STATFS_F_FLAGS): Define.
52217         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52218         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52219         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52220         (ST_VALID): Define locally.
52221         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52222         __statvfs_getflags, use the provided value.
52223         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52224         __ASSUME_STATFS_F_FLAGS.
52226         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52228         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52229         Add sys/fanotify.h.
52230         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52231         fanotify_mask for GLIBC_2.13.
52232         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52233         fanotify_init and fanotify_mark.
52234         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52235         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52237         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52238         Add prlimit.
52239         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52240         prlimit64 for GLIBC_2.13.
52241         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52242         prlimit64.
52243         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52244         syscall.
52245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52246         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52247         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52248         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52249         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52250         add prlimit alias.
52251         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52253         [BZ #11903]
52254         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52255         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52257         * nss/Makefile: Add rules to build and run tst-nss-test1.
52258         * shlib-versions: Add entry for libnss_test1.
52259         * nss/nss_test1.c: New file.
52260         * nss/tst-nss-test1.c: New file.
52262         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52263         (__nss_configure_lookup): Set appropriate entry in
52264         __nss_configure_lookup to true.
52265         * nss/nsswitch.h: Define enum with indeces of databases in
52266         databases and __nss_database_custom arrays.  Declare
52267         __nss_database_custom.
52268         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52269         to avoid using nscd when custom rules are installed.
52270         * nss/getXXbyYY_r.c: Likewise.
52271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52273         * nss/nss_files/files-parse.c: Whitespace fixes.
52275 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52277         [BZ #11883]
52278         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52279         * posix/fnmatch_loop.c: Likewise.
52281 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52283         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52284         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52285         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52286         * Versions.def [GLIBC_2.13]: Add.
52288 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52290         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52291         Also fail if tpwd after pwuid call is NULL.
52293 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52295         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52296         when converting to ms.
52298 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52300         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52301         EOPNOTSUPP errors with ENOTTY.
52302         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52303         EOPNOTSUPP errors with ENOTTY.
52305 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
52307         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52308         Add strcasecmp_l-ssse3.
52309         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52310         strcasecmp.
52311         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52312         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52313         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52315 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
52317         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52319         * string/Makefile (strop-tests): Add strcasecmp.
52320         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52321         strcasecmp_l-nonascii.
52322         (gen-as-const-headers): Add locale-defines.sym.
52323         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52324         * sysdeps/x86_64/strcasecmp.S: New file.
52325         * sysdeps/x86_64/strcasecmp_l.S: New file.
52326         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52327         * sysdeps/x86_64/locale-defines.sym: New file.
52328         * string/test-strcasecmp.c: New file.
52330         * string/test-strcasestr.c: Test both ends of the range of characters.
52331         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52333 2010-07-29  Roland McGrath  <roland@redhat.com>
52335         [BZ #11856]
52336         * manual/locale.texi (Yes-or-No Questions): Fix example code.
52338 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
52340         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52341         for ld.so.
52343 2010-07-27  Andreas Schwab  <schwab@redhat.com>
52345         * manual/memory.texi (Malloc Tunable Parameters): Document
52346         M_PERTURB.
52348 2010-07-26  Roland McGrath  <roland@redhat.com>
52350         [BZ #11840]
52351         * configure.in (-fgnu89-inline check): Set and substitute
52352         gnu89_inline, not libc_cv_gnu89_inline.
52353         * configure: Regenerated.
52354         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52356 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
52358         * string/test-strnlen.c: New file.
52359         * string/Makefile (strop-tests): Add strnlen.
52360         * string/tester.c (test_strnlen): Add a few more test cases.
52361         * string/tst-strlen.c: Better error reporting.
52363         * sysdeps/x86_64/strnlen.S: New file.
52365 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
52367         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52368         lower-latency instructions.
52370 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
52372         * string/test-strcasestr.c: New file.
52373         * string/test-strstr.c: New file.
52374         * string/Makefile (strop-tests): Add strstr and strcasestr.
52375         * string/str-two-way.h: Don't undefine MAX.
52376         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52378 2010-07-21  Andreas Schwab  <schwab@redhat.com>
52380         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52381         strcasestr-nonascii.
52382         (CFLAGS-strcasestr-nonascii.c): Define.
52383         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52384         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52385         Remove unused attribute.
52387 2010-07-20  Roland McGrath  <roland@redhat.com>
52389         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52390         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
52391         ld.so.cache was broken.  With it, there is no way to disable dsocaps
52392         like LD_HWCAP_MASK can disable hwcaps.
52394 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52396         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52398 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
52400         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52401         call in strcasestr.
52402         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52403         __strcasestr_sse42_nonascii.
52404         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52405         strcasestr-nonascii.c.
52406         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52408 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
52410         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52411         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52412         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52413         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52415 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
52417         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52418         fcntl.
52420 2010-07-06  Andreas Schwab  <schwab@redhat.com>
52422         [BZ #11577]
52423         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52424         dl_signal_cerror.
52426 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
52428         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52429         _PC_PIPE_BUF using F_GETPIPE_SZ.
52431 2010-07-05  Roland McGrath  <roland@redhat.com>
52433         * manual/arith.texi (Rounding Functions): Fix rint description
52434         implicit in round description.
52436 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
52438         * elf/Makefile: Fix linking for a few tests to make recent linker
52439         happy.
52441 2010-06-30  Andreas Schwab  <schwab@redhat.com>
52443         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52444         $(common-objpfx)libc_nonshared.a.
52446 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
52448         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52449         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52450         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52451         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52452         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52453         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52454         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52455         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52470         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52471         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52472         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52473         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52474         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52475         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52476         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52477         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52478         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52479         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52480         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52481         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52497 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
52499         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52500         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
52501         * string/memmove.c (memmove): Renamed to ...
52502         (MEMMOVE): ...this.  Default to memmove.
52503         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52504         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52505         (END_CHK): Define.
52506         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52507         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52508         mempcpy-ssse3-back memmove-ssse3-back.
52509         * sysdeps/x86_64/multiarch/bcopy.S: New file .
52510         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52511         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52512         * sysdeps/x86_64/multiarch/memcpy.S: New file.
52513         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52514         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52515         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52516         * sysdeps/x86_64/multiarch/memmove.c: New file.
52517         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52518         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52519         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52520         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52521         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52522         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52523         Define.
52524         (index_Fast_Copy_Backward): Define.
52525         (HAS_ARCH_FEATURE): Define.
52526         (HAS_FAST_REP_STRING): Define.
52527         (HAS_FAST_COPY_BACKWARD): Define.
52529 2010-06-21  Andreas Schwab  <schwab@redhat.com>
52531         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52532         Restore proper fallback handling.
52534 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
52536         [BZ #11701]
52537         * posix/group_member.c (__group_member): Correct checking loop.
52539         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52540         OOM in getpwuid_r correctly.  Return error number when the caller
52541         should return, otherwise -1.
52542         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52543         call returning > 0 value.
52544         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52546 2010-06-07  Andreas Schwab  <schwab@redhat.com>
52548         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52549         libc_nonshared.a from targets in modules-names.
52551 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
52553         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52554         requires it.
52556 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
52558         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52559         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52560         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52561         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52563 2010-06-02  Andreas Schwab  <schwab@redhat.com>
52565         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52567 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
52569         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52570         and F_GETPIPE_SZ.
52571         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52572         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52573         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52574         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52575         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52576         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52578 2010-06-14  Roland McGrath  <roland@redhat.com>
52580         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52582 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
52584         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52585         __REDIRECT followed by __THROW.
52586         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52587         * posix/getopt.h (getopt): Likewise.
52589 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52591         * hurd/lookup-at.c (__file_name_lookup_at): Accept
52592         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
52593         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52594         in AT_FLAGS.
52595         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52596         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52598 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
52600         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52602 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
52604         [BZ #11640]
52605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52606         Properly check family and model.
52608 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
52610         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52612 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
52614         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52616 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
52618         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52619         symbol reference.
52621 2010-05-19  Andreas Schwab  <schwab@redhat.com>
52623         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52624         symbol reference.
52626 2010-05-21  Andreas Schwab  <schwab@redhat.com>
52628         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52629         and internal_recvmmsg.
52630         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52631         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52632         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52633         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52635         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52636         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52637         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52639 2010-05-20  Andreas Schwab  <schwab@redhat.com>
52641         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52643 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
52645         POWER7 optimizations.
52646         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52647         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52649 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
52651         * version.h: Update for 2.13 development version.
52653 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
52655         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52656         exceptions.  Return 0.
52658 2010-05-07  Roland McGrath  <roland@redhat.com>
52660         * elf/ldconfig.c (main): Add a const.
52662 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
52664         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52665         (args_options): Add no-idn option.
52666         (ahosts_keys_int): Add idn_flags to ai_flags.
52667         (parse_option): Handle 'i' option to clear idn_flags.
52669         * malloc/malloc.c (_int_free): Possible race in the most recently
52670         added check.  Only act on the data if no current modification
52671         happened.
52673 See ChangeLog.17 for earlier changes.